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 |
|---|---|---|---|---|---|---|---|---|
[
70,
4,
10,
42
] | 73
|
[
"4+10=14",
"42/14=3",
"70+3=73"
] |
Current State: 73:[70, 4, 10, 42], Operations: []
Exploring Operation: 4+10=14, Resulting Numbers: [70, 42, 14]
Generated Node #2: [70, 42, 14] from Operation: 4+10=14
Current State: 73:[70, 42, 14], Operations: ['4+10=14']
Exploring Operation: 42/14=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 42/14=3
Current State: 73:[70, 3], Operations: ['4+10=14', '42/14=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[70, 4, 10, 42], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [70, 42, 40]
Generated Node #0,0: 73:[70, 42, 40] Operation: 4*10=40
Exploring Operation: 4+10=14, Resulting Numbers: [70, 42, 14]
Generated Node #0,1: 73:[70, 42, 14] Operation: 4+10=14
Exploring Operation: 10+42=52, Resulting Numbers: [70, 4, 52]
Generated Node #0,2: 73:[70, 4, 52] Operation: 10+42=52
Exploring Operation: 4+42=46, Resulting Numbers: [70, 10, 46]
Generated Node #0,3: 73:[70, 10, 46] Operation: 4+42=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[70, 42, 40], Operations: ['4*10=40']
Exploring Operation: 70+40=110, Resulting Numbers: [42, 110]
Generated Node #0,0,0: 73:[42, 110] Operation: 70+40=110
Exploring Operation: 70+42=112, Resulting Numbers: [40, 112]
Generated Node #0,0,1: 73:[40, 112] Operation: 70+42=112
Exploring Operation: 70-40=30, Resulting Numbers: [42, 30]
Generated Node #0,0,2: 73:[42, 30] Operation: 70-40=30
Exploring Operation: 42+40=82, Resulting Numbers: [70, 82]
Generated Node #0,0,3: 73:[70, 82] Operation: 42+40=82
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[70, 82], Operations: ['4*10=40', '42+40=82']
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 70*82=5740, Resulting Numbers: [5740]
5740,73 unequal: No Solution
Exploring Operation: 70+82=152, Resulting Numbers: [152]
152,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[42, 110], Operations: ['4*10=40', '70+40=110']
Exploring Operation: 42*110=4620, Resulting Numbers: [4620]
4620,73 unequal: No Solution
Exploring Operation: 110-42=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 42+110=152, Resulting Numbers: [152]
152,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[40, 112], Operations: ['4*10=40', '70+42=112']
Exploring Operation: 40*112=4480, Resulting Numbers: [4480]
4480,73 unequal: No Solution
Exploring Operation: 40+112=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 112-40=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[42, 30], Operations: ['4*10=40', '70-40=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,73 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[70, 42, 14], Operations: ['4+10=14']
Exploring Operation: 42+14=56, Resulting Numbers: [70, 56]
Generated Node #0,1,0: 73:[70, 56] Operation: 42+14=56
Exploring Operation: 42-14=28, Resulting Numbers: [70, 28]
Generated Node #0,1,1: 73:[70, 28] Operation: 42-14=28
Exploring Operation: 70-14=56, Resulting Numbers: [42, 56]
Generated Node #0,1,2: 73:[42, 56] Operation: 70-14=56
Exploring Operation: 70+14=84, Resulting Numbers: [42, 84]
Generated Node #0,1,3: 73:[42, 84] Operation: 70+14=84
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[70, 56], Operations: ['4+10=14', '42+14=56']
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,73 unequal: No Solution
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[42, 84], Operations: ['4+10=14', '70+14=84']
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[70, 28], Operations: ['4+10=14', '42-14=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[42, 56], Operations: ['4+10=14', '70-14=56']
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[70, 4, 52], Operations: ['10+42=52']
Exploring Operation: 70-4=66, Resulting Numbers: [52, 66]
Generated Node #0,2,0: 73:[52, 66] Operation: 70-4=66
Exploring Operation: 52-4=48, Resulting Numbers: [70, 48]
Generated Node #0,2,1: 73:[70, 48] Operation: 52-4=48
Exploring Operation: 4+52=56, Resulting Numbers: [70, 56]
Generated Node #0,2,2: 73:[70, 56] Operation: 4+52=56
Exploring Operation: 70+4=74, Resulting Numbers: [52, 74]
Generated Node #0,2,3: 73:[52, 74] Operation: 70+4=74
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[70, 56], Operations: ['10+42=52', '4+52=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,73 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[52, 74], Operations: ['10+42=52', '70+4=74']
Exploring Operation: 52*74=3848, Resulting Numbers: [3848]
3848,73 unequal: No Solution
Exploring Operation: 52+74=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[52, 66], Operations: ['10+42=52', '70-4=66']
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[70, 48], Operations: ['10+42=52', '52-4=48']
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[70, 10, 46], Operations: ['4+42=46']
Exploring Operation: 46-10=36, Resulting Numbers: [70, 36]
Generated Node #0,3,0: 73:[70, 36] Operation: 46-10=36
Exploring Operation: 70+10=80, Resulting Numbers: [46, 80]
Generated Node #0,3,1: 73:[46, 80] Operation: 70+10=80
Exploring Operation: 10+46=56, Resulting Numbers: [70, 56]
Generated Node #0,3,2: 73:[70, 56] Operation: 10+46=56
Exploring Operation: 70-10=60, Resulting Numbers: [46, 60]
Generated Node #0,3,3: 73:[46, 60] Operation: 70-10=60
Moving to Node #0,3,2
Current State: 73:[70, 56], Operations: ['4+42=46', '10+46=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[46, 80], Operations: ['4+42=46', '70+10=80']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[46, 60], Operations: ['4+42=46', '70-10=60']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[70, 36], Operations: ['4+42=46', '46-10=36']
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,73 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
58,
94,
2,
9
] | 20
|
[
"58+9=67",
"94/2=47",
"67-47=20"
] |
Current State: 20:[58, 94, 2, 9], Operations: []
Exploring Operation: 58+9=67, Resulting Numbers: [94, 2, 67]
Generated Node #2: [94, 2, 67] from Operation: 58+9=67
Current State: 20:[94, 2, 67], Operations: ['58+9=67']
Exploring Operation: 94/2=47, Resulting Numbers: [67, 47]
Generated Node #3: [67, 47] from Operation: 94/2=47
Current State: 20:[67, 47], Operations: ['58+9=67', '94/2=47']
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[58, 94, 2, 9], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [2, 9, 36]
Generated Node #0,0: 20:[2, 9, 36] Operation: 94-58=36
Exploring Operation: 94/2=47, Resulting Numbers: [58, 9, 47]
Generated Node #0,1: 20:[58, 9, 47] Operation: 94/2=47
Exploring Operation: 58/2=29, Resulting Numbers: [94, 9, 29]
Generated Node #0,2: 20:[94, 9, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 9, 36], Operations: ['94-58=36']
Exploring Operation: 36/2=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 20:[9, 18] Operation: 36/2=18
Exploring Operation: 36/9=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 20:[2, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [2, 27]
Generated Node #0,0,2: 20:[2, 27] Operation: 36-9=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[2, 4], Operations: ['94-58=36', '36/9=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No 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: 20:[9, 18], Operations: ['94-58=36', '36/2=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,20 unequal: No Solution
No 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: 20:[2, 27], Operations: ['94-58=36', '36-9=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,20 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: 20:[58, 9, 47], Operations: ['94/2=47']
Exploring Operation: 47-9=38, Resulting Numbers: [58, 38]
Generated Node #0,1,0: 20:[58, 38] Operation: 47-9=38
Exploring Operation: 58-9=49, Resulting Numbers: [47, 49]
Generated Node #0,1,1: 20:[47, 49] Operation: 58-9=49
Exploring Operation: 58-47=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 20:[9, 11] Operation: 58-47=11
Moving to Node #0,1,2
Current State: 20:[9, 11], Operations: ['94/2=47', '58-47=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,20 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[58, 94, 2, 9], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [58, 9, 47]
Generated Node #0,1: 20:[58, 9, 47] Operation: 94/2=47
Moving to Node #0,1
Current State: 20:[58, 9, 47], Operations: ['94/2=47']
Exploring Operation: 58-47=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 20:[9, 11] Operation: 58-47=11
Moving to Node #0,1,2
Current State: 20:[9, 11], Operations: ['94/2=47', '58-47=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299
|
hs_3
|
sum_heuristic
|
[
1,
30,
63,
26
] | 66
|
[
"30-1=29",
"63-26=37",
"29+37=66"
] |
Current State: 66:[1, 30, 63, 26], Operations: []
Exploring Operation: 30-1=29, Resulting Numbers: [63, 26, 29]
Generated Node #2: [63, 26, 29] from Operation: 30-1=29
Current State: 66:[63, 26, 29], Operations: ['30-1=29']
Exploring Operation: 63-26=37, Resulting Numbers: [29, 37]
Generated Node #3: [29, 37] from Operation: 63-26=37
Current State: 66:[29, 37], Operations: ['30-1=29', '63-26=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[1, 30, 63, 26], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [1, 30, 37]
Generated Node #0,0: 66:[1, 30, 37] Operation: 63-26=37
Exploring Operation: 63-30=33, Resulting Numbers: [1, 26, 33]
Generated Node #0,1: 66:[1, 26, 33] Operation: 63-30=33
Exploring Operation: 30-26=4, Resulting Numbers: [1, 63, 4]
Generated Node #0,2: 66:[1, 63, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[1, 26, 33], Operations: ['63-30=33']
Exploring Operation: 33-26=7, Resulting Numbers: [1, 7]
Generated Node #0,1,0: 66:[1, 7] Operation: 33-26=7
Exploring Operation: 26-1=25, Resulting Numbers: [33, 25]
Generated Node #0,1,1: 66:[33, 25] Operation: 26-1=25
Exploring Operation: 1*26=26, Resulting Numbers: [33, 26]
Generated Node #0,1,2: 66:[33, 26] Operation: 1*26=26
Moving to Node #0,1,0
Current State: 66:[1, 7], Operations: ['63-30=33', '33-26=7']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[33, 25], Operations: ['63-30=33', '26-1=25']
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,66 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[33, 26], Operations: ['63-30=33', '1*26=26']
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,66 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[1, 63, 4], Operations: ['30-26=4']
Exploring Operation: 63+4=67, Resulting Numbers: [1, 67]
Generated Node #0,2,0: 66:[1, 67] Operation: 63+4=67
Exploring Operation: 4-1=3, Resulting Numbers: [63, 3]
Generated Node #0,2,1: 66:[63, 3] Operation: 4-1=3
Exploring Operation: 1+63=64, Resulting Numbers: [4, 64]
Generated Node #0,2,2: 66:[4, 64] Operation: 1+63=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[1, 67], Operations: ['30-26=4', '63+4=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[1, 30, 63, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [1, 63, 4]
Generated Node #0,2: 66:[1, 63, 4] Operation: 30-26=4
Moving to Node #0,2
Current State: 66:[1, 63, 4], Operations: ['30-26=4']
Exploring Operation: 63+4=67, Resulting Numbers: [1, 67]
Generated Node #0,2,0: 66:[1, 67] Operation: 63+4=67
Moving to Node #0,2,0
Current State: 66:[1, 67], Operations: ['30-26=4', '63+4=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035
|
hs_3
|
mult_heuristic
|
[
26,
49,
82,
69
] | 88
|
[
"26+49=75",
"82-69=13",
"75+13=88"
] |
Current State: 88:[26, 49, 82, 69], Operations: []
Exploring Operation: 26+49=75, Resulting Numbers: [82, 69, 75]
Generated Node #2: [82, 69, 75] from Operation: 26+49=75
Current State: 88:[82, 69, 75], Operations: ['26+49=75']
Exploring Operation: 82-69=13, Resulting Numbers: [75, 13]
Generated Node #3: [75, 13] from Operation: 82-69=13
Current State: 88:[75, 13], Operations: ['26+49=75', '82-69=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[26, 49, 82, 69], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [49, 82, 43]
Generated Node #0,0: 88:[49, 82, 43] Operation: 69-26=43
Exploring Operation: 82-69=13, Resulting Numbers: [26, 49, 13]
Generated Node #0,1: 88:[26, 49, 13] Operation: 82-69=13
Moving to Node #0,1
Current State: 88:[26, 49, 13], Operations: ['82-69=13']
Exploring Operation: 49-26=23, Resulting Numbers: [13, 23]
Generated Node #0,1,0: 88:[13, 23] Operation: 49-26=23
Exploring Operation: 26/13=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 88:[49, 2] Operation: 26/13=2
Moving to Node #0,0
Current State: 88:[49, 82, 43], Operations: ['69-26=43']
Exploring Operation: 49+43=92, Resulting Numbers: [82, 92]
Generated Node #0,0,0: 88:[82, 92] Operation: 49+43=92
Exploring Operation: 49-43=6, Resulting Numbers: [82, 6]
Generated Node #0,0,1: 88:[82, 6] Operation: 49-43=6
Moving to Node #0,1,0
Current State: 88:[13, 23], Operations: ['82-69=13', '49-26=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[49, 2], Operations: ['82-69=13', '26/13=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[82, 6], Operations: ['69-26=43', '49-43=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[26, 49, 82, 69], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [49, 82, 43]
Generated Node #0,0: 88:[49, 82, 43] Operation: 69-26=43
Moving to Node #0,0
Current State: 88:[49, 82, 43], Operations: ['69-26=43']
Exploring Operation: 49-43=6, Resulting Numbers: [82, 6]
Generated Node #0,0,1: 88:[82, 6] Operation: 49-43=6
Moving to Node #0,0,1
Current State: 88:[82, 6], Operations: ['69-26=43', '49-43=6']
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.986111
|
hs_2
|
mult_heuristic
|
[
19,
10,
70,
54
] | 34
|
[
"10*70=700",
"700-54=646",
"646/19=34"
] |
Current State: 34:[19, 10, 70, 54], Operations: []
Exploring Operation: 10*70=700, Resulting Numbers: [19, 54, 700]
Generated Node #2: [19, 54, 700] from Operation: 10*70=700
Current State: 34:[19, 54, 700], Operations: ['10*70=700']
Exploring Operation: 700-54=646, Resulting Numbers: [19, 646]
Generated Node #3: [19, 646] from Operation: 700-54=646
Current State: 34:[19, 646], Operations: ['10*70=700', '700-54=646']
Exploring Operation: 646/19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[19, 10, 70, 54], Operations: []
Exploring Operation: 54-19=35, Resulting Numbers: [10, 70, 35]
Generated Node #0,0: 34:[10, 70, 35] Operation: 54-19=35
Exploring Operation: 70-54=16, Resulting Numbers: [19, 10, 16]
Generated Node #0,1: 34:[19, 10, 16] Operation: 70-54=16
Exploring Operation: 70-19=51, Resulting Numbers: [10, 54, 51]
Generated Node #0,2: 34:[10, 54, 51] Operation: 70-19=51
Exploring Operation: 70/10=7, Resulting Numbers: [19, 54, 7]
Generated Node #0,3: 34:[19, 54, 7] Operation: 70/10=7
Moving to Node #0,1
Current State: 34:[19, 10, 16], Operations: ['70-54=16']
Exploring Operation: 19+16=35, Resulting Numbers: [10, 35]
Generated Node #0,1,0: 34:[10, 35] Operation: 19+16=35
Exploring Operation: 19-10=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 34:[16, 9] Operation: 19-10=9
Exploring Operation: 16-10=6, Resulting Numbers: [19, 6]
Generated Node #0,1,2: 34:[19, 6] Operation: 16-10=6
Exploring Operation: 19+10=29, Resulting Numbers: [16, 29]
Generated Node #0,1,3: 34:[16, 29] Operation: 19+10=29
Moving to Node #0,3
Current State: 34:[19, 54, 7], Operations: ['70/10=7']
Exploring Operation: 19+7=26, Resulting Numbers: [54, 26]
Generated Node #0,3,0: 34:[54, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [54, 12]
Generated Node #0,3,1: 34:[54, 12] Operation: 19-7=12
Exploring Operation: 54-7=47, Resulting Numbers: [19, 47]
Generated Node #0,3,2: 34:[19, 47] Operation: 54-7=47
Exploring Operation: 54-19=35, Resulting Numbers: [7, 35]
Generated Node #0,3,3: 34:[7, 35] Operation: 54-19=35
Moving to Node #0,2
Current State: 34:[10, 54, 51], Operations: ['70-19=51']
Exploring Operation: 10+54=64, Resulting Numbers: [51, 64]
Generated Node #0,2,0: 34:[51, 64] Operation: 10+54=64
Exploring Operation: 51-10=41, Resulting Numbers: [54, 41]
Generated Node #0,2,1: 34:[54, 41] Operation: 51-10=41
Exploring Operation: 54-51=3, Resulting Numbers: [10, 3]
Generated Node #0,2,2: 34:[10, 3] Operation: 54-51=3
Exploring Operation: 54-10=44, Resulting Numbers: [51, 44]
Generated Node #0,2,3: 34:[51, 44] Operation: 54-10=44
Moving to Node #0,0
Current State: 34:[10, 70, 35], Operations: ['54-19=35']
Exploring Operation: 70/10=7, Resulting Numbers: [35, 7]
Generated Node #0,0,0: 34:[35, 7] Operation: 70/10=7
Exploring Operation: 70/35=2, Resulting Numbers: [10, 2]
Generated Node #0,0,1: 34:[10, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [10, 35]
Generated Node #0,0,2: 34:[10, 35] Operation: 70-35=35
Exploring Operation: 70-10=60, Resulting Numbers: [35, 60]
Generated Node #0,0,3: 34:[35, 60] Operation: 70-10=60
Moving to Node #0,1,2
Current State: 34:[19, 6], Operations: ['70-54=16', '16-10=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[35, 7], Operations: ['54-19=35', '70/10=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,34 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[16, 29], Operations: ['70-54=16', '19+10=29']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,34 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[7, 35], Operations: ['70/10=7', '54-19=35']
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,34 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[10, 2], Operations: ['54-19=35', '70/35=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[10, 35], Operations: ['54-19=35', '70-35=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[10, 35], Operations: ['70-54=16', '19+16=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,34 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[16, 9], Operations: ['70-54=16', '19-10=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,34 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[10, 3], Operations: ['70-19=51', '54-51=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[19, 47], Operations: ['70/10=7', '54-7=47']
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,34 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[54, 12], Operations: ['70/10=7', '19-7=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,34 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[54, 41], Operations: ['70-19=51', '51-10=41']
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,34 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[51, 44], Operations: ['70-19=51', '54-10=44']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,34 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[35, 60], Operations: ['54-19=35', '70-10=60']
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,34 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[54, 26], Operations: ['70/10=7', '19+7=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,34 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[51, 64], Operations: ['70-19=51', '10+54=64']
Exploring Operation: 51*64=3264, Resulting Numbers: [3264]
3264,34 unequal: No Solution
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
2,
9,
74,
26
] | 52
|
[
"26/2=13",
"74-9=65",
"65-13=52"
] |
Current State: 52:[2, 9, 74, 26], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [9, 74, 13]
Generated Node #2: [9, 74, 13] from Operation: 26/2=13
Current State: 52:[9, 74, 13], Operations: ['26/2=13']
Exploring Operation: 74-9=65, Resulting Numbers: [13, 65]
Generated Node #3: [13, 65] from Operation: 74-9=65
Current State: 52:[13, 65], Operations: ['26/2=13', '74-9=65']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[2, 9, 74, 26], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [2, 9, 48]
Generated Node #0,0: 52:[2, 9, 48] Operation: 74-26=48
Exploring Operation: 74-9=65, Resulting Numbers: [2, 26, 65]
Generated Node #0,1: 52:[2, 26, 65] Operation: 74-9=65
Exploring Operation: 2+9=11, Resulting Numbers: [74, 26, 11]
Generated Node #0,2: 52:[74, 26, 11] Operation: 2+9=11
Exploring Operation: 74/2=37, Resulting Numbers: [9, 26, 37]
Generated Node #0,3: 52:[9, 26, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 52:[2, 9, 48], Operations: ['74-26=48']
Exploring Operation: 2+9=11, Resulting Numbers: [48, 11]
Generated Node #0,0,0: 52:[48, 11] Operation: 2+9=11
Exploring Operation: 48/2=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 52:[9, 24] Operation: 48/2=24
Exploring Operation: 9+48=57, Resulting Numbers: [2, 57]
Generated Node #0,0,2: 52:[2, 57] Operation: 9+48=57
Exploring Operation: 2+48=50, Resulting Numbers: [9, 50]
Generated Node #0,0,3: 52:[9, 50] Operation: 2+48=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[2, 57], Operations: ['74-26=48', '9+48=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,52 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[48, 11], Operations: ['74-26=48', '2+9=11']
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,52 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[9, 24], Operations: ['74-26=48', '48/2=24']
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,52 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[9, 50], Operations: ['74-26=48', '2+48=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,52 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: 52:[2, 26, 65], Operations: ['74-9=65']
Exploring Operation: 65-2=63, Resulting Numbers: [26, 63]
Generated Node #0,1,0: 52:[26, 63] Operation: 65-2=63
Exploring Operation: 26/2=13, Resulting Numbers: [65, 13]
Generated Node #0,1,1: 52:[65, 13] Operation: 26/2=13
Exploring Operation: 65-26=39, Resulting Numbers: [2, 39]
Generated Node #0,1,2: 52:[2, 39] Operation: 65-26=39
Exploring Operation: 2*26=52, Resulting Numbers: [65, 52]
Generated Node #0,1,3: 52:[65, 52] Operation: 2*26=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[26, 63], Operations: ['74-9=65', '65-2=63']
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,52 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[65, 13], Operations: ['74-9=65', '26/2=13']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[2, 9, 74, 26], Operations: []
Exploring Operation: 74-9=65, Resulting Numbers: [2, 26, 65]
Generated Node #0,1: 52:[2, 26, 65] Operation: 74-9=65
Moving to Node #0,1
Current State: 52:[2, 26, 65], Operations: ['74-9=65']
Exploring Operation: 26/2=13, Resulting Numbers: [65, 13]
Generated Node #0,1,1: 52:[65, 13] Operation: 26/2=13
Moving to Node #0,1,1
Current State: 52:[65, 13], Operations: ['74-9=65', '26/2=13']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354
|
hs_4
|
mult_heuristic
|
[
3,
5,
40,
16
] | 32
|
[
"3+5=8",
"40-16=24",
"8+24=32"
] |
Current State: 32:[3, 5, 40, 16], Operations: []
Exploring Operation: 3+5=8, Resulting Numbers: [40, 16, 8]
Generated Node #2: [40, 16, 8] from Operation: 3+5=8
Current State: 32:[40, 16, 8], Operations: ['3+5=8']
Exploring Operation: 40-16=24, Resulting Numbers: [8, 24]
Generated Node #3: [8, 24] from Operation: 40-16=24
Current State: 32:[8, 24], Operations: ['3+5=8', '40-16=24']
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[3, 5, 40, 16], Operations: []
Exploring Operation: 40-5=35, Resulting Numbers: [3, 16, 35]
Generated Node #0,0: 32:[3, 16, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [3, 16, 8]
Generated Node #0,1: 32:[3, 16, 8] Operation: 40/5=8
Exploring Operation: 40-3=37, Resulting Numbers: [5, 16, 37]
Generated Node #0,2: 32:[5, 16, 37] Operation: 40-3=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[3, 16, 8], Operations: ['40/5=8']
Exploring Operation: 16-8=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 32:[3, 8] Operation: 16-8=8
Exploring Operation: 8-3=5, Resulting Numbers: [16, 5]
Generated Node #0,1,1: 32:[16, 5] Operation: 8-3=5
Exploring Operation: 16/8=2, Resulting Numbers: [3, 2]
Generated Node #0,1,2: 32:[3, 2] Operation: 16/8=2
Moving to Node #0,1,0
Current State: 32:[3, 8], Operations: ['40/5=8', '16-8=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[16, 5], Operations: ['40/5=8', '8-3=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[3, 2], Operations: ['40/5=8', '16/8=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[3, 16, 35], Operations: ['40-5=35']
Exploring Operation: 3+16=19, Resulting Numbers: [35, 19]
Generated Node #0,0,0: 32:[35, 19] Operation: 3+16=19
Exploring Operation: 35-3=32, Resulting Numbers: [16, 32]
Generated Node #0,0,1: 32:[16, 32] Operation: 35-3=32
Exploring Operation: 35-16=19, Resulting Numbers: [3, 19]
Generated Node #0,0,2: 32:[3, 19] Operation: 35-16=19
Moving to Node #0,0,1
Current State: 32:[16, 32], Operations: ['40-5=35', '35-3=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[3, 19], Operations: ['40-5=35', '35-16=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[35, 19], Operations: ['40-5=35', '3+16=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,32 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[5, 16, 37], Operations: ['40-3=37']
Exploring Operation: 37-16=21, Resulting Numbers: [5, 21]
Generated Node #0,2,0: 32:[5, 21] Operation: 37-16=21
Exploring Operation: 16-5=11, Resulting Numbers: [37, 11]
Generated Node #0,2,1: 32:[37, 11] Operation: 16-5=11
Exploring Operation: 37-5=32, Resulting Numbers: [16, 32]
Generated Node #0,2,2: 32:[16, 32] Operation: 37-5=32
Moving to Node #0,2,2
Current State: 32:[16, 32], Operations: ['40-3=37', '37-5=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[5, 21], Operations: ['40-3=37', '37-16=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[37, 11], Operations: ['40-3=37', '16-5=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,32 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
|
[
88,
33,
23,
44
] | 20
|
[
"88/44=2",
"33-23=10",
"2*10=20"
] |
Current State: 20:[88, 33, 23, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [33, 23, 2]
Generated Node #2: [33, 23, 2] from Operation: 88/44=2
Current State: 20:[33, 23, 2], Operations: ['88/44=2']
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #3: [2, 10] from Operation: 33-23=10
Current State: 20:[2, 10], Operations: ['88/44=2', '33-23=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[88, 33, 23, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [33, 23, 2]
Generated Node #0,0: 20:[33, 23, 2] Operation: 88/44=2
Moving to Node #0,0
Current State: 20:[33, 23, 2], Operations: ['88/44=2']
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 20:[2, 10] Operation: 33-23=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[2, 10], Operations: ['88/44=2', '33-23=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[88, 33, 23, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [33, 23, 2]
Generated Node #0,0: 20:[33, 23, 2] Operation: 88/44=2
Moving to Node #0,0
Current State: 20:[33, 23, 2], Operations: ['88/44=2']
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 20:[2, 10] Operation: 33-23=10
Moving to Node #0,0,0
Current State: 20:[2, 10], Operations: ['88/44=2', '33-23=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
59,
3,
83,
4
] | 76
|
[
"83-59=24",
"3*24=72",
"4+72=76"
] |
Current State: 76:[59, 3, 83, 4], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [3, 4, 24]
Generated Node #2: [3, 4, 24] from Operation: 83-59=24
Current State: 76:[3, 4, 24], Operations: ['83-59=24']
Exploring Operation: 3*24=72, Resulting Numbers: [4, 72]
Generated Node #3: [4, 72] from Operation: 3*24=72
Current State: 76:[4, 72], Operations: ['83-59=24', '3*24=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[59, 3, 83, 4], Operations: []
Exploring Operation: 59+3=62, Resulting Numbers: [83, 4, 62]
Generated Node #0,0: 76:[83, 4, 62] Operation: 59+3=62
Exploring Operation: 59+4=63, Resulting Numbers: [3, 83, 63]
Generated Node #0,1: 76:[3, 83, 63] Operation: 59+4=63
Exploring Operation: 83-59=24, Resulting Numbers: [3, 4, 24]
Generated Node #0,2: 76:[3, 4, 24] Operation: 83-59=24
Exploring Operation: 83-3=80, Resulting Numbers: [59, 4, 80]
Generated Node #0,3: 76:[59, 4, 80] Operation: 83-3=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[3, 4, 24], Operations: ['83-59=24']
Exploring Operation: 3*24=72, Resulting Numbers: [4, 72]
Generated Node #0,2,0: 76:[4, 72] Operation: 3*24=72
Exploring Operation: 24/4=6, Resulting Numbers: [3, 6]
Generated Node #0,2,1: 76:[3, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [3, 20]
Generated Node #0,2,2: 76:[3, 20] Operation: 24-4=20
Exploring Operation: 24-3=21, Resulting Numbers: [4, 21]
Generated Node #0,2,3: 76:[4, 21] Operation: 24-3=21
Moving to Node #0,2,2
Current State: 76:[3, 20], Operations: ['83-59=24', '24-4=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[4, 21], Operations: ['83-59=24', '24-3=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[3, 6], Operations: ['83-59=24', '24/4=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[4, 72], Operations: ['83-59=24', '3*24=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,76 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[59, 3, 83, 4], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [3, 4, 24]
Generated Node #0,2: 76:[3, 4, 24] Operation: 83-59=24
Moving to Node #0,2
Current State: 76:[3, 4, 24], Operations: ['83-59=24']
Exploring Operation: 3*24=72, Resulting Numbers: [4, 72]
Generated Node #0,2,0: 76:[4, 72] Operation: 3*24=72
Moving to Node #0,2,0
Current State: 76:[4, 72], Operations: ['83-59=24', '3*24=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431
|
hs_4
|
mult_heuristic
|
[
4,
43,
63,
79
] | 54
|
[
"79-43=36",
"36/4=9",
"63-9=54"
] |
Current State: 54:[4, 43, 63, 79], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [4, 63, 36]
Generated Node #2: [4, 63, 36] from Operation: 79-43=36
Current State: 54:[4, 63, 36], Operations: ['79-43=36']
Exploring Operation: 36/4=9, Resulting Numbers: [63, 9]
Generated Node #3: [63, 9] from Operation: 36/4=9
Current State: 54:[63, 9], Operations: ['79-43=36', '36/4=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[4, 43, 63, 79], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [4, 63, 36]
Generated Node #0,0: 54:[4, 63, 36] Operation: 79-43=36
Exploring Operation: 79-63=16, Resulting Numbers: [4, 43, 16]
Generated Node #0,1: 54:[4, 43, 16] Operation: 79-63=16
Moving to Node #0,1
Current State: 54:[4, 43, 16], Operations: ['79-63=16']
Exploring Operation: 43+16=59, Resulting Numbers: [4, 59]
Generated Node #0,1,0: 54:[4, 59] Operation: 43+16=59
Exploring Operation: 43-16=27, Resulting Numbers: [4, 27]
Generated Node #0,1,1: 54:[4, 27] Operation: 43-16=27
Moving to Node #0,0
Current State: 54:[4, 63, 36], Operations: ['79-43=36']
Exploring Operation: 36/4=9, Resulting Numbers: [63, 9]
Generated Node #0,0,0: 54:[63, 9] Operation: 36/4=9
Exploring Operation: 63-36=27, Resulting Numbers: [4, 27]
Generated Node #0,0,1: 54:[4, 27] Operation: 63-36=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[4, 27], Operations: ['79-43=36', '63-36=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[63, 9], Operations: ['79-43=36', '36/4=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[4, 43, 63, 79], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [4, 63, 36]
Generated Node #0,0: 54:[4, 63, 36] Operation: 79-43=36
Moving to Node #0,0
Current State: 54:[4, 63, 36], Operations: ['79-43=36']
Exploring Operation: 36/4=9, Resulting Numbers: [63, 9]
Generated Node #0,0,0: 54:[63, 9] Operation: 36/4=9
Moving to Node #0,0,0
Current State: 54:[63, 9], Operations: ['79-43=36', '36/4=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_2
|
sum_heuristic
|
[
45,
84,
43,
66
] | 63
|
[
"45+84=129",
"129/43=3",
"66-3=63"
] |
Current State: 63:[45, 84, 43, 66], Operations: []
Exploring Operation: 45+84=129, Resulting Numbers: [43, 66, 129]
Generated Node #2: [43, 66, 129] from Operation: 45+84=129
Current State: 63:[43, 66, 129], Operations: ['45+84=129']
Exploring Operation: 129/43=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 129/43=3
Current State: 63:[66, 3], Operations: ['45+84=129', '129/43=3']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[45, 84, 43, 66], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [84, 43, 21]
Generated Node #0,0: 63:[84, 43, 21] Operation: 66-45=21
Exploring Operation: 45-43=2, Resulting Numbers: [84, 66, 2]
Generated Node #0,1: 63:[84, 66, 2] Operation: 45-43=2
Exploring Operation: 84-45=39, Resulting Numbers: [43, 66, 39]
Generated Node #0,2: 63:[43, 66, 39] Operation: 84-45=39
Moving to Node #0,1
Current State: 63:[84, 66, 2], Operations: ['45-43=2']
Exploring Operation: 66-2=64, Resulting Numbers: [84, 64]
Generated Node #0,1,0: 63:[84, 64] Operation: 66-2=64
Exploring Operation: 84-66=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 63:[2, 18] Operation: 84-66=18
Exploring Operation: 84-2=82, Resulting Numbers: [66, 82]
Generated Node #0,1,2: 63:[66, 82] Operation: 84-2=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[2, 18], Operations: ['45-43=2', '84-66=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[84, 64], Operations: ['45-43=2', '66-2=64']
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,63 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[66, 82], Operations: ['45-43=2', '84-2=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,63 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,63 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,63 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: 63:[84, 43, 21], Operations: ['66-45=21']
Exploring Operation: 84/21=4, Resulting Numbers: [43, 4]
Generated Node #0,0,0: 63:[43, 4] Operation: 84/21=4
Exploring Operation: 84-43=41, Resulting Numbers: [21, 41]
Generated Node #0,0,1: 63:[21, 41] Operation: 84-43=41
Exploring Operation: 84-21=63, Resulting Numbers: [43, 63]
Generated Node #0,0,2: 63:[43, 63] Operation: 84-21=63
Moving to Node #0,2
Current State: 63:[43, 66, 39], Operations: ['84-45=39']
Exploring Operation: 66-43=23, Resulting Numbers: [39, 23]
Generated Node #0,2,0: 63:[39, 23] Operation: 66-43=23
Exploring Operation: 43+39=82, Resulting Numbers: [66, 82]
Generated Node #0,2,1: 63:[66, 82] Operation: 43+39=82
Exploring Operation: 43-39=4, Resulting Numbers: [66, 4]
Generated Node #0,2,2: 63:[66, 4] Operation: 43-39=4
Moving to Node #0,2,2
Current State: 63:[66, 4], Operations: ['84-45=39', '43-39=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,63 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[21, 41], Operations: ['66-45=21', '84-43=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[39, 23], Operations: ['84-45=39', '66-43=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,63 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[43, 63], Operations: ['66-45=21', '84-21=63']
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,63 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,63 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[43, 4], Operations: ['66-45=21', '84/21=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,63 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[66, 82], Operations: ['84-45=39', '43+39=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,63 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,63 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,63 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
66,
70,
93,
66
] | 93
|
[
"66-66=0",
"70*0=0",
"93+0=93"
] |
Current State: 93:[66, 70, 93, 66], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [70, 93, 0]
Generated Node #2: [70, 93, 0] from Operation: 66-66=0
Current State: 93:[70, 93, 0], Operations: ['66-66=0']
Exploring Operation: 70*0=0, Resulting Numbers: [93, 0]
Generated Node #3: [93, 0] from Operation: 70*0=0
Current State: 93:[93, 0], Operations: ['66-66=0', '70*0=0']
Exploring Operation: 93+0=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[66, 70, 93, 66], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [70, 93, 0]
Generated Node #0,0: 93:[70, 93, 0] Operation: 66-66=0
Exploring Operation: 66/66=1, Resulting Numbers: [70, 93, 1]
Generated Node #0,1: 93:[70, 93, 1] Operation: 66/66=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[70, 93, 1], Operations: ['66/66=1']
Exploring Operation: 70+1=71, Resulting Numbers: [93, 71]
Generated Node #0,1,0: 93:[93, 71] Operation: 70+1=71
Exploring Operation: 93-70=23, Resulting Numbers: [1, 23]
Generated Node #0,1,1: 93:[1, 23] Operation: 93-70=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[1, 23], Operations: ['66/66=1', '93-70=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[93, 71], Operations: ['66/66=1', '70+1=71']
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 93+71=164, Resulting Numbers: [164]
164,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[70, 93, 0], Operations: ['66-66=0']
Exploring Operation: 93-70=23, Resulting Numbers: [0, 23]
Generated Node #0,0,0: 93:[0, 23] Operation: 93-70=23
Exploring Operation: 70*0=0, Resulting Numbers: [93, 0]
Generated Node #0,0,1: 93:[93, 0] Operation: 70*0=0
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[93, 0], Operations: ['66-66=0', '70*0=0']
Exploring Operation: 93-0=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[66, 70, 93, 66], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [70, 93, 0]
Generated Node #0,0: 93:[70, 93, 0] Operation: 66-66=0
Moving to Node #0,0
Current State: 93:[70, 93, 0], Operations: ['66-66=0']
Exploring Operation: 70*0=0, Resulting Numbers: [93, 0]
Generated Node #0,0,1: 93:[93, 0] Operation: 70*0=0
Moving to Node #0,0,1
Current State: 93:[93, 0], Operations: ['66-66=0', '70*0=0']
Exploring Operation: 93-0=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
mult_heuristic
|
[
20,
21,
82,
54
] | 56
|
[
"20+21=41",
"82/41=2",
"54+2=56"
] |
Current State: 56:[20, 21, 82, 54], Operations: []
Exploring Operation: 20+21=41, Resulting Numbers: [82, 54, 41]
Generated Node #2: [82, 54, 41] from Operation: 20+21=41
Current State: 56:[82, 54, 41], Operations: ['20+21=41']
Exploring Operation: 82/41=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 82/41=2
Current State: 56:[54, 2], Operations: ['20+21=41', '82/41=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4
|
Current State: 56:[20, 21, 82, 54], Operations: []
Exploring Operation: 82-21=61, Resulting Numbers: [20, 54, 61]
Generated Node #0,0: 56:[20, 54, 61] Operation: 82-21=61
Exploring Operation: 82-54=28, Resulting Numbers: [20, 21, 28]
Generated Node #0,1: 56:[20, 21, 28] Operation: 82-54=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[20, 54, 61], Operations: ['82-21=61']
Exploring Operation: 54-20=34, Resulting Numbers: [61, 34]
Generated Node #0,0,0: 56:[61, 34] Operation: 54-20=34
Exploring Operation: 61-54=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 56:[20, 7] Operation: 61-54=7
Moving to Node #0,0,1
Current State: 56:[20, 7], Operations: ['82-21=61', '61-54=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[61, 34], Operations: ['82-21=61', '54-20=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[20, 21, 28], Operations: ['82-54=28']
Exploring Operation: 28-21=7, Resulting Numbers: [20, 7]
Generated Node #0,1,0: 56:[20, 7] Operation: 28-21=7
Exploring Operation: 21-20=1, Resulting Numbers: [28, 1]
Generated Node #0,1,1: 56:[28, 1] Operation: 21-20=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[28, 1], Operations: ['82-54=28', '21-20=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,56 unequal: No Solution
No 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: 56:[20, 7], Operations: ['82-54=28', '28-21=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,56 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
|
[
3,
27,
42,
48
] | 31
|
[
"48/3=16",
"42-27=15",
"16+15=31"
] |
Current State: 31:[3, 27, 42, 48], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [27, 42, 16]
Generated Node #2: [27, 42, 16] from Operation: 48/3=16
Current State: 31:[27, 42, 16], Operations: ['48/3=16']
Exploring Operation: 42-27=15, Resulting Numbers: [16, 15]
Generated Node #3: [16, 15] from Operation: 42-27=15
Current State: 31:[16, 15], Operations: ['48/3=16', '42-27=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[3, 27, 42, 48], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [27, 48, 39]
Generated Node #0,0: 31:[27, 48, 39] Operation: 42-3=39
Exploring Operation: 48-3=45, Resulting Numbers: [27, 42, 45]
Generated Node #0,1: 31:[27, 42, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [27, 42, 16]
Generated Node #0,2: 31:[27, 42, 16] Operation: 48/3=16
Exploring Operation: 3+27=30, Resulting Numbers: [42, 48, 30]
Generated Node #0,3: 31:[42, 48, 30] Operation: 3+27=30
Moving to Node #0,0
Current State: 31:[27, 48, 39], Operations: ['42-3=39']
Exploring Operation: 48-39=9, Resulting Numbers: [27, 9]
Generated Node #0,0,0: 31:[27, 9] Operation: 48-39=9
Exploring Operation: 48-27=21, Resulting Numbers: [39, 21]
Generated Node #0,0,1: 31:[39, 21] Operation: 48-27=21
Exploring Operation: 39-27=12, Resulting Numbers: [48, 12]
Generated Node #0,0,2: 31:[48, 12] Operation: 39-27=12
Exploring Operation: 27+48=75, Resulting Numbers: [39, 75]
Generated Node #0,0,3: 31:[39, 75] Operation: 27+48=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[39, 21], Operations: ['42-3=39', '48-27=21']
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,31 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[27, 9], Operations: ['42-3=39', '48-39=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,31 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[48, 12], Operations: ['42-3=39', '39-27=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[39, 75], Operations: ['42-3=39', '27+48=75']
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,31 unequal: No Solution
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,31 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,31 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: 31:[42, 48, 30], Operations: ['3+27=30']
Exploring Operation: 48-30=18, Resulting Numbers: [42, 18]
Generated Node #0,3,0: 31:[42, 18] Operation: 48-30=18
Exploring Operation: 48-42=6, Resulting Numbers: [30, 6]
Generated Node #0,3,1: 31:[30, 6] Operation: 48-42=6
Exploring Operation: 42-30=12, Resulting Numbers: [48, 12]
Generated Node #0,3,2: 31:[48, 12] Operation: 42-30=12
Exploring Operation: 42+30=72, Resulting Numbers: [48, 72]
Generated Node #0,3,3: 31:[48, 72] Operation: 42+30=72
Moving to Node #0,1
Current State: 31:[27, 42, 45], Operations: ['48-3=45']
Exploring Operation: 45-27=18, Resulting Numbers: [42, 18]
Generated Node #0,1,0: 31:[42, 18] Operation: 45-27=18
Exploring Operation: 45-42=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 31:[27, 3] Operation: 45-42=3
Exploring Operation: 27+42=69, Resulting Numbers: [45, 69]
Generated Node #0,1,2: 31:[45, 69] Operation: 27+42=69
Exploring Operation: 42-27=15, Resulting Numbers: [45, 15]
Generated Node #0,1,3: 31:[45, 15] Operation: 42-27=15
Moving to Node #0,2
Current State: 31:[27, 42, 16], Operations: ['48/3=16']
Exploring Operation: 27+16=43, Resulting Numbers: [42, 43]
Generated Node #0,2,0: 31:[42, 43] Operation: 27+16=43
Exploring Operation: 27-16=11, Resulting Numbers: [42, 11]
Generated Node #0,2,1: 31:[42, 11] Operation: 27-16=11
Exploring Operation: 42-27=15, Resulting Numbers: [16, 15]
Generated Node #0,2,2: 31:[16, 15] Operation: 42-27=15
Exploring Operation: 42-16=26, Resulting Numbers: [27, 26]
Generated Node #0,2,3: 31:[27, 26] Operation: 42-16=26
Moving to Node #0,2,3
Current State: 31:[27, 26], Operations: ['48/3=16', '42-16=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[42, 43], Operations: ['48/3=16', '27+16=43']
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,31 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,31 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[42, 18], Operations: ['3+27=30', '48-30=18']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[42, 18], Operations: ['48-3=45', '45-27=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[30, 6], Operations: ['3+27=30', '48-42=6']
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,31 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[45, 15], Operations: ['48-3=45', '42-27=15']
Exploring Operation: 45*15=675, Resulting Numbers: [675]
675,31 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[16, 15], Operations: ['48/3=16', '42-27=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[3, 27, 42, 48], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [27, 42, 16]
Generated Node #0,2: 31:[27, 42, 16] Operation: 48/3=16
Moving to Node #0,2
Current State: 31:[27, 42, 16], Operations: ['48/3=16']
Exploring Operation: 42-27=15, Resulting Numbers: [16, 15]
Generated Node #0,2,2: 31:[16, 15] Operation: 42-27=15
Moving to Node #0,2,2
Current State: 31:[16, 15], Operations: ['48/3=16', '42-27=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.947917
|
hs_4
|
mult_heuristic
|
[
12,
77,
90,
80
] | 86
|
[
"80-77=3",
"12/3=4",
"90-4=86"
] |
Current State: 86:[12, 77, 90, 80], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [12, 90, 3]
Generated Node #2: [12, 90, 3] from Operation: 80-77=3
Current State: 86:[12, 90, 3], Operations: ['80-77=3']
Exploring Operation: 12/3=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 12/3=4
Current State: 86:[90, 4], Operations: ['80-77=3', '12/3=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[12, 77, 90, 80], Operations: []
Exploring Operation: 12+77=89, Resulting Numbers: [90, 80, 89]
Generated Node #0,0: 86:[90, 80, 89] Operation: 12+77=89
Moving to Node #0,0
Current State: 86:[90, 80, 89], Operations: ['12+77=89']
Exploring Operation: 90-89=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 86:[80, 1] Operation: 90-89=1
Moving to Node #0,0,0
Current State: 86:[80, 1], Operations: ['12+77=89', '90-89=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,86 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
69,
7,
8,
41
] | 37
|
[
"8*41=328",
"328-69=259",
"259/7=37"
] |
Current State: 37:[69, 7, 8, 41], Operations: []
Exploring Operation: 8*41=328, Resulting Numbers: [69, 7, 328]
Generated Node #2: [69, 7, 328] from Operation: 8*41=328
Current State: 37:[69, 7, 328], Operations: ['8*41=328']
Exploring Operation: 328-69=259, Resulting Numbers: [7, 259]
Generated Node #3: [7, 259] from Operation: 328-69=259
Current State: 37:[7, 259], Operations: ['8*41=328', '328-69=259']
Exploring Operation: 259/7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4
|
Current State: 37:[69, 7, 8, 41], Operations: []
Exploring Operation: 7*8=56, Resulting Numbers: [69, 41, 56]
Generated Node #0,0: 37:[69, 41, 56] Operation: 7*8=56
Moving to Node #0,0
Current State: 37:[69, 41, 56], Operations: ['7*8=56']
Exploring Operation: 69-41=28, Resulting Numbers: [56, 28]
Generated Node #0,0,0: 37:[56, 28] Operation: 69-41=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[56, 28], Operations: ['7*8=56', '69-41=28']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,37 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
|
[
32,
92,
48,
64
] | 94
|
[
"32*92=2944",
"2944/64=46",
"48+46=94"
] |
Current State: 94:[32, 92, 48, 64], Operations: []
Exploring Operation: 32*92=2944, Resulting Numbers: [48, 64, 2944]
Generated Node #2: [48, 64, 2944] from Operation: 32*92=2944
Current State: 94:[48, 64, 2944], Operations: ['32*92=2944']
Exploring Operation: 2944/64=46, Resulting Numbers: [48, 46]
Generated Node #3: [48, 46] from Operation: 2944/64=46
Current State: 94:[48, 46], Operations: ['32*92=2944', '2944/64=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4
|
Current State: 94:[32, 92, 48, 64], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [92, 48, 2]
Generated Node #0,0: 94:[92, 48, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [92, 48, 32]
Generated Node #0,1: 94:[92, 48, 32] Operation: 64-32=32
Exploring Operation: 92-32=60, Resulting Numbers: [48, 64, 60]
Generated Node #0,2: 94:[48, 64, 60] Operation: 92-32=60
Exploring Operation: 64-48=16, Resulting Numbers: [32, 92, 16]
Generated Node #0,3: 94:[32, 92, 16] Operation: 64-48=16
Exploring Operation: 32+64=96, Resulting Numbers: [92, 48, 96]
Generated Node #0,4: 94:[92, 48, 96] Operation: 32+64=96
Moving to Node #0,0
Current State: 94:[92, 48, 2], Operations: ['64/32=2']
Exploring Operation: 48-2=46, Resulting Numbers: [92, 46]
Generated Node #0,0,0: 94:[92, 46] Operation: 48-2=46
Exploring Operation: 92/2=46, Resulting Numbers: [48, 46]
Generated Node #0,0,1: 94:[48, 46] Operation: 92/2=46
Exploring Operation: 48*2=96, Resulting Numbers: [92, 96]
Generated Node #0,0,2: 94:[92, 96] Operation: 48*2=96
Exploring Operation: 92+2=94, Resulting Numbers: [48, 94]
Generated Node #0,0,3: 94:[48, 94] Operation: 92+2=94
Exploring Operation: 92-48=44, Resulting Numbers: [2, 44]
Generated Node #0,0,4: 94:[2, 44] Operation: 92-48=44
Moving to Node #0,4
Current State: 94:[92, 48, 96], Operations: ['32+64=96']
Exploring Operation: 96-92=4, Resulting Numbers: [48, 4]
Generated Node #0,4,0: 94:[48, 4] Operation: 96-92=4
Exploring Operation: 92+48=140, Resulting Numbers: [96, 140]
Generated Node #0,4,1: 94:[96, 140] Operation: 92+48=140
Exploring Operation: 96-48=48, Resulting Numbers: [92, 48]
Generated Node #0,4,2: 94:[92, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [92, 2]
Generated Node #0,4,3: 94:[92, 2] Operation: 96/48=2
Exploring Operation: 92-48=44, Resulting Numbers: [96, 44]
Generated Node #0,4,4: 94:[96, 44] Operation: 92-48=44
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 94:[92, 2], Operations: ['32+64=96', '96/48=2']
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[32, 92, 48, 64], Operations: []
Exploring Operation: 32+64=96, Resulting Numbers: [92, 48, 96]
Generated Node #0,4: 94:[92, 48, 96] Operation: 32+64=96
Moving to Node #0,4
Current State: 94:[92, 48, 96], Operations: ['32+64=96']
Exploring Operation: 96/48=2, Resulting Numbers: [92, 2]
Generated Node #0,4,3: 94:[92, 2] Operation: 96/48=2
Moving to Node #0,4,3
Current State: 94:[92, 2], Operations: ['32+64=96', '96/48=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903
|
hs_5
|
mult_heuristic
|
[
57,
58,
15,
55
] | 40
|
[
"58-57=1",
"55-15=40",
"1*40=40"
] |
Current State: 40:[57, 58, 15, 55], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [15, 55, 1]
Generated Node #2: [15, 55, 1] from Operation: 58-57=1
Current State: 40:[15, 55, 1], Operations: ['58-57=1']
Exploring Operation: 55-15=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 55-15=40
Current State: 40:[1, 40], Operations: ['58-57=1', '55-15=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[57, 58, 15, 55], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [15, 55, 1]
Generated Node #0,0: 40:[15, 55, 1] Operation: 58-57=1
Exploring Operation: 57-55=2, Resulting Numbers: [58, 15, 2]
Generated Node #0,1: 40:[58, 15, 2] Operation: 57-55=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[15, 55, 1], Operations: ['58-57=1']
Exploring Operation: 15+1=16, Resulting Numbers: [55, 16]
Generated Node #0,0,0: 40:[55, 16] Operation: 15+1=16
Exploring Operation: 55-15=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 40:[1, 40] Operation: 55-15=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[1, 40], Operations: ['58-57=1', '55-15=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[57, 58, 15, 55], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [15, 55, 1]
Generated Node #0,0: 40:[15, 55, 1] Operation: 58-57=1
Moving to Node #0,0
Current State: 40:[15, 55, 1], Operations: ['58-57=1']
Exploring Operation: 55-15=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 40:[1, 40] Operation: 55-15=40
Moving to Node #0,0,1
Current State: 40:[1, 40], Operations: ['58-57=1', '55-15=40']
Exploring Operation: 40/1=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
|
[
66,
99,
83,
92
] | 24
|
[
"99-66=33",
"92-83=9",
"33-9=24"
] |
Current State: 24:[66, 99, 83, 92], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [83, 92, 33]
Generated Node #2: [83, 92, 33] from Operation: 99-66=33
Current State: 24:[83, 92, 33], Operations: ['99-66=33']
Exploring Operation: 92-83=9, Resulting Numbers: [33, 9]
Generated Node #3: [33, 9] from Operation: 92-83=9
Current State: 24:[33, 9], Operations: ['99-66=33', '92-83=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[66, 99, 83, 92], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [83, 92, 33]
Generated Node #0,0: 24:[83, 92, 33] Operation: 99-66=33
Exploring Operation: 92-66=26, Resulting Numbers: [99, 83, 26]
Generated Node #0,1: 24:[99, 83, 26] Operation: 92-66=26
Exploring Operation: 99-92=7, Resulting Numbers: [66, 83, 7]
Generated Node #0,2: 24:[66, 83, 7] Operation: 99-92=7
Exploring Operation: 92-83=9, Resulting Numbers: [66, 99, 9]
Generated Node #0,3: 24:[66, 99, 9] Operation: 92-83=9
Exploring Operation: 99-83=16, Resulting Numbers: [66, 92, 16]
Generated Node #0,4: 24:[66, 92, 16] Operation: 99-83=16
Moving to Node #0,2
Current State: 24:[66, 83, 7], Operations: ['99-92=7']
Exploring Operation: 83-7=76, Resulting Numbers: [66, 76]
Generated Node #0,2,0: 24:[66, 76] Operation: 83-7=76
Exploring Operation: 83-66=17, Resulting Numbers: [7, 17]
Generated Node #0,2,1: 24:[7, 17] Operation: 83-66=17
Exploring Operation: 66-7=59, Resulting Numbers: [83, 59]
Generated Node #0,2,2: 24:[83, 59] Operation: 66-7=59
Exploring Operation: 66+7=73, Resulting Numbers: [83, 73]
Generated Node #0,2,3: 24:[83, 73] Operation: 66+7=73
Exploring Operation: 83+7=90, Resulting Numbers: [66, 90]
Generated Node #0,2,4: 24:[66, 90] Operation: 83+7=90
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[7, 17], Operations: ['99-92=7', '83-66=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[66, 99, 83, 92], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [66, 83, 7]
Generated Node #0,2: 24:[66, 83, 7] Operation: 99-92=7
Moving to Node #0,2
Current State: 24:[66, 83, 7], Operations: ['99-92=7']
Exploring Operation: 83-66=17, Resulting Numbers: [7, 17]
Generated Node #0,2,1: 24:[7, 17] Operation: 83-66=17
Moving to Node #0,2,1
Current State: 24:[7, 17], Operations: ['99-92=7', '83-66=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
mult_heuristic
|
[
60,
58,
2,
20
] | 12
|
[
"60-58=2",
"20/2=10",
"2+10=12"
] |
Current State: 12:[60, 58, 2, 20], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [2, 20, 2]
Generated Node #2: [2, 20, 2] from Operation: 60-58=2
Current State: 12:[2, 20, 2], Operations: ['60-58=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,12 equal: Goal Reached
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[60, 58, 2, 20], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [2, 20, 2]
Generated Node #0,0: 12:[2, 20, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 12:[2, 20, 2], Operations: ['60-58=2']
Exploring Operation: 20/2=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 12:[2, 10] Operation: 20/2=10
Moving to Node #0,0,0
Current State: 12:[2, 10], Operations: ['60-58=2', '20/2=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[60, 58, 2, 20], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [2, 20, 2]
Generated Node #0,0: 12:[2, 20, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 12:[2, 20, 2], Operations: ['60-58=2']
Exploring Operation: 20/2=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 12:[2, 10] Operation: 20/2=10
Moving to Node #0,0,0
Current State: 12:[2, 10], Operations: ['60-58=2', '20/2=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
55,
3,
9,
80
] | 22
|
[
"80-55=25",
"9/3=3",
"25-3=22"
] |
Current State: 22:[55, 3, 9, 80], Operations: []
Exploring Operation: 80-55=25, Resulting Numbers: [3, 9, 25]
Generated Node #2: [3, 9, 25] from Operation: 80-55=25
Current State: 22:[3, 9, 25], Operations: ['80-55=25']
Exploring Operation: 9/3=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 9/3=3
Current State: 22:[25, 3], Operations: ['80-55=25', '9/3=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[55, 3, 9, 80], Operations: []
Exploring Operation: 55-3=52, Resulting Numbers: [9, 80, 52]
Generated Node #0,0: 22:[9, 80, 52] Operation: 55-3=52
Exploring Operation: 55-9=46, Resulting Numbers: [3, 80, 46]
Generated Node #0,1: 22:[3, 80, 46] Operation: 55-9=46
Exploring Operation: 80-3=77, Resulting Numbers: [55, 9, 77]
Generated Node #0,2: 22:[55, 9, 77] Operation: 80-3=77
Exploring Operation: 80-9=71, Resulting Numbers: [55, 3, 71]
Generated Node #0,3: 22:[55, 3, 71] Operation: 80-9=71
Exploring Operation: 80-55=25, Resulting Numbers: [3, 9, 25]
Generated Node #0,4: 22:[3, 9, 25] Operation: 80-55=25
Moving to Node #0,4
Current State: 22:[3, 9, 25], Operations: ['80-55=25']
Exploring Operation: 9-3=6, Resulting Numbers: [25, 6]
Generated Node #0,4,0: 22:[25, 6] Operation: 9-3=6
Exploring Operation: 25-9=16, Resulting Numbers: [3, 16]
Generated Node #0,4,1: 22:[3, 16] Operation: 25-9=16
Exploring Operation: 3+9=12, Resulting Numbers: [25, 12]
Generated Node #0,4,2: 22:[25, 12] Operation: 3+9=12
Exploring Operation: 9/3=3, Resulting Numbers: [25, 3]
Generated Node #0,4,3: 22:[25, 3] Operation: 9/3=3
Exploring Operation: 25-3=22, Resulting Numbers: [9, 22]
Generated Node #0,4,4: 22:[9, 22] Operation: 25-3=22
Moving to Node #0,3
Current State: 22:[55, 3, 71], Operations: ['80-9=71']
Exploring Operation: 55+3=58, Resulting Numbers: [71, 58]
Generated Node #0,3,0: 22:[71, 58] Operation: 55+3=58
Exploring Operation: 71-55=16, Resulting Numbers: [3, 16]
Generated Node #0,3,1: 22:[3, 16] Operation: 71-55=16
Exploring Operation: 71-3=68, Resulting Numbers: [55, 68]
Generated Node #0,3,2: 22:[55, 68] Operation: 71-3=68
Exploring Operation: 55-3=52, Resulting Numbers: [71, 52]
Generated Node #0,3,3: 22:[71, 52] Operation: 55-3=52
Exploring Operation: 3+71=74, Resulting Numbers: [55, 74]
Generated Node #0,3,4: 22:[55, 74] Operation: 3+71=74
Moving to Node #0,1
Current State: 22:[3, 80, 46], Operations: ['55-9=46']
Exploring Operation: 80-3=77, Resulting Numbers: [46, 77]
Generated Node #0,1,0: 22:[46, 77] Operation: 80-3=77
Exploring Operation: 3+46=49, Resulting Numbers: [80, 49]
Generated Node #0,1,1: 22:[80, 49] Operation: 3+46=49
Exploring Operation: 80-46=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 22:[3, 34] Operation: 80-46=34
Exploring Operation: 46-3=43, Resulting Numbers: [80, 43]
Generated Node #0,1,3: 22:[80, 43] Operation: 46-3=43
Exploring Operation: 3+80=83, Resulting Numbers: [46, 83]
Generated Node #0,1,4: 22:[46, 83] Operation: 3+80=83
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[3, 34], Operations: ['55-9=46', '80-46=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,22 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,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:[46, 77], Operations: ['55-9=46', '80-3=77']
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,22 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,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,3
Current State: 22:[80, 43], Operations: ['55-9=46', '46-3=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,22 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,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:[80, 49], Operations: ['55-9=46', '3+46=49']
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,22 unequal: No Solution
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,22 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,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:[46, 83], Operations: ['55-9=46', '3+80=83']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,22 unequal: No Solution
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,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:[9, 80, 52], Operations: ['55-3=52']
Exploring Operation: 52-9=43, Resulting Numbers: [80, 43]
Generated Node #0,0,0: 22:[80, 43] Operation: 52-9=43
Exploring Operation: 9+80=89, Resulting Numbers: [52, 89]
Generated Node #0,0,1: 22:[52, 89] Operation: 9+80=89
Exploring Operation: 9+52=61, Resulting Numbers: [80, 61]
Generated Node #0,0,2: 22:[80, 61] Operation: 9+52=61
Exploring Operation: 80-9=71, Resulting Numbers: [52, 71]
Generated Node #0,0,3: 22:[52, 71] Operation: 80-9=71
Exploring Operation: 80-52=28, Resulting Numbers: [9, 28]
Generated Node #0,0,4: 22:[9, 28] Operation: 80-52=28
Moving to Node #0,2
Current State: 22:[55, 9, 77], Operations: ['80-3=77']
Exploring Operation: 77-9=68, Resulting Numbers: [55, 68]
Generated Node #0,2,0: 22:[55, 68] Operation: 77-9=68
Exploring Operation: 77-55=22, Resulting Numbers: [9, 22]
Generated Node #0,2,1: 22:[9, 22] Operation: 77-55=22
Exploring Operation: 9+77=86, Resulting Numbers: [55, 86]
Generated Node #0,2,2: 22:[55, 86] Operation: 9+77=86
Exploring Operation: 55-9=46, Resulting Numbers: [77, 46]
Generated Node #0,2,3: 22:[77, 46] Operation: 55-9=46
Exploring Operation: 55+9=64, Resulting Numbers: [77, 64]
Generated Node #0,2,4: 22:[77, 64] Operation: 55+9=64
Moving to Node #0,4,4
Current State: 22:[9, 22], Operations: ['80-55=25', '25-3=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[9, 22], Operations: ['80-3=77', '77-55=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[25, 3], Operations: ['80-55=25', '9/3=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[55, 3, 9, 80], Operations: []
Exploring Operation: 80-55=25, Resulting Numbers: [3, 9, 25]
Generated Node #0,4: 22:[3, 9, 25] Operation: 80-55=25
Moving to Node #0,4
Current State: 22:[3, 9, 25], Operations: ['80-55=25']
Exploring Operation: 9/3=3, Resulting Numbers: [25, 3]
Generated Node #0,4,3: 22:[25, 3] Operation: 9/3=3
Moving to Node #0,4,3
Current State: 22:[25, 3], Operations: ['80-55=25', '9/3=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.950521
|
hs_5
|
sum_heuristic
|
[
9,
44,
18,
9
] | 44
|
[
"9+44=53",
"18-9=9",
"53-9=44"
] |
Current State: 44:[9, 44, 18, 9], Operations: []
Exploring Operation: 9+44=53, Resulting Numbers: [18, 53]
Generated Node #2: [18, 53] from Operation: 9+44=53
Current State: 44:[18, 53], Operations: ['9+44=53']
Exploring Operation: 18-9=9, Resulting Numbers: [53, 9]
Generated Node #3: [53, 9] from Operation: 18-9=9
Current State: 44:[53, 9], Operations: ['9+44=53', '18-9=9']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[9, 44, 18, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [44, 9, 2]
Generated Node #0,0: 44:[44, 9, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 44:[44, 9, 2], Operations: ['18/9=2']
Exploring Operation: 9+2=11, Resulting Numbers: [44, 11]
Generated Node #0,0,0: 44:[44, 11] Operation: 9+2=11
Moving to Node #0,0,0
Current State: 44:[44, 11], Operations: ['18/9=2', '9+2=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
29,
33,
31,
74
] | 39
|
[
"33-29=4",
"74-31=43",
"43-4=39"
] |
Current State: 39:[29, 33, 31, 74], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [31, 74, 4]
Generated Node #2: [31, 74, 4] from Operation: 33-29=4
Current State: 39:[31, 74, 4], Operations: ['33-29=4']
Exploring Operation: 74-31=43, Resulting Numbers: [4, 43]
Generated Node #3: [4, 43] from Operation: 74-31=43
Current State: 39:[4, 43], Operations: ['33-29=4', '74-31=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[29, 33, 31, 74], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [33, 74, 2]
Generated Node #0,0: 39:[33, 74, 2] Operation: 31-29=2
Exploring Operation: 74-31=43, Resulting Numbers: [29, 33, 43]
Generated Node #0,1: 39:[29, 33, 43] Operation: 74-31=43
Exploring Operation: 33-29=4, Resulting Numbers: [31, 74, 4]
Generated Node #0,2: 39:[31, 74, 4] Operation: 33-29=4
Exploring Operation: 74-29=45, Resulting Numbers: [33, 31, 45]
Generated Node #0,3: 39:[33, 31, 45] Operation: 74-29=45
Exploring Operation: 74-33=41, Resulting Numbers: [29, 31, 41]
Generated Node #0,4: 39:[29, 31, 41] Operation: 74-33=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[29, 33, 43], Operations: ['74-31=43']
Exploring Operation: 29+33=62, Resulting Numbers: [43, 62]
Generated Node #0,1,0: 39:[43, 62] Operation: 29+33=62
Exploring Operation: 43-29=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 39:[33, 14] Operation: 43-29=14
Exploring Operation: 43-33=10, Resulting Numbers: [29, 10]
Generated Node #0,1,2: 39:[29, 10] Operation: 43-33=10
Exploring Operation: 29+43=72, Resulting Numbers: [33, 72]
Generated Node #0,1,3: 39:[33, 72] Operation: 29+43=72
Exploring Operation: 33-29=4, Resulting Numbers: [43, 4]
Generated Node #0,1,4: 39:[43, 4] Operation: 33-29=4
Moving to Node #0,1,4
Current State: 39:[43, 4], Operations: ['74-31=43', '33-29=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[29, 33, 31, 74], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [29, 33, 43]
Generated Node #0,1: 39:[29, 33, 43] Operation: 74-31=43
Moving to Node #0,1
Current State: 39:[29, 33, 43], Operations: ['74-31=43']
Exploring Operation: 33-29=4, Resulting Numbers: [43, 4]
Generated Node #0,1,4: 39:[43, 4] Operation: 33-29=4
Moving to Node #0,1,4
Current State: 39:[43, 4], Operations: ['74-31=43', '33-29=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
mult_heuristic
|
[
93,
69,
16,
15
] | 55
|
[
"93-69=24",
"16+15=31",
"24+31=55"
] |
Current State: 55:[93, 69, 16, 15], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [16, 15, 24]
Generated Node #2: [16, 15, 24] from Operation: 93-69=24
Current State: 55:[16, 15, 24], Operations: ['93-69=24']
Exploring Operation: 16+15=31, Resulting Numbers: [24, 31]
Generated Node #3: [24, 31] from Operation: 16+15=31
Current State: 55:[24, 31], Operations: ['93-69=24', '16+15=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[93, 69, 16, 15], Operations: []
Exploring Operation: 69-16=53, Resulting Numbers: [93, 15, 53]
Generated Node #0,0: 55:[93, 15, 53] Operation: 69-16=53
Exploring Operation: 69-15=54, Resulting Numbers: [93, 16, 54]
Generated Node #0,1: 55:[93, 16, 54] Operation: 69-15=54
Exploring Operation: 93-15=78, Resulting Numbers: [69, 16, 78]
Generated Node #0,2: 55:[69, 16, 78] Operation: 93-15=78
Exploring Operation: 93-69=24, Resulting Numbers: [16, 15, 24]
Generated Node #0,3: 55:[16, 15, 24] Operation: 93-69=24
Exploring Operation: 93-16=77, Resulting Numbers: [69, 15, 77]
Generated Node #0,4: 55:[69, 15, 77] Operation: 93-16=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[16, 15, 24], Operations: ['93-69=24']
Exploring Operation: 24-15=9, Resulting Numbers: [16, 9]
Generated Node #0,3,0: 55:[16, 9] Operation: 24-15=9
Exploring Operation: 24-16=8, Resulting Numbers: [15, 8]
Generated Node #0,3,1: 55:[15, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [15, 40]
Generated Node #0,3,2: 55:[15, 40] Operation: 16+24=40
Exploring Operation: 15+24=39, Resulting Numbers: [16, 39]
Generated Node #0,3,3: 55:[16, 39] Operation: 15+24=39
Exploring Operation: 16-15=1, Resulting Numbers: [24, 1]
Generated Node #0,3,4: 55:[24, 1] Operation: 16-15=1
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 55:[16, 9], Operations: ['93-69=24', '24-15=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,55 unequal: No Solution
Exploring Operation: 16+9=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,3,1
Current State: 55:[15, 8], Operations: ['93-69=24', '24-16=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 55:[24, 1], Operations: ['93-69=24', '16-15=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[15, 40], Operations: ['93-69=24', '16+24=40']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[93, 69, 16, 15], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [16, 15, 24]
Generated Node #0,3: 55:[16, 15, 24] Operation: 93-69=24
Moving to Node #0,3
Current State: 55:[16, 15, 24], Operations: ['93-69=24']
Exploring Operation: 16+24=40, Resulting Numbers: [15, 40]
Generated Node #0,3,2: 55:[15, 40] Operation: 16+24=40
Moving to Node #0,3,2
Current State: 55:[15, 40], Operations: ['93-69=24', '16+24=40']
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431
|
hs_5
|
sum_heuristic
|
[
68,
90,
53,
68
] | 74
|
[
"68-53=15",
"90/15=6",
"68+6=74"
] |
Current State: 74:[68, 90, 53, 68], Operations: []
Exploring Operation: 68-53=15, Resulting Numbers: [90, 15]
Generated Node #2: [90, 15] from Operation: 68-53=15
Current State: 74:[90, 15], Operations: ['68-53=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,74 equal: Goal Reached
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[68, 90, 53, 68], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [68, 68, 37]
Generated Node #0,0: 74:[68, 68, 37] Operation: 90-53=37
Moving to Node #0,0
Current State: 74:[68, 68, 37], Operations: ['90-53=37']
Exploring Operation: 68/68=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 74:[37, 1] Operation: 68/68=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[37, 1], Operations: ['90-53=37', '68/68=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,74 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
|
[
25,
60,
2,
53
] | 30
|
[
"25+60=85",
"2+53=55",
"85-55=30"
] |
Current State: 30:[25, 60, 2, 53], Operations: []
Exploring Operation: 25+60=85, Resulting Numbers: [2, 53, 85]
Generated Node #2: [2, 53, 85] from Operation: 25+60=85
Current State: 30:[2, 53, 85], Operations: ['25+60=85']
Exploring Operation: 2+53=55, Resulting Numbers: [85, 55]
Generated Node #3: [85, 55] from Operation: 2+53=55
Current State: 30:[85, 55], Operations: ['25+60=85', '2+53=55']
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[25, 60, 2, 53], Operations: []
Exploring Operation: 60-25=35, Resulting Numbers: [2, 53, 35]
Generated Node #0,0: 30:[2, 53, 35] Operation: 60-25=35
Exploring Operation: 60-53=7, Resulting Numbers: [25, 2, 7]
Generated Node #0,1: 30:[25, 2, 7] Operation: 60-53=7
Exploring Operation: 60/2=30, Resulting Numbers: [25, 53, 30]
Generated Node #0,2: 30:[25, 53, 30] Operation: 60/2=30
Moving to Node #0,1
Current State: 30:[25, 2, 7], Operations: ['60-53=7']
Exploring Operation: 25+7=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 30:[2, 32] Operation: 25+7=32
Exploring Operation: 25-7=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 30:[2, 18] Operation: 25-7=18
Exploring Operation: 25+2=27, Resulting Numbers: [7, 27]
Generated Node #0,1,2: 30:[7, 27] Operation: 25+2=27
Moving to Node #0,0
Current State: 30:[2, 53, 35], Operations: ['60-25=35']
Exploring Operation: 53-2=51, Resulting Numbers: [35, 51]
Generated Node #0,0,0: 30:[35, 51] Operation: 53-2=51
Exploring Operation: 35-2=33, Resulting Numbers: [53, 33]
Generated Node #0,0,1: 30:[53, 33] Operation: 35-2=33
Exploring Operation: 53-35=18, Resulting Numbers: [2, 18]
Generated Node #0,0,2: 30:[2, 18] Operation: 53-35=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[2, 18], Operations: ['60-25=35', '53-35=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[35, 51], Operations: ['60-25=35', '53-2=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,30 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[53, 33], Operations: ['60-25=35', '35-2=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,30 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,30 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: 30:[25, 53, 30], Operations: ['60/2=30']
Exploring Operation: 53-25=28, Resulting Numbers: [30, 28]
Generated Node #0,2,0: 30:[30, 28] Operation: 53-25=28
Exploring Operation: 53-30=23, Resulting Numbers: [25, 23]
Generated Node #0,2,1: 30:[25, 23] Operation: 53-30=23
Exploring Operation: 30-25=5, Resulting Numbers: [53, 5]
Generated Node #0,2,2: 30:[53, 5] Operation: 30-25=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[30, 28], Operations: ['60/2=30', '53-25=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,30 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[25, 23], Operations: ['60/2=30', '53-30=23']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[53, 5], Operations: ['60/2=30', '30-25=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,30 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,30 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: 30:[2, 32], Operations: ['60-53=7', '25+7=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[25, 60, 2, 53], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [25, 2, 7]
Generated Node #0,1: 30:[25, 2, 7] Operation: 60-53=7
Moving to Node #0,1
Current State: 30:[25, 2, 7], Operations: ['60-53=7']
Exploring Operation: 25+7=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 30:[2, 32] Operation: 25+7=32
Moving to Node #0,1,0
Current State: 30:[2, 32], Operations: ['60-53=7', '25+7=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.967882
|
hs_3
|
mult_heuristic
|
[
38,
90,
45,
93
] | 74
|
[
"38*45=1710",
"1710/90=19",
"93-19=74"
] |
Current State: 74:[38, 90, 45, 93], Operations: []
Exploring Operation: 38*45=1710, Resulting Numbers: [90, 93, 1710]
Generated Node #2: [90, 93, 1710] from Operation: 38*45=1710
Current State: 74:[90, 93, 1710], Operations: ['38*45=1710']
Exploring Operation: 1710/90=19, Resulting Numbers: [93, 19]
Generated Node #3: [93, 19] from Operation: 1710/90=19
Current State: 74:[93, 19], Operations: ['38*45=1710', '1710/90=19']
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[38, 90, 45, 93], Operations: []
Exploring Operation: 90-45=45, Resulting Numbers: [38, 93, 45]
Generated Node #0,0: 74:[38, 93, 45] Operation: 90-45=45
Exploring Operation: 93-90=3, Resulting Numbers: [38, 45, 3]
Generated Node #0,1: 74:[38, 45, 3] Operation: 93-90=3
Exploring Operation: 90/45=2, Resulting Numbers: [38, 93, 2]
Generated Node #0,2: 74:[38, 93, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[38, 45, 3], Operations: ['93-90=3']
Exploring Operation: 45-38=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 74:[3, 7] Operation: 45-38=7
Exploring Operation: 45-3=42, Resulting Numbers: [38, 42]
Generated Node #0,1,1: 74:[38, 42] Operation: 45-3=42
Exploring Operation: 38+45=83, Resulting Numbers: [3, 83]
Generated Node #0,1,2: 74:[3, 83] Operation: 38+45=83
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[3, 7], Operations: ['93-90=3', '45-38=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,74 unequal: No Solution
No 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: 74:[38, 42], Operations: ['93-90=3', '45-3=42']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,74 unequal: No Solution
No 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: 74:[3, 83], Operations: ['93-90=3', '38+45=83']
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,74 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,74 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: 74:[38, 93, 2], Operations: ['90/45=2']
Exploring Operation: 93-38=55, Resulting Numbers: [2, 55]
Generated Node #0,2,0: 74:[2, 55] Operation: 93-38=55
Exploring Operation: 38-2=36, Resulting Numbers: [93, 36]
Generated Node #0,2,1: 74:[93, 36] Operation: 38-2=36
Exploring Operation: 93-2=91, Resulting Numbers: [38, 91]
Generated Node #0,2,2: 74:[38, 91] Operation: 93-2=91
Moving to Node #0,2,0
Current State: 74:[2, 55], Operations: ['90/45=2', '93-38=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[38, 91], Operations: ['90/45=2', '93-2=91']
Exploring Operation: 38+91=129, Resulting Numbers: [129]
129,74 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 38*91=3458, Resulting Numbers: [3458]
3458,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[93, 36], Operations: ['90/45=2', '38-2=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,74 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[38, 93, 45], Operations: ['90-45=45']
Exploring Operation: 45-38=7, Resulting Numbers: [93, 7]
Generated Node #0,0,0: 74:[93, 7] Operation: 45-38=7
Exploring Operation: 93-45=48, Resulting Numbers: [38, 48]
Generated Node #0,0,1: 74:[38, 48] Operation: 93-45=48
Exploring Operation: 93-38=55, Resulting Numbers: [45, 55]
Generated Node #0,0,2: 74:[45, 55] Operation: 93-38=55
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[38, 48], Operations: ['90-45=45', '93-45=48']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,74 unequal: No Solution
No 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: 74:[93, 7], Operations: ['90-45=45', '45-38=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,74 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,74 unequal: No Solution
No 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: 74:[45, 55], Operations: ['90-45=45', '93-38=55']
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,74 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
8,
88,
53,
22
] | 64
|
[
"88/8=11",
"53+22=75",
"75-11=64"
] |
Current State: 64:[8, 88, 53, 22], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [53, 22, 11]
Generated Node #2: [53, 22, 11] from Operation: 88/8=11
Current State: 64:[53, 22, 11], Operations: ['88/8=11']
Exploring Operation: 53+22=75, Resulting Numbers: [11, 75]
Generated Node #3: [11, 75] from Operation: 53+22=75
Current State: 64:[11, 75], Operations: ['88/8=11', '53+22=75']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[8, 88, 53, 22], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [8, 22, 35]
Generated Node #0,0: 64:[8, 22, 35] Operation: 88-53=35
Moving to Node #0,0
Current State: 64:[8, 22, 35], Operations: ['88-53=35']
Exploring Operation: 35-22=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 64:[8, 13] Operation: 35-22=13
Moving to Node #0,0,0
Current State: 64:[8, 13], Operations: ['88-53=35', '35-22=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,64 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
2,
22,
40,
58
] | 27
|
[
"22+40=62",
"62/2=31",
"58-31=27"
] |
Current State: 27:[2, 22, 40, 58], Operations: []
Exploring Operation: 22+40=62, Resulting Numbers: [2, 58, 62]
Generated Node #2: [2, 58, 62] from Operation: 22+40=62
Current State: 27:[2, 58, 62], Operations: ['22+40=62']
Exploring Operation: 62/2=31, Resulting Numbers: [58, 31]
Generated Node #3: [58, 31] from Operation: 62/2=31
Current State: 27:[58, 31], Operations: ['22+40=62', '62/2=31']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[2, 22, 40, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [2, 22, 18]
Generated Node #0,0: 27:[2, 22, 18] Operation: 58-40=18
Exploring Operation: 40-22=18, Resulting Numbers: [2, 58, 18]
Generated Node #0,1: 27:[2, 58, 18] Operation: 40-22=18
Exploring Operation: 58-22=36, Resulting Numbers: [2, 40, 36]
Generated Node #0,2: 27:[2, 40, 36] Operation: 58-22=36
Exploring Operation: 58/2=29, Resulting Numbers: [22, 40, 29]
Generated Node #0,3: 27:[22, 40, 29] Operation: 58/2=29
Moving to Node #0,0
Current State: 27:[2, 22, 18], Operations: ['58-40=18']
Exploring Operation: 18/2=9, Resulting Numbers: [22, 9]
Generated Node #0,0,0: 27:[22, 9] Operation: 18/2=9
Exploring Operation: 22-18=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 27:[2, 4] Operation: 22-18=4
Exploring Operation: 2+22=24, Resulting Numbers: [18, 24]
Generated Node #0,0,2: 27:[18, 24] Operation: 2+22=24
Exploring Operation: 22/2=11, Resulting Numbers: [18, 11]
Generated Node #0,0,3: 27:[18, 11] Operation: 22/2=11
Moving to Node #0,3
Current State: 27:[22, 40, 29], Operations: ['58/2=29']
Exploring Operation: 40-29=11, Resulting Numbers: [22, 11]
Generated Node #0,3,0: 27:[22, 11] Operation: 40-29=11
Exploring Operation: 29-22=7, Resulting Numbers: [40, 7]
Generated Node #0,3,1: 27:[40, 7] Operation: 29-22=7
Exploring Operation: 22+40=62, Resulting Numbers: [29, 62]
Generated Node #0,3,2: 27:[29, 62] Operation: 22+40=62
Exploring Operation: 40-22=18, Resulting Numbers: [29, 18]
Generated Node #0,3,3: 27:[29, 18] Operation: 40-22=18
Moving to Node #0,2
Current State: 27:[2, 40, 36], Operations: ['58-22=36']
Exploring Operation: 40-36=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 27:[2, 4] Operation: 40-36=4
Exploring Operation: 40-2=38, Resulting Numbers: [36, 38]
Generated Node #0,2,1: 27:[36, 38] Operation: 40-2=38
Exploring Operation: 36-2=34, Resulting Numbers: [40, 34]
Generated Node #0,2,2: 27:[40, 34] Operation: 36-2=34
Exploring Operation: 40/2=20, Resulting Numbers: [36, 20]
Generated Node #0,2,3: 27:[36, 20] Operation: 40/2=20
Moving to Node #0,1
Current State: 27:[2, 58, 18], Operations: ['40-22=18']
Exploring Operation: 18/2=9, Resulting Numbers: [58, 9]
Generated Node #0,1,0: 27:[58, 9] Operation: 18/2=9
Exploring Operation: 58-18=40, Resulting Numbers: [2, 40]
Generated Node #0,1,1: 27:[2, 40] Operation: 58-18=40
Exploring Operation: 58/2=29, Resulting Numbers: [18, 29]
Generated Node #0,1,2: 27:[18, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [18, 56]
Generated Node #0,1,3: 27:[18, 56] Operation: 58-2=56
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[18, 29], Operations: ['40-22=18', '58/2=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,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,1,1
Current State: 27:[2, 40], Operations: ['40-22=18', '58-18=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,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,1,0
Current State: 27:[58, 9], Operations: ['40-22=18', '18/2=9']
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,27 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,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,1,3
Current State: 27:[18, 56], Operations: ['40-22=18', '58-2=56']
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,27 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,27 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: 27:[2, 4], Operations: ['58-40=18', '22-18=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[2, 4], Operations: ['58-22=36', '40-36=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[22, 9], Operations: ['58-40=18', '18/2=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,27 unequal: No Solution
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[22, 11], Operations: ['58/2=29', '40-29=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[18, 11], Operations: ['58-40=18', '22/2=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,27 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[29, 18], Operations: ['58/2=29', '40-22=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[18, 24], Operations: ['58-40=18', '2+22=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[40, 7], Operations: ['58/2=29', '29-22=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,27 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[36, 20], Operations: ['58-22=36', '40/2=20']
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,27 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[36, 38], Operations: ['58-22=36', '40-2=38']
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,27 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[40, 34], Operations: ['58-22=36', '36-2=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,27 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[29, 62], Operations: ['58/2=29', '22+40=62']
Exploring Operation: 29*62=1798, Resulting Numbers: [1798]
1798,27 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,27 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
38,
47,
4,
44
] | 45
|
[
"38+47=85",
"44-4=40",
"85-40=45"
] |
Current State: 45:[38, 47, 4, 44], Operations: []
Exploring Operation: 38+47=85, Resulting Numbers: [4, 44, 85]
Generated Node #2: [4, 44, 85] from Operation: 38+47=85
Current State: 45:[4, 44, 85], Operations: ['38+47=85']
Exploring Operation: 44-4=40, Resulting Numbers: [85, 40]
Generated Node #3: [85, 40] from Operation: 44-4=40
Current State: 45:[85, 40], Operations: ['38+47=85', '44-4=40']
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[38, 47, 4, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [38, 4, 3]
Generated Node #0,0: 45:[38, 4, 3] Operation: 47-44=3
Exploring Operation: 44-38=6, Resulting Numbers: [47, 4, 6]
Generated Node #0,1: 45:[47, 4, 6] Operation: 44-38=6
Exploring Operation: 47-38=9, Resulting Numbers: [4, 44, 9]
Generated Node #0,2: 45:[4, 44, 9] Operation: 47-38=9
Exploring Operation: 47-4=43, Resulting Numbers: [38, 44, 43]
Generated Node #0,3: 45:[38, 44, 43] Operation: 47-4=43
Exploring Operation: 38+4=42, Resulting Numbers: [47, 44, 42]
Generated Node #0,4: 45:[47, 44, 42] Operation: 38+4=42
Moving to Node #0,2
Current State: 45:[4, 44, 9], Operations: ['47-38=9']
Exploring Operation: 9-4=5, Resulting Numbers: [44, 5]
Generated Node #0,2,0: 45:[44, 5] Operation: 9-4=5
Exploring Operation: 44/4=11, Resulting Numbers: [9, 11]
Generated Node #0,2,1: 45:[9, 11] Operation: 44/4=11
Exploring Operation: 4+44=48, Resulting Numbers: [9, 48]
Generated Node #0,2,2: 45:[9, 48] Operation: 4+44=48
Exploring Operation: 44-4=40, Resulting Numbers: [9, 40]
Generated Node #0,2,3: 45:[9, 40] Operation: 44-4=40
Exploring Operation: 4+9=13, Resulting Numbers: [44, 13]
Generated Node #0,2,4: 45:[44, 13] Operation: 4+9=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[44, 5], Operations: ['47-38=9', '9-4=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,45 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[9, 11], Operations: ['47-38=9', '44/4=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[9, 48], Operations: ['47-38=9', '4+44=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,45 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 45:[44, 13], Operations: ['47-38=9', '4+9=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 45:[9, 40], Operations: ['47-38=9', '44-4=40']
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,45 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,45 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: 45:[47, 4, 6], Operations: ['44-38=6']
Exploring Operation: 47+4=51, Resulting Numbers: [6, 51]
Generated Node #0,1,0: 45:[6, 51] Operation: 47+4=51
Exploring Operation: 6-4=2, Resulting Numbers: [47, 2]
Generated Node #0,1,1: 45:[47, 2] Operation: 6-4=2
Exploring Operation: 47-4=43, Resulting Numbers: [6, 43]
Generated Node #0,1,2: 45:[6, 43] Operation: 47-4=43
Exploring Operation: 4+6=10, Resulting Numbers: [47, 10]
Generated Node #0,1,3: 45:[47, 10] Operation: 4+6=10
Exploring Operation: 47-6=41, Resulting Numbers: [4, 41]
Generated Node #0,1,4: 45:[4, 41] Operation: 47-6=41
Moving to Node #0,4
Current State: 45:[47, 44, 42], Operations: ['38+4=42']
Exploring Operation: 44-42=2, Resulting Numbers: [47, 2]
Generated Node #0,4,0: 45:[47, 2] Operation: 44-42=2
Exploring Operation: 47-44=3, Resulting Numbers: [42, 3]
Generated Node #0,4,1: 45:[42, 3] Operation: 47-44=3
Exploring Operation: 47-42=5, Resulting Numbers: [44, 5]
Generated Node #0,4,2: 45:[44, 5] Operation: 47-42=5
Exploring Operation: 47+42=89, Resulting Numbers: [44, 89]
Generated Node #0,4,3: 45:[44, 89] Operation: 47+42=89
Exploring Operation: 44+42=86, Resulting Numbers: [47, 86]
Generated Node #0,4,4: 45:[47, 86] Operation: 44+42=86
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 45:[44, 5], Operations: ['38+4=42', '47-42=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,45 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 45:[47, 2], Operations: ['38+4=42', '44-42=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[38, 47, 4, 44], Operations: []
Exploring Operation: 38+4=42, Resulting Numbers: [47, 44, 42]
Generated Node #0,4: 45:[47, 44, 42] Operation: 38+4=42
Moving to Node #0,4
Current State: 45:[47, 44, 42], Operations: ['38+4=42']
Exploring Operation: 44-42=2, Resulting Numbers: [47, 2]
Generated Node #0,4,0: 45:[47, 2] Operation: 44-42=2
Moving to Node #0,4,0
Current State: 45:[47, 2], Operations: ['38+4=42', '44-42=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938
|
hs_5
|
sum_heuristic
|
[
87,
44,
21,
8
] | 30
|
[
"87-44=43",
"21-8=13",
"43-13=30"
] |
Current State: 30:[87, 44, 21, 8], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [21, 8, 43]
Generated Node #2: [21, 8, 43] from Operation: 87-44=43
Current State: 30:[21, 8, 43], Operations: ['87-44=43']
Exploring Operation: 21-8=13, Resulting Numbers: [43, 13]
Generated Node #3: [43, 13] from Operation: 21-8=13
Current State: 30:[43, 13], Operations: ['87-44=43', '21-8=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4
|
Current State: 30:[87, 44, 21, 8], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [44, 8, 66]
Generated Node #0,0: 30:[44, 8, 66] Operation: 87-21=66
Exploring Operation: 44-21=23, Resulting Numbers: [87, 8, 23]
Generated Node #0,1: 30:[87, 8, 23] Operation: 44-21=23
Exploring Operation: 87-44=43, Resulting Numbers: [21, 8, 43]
Generated Node #0,2: 30:[21, 8, 43] Operation: 87-44=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[21, 8, 43], Operations: ['87-44=43']
Exploring Operation: 43-21=22, Resulting Numbers: [8, 22]
Generated Node #0,2,0: 30:[8, 22] Operation: 43-21=22
Exploring Operation: 43-8=35, Resulting Numbers: [21, 35]
Generated Node #0,2,1: 30:[21, 35] Operation: 43-8=35
Exploring Operation: 21+8=29, Resulting Numbers: [43, 29]
Generated Node #0,2,2: 30:[43, 29] Operation: 21+8=29
Moving to Node #0,2,0
Current State: 30:[8, 22], Operations: ['87-44=43', '43-21=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,30 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[87, 44, 21, 8], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [21, 8, 43]
Generated Node #0,2: 30:[21, 8, 43] Operation: 87-44=43
Moving to Node #0,2
Current State: 30:[21, 8, 43], Operations: ['87-44=43']
Exploring Operation: 43-21=22, Resulting Numbers: [8, 22]
Generated Node #0,2,0: 30:[8, 22] Operation: 43-21=22
Moving to Node #0,2,0
Current State: 30:[8, 22], Operations: ['87-44=43', '43-21=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
3,
72,
99,
80
] | 25
|
[
"99/3=33",
"80-72=8",
"33-8=25"
] |
Current State: 25:[3, 72, 99, 80], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [72, 80, 33]
Generated Node #2: [72, 80, 33] from Operation: 99/3=33
Current State: 25:[72, 80, 33], Operations: ['99/3=33']
Exploring Operation: 80-72=8, Resulting Numbers: [33, 8]
Generated Node #3: [33, 8] from Operation: 80-72=8
Current State: 25:[33, 8], Operations: ['99/3=33', '80-72=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[3, 72, 99, 80], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [3, 80, 27]
Generated Node #0,0: 25:[3, 80, 27] Operation: 99-72=27
Exploring Operation: 99-80=19, Resulting Numbers: [3, 72, 19]
Generated Node #0,1: 25:[3, 72, 19] Operation: 99-80=19
Exploring Operation: 80-72=8, Resulting Numbers: [3, 99, 8]
Generated Node #0,2: 25:[3, 99, 8] Operation: 80-72=8
Moving to Node #0,1
Current State: 25:[3, 72, 19], Operations: ['99-80=19']
Exploring Operation: 72-19=53, Resulting Numbers: [3, 53]
Generated Node #0,1,0: 25:[3, 53] Operation: 72-19=53
Exploring Operation: 72-3=69, Resulting Numbers: [19, 69]
Generated Node #0,1,1: 25:[19, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [19, 24]
Generated Node #0,1,2: 25:[19, 24] Operation: 72/3=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[19, 24], Operations: ['99-80=19', '72/3=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,25 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,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:[3, 53], Operations: ['99-80=19', '72-19=53']
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,25 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,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:[19, 69], Operations: ['99-80=19', '72-3=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,25 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,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:[3, 80, 27], Operations: ['99-72=27']
Exploring Operation: 80-27=53, Resulting Numbers: [3, 53]
Generated Node #0,0,0: 25:[3, 53] Operation: 80-27=53
Exploring Operation: 27-3=24, Resulting Numbers: [80, 24]
Generated Node #0,0,1: 25:[80, 24] Operation: 27-3=24
Exploring Operation: 80-3=77, Resulting Numbers: [27, 77]
Generated Node #0,0,2: 25:[27, 77] Operation: 80-3=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[3, 53], Operations: ['99-72=27', '80-27=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,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:[27, 77], Operations: ['99-72=27', '80-3=77']
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,25 unequal: No Solution
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,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:[80, 24], Operations: ['99-72=27', '27-3=24']
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,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:[3, 99, 8], Operations: ['80-72=8']
Exploring Operation: 99/3=33, Resulting Numbers: [8, 33]
Generated Node #0,2,0: 25:[8, 33] Operation: 99/3=33
Exploring Operation: 99-8=91, Resulting Numbers: [3, 91]
Generated Node #0,2,1: 25:[3, 91] Operation: 99-8=91
Exploring Operation: 99-3=96, Resulting Numbers: [8, 96]
Generated Node #0,2,2: 25:[8, 96] Operation: 99-3=96
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[8, 33], Operations: ['80-72=8', '99/3=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[3, 72, 99, 80], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [3, 99, 8]
Generated Node #0,2: 25:[3, 99, 8] Operation: 80-72=8
Moving to Node #0,2
Current State: 25:[3, 99, 8], Operations: ['80-72=8']
Exploring Operation: 99/3=33, Resulting Numbers: [8, 33]
Generated Node #0,2,0: 25:[8, 33] Operation: 99/3=33
Moving to Node #0,2,0
Current State: 25:[8, 33], Operations: ['80-72=8', '99/3=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618
|
hs_3
|
mult_heuristic
|
[
76,
62,
16,
37
] | 85
|
[
"76+62=138",
"16+37=53",
"138-53=85"
] |
Current State: 85:[76, 62, 16, 37], Operations: []
Exploring Operation: 76+62=138, Resulting Numbers: [16, 37, 138]
Generated Node #2: [16, 37, 138] from Operation: 76+62=138
Current State: 85:[16, 37, 138], Operations: ['76+62=138']
Exploring Operation: 16+37=53, Resulting Numbers: [138, 53]
Generated Node #3: [138, 53] from Operation: 16+37=53
Current State: 85:[138, 53], Operations: ['76+62=138', '16+37=53']
Exploring Operation: 138-53=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[76, 62, 16, 37], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [76, 16, 25]
Generated Node #0,0: 85:[76, 16, 25] Operation: 62-37=25
Exploring Operation: 62+37=99, Resulting Numbers: [76, 16, 99]
Generated Node #0,1: 85:[76, 16, 99] Operation: 62+37=99
Exploring Operation: 76-62=14, Resulting Numbers: [16, 37, 14]
Generated Node #0,2: 85:[16, 37, 14] Operation: 76-62=14
Moving to Node #0,0
Current State: 85:[76, 16, 25], Operations: ['62-37=25']
Exploring Operation: 25-16=9, Resulting Numbers: [76, 9]
Generated Node #0,0,0: 85:[76, 9] Operation: 25-16=9
Exploring Operation: 76+16=92, Resulting Numbers: [25, 92]
Generated Node #0,0,1: 85:[25, 92] Operation: 76+16=92
Exploring Operation: 76+25=101, Resulting Numbers: [16, 101]
Generated Node #0,0,2: 85:[16, 101] Operation: 76+25=101
Moving to Node #0,1
Current State: 85:[76, 16, 99], Operations: ['62+37=99']
Exploring Operation: 99-76=23, Resulting Numbers: [16, 23]
Generated Node #0,1,0: 85:[16, 23] Operation: 99-76=23
Exploring Operation: 76+16=92, Resulting Numbers: [99, 92]
Generated Node #0,1,1: 85:[99, 92] Operation: 76+16=92
Exploring Operation: 99-16=83, Resulting Numbers: [76, 83]
Generated Node #0,1,2: 85:[76, 83] Operation: 99-16=83
Moving to Node #0,2
Current State: 85:[16, 37, 14], Operations: ['76-62=14']
Exploring Operation: 37-14=23, Resulting Numbers: [16, 23]
Generated Node #0,2,0: 85:[16, 23] Operation: 37-14=23
Exploring Operation: 37-16=21, Resulting Numbers: [14, 21]
Generated Node #0,2,1: 85:[14, 21] Operation: 37-16=21
Exploring Operation: 16-14=2, Resulting Numbers: [37, 2]
Generated Node #0,2,2: 85:[37, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[16, 23], Operations: ['76-62=14', '37-14=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,85 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[14, 21], Operations: ['76-62=14', '37-16=21']
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,85 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[37, 2], Operations: ['76-62=14', '16-14=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,85 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: 85:[16, 23], Operations: ['62+37=99', '99-76=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[76, 83], Operations: ['62+37=99', '99-16=83']
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,85 unequal: No Solution
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,85 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[76, 9], Operations: ['62-37=25', '25-16=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,85 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[76, 62, 16, 37], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [76, 16, 25]
Generated Node #0,0: 85:[76, 16, 25] Operation: 62-37=25
Moving to Node #0,0
Current State: 85:[76, 16, 25], Operations: ['62-37=25']
Exploring Operation: 25-16=9, Resulting Numbers: [76, 9]
Generated Node #0,0,0: 85:[76, 9] Operation: 25-16=9
Moving to Node #0,0,0
Current State: 85:[76, 9], Operations: ['62-37=25', '25-16=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.970486
|
hs_3
|
mult_heuristic
|
[
97,
5,
22,
15
] | 95
|
[
"97+5=102",
"22-15=7",
"102-7=95"
] |
Current State: 95:[97, 5, 22, 15], Operations: []
Exploring Operation: 97+5=102, Resulting Numbers: [22, 15, 102]
Generated Node #2: [22, 15, 102] from Operation: 97+5=102
Current State: 95:[22, 15, 102], Operations: ['97+5=102']
Exploring Operation: 22-15=7, Resulting Numbers: [102, 7]
Generated Node #3: [102, 7] from Operation: 22-15=7
Current State: 95:[102, 7], Operations: ['97+5=102', '22-15=7']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[97, 5, 22, 15], Operations: []
Exploring Operation: 22-15=7, Resulting Numbers: [97, 5, 7]
Generated Node #0,0: 95:[97, 5, 7] Operation: 22-15=7
Exploring Operation: 5+15=20, Resulting Numbers: [97, 22, 20]
Generated Node #0,1: 95:[97, 22, 20] Operation: 5+15=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[97, 5, 7], Operations: ['22-15=7']
Exploring Operation: 97-7=90, Resulting Numbers: [5, 90]
Generated Node #0,0,0: 95:[5, 90] Operation: 97-7=90
Exploring Operation: 97-5=92, Resulting Numbers: [7, 92]
Generated Node #0,0,1: 95:[7, 92] Operation: 97-5=92
Moving to Node #0,0,0
Current State: 95:[5, 90], Operations: ['22-15=7', '97-7=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[97, 5, 22, 15], Operations: []
Exploring Operation: 22-15=7, Resulting Numbers: [97, 5, 7]
Generated Node #0,0: 95:[97, 5, 7] Operation: 22-15=7
Moving to Node #0,0
Current State: 95:[97, 5, 7], Operations: ['22-15=7']
Exploring Operation: 97-7=90, Resulting Numbers: [5, 90]
Generated Node #0,0,0: 95:[5, 90] Operation: 97-7=90
Moving to Node #0,0,0
Current State: 95:[5, 90], Operations: ['22-15=7', '97-7=90']
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
64,
55,
39,
57
] | 71
|
[
"57-55=2",
"64/2=32",
"39+32=71"
] |
Current State: 71:[64, 55, 39, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [64, 39, 2]
Generated Node #2: [64, 39, 2] from Operation: 57-55=2
Current State: 71:[64, 39, 2], Operations: ['57-55=2']
Exploring Operation: 64/2=32, Resulting Numbers: [39, 32]
Generated Node #3: [39, 32] from Operation: 64/2=32
Current State: 71:[39, 32], Operations: ['57-55=2', '64/2=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[64, 55, 39, 57], Operations: []
Exploring Operation: 64-39=25, Resulting Numbers: [55, 57, 25]
Generated Node #0,0: 71:[55, 57, 25] Operation: 64-39=25
Exploring Operation: 64+39=103, Resulting Numbers: [55, 57, 103]
Generated Node #0,1: 71:[55, 57, 103] Operation: 64+39=103
Exploring Operation: 55-39=16, Resulting Numbers: [64, 57, 16]
Generated Node #0,2: 71:[64, 57, 16] Operation: 55-39=16
Exploring Operation: 55+39=94, Resulting Numbers: [64, 57, 94]
Generated Node #0,3: 71:[64, 57, 94] Operation: 55+39=94
Exploring Operation: 39+57=96, Resulting Numbers: [64, 55, 96]
Generated Node #0,4: 71:[64, 55, 96] Operation: 39+57=96
Moving to Node #0,3
Current State: 71:[64, 57, 94], Operations: ['55+39=94']
Exploring Operation: 94-57=37, Resulting Numbers: [64, 37]
Generated Node #0,3,0: 71:[64, 37] Operation: 94-57=37
Exploring Operation: 57+94=151, Resulting Numbers: [64, 151]
Generated Node #0,3,1: 71:[64, 151] Operation: 57+94=151
Exploring Operation: 94-64=30, Resulting Numbers: [57, 30]
Generated Node #0,3,2: 71:[57, 30] Operation: 94-64=30
Exploring Operation: 64+57=121, Resulting Numbers: [94, 121]
Generated Node #0,3,3: 71:[94, 121] Operation: 64+57=121
Exploring Operation: 64-57=7, Resulting Numbers: [94, 7]
Generated Node #0,3,4: 71:[94, 7] Operation: 64-57=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[64, 37], Operations: ['55+39=94', '94-57=37']
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[57, 30], Operations: ['55+39=94', '94-64=30']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,71 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[94, 121], Operations: ['55+39=94', '64+57=121']
Exploring Operation: 94*121=11374, Resulting Numbers: [11374]
11374,71 unequal: No Solution
Exploring Operation: 94+121=215, Resulting Numbers: [215]
215,71 unequal: No Solution
Exploring Operation: 121-94=27, Resulting Numbers: [27]
27,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[64, 151], Operations: ['55+39=94', '57+94=151']
Exploring Operation: 151-64=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 64*151=9664, Resulting Numbers: [9664]
9664,71 unequal: No Solution
Exploring Operation: 64+151=215, Resulting Numbers: [215]
215,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[94, 7], Operations: ['55+39=94', '64-57=7']
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,71 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,71 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: 71:[64, 55, 96], Operations: ['39+57=96']
Exploring Operation: 64+55=119, Resulting Numbers: [96, 119]
Generated Node #0,4,0: 71:[96, 119] Operation: 64+55=119
Exploring Operation: 55+96=151, Resulting Numbers: [64, 151]
Generated Node #0,4,1: 71:[64, 151] Operation: 55+96=151
Exploring Operation: 96-55=41, Resulting Numbers: [64, 41]
Generated Node #0,4,2: 71:[64, 41] Operation: 96-55=41
Exploring Operation: 64-55=9, Resulting Numbers: [96, 9]
Generated Node #0,4,3: 71:[96, 9] Operation: 64-55=9
Exploring Operation: 96-64=32, Resulting Numbers: [55, 32]
Generated Node #0,4,4: 71:[55, 32] Operation: 96-64=32
Moving to Node #0,1
Current State: 71:[55, 57, 103], Operations: ['64+39=103']
Exploring Operation: 103-55=48, Resulting Numbers: [57, 48]
Generated Node #0,1,0: 71:[57, 48] Operation: 103-55=48
Exploring Operation: 55+103=158, Resulting Numbers: [57, 158]
Generated Node #0,1,1: 71:[57, 158] Operation: 55+103=158
Exploring Operation: 57-55=2, Resulting Numbers: [103, 2]
Generated Node #0,1,2: 71:[103, 2] Operation: 57-55=2
Exploring Operation: 103-57=46, Resulting Numbers: [55, 46]
Generated Node #0,1,3: 71:[55, 46] Operation: 103-57=46
Exploring Operation: 55+57=112, Resulting Numbers: [103, 112]
Generated Node #0,1,4: 71:[103, 112] Operation: 55+57=112
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[57, 48], Operations: ['64+39=103', '103-55=48']
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,71 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[55, 46], Operations: ['64+39=103', '103-57=46']
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[103, 112], Operations: ['64+39=103', '55+57=112']
Exploring Operation: 103*112=11536, Resulting Numbers: [11536]
11536,71 unequal: No Solution
Exploring Operation: 103+112=215, Resulting Numbers: [215]
215,71 unequal: No Solution
Exploring Operation: 112-103=9, Resulting Numbers: [9]
9,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[57, 158], Operations: ['64+39=103', '55+103=158']
Exploring Operation: 158-57=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 57+158=215, Resulting Numbers: [215]
215,71 unequal: No Solution
Exploring Operation: 57*158=9006, Resulting Numbers: [9006]
9006,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[103, 2], Operations: ['64+39=103', '57-55=2']
Exploring Operation: 103*2=206, Resulting Numbers: [206]
206,71 unequal: No Solution
Exploring Operation: 103+2=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,71 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: 71:[55, 57, 25], Operations: ['64-39=25']
Exploring Operation: 55+25=80, Resulting Numbers: [57, 80]
Generated Node #0,0,0: 71:[57, 80] Operation: 55+25=80
Exploring Operation: 57+25=82, Resulting Numbers: [55, 82]
Generated Node #0,0,1: 71:[55, 82] Operation: 57+25=82
Exploring Operation: 55-25=30, Resulting Numbers: [57, 30]
Generated Node #0,0,2: 71:[57, 30] Operation: 55-25=30
Exploring Operation: 55+57=112, Resulting Numbers: [25, 112]
Generated Node #0,0,3: 71:[25, 112] Operation: 55+57=112
Exploring Operation: 57-25=32, Resulting Numbers: [55, 32]
Generated Node #0,0,4: 71:[55, 32] Operation: 57-25=32
Moving to Node #0,2
Current State: 71:[64, 57, 16], Operations: ['55-39=16']
Exploring Operation: 64-16=48, Resulting Numbers: [57, 48]
Generated Node #0,2,0: 71:[57, 48] Operation: 64-16=48
Exploring Operation: 64+16=80, Resulting Numbers: [57, 80]
Generated Node #0,2,1: 71:[57, 80] Operation: 64+16=80
Exploring Operation: 57+16=73, Resulting Numbers: [64, 73]
Generated Node #0,2,2: 71:[64, 73] Operation: 57+16=73
Exploring Operation: 57-16=41, Resulting Numbers: [64, 41]
Generated Node #0,2,3: 71:[64, 41] Operation: 57-16=41
Exploring Operation: 64/16=4, Resulting Numbers: [57, 4]
Generated Node #0,2,4: 71:[57, 4] Operation: 64/16=4
Moving to Node #0,2,2
Current State: 71:[64, 73], Operations: ['55-39=16', '57+16=73']
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,71 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[57, 80], Operations: ['55-39=16', '64+16=80']
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,71 unequal: No Solution
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[57, 80], Operations: ['64-39=25', '55+25=80']
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,71 unequal: No Solution
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[55, 82], Operations: ['64-39=25', '57+25=82']
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,71 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[64, 41], Operations: ['39+57=96', '96-55=41']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,71 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[57, 48], Operations: ['55-39=16', '64-16=48']
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,71 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[64, 41], Operations: ['55-39=16', '57-16=41']
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,71 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[55, 32], Operations: ['39+57=96', '96-64=32']
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,71 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[57, 30], Operations: ['64-39=25', '55-25=30']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[55, 32], Operations: ['64-39=25', '57-25=32']
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,71 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[96, 119], Operations: ['39+57=96', '64+55=119']
Exploring Operation: 96*119=11424, Resulting Numbers: [11424]
11424,71 unequal: No Solution
Exploring Operation: 119-96=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 96+119=215, Resulting Numbers: [215]
215,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[57, 4], Operations: ['55-39=16', '64/16=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[96, 9], Operations: ['39+57=96', '64-55=9']
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,71 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[64, 151], Operations: ['39+57=96', '55+96=151']
Exploring Operation: 151-64=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 64+151=215, Resulting Numbers: [215]
215,71 unequal: No Solution
Exploring Operation: 64*151=9664, Resulting Numbers: [9664]
9664,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[25, 112], Operations: ['64-39=25', '55+57=112']
Exploring Operation: 25*112=2800, Resulting Numbers: [2800]
2800,71 unequal: No Solution
Exploring Operation: 25+112=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 112-25=87, Resulting Numbers: [87]
87,71 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
50,
80,
45,
12
] | 87
|
[
"80-50=30",
"45+12=57",
"30+57=87"
] |
Current State: 87:[50, 80, 45, 12], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [45, 12, 30]
Generated Node #2: [45, 12, 30] from Operation: 80-50=30
Current State: 87:[45, 12, 30], Operations: ['80-50=30']
Exploring Operation: 45+12=57, Resulting Numbers: [30, 57]
Generated Node #3: [30, 57] from Operation: 45+12=57
Current State: 87:[30, 57], Operations: ['80-50=30', '45+12=57']
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[50, 80, 45, 12], Operations: []
Exploring Operation: 50+45=95, Resulting Numbers: [80, 12, 95]
Generated Node #0,0: 87:[80, 12, 95] Operation: 50+45=95
Exploring Operation: 50-45=5, Resulting Numbers: [80, 12, 5]
Generated Node #0,1: 87:[80, 12, 5] Operation: 50-45=5
Exploring Operation: 50-12=38, Resulting Numbers: [80, 45, 38]
Generated Node #0,2: 87:[80, 45, 38] Operation: 50-12=38
Exploring Operation: 80-50=30, Resulting Numbers: [45, 12, 30]
Generated Node #0,3: 87:[45, 12, 30] Operation: 80-50=30
Moving to Node #0,1
Current State: 87:[80, 12, 5], Operations: ['50-45=5']
Exploring Operation: 12-5=7, Resulting Numbers: [80, 7]
Generated Node #0,1,0: 87:[80, 7] Operation: 12-5=7
Exploring Operation: 80+5=85, Resulting Numbers: [12, 85]
Generated Node #0,1,1: 87:[12, 85] Operation: 80+5=85
Exploring Operation: 80+12=92, Resulting Numbers: [5, 92]
Generated Node #0,1,2: 87:[5, 92] Operation: 80+12=92
Exploring Operation: 12+5=17, Resulting Numbers: [80, 17]
Generated Node #0,1,3: 87:[80, 17] Operation: 12+5=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[5, 92], Operations: ['50-45=5', '80+12=92']
Exploring Operation: 5*92=460, Resulting Numbers: [460]
460,87 unequal: No Solution
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[50, 80, 45, 12], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [80, 12, 5]
Generated Node #0,1: 87:[80, 12, 5] Operation: 50-45=5
Moving to Node #0,1
Current State: 87:[80, 12, 5], Operations: ['50-45=5']
Exploring Operation: 80+12=92, Resulting Numbers: [5, 92]
Generated Node #0,1,2: 87:[5, 92] Operation: 80+12=92
Moving to Node #0,1,2
Current State: 87:[5, 92], Operations: ['50-45=5', '80+12=92']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
55,
89,
68,
35
] | 69
|
[
"89-55=34",
"68+35=103",
"103-34=69"
] |
Current State: 69:[55, 89, 68, 35], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [68, 35, 34]
Generated Node #2: [68, 35, 34] from Operation: 89-55=34
Current State: 69:[68, 35, 34], Operations: ['89-55=34']
Exploring Operation: 68+35=103, Resulting Numbers: [34, 103]
Generated Node #3: [34, 103] from Operation: 68+35=103
Current State: 69:[34, 103], Operations: ['89-55=34', '68+35=103']
Exploring Operation: 103-34=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[55, 89, 68, 35], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [68, 35, 34]
Generated Node #0,0: 69:[68, 35, 34] Operation: 89-55=34
Exploring Operation: 89-68=21, Resulting Numbers: [55, 35, 21]
Generated Node #0,1: 69:[55, 35, 21] Operation: 89-68=21
Exploring Operation: 55-35=20, Resulting Numbers: [89, 68, 20]
Generated Node #0,2: 69:[89, 68, 20] Operation: 55-35=20
Moving to Node #0,0
Current State: 69:[68, 35, 34], Operations: ['89-55=34']
Exploring Operation: 68/34=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 69:[35, 2] Operation: 68/34=2
Exploring Operation: 35+34=69, Resulting Numbers: [68, 69]
Generated Node #0,0,1: 69:[68, 69] Operation: 35+34=69
Exploring Operation: 35-34=1, Resulting Numbers: [68, 1]
Generated Node #0,0,2: 69:[68, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[68, 69], Operations: ['89-55=34', '35+34=69']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,69 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[68, 1], Operations: ['89-55=34', '35-34=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[55, 89, 68, 35], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [68, 35, 34]
Generated Node #0,0: 69:[68, 35, 34] Operation: 89-55=34
Moving to Node #0,0
Current State: 69:[68, 35, 34], Operations: ['89-55=34']
Exploring Operation: 35-34=1, Resulting Numbers: [68, 1]
Generated Node #0,0,2: 69:[68, 1] Operation: 35-34=1
Moving to Node #0,0,2
Current State: 69:[68, 1], Operations: ['89-55=34', '35-34=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_3
|
sum_heuristic
|
[
46,
46,
10,
39
] | 43
|
[
"46+46=92",
"10+39=49",
"92-49=43"
] |
Current State: 43:[46, 46, 10, 39], Operations: []
Exploring Operation: 46+46=92, Resulting Numbers: [10, 39, 92]
Generated Node #2: [10, 39, 92] from Operation: 46+46=92
Current State: 43:[10, 39, 92], Operations: ['46+46=92']
Exploring Operation: 10+39=49, Resulting Numbers: [92, 49]
Generated Node #3: [92, 49] from Operation: 10+39=49
Current State: 43:[92, 49], Operations: ['46+46=92', '10+39=49']
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4
|
Current State: 43:[46, 46, 10, 39], Operations: []
Exploring Operation: 46+10=56, Resulting Numbers: [46, 39, 56]
Generated Node #0,0: 43:[46, 39, 56] Operation: 46+10=56
Exploring Operation: 46-10=36, Resulting Numbers: [46, 39, 36]
Generated Node #0,1: 43:[46, 39, 36] Operation: 46-10=36
Exploring Operation: 46-10=36, Resulting Numbers: [46, 39, 36]
Generated Node #0,2: 43:[46, 39, 36] Operation: 46-10=36
Exploring Operation: 10+39=49, Resulting Numbers: [46, 46, 49]
Generated Node #0,3: 43:[46, 46, 49] Operation: 10+39=49
Moving to Node #0,3
Current State: 43:[46, 46, 49], Operations: ['10+39=49']
Exploring Operation: 46-46=0, Resulting Numbers: [49, 0]
Generated Node #0,3,0: 43:[49, 0] Operation: 46-46=0
Exploring Operation: 46/46=1, Resulting Numbers: [49, 1]
Generated Node #0,3,1: 43:[49, 1] Operation: 46/46=1
Exploring Operation: 49-46=3, Resulting Numbers: [46, 3]
Generated Node #0,3,2: 43:[46, 3] Operation: 49-46=3
Exploring Operation: 49-46=3, Resulting Numbers: [46, 3]
Generated Node #0,3,3: 43:[46, 3] Operation: 49-46=3
Moving to Node #0,2
Current State: 43:[46, 39, 36], Operations: ['46-10=36']
Exploring Operation: 39+36=75, Resulting Numbers: [46, 75]
Generated Node #0,2,0: 43:[46, 75] Operation: 39+36=75
Exploring Operation: 46-36=10, Resulting Numbers: [39, 10]
Generated Node #0,2,1: 43:[39, 10] Operation: 46-36=10
Exploring Operation: 46-39=7, Resulting Numbers: [36, 7]
Generated Node #0,2,2: 43:[36, 7] Operation: 46-39=7
Exploring Operation: 46+36=82, Resulting Numbers: [39, 82]
Generated Node #0,2,3: 43:[39, 82] Operation: 46+36=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[46, 75], Operations: ['46-10=36', '39+36=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,43 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[39, 10], Operations: ['46-10=36', '46-36=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[36, 7], Operations: ['46-10=36', '46-39=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[46, 46, 10, 39], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [46, 39, 36]
Generated Node #0,2: 43:[46, 39, 36] Operation: 46-10=36
Moving to Node #0,2
Current State: 43:[46, 39, 36], Operations: ['46-10=36']
Exploring Operation: 46-39=7, Resulting Numbers: [36, 7]
Generated Node #0,2,2: 43:[36, 7] Operation: 46-39=7
Moving to Node #0,2,2
Current State: 43:[36, 7], Operations: ['46-10=36', '46-39=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035
|
hs_4
|
mult_heuristic
|
[
48,
5,
29,
48
] | 96
|
[
"48*48=2304",
"29-5=24",
"2304/24=96"
] |
Current State: 96:[48, 5, 29, 48], Operations: []
Exploring Operation: 48*48=2304, Resulting Numbers: [5, 29, 2304]
Generated Node #2: [5, 29, 2304] from Operation: 48*48=2304
Current State: 96:[5, 29, 2304], Operations: ['48*48=2304']
Exploring Operation: 29-5=24, Resulting Numbers: [2304, 24]
Generated Node #3: [2304, 24] from Operation: 29-5=24
Current State: 96:[2304, 24], Operations: ['48*48=2304', '29-5=24']
Exploring Operation: 2304/24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[48, 5, 29, 48], Operations: []
Exploring Operation: 48+48=96, Resulting Numbers: [5, 29, 96]
Generated Node #0,0: 96:[5, 29, 96] Operation: 48+48=96
Exploring Operation: 29-5=24, Resulting Numbers: [48, 48, 24]
Generated Node #0,1: 96:[48, 48, 24] Operation: 29-5=24
Exploring Operation: 5+29=34, Resulting Numbers: [48, 48, 34]
Generated Node #0,2: 96:[48, 48, 34] Operation: 5+29=34
Exploring Operation: 48-29=19, Resulting Numbers: [5, 48, 19]
Generated Node #0,3: 96:[5, 48, 19] Operation: 48-29=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[48, 48, 24], Operations: ['29-5=24']
Exploring Operation: 48+48=96, Resulting Numbers: [24, 96]
Generated Node #0,1,0: 96:[24, 96] Operation: 48+48=96
Exploring Operation: 48-24=24, Resulting Numbers: [48, 24]
Generated Node #0,1,1: 96:[48, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [48, 2]
Generated Node #0,1,2: 96:[48, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [48, 24]
Generated Node #0,1,3: 96:[48, 24] Operation: 48-24=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[24, 96], Operations: ['29-5=24', '48+48=96']
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,96 unequal: No Solution
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[48, 24], Operations: ['29-5=24', '48-24=24']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,96 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[48, 2], Operations: ['29-5=24', '48/24=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[48, 5, 29, 48], Operations: []
Exploring Operation: 29-5=24, Resulting Numbers: [48, 48, 24]
Generated Node #0,1: 96:[48, 48, 24] Operation: 29-5=24
Moving to Node #0,1
Current State: 96:[48, 48, 24], Operations: ['29-5=24']
Exploring Operation: 48/24=2, Resulting Numbers: [48, 2]
Generated Node #0,1,2: 96:[48, 2] Operation: 48/24=2
Moving to Node #0,1,2
Current State: 96:[48, 2], Operations: ['29-5=24', '48/24=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771
|
hs_4
|
sum_heuristic
|
[
97,
69,
82,
18
] | 66
|
[
"97+69=166",
"82+18=100",
"166-100=66"
] |
Current State: 66:[97, 69, 82, 18], Operations: []
Exploring Operation: 97+69=166, Resulting Numbers: [82, 18, 166]
Generated Node #2: [82, 18, 166] from Operation: 97+69=166
Current State: 66:[82, 18, 166], Operations: ['97+69=166']
Exploring Operation: 82+18=100, Resulting Numbers: [166, 100]
Generated Node #3: [166, 100] from Operation: 82+18=100
Current State: 66:[166, 100], Operations: ['97+69=166', '82+18=100']
Exploring Operation: 166-100=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[97, 69, 82, 18], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [69, 18, 15]
Generated Node #0,0: 66:[69, 18, 15] Operation: 97-82=15
Moving to Node #0,0
Current State: 66:[69, 18, 15], Operations: ['97-82=15']
Exploring Operation: 18+15=33, Resulting Numbers: [69, 33]
Generated Node #0,0,0: 66:[69, 33] Operation: 18+15=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[69, 33], Operations: ['97-82=15', '18+15=33']
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
26,
41,
66,
71
] | 10
|
[
"41-26=15",
"71-66=5",
"15-5=10"
] |
Current State: 10:[26, 41, 66, 71], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [66, 71, 15]
Generated Node #2: [66, 71, 15] from Operation: 41-26=15
Current State: 10:[66, 71, 15], Operations: ['41-26=15']
Exploring Operation: 71-66=5, Resulting Numbers: [15, 5]
Generated Node #3: [15, 5] from Operation: 71-66=5
Current State: 10:[15, 5], Operations: ['41-26=15', '71-66=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[26, 41, 66, 71], Operations: []
Exploring Operation: 66-41=25, Resulting Numbers: [26, 71, 25]
Generated Node #0,0: 10:[26, 71, 25] Operation: 66-41=25
Exploring Operation: 71-66=5, Resulting Numbers: [26, 41, 5]
Generated Node #0,1: 10:[26, 41, 5] Operation: 71-66=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[26, 41, 5], Operations: ['71-66=5']
Exploring Operation: 41-26=15, Resulting Numbers: [5, 15]
Generated Node #0,1,0: 10:[5, 15] Operation: 41-26=15
Exploring Operation: 26-5=21, Resulting Numbers: [41, 21]
Generated Node #0,1,1: 10:[41, 21] Operation: 26-5=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[5, 15], Operations: ['71-66=5', '41-26=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[26, 41, 66, 71], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [26, 41, 5]
Generated Node #0,1: 10:[26, 41, 5] Operation: 71-66=5
Moving to Node #0,1
Current State: 10:[26, 41, 5], Operations: ['71-66=5']
Exploring Operation: 41-26=15, Resulting Numbers: [5, 15]
Generated Node #0,1,0: 10:[5, 15] Operation: 41-26=15
Moving to Node #0,1,0
Current State: 10:[5, 15], Operations: ['71-66=5', '41-26=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
mult_heuristic
|
[
94,
5,
8,
33
] | 74
|
[
"94+5=99",
"33-8=25",
"99-25=74"
] |
Current State: 74:[94, 5, 8, 33], Operations: []
Exploring Operation: 94+5=99, Resulting Numbers: [8, 33, 99]
Generated Node #2: [8, 33, 99] from Operation: 94+5=99
Current State: 74:[8, 33, 99], Operations: ['94+5=99']
Exploring Operation: 33-8=25, Resulting Numbers: [99, 25]
Generated Node #3: [99, 25] from Operation: 33-8=25
Current State: 74:[99, 25], Operations: ['94+5=99', '33-8=25']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4
|
Current State: 74:[94, 5, 8, 33], Operations: []
Exploring Operation: 94-8=86, Resulting Numbers: [5, 33, 86]
Generated Node #0,0: 74:[5, 33, 86] Operation: 94-8=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[5, 33, 86], Operations: ['94-8=86']
Exploring Operation: 86-5=81, Resulting Numbers: [33, 81]
Generated Node #0,0,0: 74:[33, 81] Operation: 86-5=81
Moving to Node #0,0,0
Current State: 74:[33, 81], Operations: ['94-8=86', '86-5=81']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,74 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
|
[
67,
19,
70,
82
] | 36
|
[
"67-19=48",
"82-70=12",
"48-12=36"
] |
Current State: 36:[67, 19, 70, 82], Operations: []
Exploring Operation: 67-19=48, Resulting Numbers: [70, 82, 48]
Generated Node #2: [70, 82, 48] from Operation: 67-19=48
Current State: 36:[70, 82, 48], Operations: ['67-19=48']
Exploring Operation: 82-70=12, Resulting Numbers: [48, 12]
Generated Node #3: [48, 12] from Operation: 82-70=12
Current State: 36:[48, 12], Operations: ['67-19=48', '82-70=12']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[67, 19, 70, 82], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [67, 19, 12]
Generated Node #0,0: 36:[67, 19, 12] Operation: 82-70=12
Exploring Operation: 82-67=15, Resulting Numbers: [19, 70, 15]
Generated Node #0,1: 36:[19, 70, 15] Operation: 82-67=15
Exploring Operation: 67-19=48, Resulting Numbers: [70, 82, 48]
Generated Node #0,2: 36:[70, 82, 48] Operation: 67-19=48
Exploring Operation: 70-67=3, Resulting Numbers: [19, 82, 3]
Generated Node #0,3: 36:[19, 82, 3] Operation: 70-67=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[67, 19, 12], Operations: ['82-70=12']
Exploring Operation: 19+12=31, Resulting Numbers: [67, 31]
Generated Node #0,0,0: 36:[67, 31] Operation: 19+12=31
Exploring Operation: 19-12=7, Resulting Numbers: [67, 7]
Generated Node #0,0,1: 36:[67, 7] Operation: 19-12=7
Exploring Operation: 67-19=48, Resulting Numbers: [12, 48]
Generated Node #0,0,2: 36:[12, 48] Operation: 67-19=48
Exploring Operation: 67-12=55, Resulting Numbers: [19, 55]
Generated Node #0,0,3: 36:[19, 55] Operation: 67-12=55
Moving to Node #0,0,2
Current State: 36:[12, 48], Operations: ['82-70=12', '67-19=48']
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,36 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[67, 19, 70, 82], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [67, 19, 12]
Generated Node #0,0: 36:[67, 19, 12] Operation: 82-70=12
Moving to Node #0,0
Current State: 36:[67, 19, 12], Operations: ['82-70=12']
Exploring Operation: 67-19=48, Resulting Numbers: [12, 48]
Generated Node #0,0,2: 36:[12, 48] Operation: 67-19=48
Moving to Node #0,0,2
Current State: 36:[12, 48], Operations: ['82-70=12', '67-19=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
mult_heuristic
|
[
88,
85,
37,
71
] | 31
|
[
"88-85=3",
"71-37=34",
"34-3=31"
] |
Current State: 31:[88, 85, 37, 71], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [37, 71, 3]
Generated Node #2: [37, 71, 3] from Operation: 88-85=3
Current State: 31:[37, 71, 3], Operations: ['88-85=3']
Exploring Operation: 71-37=34, Resulting Numbers: [3, 34]
Generated Node #3: [3, 34] from Operation: 71-37=34
Current State: 31:[3, 34], Operations: ['88-85=3', '71-37=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[88, 85, 37, 71], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [37, 71, 3]
Generated Node #0,0: 31:[37, 71, 3] Operation: 88-85=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[37, 71, 3], Operations: ['88-85=3']
Exploring Operation: 71-37=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 31:[3, 34] Operation: 71-37=34
Moving to Node #0,0,0
Current State: 31:[3, 34], Operations: ['88-85=3', '71-37=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[88, 85, 37, 71], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [37, 71, 3]
Generated Node #0,0: 31:[37, 71, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 31:[37, 71, 3], Operations: ['88-85=3']
Exploring Operation: 71-37=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 31:[3, 34] Operation: 71-37=34
Moving to Node #0,0,0
Current State: 31:[3, 34], Operations: ['88-85=3', '71-37=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
26,
18,
96,
34
] | 22
|
[
"26-18=8",
"96/8=12",
"34-12=22"
] |
Current State: 22:[26, 18, 96, 34], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [96, 34, 8]
Generated Node #2: [96, 34, 8] from Operation: 26-18=8
Current State: 22:[96, 34, 8], Operations: ['26-18=8']
Exploring Operation: 96/8=12, Resulting Numbers: [34, 12]
Generated Node #3: [34, 12] from Operation: 96/8=12
Current State: 22:[34, 12], Operations: ['26-18=8', '96/8=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[26, 18, 96, 34], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [26, 34, 78]
Generated Node #0,0: 22:[26, 34, 78] Operation: 96-18=78
Exploring Operation: 34-18=16, Resulting Numbers: [26, 96, 16]
Generated Node #0,1: 22:[26, 96, 16] Operation: 34-18=16
Exploring Operation: 96-26=70, Resulting Numbers: [18, 34, 70]
Generated Node #0,2: 22:[18, 34, 70] Operation: 96-26=70
Exploring Operation: 34-26=8, Resulting Numbers: [18, 96, 8]
Generated Node #0,3: 22:[18, 96, 8] Operation: 34-26=8
Exploring Operation: 96-34=62, Resulting Numbers: [26, 18, 62]
Generated Node #0,4: 22:[26, 18, 62] Operation: 96-34=62
Moving to Node #0,4
Current State: 22:[26, 18, 62], Operations: ['96-34=62']
Exploring Operation: 62-18=44, Resulting Numbers: [26, 44]
Generated Node #0,4,0: 22:[26, 44] Operation: 62-18=44
Exploring Operation: 62-26=36, Resulting Numbers: [18, 36]
Generated Node #0,4,1: 22:[18, 36] Operation: 62-26=36
Exploring Operation: 18+62=80, Resulting Numbers: [26, 80]
Generated Node #0,4,2: 22:[26, 80] Operation: 18+62=80
Exploring Operation: 26+18=44, Resulting Numbers: [62, 44]
Generated Node #0,4,3: 22:[62, 44] Operation: 26+18=44
Exploring Operation: 26-18=8, Resulting Numbers: [62, 8]
Generated Node #0,4,4: 22:[62, 8] Operation: 26-18=8
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 22:[18, 36], Operations: ['96-34=62', '62-26=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,22 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,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:[26, 44], Operations: ['96-34=62', '62-18=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 26*44=1144, Resulting Numbers: [1144]
1144,22 unequal: No Solution
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,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,4
Current State: 22:[62, 8], Operations: ['96-34=62', '26-18=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,22 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,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:[26, 80], Operations: ['96-34=62', '18+62=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,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:[62, 44], Operations: ['96-34=62', '26+18=44']
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,22 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,22 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: 22:[18, 34, 70], Operations: ['96-26=70']
Exploring Operation: 70-34=36, Resulting Numbers: [18, 36]
Generated Node #0,2,0: 22:[18, 36] Operation: 70-34=36
Exploring Operation: 70-18=52, Resulting Numbers: [34, 52]
Generated Node #0,2,1: 22:[34, 52] Operation: 70-18=52
Exploring Operation: 34-18=16, Resulting Numbers: [70, 16]
Generated Node #0,2,2: 22:[70, 16] Operation: 34-18=16
Exploring Operation: 18+34=52, Resulting Numbers: [70, 52]
Generated Node #0,2,3: 22:[70, 52] Operation: 18+34=52
Exploring Operation: 18+70=88, Resulting Numbers: [34, 88]
Generated Node #0,2,4: 22:[34, 88] Operation: 18+70=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[18, 36], Operations: ['96-26=70', '70-34=36']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,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,2,1
Current State: 22:[34, 52], Operations: ['96-26=70', '70-18=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,22 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,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,2,2
Current State: 22:[70, 16], Operations: ['96-26=70', '34-18=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,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,2,3
Current State: 22:[70, 52], Operations: ['96-26=70', '18+34=52']
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,22 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,22 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,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,2,4
Current State: 22:[34, 88], Operations: ['96-26=70', '18+70=88']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,22 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,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:[26, 34, 78], Operations: ['96-18=78']
Exploring Operation: 78-34=44, Resulting Numbers: [26, 44]
Generated Node #0,0,0: 22:[26, 44] Operation: 78-34=44
Exploring Operation: 34-26=8, Resulting Numbers: [78, 8]
Generated Node #0,0,1: 22:[78, 8] Operation: 34-26=8
Exploring Operation: 78-26=52, Resulting Numbers: [34, 52]
Generated Node #0,0,2: 22:[34, 52] Operation: 78-26=52
Exploring Operation: 78/26=3, Resulting Numbers: [34, 3]
Generated Node #0,0,3: 22:[34, 3] Operation: 78/26=3
Exploring Operation: 26+34=60, Resulting Numbers: [78, 60]
Generated Node #0,0,4: 22:[78, 60] Operation: 26+34=60
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[34, 3], Operations: ['96-18=78', '78/26=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,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,0,0
Current State: 22:[26, 44], Operations: ['96-18=78', '78-34=44']
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 26*44=1144, Resulting Numbers: [1144]
1144,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,0,2
Current State: 22:[34, 52], Operations: ['96-18=78', '78-26=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,22 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,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,0,1
Current State: 22:[78, 8], Operations: ['96-18=78', '34-26=8']
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,22 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,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,0,4
Current State: 22:[78, 60], Operations: ['96-18=78', '26+34=60']
Exploring Operation: 78+60=138, Resulting Numbers: [138]
138,22 unequal: No Solution
Exploring Operation: 78*60=4680, Resulting Numbers: [4680]
4680,22 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,22 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: 22:[18, 96, 8], Operations: ['34-26=8']
Exploring Operation: 18-8=10, Resulting Numbers: [96, 10]
Generated Node #0,3,0: 22:[96, 10] Operation: 18-8=10
Exploring Operation: 18+8=26, Resulting Numbers: [96, 26]
Generated Node #0,3,1: 22:[96, 26] Operation: 18+8=26
Exploring Operation: 96-18=78, Resulting Numbers: [8, 78]
Generated Node #0,3,2: 22:[8, 78] Operation: 96-18=78
Exploring Operation: 96-8=88, Resulting Numbers: [18, 88]
Generated Node #0,3,3: 22:[18, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [18, 12]
Generated Node #0,3,4: 22:[18, 12] Operation: 96/8=12
Moving to Node #0,1
Current State: 22:[26, 96, 16], Operations: ['34-18=16']
Exploring Operation: 26+16=42, Resulting Numbers: [96, 42]
Generated Node #0,1,0: 22:[96, 42] Operation: 26+16=42
Exploring Operation: 96-16=80, Resulting Numbers: [26, 80]
Generated Node #0,1,1: 22:[26, 80] Operation: 96-16=80
Exploring Operation: 26-16=10, Resulting Numbers: [96, 10]
Generated Node #0,1,2: 22:[96, 10] Operation: 26-16=10
Exploring Operation: 96-26=70, Resulting Numbers: [16, 70]
Generated Node #0,1,3: 22:[16, 70] Operation: 96-26=70
Exploring Operation: 96/16=6, Resulting Numbers: [26, 6]
Generated Node #0,1,4: 22:[26, 6] Operation: 96/16=6
Moving to Node #0,3,4
Current State: 22:[18, 12], Operations: ['34-26=8', '96/8=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[26, 6], Operations: ['34-18=16', '96/16=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[16, 70], Operations: ['34-18=16', '96-26=70']
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,22 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[8, 78], Operations: ['34-26=8', '96-18=78']
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,22 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[26, 80], Operations: ['34-18=16', '96-16=80']
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,22 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[18, 88], Operations: ['34-26=8', '96-8=88']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 18+88=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 18*88=1584, Resulting Numbers: [1584]
1584,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[96, 10], Operations: ['34-18=16', '26-16=10']
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[96, 10], Operations: ['34-26=8', '18-8=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,22 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[96, 26], Operations: ['34-26=8', '18+8=26']
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,22 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,22 unequal: No Solution
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[96, 42], Operations: ['34-18=16', '26+16=42']
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,22 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,22 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,22 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
31,
29,
61,
79
] | 80
|
[
"31+29=60",
"61+79=140",
"140-60=80"
] |
Current State: 80:[31, 29, 61, 79], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [61, 79, 60]
Generated Node #2: [61, 79, 60] from Operation: 31+29=60
Current State: 80:[61, 79, 60], Operations: ['31+29=60']
Exploring Operation: 61+79=140, Resulting Numbers: [60, 140]
Generated Node #3: [60, 140] from Operation: 61+79=140
Current State: 80:[60, 140], Operations: ['31+29=60', '61+79=140']
Exploring Operation: 140-60=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[31, 29, 61, 79], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [29, 79, 30]
Generated Node #0,0: 80:[29, 79, 30] Operation: 61-31=30
Exploring Operation: 31-29=2, Resulting Numbers: [61, 79, 2]
Generated Node #0,1: 80:[61, 79, 2] Operation: 31-29=2
Exploring Operation: 61-29=32, Resulting Numbers: [31, 79, 32]
Generated Node #0,2: 80:[31, 79, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[31, 79, 32], Operations: ['61-29=32']
Exploring Operation: 32-31=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 80:[79, 1] Operation: 32-31=1
Exploring Operation: 79-32=47, Resulting Numbers: [31, 47]
Generated Node #0,2,1: 80:[31, 47] Operation: 79-32=47
Exploring Operation: 79-31=48, Resulting Numbers: [32, 48]
Generated Node #0,2,2: 80:[32, 48] Operation: 79-31=48
Moving to Node #0,2,0
Current State: 80:[79, 1], Operations: ['61-29=32', '32-31=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[31, 29, 61, 79], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [31, 79, 32]
Generated Node #0,2: 80:[31, 79, 32] Operation: 61-29=32
Moving to Node #0,2
Current State: 80:[31, 79, 32], Operations: ['61-29=32']
Exploring Operation: 32-31=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 80:[79, 1] Operation: 32-31=1
Moving to Node #0,2,0
Current State: 80:[79, 1], Operations: ['61-29=32', '32-31=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
66,
3,
76,
54
] | 80
|
[
"66-54=12",
"12/3=4",
"76+4=80"
] |
Current State: 80:[66, 3, 76, 54], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [3, 76, 12]
Generated Node #2: [3, 76, 12] from Operation: 66-54=12
Current State: 80:[3, 76, 12], Operations: ['66-54=12']
Exploring Operation: 12/3=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 12/3=4
Current State: 80:[76, 4], Operations: ['66-54=12', '12/3=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[66, 3, 76, 54], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [66, 3, 22]
Generated Node #0,0: 80:[66, 3, 22] Operation: 76-54=22
Exploring Operation: 66-54=12, Resulting Numbers: [3, 76, 12]
Generated Node #0,1: 80:[3, 76, 12] Operation: 66-54=12
Exploring Operation: 76-66=10, Resulting Numbers: [3, 54, 10]
Generated Node #0,2: 80:[3, 54, 10] Operation: 76-66=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[3, 76, 12], Operations: ['66-54=12']
Exploring Operation: 12/3=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 80:[76, 4] Operation: 12/3=4
Exploring Operation: 3+76=79, Resulting Numbers: [12, 79]
Generated Node #0,1,1: 80:[12, 79] Operation: 3+76=79
Exploring Operation: 3+12=15, Resulting Numbers: [76, 15]
Generated Node #0,1,2: 80:[76, 15] Operation: 3+12=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[12, 79], Operations: ['66-54=12', '3+76=79']
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,80 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,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,1,0
Current State: 80:[76, 4], Operations: ['66-54=12', '12/3=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[66, 3, 76, 54], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [3, 76, 12]
Generated Node #0,1: 80:[3, 76, 12] Operation: 66-54=12
Moving to Node #0,1
Current State: 80:[3, 76, 12], Operations: ['66-54=12']
Exploring Operation: 12/3=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 80:[76, 4] Operation: 12/3=4
Moving to Node #0,1,0
Current State: 80:[76, 4], Operations: ['66-54=12', '12/3=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_3
|
sum_heuristic
|
[
18,
6,
8,
78
] | 94
|
[
"18+6=24",
"78-8=70",
"24+70=94"
] |
Current State: 94:[18, 6, 8, 78], Operations: []
Exploring Operation: 18+6=24, Resulting Numbers: [8, 78, 24]
Generated Node #2: [8, 78, 24] from Operation: 18+6=24
Current State: 94:[8, 78, 24], Operations: ['18+6=24']
Exploring Operation: 78-8=70, Resulting Numbers: [24, 70]
Generated Node #3: [24, 70] from Operation: 78-8=70
Current State: 94:[24, 70], Operations: ['18+6=24', '78-8=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4
|
Current State: 94:[18, 6, 8, 78], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [6, 8, 60]
Generated Node #0,0: 94:[6, 8, 60] Operation: 78-18=60
Exploring Operation: 18+78=96, Resulting Numbers: [6, 8, 96]
Generated Node #0,1: 94:[6, 8, 96] Operation: 18+78=96
Exploring Operation: 18/6=3, Resulting Numbers: [8, 78, 3]
Generated Node #0,2: 94:[8, 78, 3] Operation: 18/6=3
Moving to Node #0,1
Current State: 94:[6, 8, 96], Operations: ['18+78=96']
Exploring Operation: 96-6=90, Resulting Numbers: [8, 90]
Generated Node #0,1,0: 94:[8, 90] Operation: 96-6=90
Exploring Operation: 6*8=48, Resulting Numbers: [96, 48]
Generated Node #0,1,1: 94:[96, 48] Operation: 6*8=48
Exploring Operation: 8-6=2, Resulting Numbers: [96, 2]
Generated Node #0,1,2: 94:[96, 2] Operation: 8-6=2
Moving to Node #0,0
Current State: 94:[6, 8, 60], Operations: ['78-18=60']
Exploring Operation: 60-6=54, Resulting Numbers: [8, 54]
Generated Node #0,0,0: 94:[8, 54] Operation: 60-6=54
Exploring Operation: 60-8=52, Resulting Numbers: [6, 52]
Generated Node #0,0,1: 94:[6, 52] Operation: 60-8=52
Exploring Operation: 8-6=2, Resulting Numbers: [60, 2]
Generated Node #0,0,2: 94:[60, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[6, 52], Operations: ['78-18=60', '60-8=52']
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[8, 54], Operations: ['78-18=60', '60-6=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,94 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[60, 2], Operations: ['78-18=60', '8-6=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,94 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: 94:[8, 78, 3], Operations: ['18/6=3']
Exploring Operation: 8-3=5, Resulting Numbers: [78, 5]
Generated Node #0,2,0: 94:[78, 5] Operation: 8-3=5
Exploring Operation: 8+78=86, Resulting Numbers: [3, 86]
Generated Node #0,2,1: 94:[3, 86] Operation: 8+78=86
Exploring Operation: 78+3=81, Resulting Numbers: [8, 81]
Generated Node #0,2,2: 94:[8, 81] Operation: 78+3=81
Moving to Node #0,1,2
Current State: 94:[96, 2], Operations: ['18+78=96', '8-6=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[18, 6, 8, 78], Operations: []
Exploring Operation: 18+78=96, Resulting Numbers: [6, 8, 96]
Generated Node #0,1: 94:[6, 8, 96] Operation: 18+78=96
Moving to Node #0,1
Current State: 94:[6, 8, 96], Operations: ['18+78=96']
Exploring Operation: 8-6=2, Resulting Numbers: [96, 2]
Generated Node #0,1,2: 94:[96, 2] Operation: 8-6=2
Moving to Node #0,1,2
Current State: 94:[96, 2], Operations: ['18+78=96', '8-6=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.975694
|
hs_3
|
sum_heuristic
|
[
4,
28,
97,
6
] | 45
|
[
"4*6=24",
"97-28=69",
"69-24=45"
] |
Current State: 45:[4, 28, 97, 6], Operations: []
Exploring Operation: 4*6=24, Resulting Numbers: [28, 97, 24]
Generated Node #2: [28, 97, 24] from Operation: 4*6=24
Current State: 45:[28, 97, 24], Operations: ['4*6=24']
Exploring Operation: 97-28=69, Resulting Numbers: [24, 69]
Generated Node #3: [24, 69] from Operation: 97-28=69
Current State: 45:[24, 69], Operations: ['4*6=24', '97-28=69']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[4, 28, 97, 6], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [97, 6, 7]
Generated Node #0,0: 45:[97, 6, 7] Operation: 28/4=7
Exploring Operation: 97-28=69, Resulting Numbers: [4, 6, 69]
Generated Node #0,1: 45:[4, 6, 69] Operation: 97-28=69
Exploring Operation: 28-6=22, Resulting Numbers: [4, 97, 22]
Generated Node #0,2: 45:[4, 97, 22] Operation: 28-6=22
Exploring Operation: 97-6=91, Resulting Numbers: [4, 28, 91]
Generated Node #0,3: 45:[4, 28, 91] Operation: 97-6=91
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[4, 6, 69], Operations: ['97-28=69']
Exploring Operation: 6-4=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 45:[69, 2] Operation: 6-4=2
Exploring Operation: 69-4=65, Resulting Numbers: [6, 65]
Generated Node #0,1,1: 45:[6, 65] Operation: 69-4=65
Exploring Operation: 4+6=10, Resulting Numbers: [69, 10]
Generated Node #0,1,2: 45:[69, 10] Operation: 4+6=10
Exploring Operation: 69-6=63, Resulting Numbers: [4, 63]
Generated Node #0,1,3: 45:[4, 63] Operation: 69-6=63
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[4, 63], Operations: ['97-28=69', '69-6=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[6, 65], Operations: ['97-28=69', '69-4=65']
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[69, 2], Operations: ['97-28=69', '6-4=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,45 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[69, 10], Operations: ['97-28=69', '4+6=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,45 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[97, 6, 7], Operations: ['28/4=7']
Exploring Operation: 97-6=91, Resulting Numbers: [7, 91]
Generated Node #0,0,0: 45:[7, 91] Operation: 97-6=91
Exploring Operation: 6+7=13, Resulting Numbers: [97, 13]
Generated Node #0,0,1: 45:[97, 13] Operation: 6+7=13
Exploring Operation: 97-7=90, Resulting Numbers: [6, 90]
Generated Node #0,0,2: 45:[6, 90] Operation: 97-7=90
Exploring Operation: 7-6=1, Resulting Numbers: [97, 1]
Generated Node #0,0,3: 45:[97, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[6, 90], Operations: ['28/4=7', '97-7=90']
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,45 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,45 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[7, 91], Operations: ['28/4=7', '97-6=91']
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,45 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[97, 13], Operations: ['28/4=7', '6+7=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,45 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[97, 1], Operations: ['28/4=7', '7-6=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,45 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[4, 97, 22], Operations: ['28-6=22']
Exploring Operation: 97-4=93, Resulting Numbers: [22, 93]
Generated Node #0,2,0: 45:[22, 93] Operation: 97-4=93
Exploring Operation: 97-22=75, Resulting Numbers: [4, 75]
Generated Node #0,2,1: 45:[4, 75] Operation: 97-22=75
Exploring Operation: 4+97=101, Resulting Numbers: [22, 101]
Generated Node #0,2,2: 45:[22, 101] Operation: 4+97=101
Exploring Operation: 22-4=18, Resulting Numbers: [97, 18]
Generated Node #0,2,3: 45:[97, 18] Operation: 22-4=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[4, 75], Operations: ['28-6=22', '97-22=75']
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,45 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[22, 93], Operations: ['28-6=22', '97-4=93']
Exploring Operation: 22*93=2046, Resulting Numbers: [2046]
2046,45 unequal: No Solution
Exploring Operation: 22+93=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 45:[97, 18], Operations: ['28-6=22', '22-4=18']
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[22, 101], Operations: ['28-6=22', '4+97=101']
Exploring Operation: 101-22=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 22*101=2222, Resulting Numbers: [2222]
2222,45 unequal: No Solution
Exploring Operation: 22+101=123, Resulting Numbers: [123]
123,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[4, 28, 91], Operations: ['97-6=91']
Exploring Operation: 91-4=87, Resulting Numbers: [28, 87]
Generated Node #0,3,0: 45:[28, 87] Operation: 91-4=87
Exploring Operation: 28-4=24, Resulting Numbers: [91, 24]
Generated Node #0,3,1: 45:[91, 24] Operation: 28-4=24
Exploring Operation: 91-28=63, Resulting Numbers: [4, 63]
Generated Node #0,3,2: 45:[4, 63] Operation: 91-28=63
Exploring Operation: 28/4=7, Resulting Numbers: [91, 7]
Generated Node #0,3,3: 45:[91, 7] Operation: 28/4=7
Moving to Node #0,3,2
Current State: 45:[4, 63], Operations: ['97-6=91', '91-28=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,45 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[91, 7], Operations: ['97-6=91', '28/4=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,45 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[91, 24], Operations: ['97-6=91', '28-4=24']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 91*24=2184, Resulting Numbers: [2184]
2184,45 unequal: No Solution
Exploring Operation: 91+24=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[28, 87], Operations: ['97-6=91', '91-4=87']
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
76,
20,
39,
2
] | 20
|
[
"76/2=38",
"39-38=1",
"20*1=20"
] |
Current State: 20:[76, 20, 39, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [20, 39, 38]
Generated Node #2: [20, 39, 38] from Operation: 76/2=38
Current State: 20:[20, 39, 38], Operations: ['76/2=38']
Exploring Operation: 39-38=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 39-38=1
Current State: 20:[20, 1], Operations: ['76/2=38', '39-38=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[76, 20, 39, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [20, 39, 38]
Generated Node #0,0: 20:[20, 39, 38] Operation: 76/2=38
Exploring Operation: 76-39=37, Resulting Numbers: [20, 2, 37]
Generated Node #0,1: 20:[20, 2, 37] Operation: 76-39=37
Moving to Node #0,1
Current State: 20:[20, 2, 37], Operations: ['76-39=37']
Exploring Operation: 37-20=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 20:[2, 17] Operation: 37-20=17
Exploring Operation: 37-2=35, Resulting Numbers: [20, 35]
Generated Node #0,1,1: 20:[20, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[2, 17], Operations: ['76-39=37', '37-20=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[20, 35], Operations: ['76-39=37', '37-2=35']
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,20 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: 20:[20, 39, 38], Operations: ['76/2=38']
Exploring Operation: 39-20=19, Resulting Numbers: [38, 19]
Generated Node #0,0,0: 20:[38, 19] Operation: 39-20=19
Exploring Operation: 39-38=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 20:[20, 1] Operation: 39-38=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[20, 1], Operations: ['76/2=38', '39-38=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[76, 20, 39, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [20, 39, 38]
Generated Node #0,0: 20:[20, 39, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 20:[20, 39, 38], Operations: ['76/2=38']
Exploring Operation: 39-38=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 20:[20, 1] Operation: 39-38=1
Moving to Node #0,0,1
Current State: 20:[20, 1], Operations: ['76/2=38', '39-38=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
sum_heuristic
|
[
70,
5,
4,
53
] | 17
|
[
"70-53=17",
"5-4=1",
"17*1=17"
] |
Current State: 17:[70, 5, 4, 53], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [5, 4, 17]
Generated Node #2: [5, 4, 17] from Operation: 70-53=17
Current State: 17:[5, 4, 17], Operations: ['70-53=17']
Exploring Operation: 5-4=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 5-4=1
Current State: 17:[17, 1], Operations: ['70-53=17', '5-4=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[70, 5, 4, 53], Operations: []
Exploring Operation: 70-4=66, Resulting Numbers: [5, 53, 66]
Generated Node #0,0: 17:[5, 53, 66] Operation: 70-4=66
Exploring Operation: 5*4=20, Resulting Numbers: [70, 53, 20]
Generated Node #0,1: 17:[70, 53, 20] Operation: 5*4=20
Exploring Operation: 70-5=65, Resulting Numbers: [4, 53, 65]
Generated Node #0,2: 17:[4, 53, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [4, 53, 14]
Generated Node #0,3: 17:[4, 53, 14] Operation: 70/5=14
Exploring Operation: 70-53=17, Resulting Numbers: [5, 4, 17]
Generated Node #0,4: 17:[5, 4, 17] Operation: 70-53=17
Moving to Node #0,4
Current State: 17:[5, 4, 17], Operations: ['70-53=17']
Exploring Operation: 4+17=21, Resulting Numbers: [5, 21]
Generated Node #0,4,0: 17:[5, 21] Operation: 4+17=21
Exploring Operation: 5+4=9, Resulting Numbers: [17, 9]
Generated Node #0,4,1: 17:[17, 9] Operation: 5+4=9
Exploring Operation: 5*4=20, Resulting Numbers: [17, 20]
Generated Node #0,4,2: 17:[17, 20] Operation: 5*4=20
Exploring Operation: 5-4=1, Resulting Numbers: [17, 1]
Generated Node #0,4,3: 17:[17, 1] Operation: 5-4=1
Exploring Operation: 17-4=13, Resulting Numbers: [5, 13]
Generated Node #0,4,4: 17:[5, 13] Operation: 17-4=13
Moving to Node #0,3
Current State: 17:[4, 53, 14], Operations: ['70/5=14']
Exploring Operation: 14-4=10, Resulting Numbers: [53, 10]
Generated Node #0,3,0: 17:[53, 10] Operation: 14-4=10
Exploring Operation: 53-14=39, Resulting Numbers: [4, 39]
Generated Node #0,3,1: 17:[4, 39] Operation: 53-14=39
Exploring Operation: 53-4=49, Resulting Numbers: [14, 49]
Generated Node #0,3,2: 17:[14, 49] Operation: 53-4=49
Exploring Operation: 4+14=18, Resulting Numbers: [53, 18]
Generated Node #0,3,3: 17:[53, 18] Operation: 4+14=18
Exploring Operation: 4+53=57, Resulting Numbers: [14, 57]
Generated Node #0,3,4: 17:[14, 57] Operation: 4+53=57
Moving to Node #0,1
Current State: 17:[70, 53, 20], Operations: ['5*4=20']
Exploring Operation: 53-20=33, Resulting Numbers: [70, 33]
Generated Node #0,1,0: 17:[70, 33] Operation: 53-20=33
Exploring Operation: 70+20=90, Resulting Numbers: [53, 90]
Generated Node #0,1,1: 17:[53, 90] Operation: 70+20=90
Exploring Operation: 70-20=50, Resulting Numbers: [53, 50]
Generated Node #0,1,2: 17:[53, 50] Operation: 70-20=50
Exploring Operation: 70-53=17, Resulting Numbers: [20, 17]
Generated Node #0,1,3: 17:[20, 17] Operation: 70-53=17
Exploring Operation: 70+53=123, Resulting Numbers: [20, 123]
Generated Node #0,1,4: 17:[20, 123] Operation: 70+53=123
Moving to Node #0,0
Current State: 17:[5, 53, 66], Operations: ['70-4=66']
Exploring Operation: 5+53=58, Resulting Numbers: [66, 58]
Generated Node #0,0,0: 17:[66, 58] Operation: 5+53=58
Exploring Operation: 53-5=48, Resulting Numbers: [66, 48]
Generated Node #0,0,1: 17:[66, 48] Operation: 53-5=48
Exploring Operation: 5+66=71, Resulting Numbers: [53, 71]
Generated Node #0,0,2: 17:[53, 71] Operation: 5+66=71
Exploring Operation: 66-5=61, Resulting Numbers: [53, 61]
Generated Node #0,0,3: 17:[53, 61] Operation: 66-5=61
Exploring Operation: 66-53=13, Resulting Numbers: [5, 13]
Generated Node #0,0,4: 17:[5, 13] Operation: 66-53=13
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[5, 13], Operations: ['70-4=66', '66-53=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[66, 48], Operations: ['70-4=66', '53-5=48']
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,17 unequal: No Solution
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[53, 61], Operations: ['70-4=66', '66-5=61']
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,17 unequal: No Solution
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,17 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[66, 58], Operations: ['70-4=66', '5+53=58']
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[53, 71], Operations: ['70-4=66', '5+66=71']
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,17 unequal: No Solution
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,17 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: 17:[4, 53, 65], Operations: ['70-5=65']
Exploring Operation: 53-4=49, Resulting Numbers: [65, 49]
Generated Node #0,2,0: 17:[65, 49] Operation: 53-4=49
Exploring Operation: 4+53=57, Resulting Numbers: [65, 57]
Generated Node #0,2,1: 17:[65, 57] Operation: 4+53=57
Exploring Operation: 65-53=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 17:[4, 12] Operation: 65-53=12
Exploring Operation: 65-4=61, Resulting Numbers: [53, 61]
Generated Node #0,2,3: 17:[53, 61] Operation: 65-4=61
Exploring Operation: 4+65=69, Resulting Numbers: [53, 69]
Generated Node #0,2,4: 17:[53, 69] Operation: 4+65=69
Moving to Node #0,4,2
Current State: 17:[17, 20], Operations: ['70-53=17', '5*4=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[20, 17], Operations: ['5*4=20', '70-53=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,17 unequal: No Solution
Moving to Node #0,4,1
Current State: 17:[17, 9], Operations: ['70-53=17', '5+4=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,17 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Moving to Node #0,4,0
Current State: 17:[5, 21], Operations: ['70-53=17', '4+17=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Moving to Node #0,4,4
Current State: 17:[5, 13], Operations: ['70-53=17', '17-4=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Moving to Node #0,4,3
Current State: 17:[17, 1], Operations: ['70-53=17', '5-4=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[70, 5, 4, 53], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [5, 4, 17]
Generated Node #0,4: 17:[5, 4, 17] Operation: 70-53=17
Moving to Node #0,4
Current State: 17:[5, 4, 17], Operations: ['70-53=17']
Exploring Operation: 5-4=1, Resulting Numbers: [17, 1]
Generated Node #0,4,3: 17:[17, 1] Operation: 5-4=1
Moving to Node #0,4,3
Current State: 17:[17, 1], Operations: ['70-53=17', '5-4=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.943576
|
hs_5
|
sum_heuristic
|
[
31,
56,
28,
2
] | 50
|
[
"31-28=3",
"2*3=6",
"56-6=50"
] |
Current State: 50:[31, 56, 28, 2], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [56, 2, 3]
Generated Node #2: [56, 2, 3] from Operation: 31-28=3
Current State: 50:[56, 2, 3], Operations: ['31-28=3']
Exploring Operation: 2*3=6, Resulting Numbers: [56, 6]
Generated Node #3: [56, 6] from Operation: 2*3=6
Current State: 50:[56, 6], Operations: ['31-28=3', '2*3=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4
|
Current State: 50:[31, 56, 28, 2], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [31, 2, 2]
Generated Node #0,0: 50:[31, 2, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [31, 2, 28]
Generated Node #0,1: 50:[31, 2, 28] Operation: 56-28=28
Exploring Operation: 56-31=25, Resulting Numbers: [28, 2, 25]
Generated Node #0,2: 50:[28, 2, 25] Operation: 56-31=25
Exploring Operation: 31-28=3, Resulting Numbers: [56, 2, 3]
Generated Node #0,3: 50:[56, 2, 3] Operation: 31-28=3
Moving to Node #0,2
Current State: 50:[28, 2, 25], Operations: ['56-31=25']
Exploring Operation: 28+25=53, Resulting Numbers: [2, 53]
Generated Node #0,2,0: 50:[2, 53] Operation: 28+25=53
Exploring Operation: 2*25=50, Resulting Numbers: [28, 50]
Generated Node #0,2,1: 50:[28, 50] Operation: 2*25=50
Exploring Operation: 28-25=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 50:[2, 3] Operation: 28-25=3
Exploring Operation: 28-2=26, Resulting Numbers: [25, 26]
Generated Node #0,2,3: 50:[25, 26] Operation: 28-2=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[2, 3], Operations: ['56-31=25', '28-25=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[25, 26], Operations: ['56-31=25', '28-2=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[2, 53], Operations: ['56-31=25', '28+25=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,50 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[28, 50], Operations: ['56-31=25', '2*25=50']
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,50 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,50 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: 50:[31, 2, 2], Operations: ['56/28=2']
Exploring Operation: 31-2=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 50:[2, 29] Operation: 31-2=29
Exploring Operation: 2*2=4, Resulting Numbers: [31, 4]
Generated Node #0,0,1: 50:[31, 4] Operation: 2*2=4
Exploring Operation: 31-2=29, Resulting Numbers: [2, 29]
Generated Node #0,0,2: 50:[2, 29] Operation: 31-2=29
Exploring Operation: 2+2=4, Resulting Numbers: [31, 4]
Generated Node #0,0,3: 50:[31, 4] Operation: 2+2=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[2, 29], Operations: ['56/28=2', '31-2=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,50 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[2, 29], Operations: ['56/28=2', '31-2=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[31, 4], Operations: ['56/28=2', '2*2=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,50 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[31, 4], Operations: ['56/28=2', '2+2=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,50 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,50 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: 50:[56, 2, 3], Operations: ['31-28=3']
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #0,3,0: 50:[3, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [3, 54]
Generated Node #0,3,1: 50:[3, 54] Operation: 56-2=54
Exploring Operation: 56-3=53, Resulting Numbers: [2, 53]
Generated Node #0,3,2: 50:[2, 53] Operation: 56-3=53
Exploring Operation: 2+3=5, Resulting Numbers: [56, 5]
Generated Node #0,3,3: 50:[56, 5] Operation: 2+3=5
Moving to Node #0,1
Current State: 50:[31, 2, 28], Operations: ['56-28=28']
Exploring Operation: 28-2=26, Resulting Numbers: [31, 26]
Generated Node #0,1,0: 50:[31, 26] Operation: 28-2=26
Exploring Operation: 31-28=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 50:[2, 3] Operation: 31-28=3
Exploring Operation: 31-2=29, Resulting Numbers: [28, 29]
Generated Node #0,1,2: 50:[28, 29] Operation: 31-2=29
Exploring Operation: 31+28=59, Resulting Numbers: [2, 59]
Generated Node #0,1,3: 50:[2, 59] Operation: 31+28=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[2, 3], Operations: ['56-28=28', '31-28=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[31, 26], Operations: ['56-28=28', '28-2=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,50 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[28, 29], Operations: ['56-28=28', '31-2=29']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,50 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[2, 59], Operations: ['56-28=28', '31+28=59']
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,50 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 50:[2, 53], Operations: ['31-28=3', '56-3=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[3, 28], Operations: ['31-28=3', '56/2=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[3, 54], Operations: ['31-28=3', '56-2=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,50 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[56, 5], Operations: ['31-28=3', '2+3=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,50 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,50 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
74,
2,
31,
51
] | 59
|
[
"74-31=43",
"2*51=102",
"102-43=59"
] |
Current State: 59:[74, 2, 31, 51], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [2, 51, 43]
Generated Node #2: [2, 51, 43] from Operation: 74-31=43
Current State: 59:[2, 51, 43], Operations: ['74-31=43']
Exploring Operation: 2*51=102, Resulting Numbers: [43, 102]
Generated Node #3: [43, 102] from Operation: 2*51=102
Current State: 59:[43, 102], Operations: ['74-31=43', '2*51=102']
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[74, 2, 31, 51], Operations: []
Exploring Operation: 2+31=33, Resulting Numbers: [74, 51, 33]
Generated Node #0,0: 59:[74, 51, 33] Operation: 2+31=33
Exploring Operation: 2*31=62, Resulting Numbers: [74, 51, 62]
Generated Node #0,1: 59:[74, 51, 62] Operation: 2*31=62
Exploring Operation: 74-2=72, Resulting Numbers: [31, 51, 72]
Generated Node #0,2: 59:[31, 51, 72] Operation: 74-2=72
Moving to Node #0,1
Current State: 59:[74, 51, 62], Operations: ['2*31=62']
Exploring Operation: 74-62=12, Resulting Numbers: [51, 12]
Generated Node #0,1,0: 59:[51, 12] Operation: 74-62=12
Exploring Operation: 62-51=11, Resulting Numbers: [74, 11]
Generated Node #0,1,1: 59:[74, 11] Operation: 62-51=11
Exploring Operation: 74-51=23, Resulting Numbers: [62, 23]
Generated Node #0,1,2: 59:[62, 23] Operation: 74-51=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[62, 23], Operations: ['2*31=62', '74-51=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,59 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[51, 12], Operations: ['2*31=62', '74-62=12']
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,59 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[74, 11], Operations: ['2*31=62', '62-51=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,59 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: 59:[74, 51, 33], Operations: ['2+31=33']
Exploring Operation: 51+33=84, Resulting Numbers: [74, 84]
Generated Node #0,0,0: 59:[74, 84] Operation: 51+33=84
Exploring Operation: 74+33=107, Resulting Numbers: [51, 107]
Generated Node #0,0,1: 59:[51, 107] Operation: 74+33=107
Exploring Operation: 74-33=41, Resulting Numbers: [51, 41]
Generated Node #0,0,2: 59:[51, 41] Operation: 74-33=41
Moving to Node #0,2
Current State: 59:[31, 51, 72], Operations: ['74-2=72']
Exploring Operation: 31+51=82, Resulting Numbers: [72, 82]
Generated Node #0,2,0: 59:[72, 82] Operation: 31+51=82
Exploring Operation: 72-31=41, Resulting Numbers: [51, 41]
Generated Node #0,2,1: 59:[51, 41] Operation: 72-31=41
Exploring Operation: 51-31=20, Resulting Numbers: [72, 20]
Generated Node #0,2,2: 59:[72, 20] Operation: 51-31=20
Moving to Node #0,0,2
Current State: 59:[51, 41], Operations: ['2+31=33', '74-33=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,59 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[51, 41], Operations: ['74-2=72', '72-31=41']
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,59 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[72, 82], Operations: ['74-2=72', '31+51=82']
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[74, 84], Operations: ['2+31=33', '51+33=84']
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,59 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[72, 20], Operations: ['74-2=72', '51-31=20']
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,59 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[51, 107], Operations: ['2+31=33', '74+33=107']
Exploring Operation: 51+107=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 107-51=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 51*107=5457, Resulting Numbers: [5457]
5457,59 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
23,
13,
95,
39
] | 69
|
[
"95-23=72",
"39/13=3",
"72-3=69"
] |
Current State: 69:[23, 13, 95, 39], Operations: []
Exploring Operation: 95-23=72, Resulting Numbers: [13, 39, 72]
Generated Node #2: [13, 39, 72] from Operation: 95-23=72
Current State: 69:[13, 39, 72], Operations: ['95-23=72']
Exploring Operation: 39/13=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 39/13=3
Current State: 69:[72, 3], Operations: ['95-23=72', '39/13=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[23, 13, 95, 39], Operations: []
Exploring Operation: 95-39=56, Resulting Numbers: [23, 13, 56]
Generated Node #0,0: 69:[23, 13, 56] Operation: 95-39=56
Exploring Operation: 39/13=3, Resulting Numbers: [23, 95, 3]
Generated Node #0,1: 69:[23, 95, 3] Operation: 39/13=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[23, 13, 56], Operations: ['95-39=56']
Exploring Operation: 13+56=69, Resulting Numbers: [23, 69]
Generated Node #0,0,0: 69:[23, 69] Operation: 13+56=69
Exploring Operation: 23-13=10, Resulting Numbers: [56, 10]
Generated Node #0,0,1: 69:[56, 10] Operation: 23-13=10
Moving to Node #0,0,0
Current State: 69:[23, 69], Operations: ['95-39=56', '13+56=69']
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,69 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[56, 10], Operations: ['95-39=56', '23-13=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[23, 95, 3], Operations: ['39/13=3']
Exploring Operation: 95-23=72, Resulting Numbers: [3, 72]
Generated Node #0,1,0: 69:[3, 72] Operation: 95-23=72
Exploring Operation: 95-3=92, Resulting Numbers: [23, 92]
Generated Node #0,1,1: 69:[23, 92] Operation: 95-3=92
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[3, 72], Operations: ['39/13=3', '95-23=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[23, 13, 95, 39], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [23, 95, 3]
Generated Node #0,1: 69:[23, 95, 3] Operation: 39/13=3
Moving to Node #0,1
Current State: 69:[23, 95, 3], Operations: ['39/13=3']
Exploring Operation: 95-23=72, Resulting Numbers: [3, 72]
Generated Node #0,1,0: 69:[3, 72] Operation: 95-23=72
Moving to Node #0,1,0
Current State: 69:[3, 72], Operations: ['39/13=3', '95-23=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_2
|
sum_heuristic
|
[
17,
81,
17,
35
] | 81
|
[
"17+17=34",
"35-34=1",
"81*1=81"
] |
Current State: 81:[17, 81, 17, 35], Operations: []
Exploring Operation: 17+17=34, Resulting Numbers: [81, 35, 34]
Generated Node #2: [81, 35, 34] from Operation: 17+17=34
Current State: 81:[81, 35, 34], Operations: ['17+17=34']
Exploring Operation: 35-34=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 35-34=1
Current State: 81:[81, 1], Operations: ['17+17=34', '35-34=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[17, 81, 17, 35], Operations: []
Exploring Operation: 17/17=1, Resulting Numbers: [81, 35, 1]
Generated Node #0,0: 81:[81, 35, 1] Operation: 17/17=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[81, 35, 1], Operations: ['17/17=1']
Exploring Operation: 35-1=34, Resulting Numbers: [81, 34]
Generated Node #0,0,0: 81:[81, 34] Operation: 35-1=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[81, 34], Operations: ['17/17=1', '35-1=34']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
70,
12,
24,
52
] | 61
|
[
"70+52=122",
"24/12=2",
"122/2=61"
] |
Current State: 61:[70, 12, 24, 52], Operations: []
Exploring Operation: 70+52=122, Resulting Numbers: [12, 24, 122]
Generated Node #2: [12, 24, 122] from Operation: 70+52=122
Current State: 61:[12, 24, 122], Operations: ['70+52=122']
Exploring Operation: 24/12=2, Resulting Numbers: [122, 2]
Generated Node #3: [122, 2] from Operation: 24/12=2
Current State: 61:[122, 2], Operations: ['70+52=122', '24/12=2']
Exploring Operation: 122/2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[70, 12, 24, 52], Operations: []
Exploring Operation: 70-12=58, Resulting Numbers: [24, 52, 58]
Generated Node #0,0: 61:[24, 52, 58] Operation: 70-12=58
Exploring Operation: 12+24=36, Resulting Numbers: [70, 52, 36]
Generated Node #0,1: 61:[70, 52, 36] Operation: 12+24=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[70, 52, 36], Operations: ['12+24=36']
Exploring Operation: 70-36=34, Resulting Numbers: [52, 34]
Generated Node #0,1,0: 61:[52, 34] Operation: 70-36=34
Exploring Operation: 52+36=88, Resulting Numbers: [70, 88]
Generated Node #0,1,1: 61:[70, 88] Operation: 52+36=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[52, 34], Operations: ['12+24=36', '70-36=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[70, 88], Operations: ['12+24=36', '52+36=88']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[24, 52, 58], Operations: ['70-12=58']
Exploring Operation: 24+52=76, Resulting Numbers: [58, 76]
Generated Node #0,0,0: 61:[58, 76] Operation: 24+52=76
Exploring Operation: 24+58=82, Resulting Numbers: [52, 82]
Generated Node #0,0,1: 61:[52, 82] Operation: 24+58=82
Moving to Node #0,0,0
Current State: 61:[58, 76], Operations: ['70-12=58', '24+52=76']
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[52, 82], Operations: ['70-12=58', '24+58=82']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,61 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
|
[
23,
68,
44,
6
] | 58
|
[
"44-23=21",
"6*21=126",
"126-68=58"
] |
Current State: 58:[23, 68, 44, 6], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [68, 6, 21]
Generated Node #2: [68, 6, 21] from Operation: 44-23=21
Current State: 58:[68, 6, 21], Operations: ['44-23=21']
Exploring Operation: 6*21=126, Resulting Numbers: [68, 126]
Generated Node #3: [68, 126] from Operation: 6*21=126
Current State: 58:[68, 126], Operations: ['44-23=21', '6*21=126']
Exploring Operation: 126-68=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[23, 68, 44, 6], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [68, 6, 21]
Generated Node #0,0: 58:[68, 6, 21] Operation: 44-23=21
Exploring Operation: 68-44=24, Resulting Numbers: [23, 6, 24]
Generated Node #0,1: 58:[23, 6, 24] Operation: 68-44=24
Exploring Operation: 23+44=67, Resulting Numbers: [68, 6, 67]
Generated Node #0,2: 58:[68, 6, 67] Operation: 23+44=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[23, 6, 24], Operations: ['68-44=24']
Exploring Operation: 23+6=29, Resulting Numbers: [24, 29]
Generated Node #0,1,0: 58:[24, 29] Operation: 23+6=29
Exploring Operation: 6+24=30, Resulting Numbers: [23, 30]
Generated Node #0,1,1: 58:[23, 30] Operation: 6+24=30
Exploring Operation: 24-23=1, Resulting Numbers: [6, 1]
Generated Node #0,1,2: 58:[6, 1] Operation: 24-23=1
Moving to Node #0,1,0
Current State: 58:[24, 29], Operations: ['68-44=24', '23+6=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,58 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[6, 1], Operations: ['68-44=24', '24-23=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[23, 30], Operations: ['68-44=24', '6+24=30']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[68, 6, 21], Operations: ['44-23=21']
Exploring Operation: 68-6=62, Resulting Numbers: [21, 62]
Generated Node #0,0,0: 58:[21, 62] Operation: 68-6=62
Exploring Operation: 6+21=27, Resulting Numbers: [68, 27]
Generated Node #0,0,1: 58:[68, 27] Operation: 6+21=27
Exploring Operation: 68-21=47, Resulting Numbers: [6, 47]
Generated Node #0,0,2: 58:[6, 47] Operation: 68-21=47
Moving to Node #0,0,0
Current State: 58:[21, 62], Operations: ['44-23=21', '68-6=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,58 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[68, 27], Operations: ['44-23=21', '6+21=27']
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,58 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[6, 47], Operations: ['44-23=21', '68-21=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,58 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[68, 6, 67], Operations: ['23+44=67']
Exploring Operation: 68-6=62, Resulting Numbers: [67, 62]
Generated Node #0,2,0: 58:[67, 62] Operation: 68-6=62
Exploring Operation: 68-67=1, Resulting Numbers: [6, 1]
Generated Node #0,2,1: 58:[6, 1] Operation: 68-67=1
Exploring Operation: 67-6=61, Resulting Numbers: [68, 61]
Generated Node #0,2,2: 58:[68, 61] Operation: 67-6=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[6, 1], Operations: ['23+44=67', '68-67=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[67, 62], Operations: ['23+44=67', '68-6=62']
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,58 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,58 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[68, 61], Operations: ['23+44=67', '67-6=61']
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,58 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
9,
25,
13,
31
] | 67
|
[
"31-25=6",
"9*6=54",
"13+54=67"
] |
Current State: 67:[9, 25, 13, 31], Operations: []
Exploring Operation: 31-25=6, Resulting Numbers: [9, 13, 6]
Generated Node #2: [9, 13, 6] from Operation: 31-25=6
Current State: 67:[9, 13, 6], Operations: ['31-25=6']
Exploring Operation: 9*6=54, Resulting Numbers: [13, 54]
Generated Node #3: [13, 54] from Operation: 9*6=54
Current State: 67:[13, 54], Operations: ['31-25=6', '9*6=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[9, 25, 13, 31], Operations: []
Exploring Operation: 9+25=34, Resulting Numbers: [13, 31, 34]
Generated Node #0,0: 67:[13, 31, 34] Operation: 9+25=34
Moving to Node #0,0
Current State: 67:[13, 31, 34], Operations: ['9+25=34']
Exploring Operation: 13+31=44, Resulting Numbers: [34, 44]
Generated Node #0,0,0: 67:[34, 44] Operation: 13+31=44
Moving to Node #0,0,0
Current State: 67:[34, 44], Operations: ['9+25=34', '13+31=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
23,
50,
82,
79
] | 76
|
[
"23+50=73",
"82-79=3",
"73+3=76"
] |
Current State: 76:[23, 50, 82, 79], Operations: []
Exploring Operation: 23+50=73, Resulting Numbers: [82, 79, 73]
Generated Node #2: [82, 79, 73] from Operation: 23+50=73
Current State: 76:[82, 79, 73], Operations: ['23+50=73']
Exploring Operation: 82-79=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 82-79=3
Current State: 76:[73, 3], Operations: ['23+50=73', '82-79=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[23, 50, 82, 79], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [23, 79, 32]
Generated Node #0,0: 76:[23, 79, 32] Operation: 82-50=32
Exploring Operation: 50-23=27, Resulting Numbers: [82, 79, 27]
Generated Node #0,1: 76:[82, 79, 27] Operation: 50-23=27
Exploring Operation: 23+50=73, Resulting Numbers: [82, 79, 73]
Generated Node #0,2: 76:[82, 79, 73] Operation: 23+50=73
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[82, 79, 73], Operations: ['23+50=73']
Exploring Operation: 82-73=9, Resulting Numbers: [79, 9]
Generated Node #0,2,0: 76:[79, 9] Operation: 82-73=9
Exploring Operation: 82-79=3, Resulting Numbers: [73, 3]
Generated Node #0,2,1: 76:[73, 3] Operation: 82-79=3
Exploring Operation: 79-73=6, Resulting Numbers: [82, 6]
Generated Node #0,2,2: 76:[82, 6] Operation: 79-73=6
Moving to Node #0,2,1
Current State: 76:[73, 3], Operations: ['23+50=73', '82-79=3']
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,76 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[23, 50, 82, 79], Operations: []
Exploring Operation: 23+50=73, Resulting Numbers: [82, 79, 73]
Generated Node #0,2: 76:[82, 79, 73] Operation: 23+50=73
Moving to Node #0,2
Current State: 76:[82, 79, 73], Operations: ['23+50=73']
Exploring Operation: 82-79=3, Resulting Numbers: [73, 3]
Generated Node #0,2,1: 76:[73, 3] Operation: 82-79=3
Moving to Node #0,2,1
Current State: 76:[73, 3], Operations: ['23+50=73', '82-79=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
7,
2,
19,
59
] | 69
|
[
"7+2=9",
"19+59=78",
"78-9=69"
] |
Current State: 69:[7, 2, 19, 59], Operations: []
Exploring Operation: 7+2=9, Resulting Numbers: [19, 59, 9]
Generated Node #2: [19, 59, 9] from Operation: 7+2=9
Current State: 69:[19, 59, 9], Operations: ['7+2=9']
Exploring Operation: 19+59=78, Resulting Numbers: [9, 78]
Generated Node #3: [9, 78] from Operation: 19+59=78
Current State: 69:[9, 78], Operations: ['7+2=9', '19+59=78']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4
|
Current State: 69:[7, 2, 19, 59], Operations: []
Exploring Operation: 7+59=66, Resulting Numbers: [2, 19, 66]
Generated Node #0,0: 69:[2, 19, 66] Operation: 7+59=66
Exploring Operation: 7+19=26, Resulting Numbers: [2, 59, 26]
Generated Node #0,1: 69:[2, 59, 26] Operation: 7+19=26
Exploring Operation: 19+59=78, Resulting Numbers: [7, 2, 78]
Generated Node #0,2: 69:[7, 2, 78] Operation: 19+59=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 19, 66], Operations: ['7+59=66']
Exploring Operation: 19-2=17, Resulting Numbers: [66, 17]
Generated Node #0,0,0: 69:[66, 17] Operation: 19-2=17
Exploring Operation: 2+19=21, Resulting Numbers: [66, 21]
Generated Node #0,0,1: 69:[66, 21] Operation: 2+19=21
Exploring Operation: 2+66=68, Resulting Numbers: [19, 68]
Generated Node #0,0,2: 69:[19, 68] Operation: 2+66=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[66, 21], Operations: ['7+59=66', '2+19=21']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,69 unequal: No Solution
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[19, 68], Operations: ['7+59=66', '2+66=68']
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,69 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[66, 17], Operations: ['7+59=66', '19-2=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,69 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[2, 59, 26], Operations: ['7+19=26']
Exploring Operation: 26-2=24, Resulting Numbers: [59, 24]
Generated Node #0,1,0: 69:[59, 24] Operation: 26-2=24
Exploring Operation: 59-26=33, Resulting Numbers: [2, 33]
Generated Node #0,1,1: 69:[2, 33] Operation: 59-26=33
Exploring Operation: 2+59=61, Resulting Numbers: [26, 61]
Generated Node #0,1,2: 69:[26, 61] Operation: 2+59=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[59, 24], Operations: ['7+19=26', '26-2=24']
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,69 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[2, 33], Operations: ['7+19=26', '59-26=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[26, 61], Operations: ['7+19=26', '2+59=61']
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,69 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[7, 2, 78], Operations: ['19+59=78']
Exploring Operation: 7-2=5, Resulting Numbers: [78, 5]
Generated Node #0,2,0: 69:[78, 5] Operation: 7-2=5
Exploring Operation: 78-2=76, Resulting Numbers: [7, 76]
Generated Node #0,2,1: 69:[7, 76] Operation: 78-2=76
Exploring Operation: 78-7=71, Resulting Numbers: [2, 71]
Generated Node #0,2,2: 69:[2, 71] Operation: 78-7=71
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[2, 71], Operations: ['19+59=78', '78-7=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[7, 2, 19, 59], Operations: []
Exploring Operation: 19+59=78, Resulting Numbers: [7, 2, 78]
Generated Node #0,2: 69:[7, 2, 78] Operation: 19+59=78
Moving to Node #0,2
Current State: 69:[7, 2, 78], Operations: ['19+59=78']
Exploring Operation: 78-7=71, Resulting Numbers: [2, 71]
Generated Node #0,2,2: 69:[2, 71] Operation: 78-7=71
Moving to Node #0,2,2
Current State: 69:[2, 71], Operations: ['19+59=78', '78-7=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618
|
hs_3
|
sum_heuristic
|
[
44,
57,
6,
5
] | 71
|
[
"44+57=101",
"6*5=30",
"101-30=71"
] |
Current State: 71:[44, 57, 6, 5], Operations: []
Exploring Operation: 44+57=101, Resulting Numbers: [6, 5, 101]
Generated Node #2: [6, 5, 101] from Operation: 44+57=101
Current State: 71:[6, 5, 101], Operations: ['44+57=101']
Exploring Operation: 6*5=30, Resulting Numbers: [101, 30]
Generated Node #3: [101, 30] from Operation: 6*5=30
Current State: 71:[101, 30], Operations: ['44+57=101', '6*5=30']
Exploring Operation: 101-30=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[44, 57, 6, 5], Operations: []
Exploring Operation: 57+5=62, Resulting Numbers: [44, 6, 62]
Generated Node #0,0: 71:[44, 6, 62] Operation: 57+5=62
Exploring Operation: 44+6=50, Resulting Numbers: [57, 5, 50]
Generated Node #0,1: 71:[57, 5, 50] Operation: 44+6=50
Exploring Operation: 44+5=49, Resulting Numbers: [57, 6, 49]
Generated Node #0,2: 71:[57, 6, 49] Operation: 44+5=49
Exploring Operation: 57+6=63, Resulting Numbers: [44, 5, 63]
Generated Node #0,3: 71:[44, 5, 63] Operation: 57+6=63
Exploring Operation: 6*5=30, Resulting Numbers: [44, 57, 30]
Generated Node #0,4: 71:[44, 57, 30] Operation: 6*5=30
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[44, 57, 30], Operations: ['6*5=30']
Exploring Operation: 57-30=27, Resulting Numbers: [44, 27]
Generated Node #0,4,0: 71:[44, 27] Operation: 57-30=27
Exploring Operation: 44-30=14, Resulting Numbers: [57, 14]
Generated Node #0,4,1: 71:[57, 14] Operation: 44-30=14
Exploring Operation: 44+57=101, Resulting Numbers: [30, 101]
Generated Node #0,4,2: 71:[30, 101] Operation: 44+57=101
Exploring Operation: 57+30=87, Resulting Numbers: [44, 87]
Generated Node #0,4,3: 71:[44, 87] Operation: 57+30=87
Exploring Operation: 44+30=74, Resulting Numbers: [57, 74]
Generated Node #0,4,4: 71:[57, 74] Operation: 44+30=74
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 71:[57, 74], Operations: ['6*5=30', '44+30=74']
Exploring Operation: 57+74=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 57*74=4218, Resulting Numbers: [4218]
4218,71 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 71:[44, 87], Operations: ['6*5=30', '57+30=87']
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 71:[44, 27], Operations: ['6*5=30', '57-30=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[44, 57, 6, 5], Operations: []
Exploring Operation: 6*5=30, Resulting Numbers: [44, 57, 30]
Generated Node #0,4: 71:[44, 57, 30] Operation: 6*5=30
Moving to Node #0,4
Current State: 71:[44, 57, 30], Operations: ['6*5=30']
Exploring Operation: 57-30=27, Resulting Numbers: [44, 27]
Generated Node #0,4,0: 71:[44, 27] Operation: 57-30=27
Moving to Node #0,4,0
Current State: 71:[44, 27], Operations: ['6*5=30', '57-30=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903
|
hs_5
|
mult_heuristic
|
[
4,
68,
55,
68
] | 21
|
[
"68+68=136",
"136/4=34",
"55-34=21"
] |
Current State: 21:[4, 68, 55, 68], Operations: []
Exploring Operation: 68+68=136, Resulting Numbers: [4, 55, 136]
Generated Node #2: [4, 55, 136] from Operation: 68+68=136
Current State: 21:[4, 55, 136], Operations: ['68+68=136']
Exploring Operation: 136/4=34, Resulting Numbers: [55, 34]
Generated Node #3: [55, 34] from Operation: 136/4=34
Current State: 21:[55, 34], Operations: ['68+68=136', '136/4=34']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[4, 68, 55, 68], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [55, 68, 17]
Generated Node #0,0: 21:[55, 68, 17] Operation: 68/4=17
Exploring Operation: 68-55=13, Resulting Numbers: [4, 68, 13]
Generated Node #0,1: 21:[4, 68, 13] Operation: 68-55=13
Exploring Operation: 68-55=13, Resulting Numbers: [4, 68, 13]
Generated Node #0,2: 21:[4, 68, 13] Operation: 68-55=13
Exploring Operation: 68/68=1, Resulting Numbers: [4, 55, 1]
Generated Node #0,3: 21:[4, 55, 1] Operation: 68/68=1
Exploring Operation: 68-68=0, Resulting Numbers: [4, 55, 0]
Generated Node #0,4: 21:[4, 55, 0] Operation: 68-68=0
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[4, 55, 1], Operations: ['68/68=1']
Exploring Operation: 4*1=4, Resulting Numbers: [55, 4]
Generated Node #0,3,0: 21:[55, 4] Operation: 4*1=4
Exploring Operation: 55-1=54, Resulting Numbers: [4, 54]
Generated Node #0,3,1: 21:[4, 54] Operation: 55-1=54
Exploring Operation: 55-4=51, Resulting Numbers: [1, 51]
Generated Node #0,3,2: 21:[1, 51] Operation: 55-4=51
Exploring Operation: 4-1=3, Resulting Numbers: [55, 3]
Generated Node #0,3,3: 21:[55, 3] Operation: 4-1=3
Exploring Operation: 4/1=4, Resulting Numbers: [55, 4]
Generated Node #0,3,4: 21:[55, 4] Operation: 4/1=4
Moving to Node #0,3,2
Current State: 21:[1, 51], Operations: ['68/68=1', '55-4=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,21 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[55, 3], Operations: ['68/68=1', '4-1=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,21 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,21 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[4, 54], Operations: ['68/68=1', '55-1=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,21 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[55, 4], Operations: ['68/68=1', '4*1=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,3,4
Current State: 21:[55, 4], Operations: ['68/68=1', '4/1=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,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,4
Current State: 21:[4, 55, 0], Operations: ['68-68=0']
Exploring Operation: 55+0=55, Resulting Numbers: [4, 55]
Generated Node #0,4,0: 21:[4, 55] Operation: 55+0=55
Exploring Operation: 55*0=0, Resulting Numbers: [4, 0]
Generated Node #0,4,1: 21:[4, 0] Operation: 55*0=0
Exploring Operation: 4-0=4, Resulting Numbers: [55, 4]
Generated Node #0,4,2: 21:[55, 4] Operation: 4-0=4
Exploring Operation: 4+0=4, Resulting Numbers: [55, 4]
Generated Node #0,4,3: 21:[55, 4] Operation: 4+0=4
Exploring Operation: 55-4=51, Resulting Numbers: [0, 51]
Generated Node #0,4,4: 21:[0, 51] Operation: 55-4=51
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 21:[4, 0], Operations: ['68-68=0', '55*0=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 21:[0, 51], Operations: ['68-68=0', '55-4=51']
Exploring Operation: 0*51=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 0+51=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 51-0=51, Resulting Numbers: [51]
51,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 21:[4, 55], Operations: ['68-68=0', '55+0=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 21:[55, 4], Operations: ['68-68=0', '4-0=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 21:[55, 4], Operations: ['68-68=0', '4+0=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,21 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[4, 68, 13], Operations: ['68-55=13']
Exploring Operation: 13-4=9, Resulting Numbers: [68, 9]
Generated Node #0,1,0: 21:[68, 9] Operation: 13-4=9
Exploring Operation: 4+13=17, Resulting Numbers: [68, 17]
Generated Node #0,1,1: 21:[68, 17] Operation: 4+13=17
Exploring Operation: 68-13=55, Resulting Numbers: [4, 55]
Generated Node #0,1,2: 21:[4, 55] Operation: 68-13=55
Exploring Operation: 68/4=17, Resulting Numbers: [13, 17]
Generated Node #0,1,3: 21:[13, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [13, 64]
Generated Node #0,1,4: 21:[13, 64] Operation: 68-4=64
Moving to Node #0,1,3
Current State: 21:[13, 17], Operations: ['68-55=13', '68/4=17']
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,21 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[4, 55], Operations: ['68-55=13', '68-13=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,21 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[68, 9], Operations: ['68-55=13', '13-4=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,21 unequal: No Solution
Moving to Node #0,1,4
Current State: 21:[13, 64], Operations: ['68-55=13', '68-4=64']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 13*64=832, Resulting Numbers: [832]
832,21 unequal: No Solution
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[68, 17], Operations: ['68-55=13', '4+13=17']
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,21 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[4, 68, 13], Operations: ['68-55=13']
Exploring Operation: 68-4=64, Resulting Numbers: [13, 64]
Generated Node #0,2,0: 21:[13, 64] Operation: 68-4=64
Exploring Operation: 13-4=9, Resulting Numbers: [68, 9]
Generated Node #0,2,1: 21:[68, 9] Operation: 13-4=9
Exploring Operation: 68-13=55, Resulting Numbers: [4, 55]
Generated Node #0,2,2: 21:[4, 55] Operation: 68-13=55
Exploring Operation: 68/4=17, Resulting Numbers: [13, 17]
Generated Node #0,2,3: 21:[13, 17] Operation: 68/4=17
Exploring Operation: 4+13=17, Resulting Numbers: [68, 17]
Generated Node #0,2,4: 21:[68, 17] Operation: 4+13=17
Moving to Node #0,2,3
Current State: 21:[13, 17], Operations: ['68-55=13', '68/4=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[4, 55], Operations: ['68-55=13', '68-13=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[13, 64], Operations: ['68-55=13', '68-4=64']
Exploring Operation: 13*64=832, Resulting Numbers: [832]
832,21 unequal: No Solution
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[68, 9], Operations: ['68-55=13', '13-4=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[68, 17], Operations: ['68-55=13', '4+13=17']
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,21 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[55, 68, 17], Operations: ['68/4=17']
Exploring Operation: 68-17=51, Resulting Numbers: [55, 51]
Generated Node #0,0,0: 21:[55, 51] Operation: 68-17=51
Exploring Operation: 68-55=13, Resulting Numbers: [17, 13]
Generated Node #0,0,1: 21:[17, 13] Operation: 68-55=13
Exploring Operation: 68/17=4, Resulting Numbers: [55, 4]
Generated Node #0,0,2: 21:[55, 4] Operation: 68/17=4
Exploring Operation: 55-17=38, Resulting Numbers: [68, 38]
Generated Node #0,0,3: 21:[68, 38] Operation: 55-17=38
Exploring Operation: 55+17=72, Resulting Numbers: [68, 72]
Generated Node #0,0,4: 21:[68, 72] Operation: 55+17=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[17, 13], Operations: ['68/4=17', '68-55=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,21 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[55, 4], Operations: ['68/4=17', '68/17=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[55, 51], Operations: ['68/4=17', '68-17=51']
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,21 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[68, 38], Operations: ['68/4=17', '55-17=38']
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,21 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 21:[68, 72], Operations: ['68/4=17', '55+17=72']
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,21 unequal: No Solution
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
99,
58,
14,
33
] | 22
|
[
"99-58=41",
"33-14=19",
"41-19=22"
] |
Current State: 22:[99, 58, 14, 33], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [14, 33, 41]
Generated Node #2: [14, 33, 41] from Operation: 99-58=41
Current State: 22:[14, 33, 41], Operations: ['99-58=41']
Exploring Operation: 33-14=19, Resulting Numbers: [41, 19]
Generated Node #3: [41, 19] from Operation: 33-14=19
Current State: 22:[41, 19], Operations: ['99-58=41', '33-14=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[99, 58, 14, 33], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [14, 33, 41]
Generated Node #0,0: 22:[14, 33, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[14, 33, 41], Operations: ['99-58=41']
Exploring Operation: 41-33=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 22:[14, 8] Operation: 41-33=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[14, 8], Operations: ['99-58=41', '41-33=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[99, 58, 14, 33], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [14, 33, 41]
Generated Node #0,0: 22:[14, 33, 41] Operation: 99-58=41
Moving to Node #0,0
Current State: 22:[14, 33, 41], Operations: ['99-58=41']
Exploring Operation: 41-33=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 22:[14, 8] Operation: 41-33=8
Moving to Node #0,0,0
Current State: 22:[14, 8], Operations: ['99-58=41', '41-33=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
97,
10,
93,
83
] | 75
|
[
"97+83=180",
"180/10=18",
"93-18=75"
] |
Current State: 75:[97, 10, 93, 83], Operations: []
Exploring Operation: 97+83=180, Resulting Numbers: [10, 93, 180]
Generated Node #2: [10, 93, 180] from Operation: 97+83=180
Current State: 75:[10, 93, 180], Operations: ['97+83=180']
Exploring Operation: 180/10=18, Resulting Numbers: [93, 18]
Generated Node #3: [93, 18] from Operation: 180/10=18
Current State: 75:[93, 18], Operations: ['97+83=180', '180/10=18']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[97, 10, 93, 83], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [97, 83, 83]
Generated Node #0,0: 75:[97, 83, 83] Operation: 93-10=83
Exploring Operation: 97-93=4, Resulting Numbers: [10, 83, 4]
Generated Node #0,1: 75:[10, 83, 4] Operation: 97-93=4
Exploring Operation: 97-10=87, Resulting Numbers: [93, 83, 87]
Generated Node #0,2: 75:[93, 83, 87] Operation: 97-10=87
Exploring Operation: 93-83=10, Resulting Numbers: [97, 10, 10]
Generated Node #0,3: 75:[97, 10, 10] Operation: 93-83=10
Exploring Operation: 97-83=14, Resulting Numbers: [10, 93, 14]
Generated Node #0,4: 75:[10, 93, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[10, 83, 4], Operations: ['97-93=4']
Exploring Operation: 83-10=73, Resulting Numbers: [4, 73]
Generated Node #0,1,0: 75:[4, 73] Operation: 83-10=73
Exploring Operation: 83-4=79, Resulting Numbers: [10, 79]
Generated Node #0,1,1: 75:[10, 79] Operation: 83-4=79
Exploring Operation: 83+4=87, Resulting Numbers: [10, 87]
Generated Node #0,1,2: 75:[10, 87] Operation: 83+4=87
Exploring Operation: 10-4=6, Resulting Numbers: [83, 6]
Generated Node #0,1,3: 75:[83, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [83, 14]
Generated Node #0,1,4: 75:[83, 14] Operation: 10+4=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[4, 73], Operations: ['97-93=4', '83-10=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[10, 79], Operations: ['97-93=4', '83-4=79']
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[83, 6], Operations: ['97-93=4', '10-4=6']
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,75 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[83, 14], Operations: ['97-93=4', '10+4=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,75 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[10, 87], Operations: ['97-93=4', '83+4=87']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,75 unequal: No Solution
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[10, 93, 14], Operations: ['97-83=14']
Exploring Operation: 14-10=4, Resulting Numbers: [93, 4]
Generated Node #0,4,0: 75:[93, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [93, 24]
Generated Node #0,4,1: 75:[93, 24] Operation: 10+14=24
Exploring Operation: 10+93=103, Resulting Numbers: [14, 103]
Generated Node #0,4,2: 75:[14, 103] Operation: 10+93=103
Exploring Operation: 93-10=83, Resulting Numbers: [14, 83]
Generated Node #0,4,3: 75:[14, 83] Operation: 93-10=83
Exploring Operation: 93-14=79, Resulting Numbers: [10, 79]
Generated Node #0,4,4: 75:[10, 79] Operation: 93-14=79
Moving to Node #0,4,3
Current State: 75:[14, 83], Operations: ['97-83=14', '93-10=83']
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,75 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[10, 79], Operations: ['97-83=14', '93-14=79']
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,75 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[93, 4], Operations: ['97-83=14', '14-10=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[93, 24], Operations: ['97-83=14', '10+14=24']
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,75 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[14, 103], Operations: ['97-83=14', '10+93=103']
Exploring Operation: 103-14=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 14+103=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 14*103=1442, Resulting Numbers: [1442]
1442,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[97, 10, 10], Operations: ['93-83=10']
Exploring Operation: 97-10=87, Resulting Numbers: [10, 87]
Generated Node #0,3,0: 75:[10, 87] Operation: 97-10=87
Exploring Operation: 10/10=1, Resulting Numbers: [97, 1]
Generated Node #0,3,1: 75:[97, 1] Operation: 10/10=1
Exploring Operation: 10+10=20, Resulting Numbers: [97, 20]
Generated Node #0,3,2: 75:[97, 20] Operation: 10+10=20
Exploring Operation: 97-10=87, Resulting Numbers: [10, 87]
Generated Node #0,3,3: 75:[10, 87] Operation: 97-10=87
Exploring Operation: 10-10=0, Resulting Numbers: [97, 0]
Generated Node #0,3,4: 75:[97, 0] Operation: 10-10=0
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[10, 87], Operations: ['93-83=10', '97-10=87']
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,75 unequal: No Solution
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[10, 87], Operations: ['93-83=10', '97-10=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[97, 1], Operations: ['93-83=10', '10/10=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[97, 0], Operations: ['93-83=10', '10-10=0']
Exploring Operation: 97*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 97-0=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97+0=97, Resulting Numbers: [97]
97,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[97, 20], Operations: ['93-83=10', '10+10=20']
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 97+20=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 97*20=1940, Resulting Numbers: [1940]
1940,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[97, 83, 83], Operations: ['93-10=83']
Exploring Operation: 97-83=14, Resulting Numbers: [83, 14]
Generated Node #0,0,0: 75:[83, 14] Operation: 97-83=14
Exploring Operation: 83/83=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 75:[97, 1] Operation: 83/83=1
Exploring Operation: 83-83=0, Resulting Numbers: [97, 0]
Generated Node #0,0,2: 75:[97, 0] Operation: 83-83=0
Exploring Operation: 97+83=180, Resulting Numbers: [83, 180]
Generated Node #0,0,3: 75:[83, 180] Operation: 97+83=180
Exploring Operation: 97-83=14, Resulting Numbers: [83, 14]
Generated Node #0,0,4: 75:[83, 14] Operation: 97-83=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[83, 14], Operations: ['93-10=83', '97-83=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,75 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 75:[83, 14], Operations: ['93-10=83', '97-83=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,75 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[97, 1], Operations: ['93-10=83', '83/83=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[97, 0], Operations: ['93-10=83', '83-83=0']
Exploring Operation: 97+0=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 97-0=97, Resulting Numbers: [97]
97,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[83, 180], Operations: ['93-10=83', '97+83=180']
Exploring Operation: 180-83=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 83*180=14940, Resulting Numbers: [14940]
14940,75 unequal: No Solution
Exploring Operation: 83+180=263, Resulting Numbers: [263]
263,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[93, 83, 87], Operations: ['97-10=87']
Exploring Operation: 93+83=176, Resulting Numbers: [87, 176]
Generated Node #0,2,0: 75:[87, 176] Operation: 93+83=176
Exploring Operation: 93-87=6, Resulting Numbers: [83, 6]
Generated Node #0,2,1: 75:[83, 6] Operation: 93-87=6
Exploring Operation: 93-83=10, Resulting Numbers: [87, 10]
Generated Node #0,2,2: 75:[87, 10] Operation: 93-83=10
Exploring Operation: 87-83=4, Resulting Numbers: [93, 4]
Generated Node #0,2,3: 75:[93, 4] Operation: 87-83=4
Exploring Operation: 93+87=180, Resulting Numbers: [83, 180]
Generated Node #0,2,4: 75:[83, 180] Operation: 93+87=180
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[83, 6], Operations: ['97-10=87', '93-87=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[87, 10], Operations: ['97-10=87', '93-83=10']
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,75 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[93, 4], Operations: ['97-10=87', '87-83=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,75 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[87, 176], Operations: ['97-10=87', '93+83=176']
Exploring Operation: 176-87=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 87*176=15312, Resulting Numbers: [15312]
15312,75 unequal: No Solution
Exploring Operation: 87+176=263, Resulting Numbers: [263]
263,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 75:[83, 180], Operations: ['97-10=87', '93+87=180']
Exploring Operation: 180-83=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 83+180=263, Resulting Numbers: [263]
263,75 unequal: No Solution
Exploring Operation: 83*180=14940, Resulting Numbers: [14940]
14940,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
1,
53,
76,
71
] | 49
|
[
"1+53=54",
"76-71=5",
"54-5=49"
] |
Current State: 49:[1, 53, 76, 71], Operations: []
Exploring Operation: 1+53=54, Resulting Numbers: [76, 71, 54]
Generated Node #2: [76, 71, 54] from Operation: 1+53=54
Current State: 49:[76, 71, 54], Operations: ['1+53=54']
Exploring Operation: 76-71=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 76-71=5
Current State: 49:[54, 5], Operations: ['1+53=54', '76-71=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[1, 53, 76, 71], Operations: []
Exploring Operation: 53-1=52, Resulting Numbers: [76, 71, 52]
Generated Node #0,0: 49:[76, 71, 52] Operation: 53-1=52
Exploring Operation: 76-1=75, Resulting Numbers: [53, 71, 75]
Generated Node #0,1: 49:[53, 71, 75] Operation: 76-1=75
Exploring Operation: 76-71=5, Resulting Numbers: [1, 53, 5]
Generated Node #0,2: 49:[1, 53, 5] Operation: 76-71=5
Exploring Operation: 71-53=18, Resulting Numbers: [1, 76, 18]
Generated Node #0,3: 49:[1, 76, 18] Operation: 71-53=18
Exploring Operation: 76-53=23, Resulting Numbers: [1, 71, 23]
Generated Node #0,4: 49:[1, 71, 23] Operation: 76-53=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[1, 53, 5], Operations: ['76-71=5']
Exploring Operation: 53-1=52, Resulting Numbers: [5, 52]
Generated Node #0,2,0: 49:[5, 52] Operation: 53-1=52
Exploring Operation: 1*53=53, Resulting Numbers: [5, 53]
Generated Node #0,2,1: 49:[5, 53] Operation: 1*53=53
Exploring Operation: 53/1=53, Resulting Numbers: [5, 53]
Generated Node #0,2,2: 49:[5, 53] Operation: 53/1=53
Exploring Operation: 1+5=6, Resulting Numbers: [53, 6]
Generated Node #0,2,3: 49:[53, 6] Operation: 1+5=6
Exploring Operation: 1*5=5, Resulting Numbers: [53, 5]
Generated Node #0,2,4: 49:[53, 5] Operation: 1*5=5
Moving to Node #0,2,0
Current State: 49:[5, 52], Operations: ['76-71=5', '53-1=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[53, 6], Operations: ['76-71=5', '1+5=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[5, 53], Operations: ['76-71=5', '1*53=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,49 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[5, 53], Operations: ['76-71=5', '53/1=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[53, 5], Operations: ['76-71=5', '1*5=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,49 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[1, 76, 18], Operations: ['71-53=18']
Exploring Operation: 18-1=17, Resulting Numbers: [76, 17]
Generated Node #0,3,0: 49:[76, 17] Operation: 18-1=17
Exploring Operation: 76-18=58, Resulting Numbers: [1, 58]
Generated Node #0,3,1: 49:[1, 58] Operation: 76-18=58
Exploring Operation: 76/1=76, Resulting Numbers: [18, 76]
Generated Node #0,3,2: 49:[18, 76] Operation: 76/1=76
Exploring Operation: 1*76=76, Resulting Numbers: [18, 76]
Generated Node #0,3,3: 49:[18, 76] Operation: 1*76=76
Exploring Operation: 76-1=75, Resulting Numbers: [18, 75]
Generated Node #0,3,4: 49:[18, 75] Operation: 76-1=75
Moving to Node #0,3,1
Current State: 49:[1, 58], Operations: ['71-53=18', '76-18=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 1+58=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[18, 75], Operations: ['71-53=18', '76-1=75']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,49 unequal: No Solution
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[76, 17], Operations: ['71-53=18', '18-1=17']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 76*17=1292, Resulting Numbers: [1292]
1292,49 unequal: No Solution
Exploring Operation: 76+17=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[18, 76], Operations: ['71-53=18', '76/1=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[18, 76], Operations: ['71-53=18', '1*76=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,49 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[1, 71, 23], Operations: ['76-53=23']
Exploring Operation: 71-23=48, Resulting Numbers: [1, 48]
Generated Node #0,4,0: 49:[1, 48] Operation: 71-23=48
Exploring Operation: 23-1=22, Resulting Numbers: [71, 22]
Generated Node #0,4,1: 49:[71, 22] Operation: 23-1=22
Exploring Operation: 1*71=71, Resulting Numbers: [23, 71]
Generated Node #0,4,2: 49:[23, 71] Operation: 1*71=71
Exploring Operation: 71/1=71, Resulting Numbers: [23, 71]
Generated Node #0,4,3: 49:[23, 71] Operation: 71/1=71
Exploring Operation: 71-1=70, Resulting Numbers: [23, 70]
Generated Node #0,4,4: 49:[23, 70] Operation: 71-1=70
Moving to Node #0,4,0
Current State: 49:[1, 48], Operations: ['76-53=23', '71-23=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[1, 53, 76, 71], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [1, 71, 23]
Generated Node #0,4: 49:[1, 71, 23] Operation: 76-53=23
Moving to Node #0,4
Current State: 49:[1, 71, 23], Operations: ['76-53=23']
Exploring Operation: 71-23=48, Resulting Numbers: [1, 48]
Generated Node #0,4,0: 49:[1, 48] Operation: 71-23=48
Moving to Node #0,4,0
Current State: 49:[1, 48], Operations: ['76-53=23', '71-23=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653
|
hs_5
|
sum_heuristic
|
[
37,
57,
1,
81
] | 54
|
[
"37+1=38",
"81*38=3078",
"3078/57=54"
] |
Current State: 54:[37, 57, 1, 81], Operations: []
Exploring Operation: 37+1=38, Resulting Numbers: [57, 81, 38]
Generated Node #2: [57, 81, 38] from Operation: 37+1=38
Current State: 54:[57, 81, 38], Operations: ['37+1=38']
Exploring Operation: 81*38=3078, Resulting Numbers: [57, 3078]
Generated Node #3: [57, 3078] from Operation: 81*38=3078
Current State: 54:[57, 3078], Operations: ['37+1=38', '81*38=3078']
Exploring Operation: 3078/57=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[37, 57, 1, 81], Operations: []
Exploring Operation: 81-37=44, Resulting Numbers: [57, 1, 44]
Generated Node #0,0: 54:[57, 1, 44] Operation: 81-37=44
Exploring Operation: 81-57=24, Resulting Numbers: [37, 1, 24]
Generated Node #0,1: 54:[37, 1, 24] Operation: 81-57=24
Exploring Operation: 57-37=20, Resulting Numbers: [1, 81, 20]
Generated Node #0,2: 54:[1, 81, 20] Operation: 57-37=20
Moving to Node #0,0
Current State: 54:[57, 1, 44], Operations: ['81-37=44']
Exploring Operation: 1+44=45, Resulting Numbers: [57, 45]
Generated Node #0,0,0: 54:[57, 45] Operation: 1+44=45
Exploring Operation: 57-1=56, Resulting Numbers: [44, 56]
Generated Node #0,0,1: 54:[44, 56] Operation: 57-1=56
Exploring Operation: 57-44=13, Resulting Numbers: [1, 13]
Generated Node #0,0,2: 54:[1, 13] Operation: 57-44=13
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[1, 13], Operations: ['81-37=44', '57-44=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[57, 45], Operations: ['81-37=44', '1+44=45']
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,54 unequal: No Solution
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[44, 56], Operations: ['81-37=44', '57-1=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,54 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,54 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: 54:[37, 1, 24], Operations: ['81-57=24']
Exploring Operation: 37-1=36, Resulting Numbers: [24, 36]
Generated Node #0,1,0: 54:[24, 36] Operation: 37-1=36
Exploring Operation: 37-24=13, Resulting Numbers: [1, 13]
Generated Node #0,1,1: 54:[1, 13] Operation: 37-24=13
Exploring Operation: 37+24=61, Resulting Numbers: [1, 61]
Generated Node #0,1,2: 54:[1, 61] Operation: 37+24=61
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[1, 13], Operations: ['81-57=24', '37-24=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[1, 61], Operations: ['81-57=24', '37+24=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[24, 36], Operations: ['81-57=24', '37-1=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,54 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,54 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: 54:[1, 81, 20], Operations: ['57-37=20']
Exploring Operation: 81-1=80, Resulting Numbers: [20, 80]
Generated Node #0,2,0: 54:[20, 80] Operation: 81-1=80
Exploring Operation: 81-20=61, Resulting Numbers: [1, 61]
Generated Node #0,2,1: 54:[1, 61] Operation: 81-20=61
Exploring Operation: 20-1=19, Resulting Numbers: [81, 19]
Generated Node #0,2,2: 54:[81, 19] Operation: 20-1=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[1, 61], Operations: ['57-37=20', '81-20=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[20, 80], Operations: ['57-37=20', '81-1=80']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 20+80=100, Resulting Numbers: [100]
100,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[81, 19], Operations: ['57-37=20', '20-1=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,54 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
|
[
71,
95,
7,
99
] | 82
|
[
"95-71=24",
"7+99=106",
"106-24=82"
] |
Current State: 82:[71, 95, 7, 99], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [7, 99, 24]
Generated Node #2: [7, 99, 24] from Operation: 95-71=24
Current State: 82:[7, 99, 24], Operations: ['95-71=24']
Exploring Operation: 7+99=106, Resulting Numbers: [24, 106]
Generated Node #3: [24, 106] from Operation: 7+99=106
Current State: 82:[24, 106], Operations: ['95-71=24', '7+99=106']
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[71, 95, 7, 99], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [95, 7, 28]
Generated Node #0,0: 82:[95, 7, 28] Operation: 99-71=28
Exploring Operation: 71+7=78, Resulting Numbers: [95, 99, 78]
Generated Node #0,1: 82:[95, 99, 78] Operation: 71+7=78
Exploring Operation: 99-95=4, Resulting Numbers: [71, 7, 4]
Generated Node #0,2: 82:[71, 7, 4] Operation: 99-95=4
Moving to Node #0,2
Current State: 82:[71, 7, 4], Operations: ['99-95=4']
Exploring Operation: 71+7=78, Resulting Numbers: [4, 78]
Generated Node #0,2,0: 82:[4, 78] Operation: 71+7=78
Exploring Operation: 7-4=3, Resulting Numbers: [71, 3]
Generated Node #0,2,1: 82:[71, 3] Operation: 7-4=3
Exploring Operation: 71+4=75, Resulting Numbers: [7, 75]
Generated Node #0,2,2: 82:[7, 75] Operation: 71+4=75
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[4, 78], Operations: ['99-95=4', '71+7=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,82 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[71, 95, 7, 99], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [71, 7, 4]
Generated Node #0,2: 82:[71, 7, 4] Operation: 99-95=4
Moving to Node #0,2
Current State: 82:[71, 7, 4], Operations: ['99-95=4']
Exploring Operation: 71+7=78, Resulting Numbers: [4, 78]
Generated Node #0,2,0: 82:[4, 78] Operation: 71+7=78
Moving to Node #0,2,0
Current State: 82:[4, 78], Operations: ['99-95=4', '71+7=78']
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
33,
85,
99,
34
] | 14
|
[
"34-33=1",
"99-85=14",
"1*14=14"
] |
Current State: 14:[33, 85, 99, 34], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [85, 99, 1]
Generated Node #2: [85, 99, 1] from Operation: 34-33=1
Current State: 14:[85, 99, 1], Operations: ['34-33=1']
Exploring Operation: 99-85=14, Resulting Numbers: [1, 14]
Generated Node #3: [1, 14] from Operation: 99-85=14
Current State: 14:[1, 14], Operations: ['34-33=1', '99-85=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[33, 85, 99, 34], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [85, 34, 3]
Generated Node #0,0: 14:[85, 34, 3] Operation: 99/33=3
Exploring Operation: 85-34=51, Resulting Numbers: [33, 99, 51]
Generated Node #0,1: 14:[33, 99, 51] Operation: 85-34=51
Exploring Operation: 99-85=14, Resulting Numbers: [33, 34, 14]
Generated Node #0,2: 14:[33, 34, 14] Operation: 99-85=14
Exploring Operation: 99-34=65, Resulting Numbers: [33, 85, 65]
Generated Node #0,3: 14:[33, 85, 65] Operation: 99-34=65
Moving to Node #0,2
Current State: 14:[33, 34, 14], Operations: ['99-85=14']
Exploring Operation: 34-14=20, Resulting Numbers: [33, 20]
Generated Node #0,2,0: 14:[33, 20] Operation: 34-14=20
Exploring Operation: 34-33=1, Resulting Numbers: [14, 1]
Generated Node #0,2,1: 14:[14, 1] Operation: 34-33=1
Exploring Operation: 33+34=67, Resulting Numbers: [14, 67]
Generated Node #0,2,2: 14:[14, 67] Operation: 33+34=67
Exploring Operation: 33-14=19, Resulting Numbers: [34, 19]
Generated Node #0,2,3: 14:[34, 19] Operation: 33-14=19
Moving to Node #0,0
Current State: 14:[85, 34, 3], Operations: ['99/33=3']
Exploring Operation: 85-3=82, Resulting Numbers: [34, 82]
Generated Node #0,0,0: 14:[34, 82] Operation: 85-3=82
Exploring Operation: 85+3=88, Resulting Numbers: [34, 88]
Generated Node #0,0,1: 14:[34, 88] Operation: 85+3=88
Exploring Operation: 34-3=31, Resulting Numbers: [85, 31]
Generated Node #0,0,2: 14:[85, 31] Operation: 34-3=31
Exploring Operation: 85-34=51, Resulting Numbers: [3, 51]
Generated Node #0,0,3: 14:[3, 51] Operation: 85-34=51
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[3, 51], Operations: ['99/33=3', '85-34=51']
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,14 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[34, 82], Operations: ['99/33=3', '85-3=82']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,14 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[85, 31], Operations: ['99/33=3', '34-3=31']
Exploring Operation: 85*31=2635, Resulting Numbers: [2635]
2635,14 unequal: No Solution
Exploring Operation: 85+31=116, Resulting Numbers: [116]
116,14 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[34, 88], Operations: ['99/33=3', '85+3=88']
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,14 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,14 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: 14:[33, 85, 65], Operations: ['99-34=65']
Exploring Operation: 85-65=20, Resulting Numbers: [33, 20]
Generated Node #0,3,0: 14:[33, 20] Operation: 85-65=20
Exploring Operation: 33+85=118, Resulting Numbers: [65, 118]
Generated Node #0,3,1: 14:[65, 118] Operation: 33+85=118
Exploring Operation: 85-33=52, Resulting Numbers: [65, 52]
Generated Node #0,3,2: 14:[65, 52] Operation: 85-33=52
Exploring Operation: 65-33=32, Resulting Numbers: [85, 32]
Generated Node #0,3,3: 14:[85, 32] Operation: 65-33=32
Moving to Node #0,1
Current State: 14:[33, 99, 51], Operations: ['85-34=51']
Exploring Operation: 99-51=48, Resulting Numbers: [33, 48]
Generated Node #0,1,0: 14:[33, 48] Operation: 99-51=48
Exploring Operation: 99/33=3, Resulting Numbers: [51, 3]
Generated Node #0,1,1: 14:[51, 3] Operation: 99/33=3
Exploring Operation: 51-33=18, Resulting Numbers: [99, 18]
Generated Node #0,1,2: 14:[99, 18] Operation: 51-33=18
Exploring Operation: 99-33=66, Resulting Numbers: [51, 66]
Generated Node #0,1,3: 14:[51, 66] Operation: 99-33=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[51, 3], Operations: ['85-34=51', '99/33=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,14 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[33, 48], Operations: ['85-34=51', '99-51=48']
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,14 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[99, 18], Operations: ['85-34=51', '51-33=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,14 unequal: No Solution
Exploring Operation: 99*18=1782, Resulting Numbers: [1782]
1782,14 unequal: No Solution
Exploring Operation: 99+18=117, Resulting Numbers: [117]
117,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[51, 66], Operations: ['85-34=51', '99-33=66']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 51+66=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Exploring Operation: 51*66=3366, Resulting Numbers: [3366]
3366,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 14:[14, 1], Operations: ['99-85=14', '34-33=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[33, 85, 99, 34], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [33, 34, 14]
Generated Node #0,2: 14:[33, 34, 14] Operation: 99-85=14
Moving to Node #0,2
Current State: 14:[33, 34, 14], Operations: ['99-85=14']
Exploring Operation: 34-33=1, Resulting Numbers: [14, 1]
Generated Node #0,2,1: 14:[14, 1] Operation: 34-33=1
Moving to Node #0,2,1
Current State: 14:[14, 1], Operations: ['99-85=14', '34-33=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.954861
|
hs_4
|
sum_heuristic
|
[
83,
92,
65,
35
] | 21
|
[
"92-83=9",
"65-35=30",
"30-9=21"
] |
Current State: 21:[83, 92, 65, 35], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [65, 35, 9]
Generated Node #2: [65, 35, 9] from Operation: 92-83=9
Current State: 21:[65, 35, 9], Operations: ['92-83=9']
Exploring Operation: 65-35=30, Resulting Numbers: [9, 30]
Generated Node #3: [9, 30] from Operation: 65-35=30
Current State: 21:[9, 30], Operations: ['92-83=9', '65-35=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[83, 92, 65, 35], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [65, 35, 9]
Generated Node #0,0: 21:[65, 35, 9] Operation: 92-83=9
Exploring Operation: 83-65=18, Resulting Numbers: [92, 35, 18]
Generated Node #0,1: 21:[92, 35, 18] Operation: 83-65=18
Exploring Operation: 92-65=27, Resulting Numbers: [83, 35, 27]
Generated Node #0,2: 21:[83, 35, 27] Operation: 92-65=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[65, 35, 9], Operations: ['92-83=9']
Exploring Operation: 35-9=26, Resulting Numbers: [65, 26]
Generated Node #0,0,0: 21:[65, 26] Operation: 35-9=26
Exploring Operation: 65-9=56, Resulting Numbers: [35, 56]
Generated Node #0,0,1: 21:[35, 56] Operation: 65-9=56
Exploring Operation: 65-35=30, Resulting Numbers: [9, 30]
Generated Node #0,0,2: 21:[9, 30] Operation: 65-35=30
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[9, 30], Operations: ['92-83=9', '65-35=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,21 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[83, 92, 65, 35], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [65, 35, 9]
Generated Node #0,0: 21:[65, 35, 9] Operation: 92-83=9
Moving to Node #0,0
Current State: 21:[65, 35, 9], Operations: ['92-83=9']
Exploring Operation: 65-35=30, Resulting Numbers: [9, 30]
Generated Node #0,0,2: 21:[9, 30] Operation: 65-35=30
Moving to Node #0,0,2
Current State: 21:[9, 30], Operations: ['92-83=9', '65-35=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
44,
61,
5,
26
] | 39
|
[
"61+5=66",
"26*66=1716",
"1716/44=39"
] |
Current State: 39:[44, 61, 5, 26], Operations: []
Exploring Operation: 61+5=66, Resulting Numbers: [44, 26, 66]
Generated Node #2: [44, 26, 66] from Operation: 61+5=66
Current State: 39:[44, 26, 66], Operations: ['61+5=66']
Exploring Operation: 26*66=1716, Resulting Numbers: [44, 1716]
Generated Node #3: [44, 1716] from Operation: 26*66=1716
Current State: 39:[44, 1716], Operations: ['61+5=66', '26*66=1716']
Exploring Operation: 1716/44=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[44, 61, 5, 26], Operations: []
Exploring Operation: 44-5=39, Resulting Numbers: [61, 26, 39]
Generated Node #0,0: 39:[61, 26, 39] Operation: 44-5=39
Exploring Operation: 61-5=56, Resulting Numbers: [44, 26, 56]
Generated Node #0,1: 39:[44, 26, 56] Operation: 61-5=56
Exploring Operation: 61-44=17, Resulting Numbers: [5, 26, 17]
Generated Node #0,2: 39:[5, 26, 17] Operation: 61-44=17
Exploring Operation: 44-26=18, Resulting Numbers: [61, 5, 18]
Generated Node #0,3: 39:[61, 5, 18] Operation: 44-26=18
Exploring Operation: 61-26=35, Resulting Numbers: [44, 5, 35]
Generated Node #0,4: 39:[44, 5, 35] Operation: 61-26=35
Moving to Node #0,4
Current State: 39:[44, 5, 35], Operations: ['61-26=35']
Exploring Operation: 44+5=49, Resulting Numbers: [35, 49]
Generated Node #0,4,0: 39:[35, 49] Operation: 44+5=49
Exploring Operation: 5+35=40, Resulting Numbers: [44, 40]
Generated Node #0,4,1: 39:[44, 40] Operation: 5+35=40
Exploring Operation: 44-35=9, Resulting Numbers: [5, 9]
Generated Node #0,4,2: 39:[5, 9] Operation: 44-35=9
Exploring Operation: 35/5=7, Resulting Numbers: [44, 7]
Generated Node #0,4,3: 39:[44, 7] Operation: 35/5=7
Exploring Operation: 44-5=39, Resulting Numbers: [35, 39]
Generated Node #0,4,4: 39:[35, 39] Operation: 44-5=39
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 39:[35, 39], Operations: ['61-26=35', '44-5=39']
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,39 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 39:[44, 40], Operations: ['61-26=35', '5+35=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 39:[5, 9], Operations: ['61-26=35', '44-35=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 39:[44, 7], Operations: ['61-26=35', '35/5=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,39 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[35, 49], Operations: ['61-26=35', '44+5=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 39:[5, 26, 17], Operations: ['61-44=17']
Exploring Operation: 5+26=31, Resulting Numbers: [17, 31]
Generated Node #0,2,0: 39:[17, 31] Operation: 5+26=31
Exploring Operation: 26+17=43, Resulting Numbers: [5, 43]
Generated Node #0,2,1: 39:[5, 43] Operation: 26+17=43
Exploring Operation: 26-17=9, Resulting Numbers: [5, 9]
Generated Node #0,2,2: 39:[5, 9] Operation: 26-17=9
Exploring Operation: 17-5=12, Resulting Numbers: [26, 12]
Generated Node #0,2,3: 39:[26, 12] Operation: 17-5=12
Exploring Operation: 26-5=21, Resulting Numbers: [17, 21]
Generated Node #0,2,4: 39:[17, 21] Operation: 26-5=21
Moving to Node #0,3
Current State: 39:[61, 5, 18], Operations: ['44-26=18']
Exploring Operation: 18-5=13, Resulting Numbers: [61, 13]
Generated Node #0,3,0: 39:[61, 13] Operation: 18-5=13
Exploring Operation: 5+18=23, Resulting Numbers: [61, 23]
Generated Node #0,3,1: 39:[61, 23] Operation: 5+18=23
Exploring Operation: 61-18=43, Resulting Numbers: [5, 43]
Generated Node #0,3,2: 39:[5, 43] Operation: 61-18=43
Exploring Operation: 61+5=66, Resulting Numbers: [18, 66]
Generated Node #0,3,3: 39:[18, 66] Operation: 61+5=66
Exploring Operation: 61-5=56, Resulting Numbers: [18, 56]
Generated Node #0,3,4: 39:[18, 56] Operation: 61-5=56
Moving to Node #0,0
Current State: 39:[61, 26, 39], Operations: ['44-5=39']
Exploring Operation: 61-39=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 39:[26, 22] Operation: 61-39=22
Exploring Operation: 39-26=13, Resulting Numbers: [61, 13]
Generated Node #0,0,1: 39:[61, 13] Operation: 39-26=13
Exploring Operation: 61+26=87, Resulting Numbers: [39, 87]
Generated Node #0,0,2: 39:[39, 87] Operation: 61+26=87
Exploring Operation: 26+39=65, Resulting Numbers: [61, 65]
Generated Node #0,0,3: 39:[61, 65] Operation: 26+39=65
Exploring Operation: 61-26=35, Resulting Numbers: [39, 35]
Generated Node #0,0,4: 39:[39, 35] Operation: 61-26=35
Moving to Node #0,1
Current State: 39:[44, 26, 56], Operations: ['61-5=56']
Exploring Operation: 44-26=18, Resulting Numbers: [56, 18]
Generated Node #0,1,0: 39:[56, 18] Operation: 44-26=18
Exploring Operation: 56-44=12, Resulting Numbers: [26, 12]
Generated Node #0,1,1: 39:[26, 12] Operation: 56-44=12
Exploring Operation: 56-26=30, Resulting Numbers: [44, 30]
Generated Node #0,1,2: 39:[44, 30] Operation: 56-26=30
Exploring Operation: 26+56=82, Resulting Numbers: [44, 82]
Generated Node #0,1,3: 39:[44, 82] Operation: 26+56=82
Exploring Operation: 44+26=70, Resulting Numbers: [56, 70]
Generated Node #0,1,4: 39:[56, 70] Operation: 44+26=70
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[26, 12], Operations: ['61-5=56', '56-44=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[44, 30], Operations: ['61-5=56', '56-26=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,39 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[56, 18], Operations: ['61-5=56', '44-26=18']
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,39 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[44, 82], Operations: ['61-5=56', '26+56=82']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,39 unequal: No Solution
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[56, 70], Operations: ['61-5=56', '44+26=70']
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 39:[39, 35], Operations: ['44-5=39', '61-26=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[5, 43], Operations: ['44-26=18', '61-18=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[5, 43], Operations: ['61-44=17', '26+17=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[5, 9], Operations: ['61-44=17', '26-17=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[17, 31], Operations: ['61-44=17', '5+26=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[17, 21], Operations: ['61-44=17', '26-5=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,39 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[26, 12], Operations: ['61-44=17', '17-5=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[61, 13], Operations: ['44-26=18', '18-5=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[26, 22], Operations: ['44-5=39', '61-39=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,39 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[61, 13], Operations: ['44-5=39', '39-26=13']
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[18, 56], Operations: ['44-26=18', '61-5=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,39 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[18, 66], Operations: ['44-26=18', '61+5=66']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,39 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[61, 23], Operations: ['44-26=18', '5+18=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[39, 87], Operations: ['44-5=39', '61+26=87']
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,39 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[61, 65], Operations: ['44-5=39', '26+39=65']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,39 unequal: No Solution
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,39 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
48,
55,
66,
36
] | 95
|
[
"55-48=7",
"66+36=102",
"102-7=95"
] |
Current State: 95:[48, 55, 66, 36], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [66, 36, 7]
Generated Node #2: [66, 36, 7] from Operation: 55-48=7
Current State: 95:[66, 36, 7], Operations: ['55-48=7']
Exploring Operation: 66+36=102, Resulting Numbers: [7, 102]
Generated Node #3: [7, 102] from Operation: 66+36=102
Current State: 95:[7, 102], Operations: ['55-48=7', '66+36=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[48, 55, 66, 36], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [48, 36, 11]
Generated Node #0,0: 95:[48, 36, 11] Operation: 66-55=11
Exploring Operation: 48+55=103, Resulting Numbers: [66, 36, 103]
Generated Node #0,1: 95:[66, 36, 103] Operation: 48+55=103
Exploring Operation: 55-48=7, Resulting Numbers: [66, 36, 7]
Generated Node #0,2: 95:[66, 36, 7] Operation: 55-48=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[66, 36, 7], Operations: ['55-48=7']
Exploring Operation: 66-36=30, Resulting Numbers: [7, 30]
Generated Node #0,2,0: 95:[7, 30] Operation: 66-36=30
Exploring Operation: 66+36=102, Resulting Numbers: [7, 102]
Generated Node #0,2,1: 95:[7, 102] Operation: 66+36=102
Exploring Operation: 66+7=73, Resulting Numbers: [36, 73]
Generated Node #0,2,2: 95:[36, 73] Operation: 66+7=73
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[7, 102], Operations: ['55-48=7', '66+36=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[48, 55, 66, 36], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [66, 36, 7]
Generated Node #0,2: 95:[66, 36, 7] Operation: 55-48=7
Moving to Node #0,2
Current State: 95:[66, 36, 7], Operations: ['55-48=7']
Exploring Operation: 66+36=102, Resulting Numbers: [7, 102]
Generated Node #0,2,1: 95:[7, 102] Operation: 66+36=102
Moving to Node #0,2,1
Current State: 95:[7, 102], Operations: ['55-48=7', '66+36=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
mult_heuristic
|
[
63,
80,
29,
16
] | 97
|
[
"63+29=92",
"80/16=5",
"92+5=97"
] |
Current State: 97:[63, 80, 29, 16], Operations: []
Exploring Operation: 63+29=92, Resulting Numbers: [80, 16, 92]
Generated Node #2: [80, 16, 92] from Operation: 63+29=92
Current State: 97:[80, 16, 92], Operations: ['63+29=92']
Exploring Operation: 80/16=5, Resulting Numbers: [92, 5]
Generated Node #3: [92, 5] from Operation: 80/16=5
Current State: 97:[92, 5], Operations: ['63+29=92', '80/16=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[63, 80, 29, 16], Operations: []
Exploring Operation: 80+16=96, Resulting Numbers: [63, 29, 96]
Generated Node #0,0: 97:[63, 29, 96] Operation: 80+16=96
Exploring Operation: 80+29=109, Resulting Numbers: [63, 16, 109]
Generated Node #0,1: 97:[63, 16, 109] Operation: 80+29=109
Exploring Operation: 63+16=79, Resulting Numbers: [80, 29, 79]
Generated Node #0,2: 97:[80, 29, 79] Operation: 63+16=79
Exploring Operation: 29+16=45, Resulting Numbers: [63, 80, 45]
Generated Node #0,3: 97:[63, 80, 45] Operation: 29+16=45
Exploring Operation: 63+29=92, Resulting Numbers: [80, 16, 92]
Generated Node #0,4: 97:[80, 16, 92] Operation: 63+29=92
Moving to Node #0,0
Current State: 97:[63, 29, 96], Operations: ['80+16=96']
Exploring Operation: 96-29=67, Resulting Numbers: [63, 67]
Generated Node #0,0,0: 97:[63, 67] Operation: 96-29=67
Exploring Operation: 29+96=125, Resulting Numbers: [63, 125]
Generated Node #0,0,1: 97:[63, 125] Operation: 29+96=125
Exploring Operation: 63-29=34, Resulting Numbers: [96, 34]
Generated Node #0,0,2: 97:[96, 34] Operation: 63-29=34
Exploring Operation: 63+29=92, Resulting Numbers: [96, 92]
Generated Node #0,0,3: 97:[96, 92] Operation: 63+29=92
Exploring Operation: 63+96=159, Resulting Numbers: [29, 159]
Generated Node #0,0,4: 97:[29, 159] Operation: 63+96=159
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[96, 92], Operations: ['80+16=96', '63+29=92']
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 96*92=8832, Resulting Numbers: [8832]
8832,97 unequal: No Solution
Exploring Operation: 96+92=188, Resulting Numbers: [188]
188,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[63, 125], Operations: ['80+16=96', '29+96=125']
Exploring Operation: 125-63=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 63+125=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 63*125=7875, Resulting Numbers: [7875]
7875,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[63, 67], Operations: ['80+16=96', '96-29=67']
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,97 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[96, 34], Operations: ['80+16=96', '63-29=34']
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,97 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[29, 159], Operations: ['80+16=96', '63+96=159']
Exploring Operation: 29*159=4611, Resulting Numbers: [4611]
4611,97 unequal: No Solution
Exploring Operation: 29+159=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 159-29=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[63, 80, 45], Operations: ['29+16=45']
Exploring Operation: 63+80=143, Resulting Numbers: [45, 143]
Generated Node #0,3,0: 97:[45, 143] Operation: 63+80=143
Exploring Operation: 80-45=35, Resulting Numbers: [63, 35]
Generated Node #0,3,1: 97:[63, 35] Operation: 80-45=35
Exploring Operation: 63-45=18, Resulting Numbers: [80, 18]
Generated Node #0,3,2: 97:[80, 18] Operation: 63-45=18
Exploring Operation: 63+45=108, Resulting Numbers: [80, 108]
Generated Node #0,3,3: 97:[80, 108] Operation: 63+45=108
Exploring Operation: 80+45=125, Resulting Numbers: [63, 125]
Generated Node #0,3,4: 97:[63, 125] Operation: 80+45=125
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[80, 108], Operations: ['29+16=45', '63+45=108']
Exploring Operation: 80*108=8640, Resulting Numbers: [8640]
8640,97 unequal: No Solution
Exploring Operation: 108-80=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 80+108=188, Resulting Numbers: [188]
188,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 97:[63, 125], Operations: ['29+16=45', '80+45=125']
Exploring Operation: 125-63=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 63*125=7875, Resulting Numbers: [7875]
7875,97 unequal: No Solution
Exploring Operation: 63+125=188, Resulting Numbers: [188]
188,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[63, 35], Operations: ['29+16=45', '80-45=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[80, 18], Operations: ['29+16=45', '63-45=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,97 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[45, 143], Operations: ['29+16=45', '63+80=143']
Exploring Operation: 45+143=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 143-45=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 45*143=6435, Resulting Numbers: [6435]
6435,97 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: 97:[80, 29, 79], Operations: ['63+16=79']
Exploring Operation: 79-29=50, Resulting Numbers: [80, 50]
Generated Node #0,2,0: 97:[80, 50] Operation: 79-29=50
Exploring Operation: 80+29=109, Resulting Numbers: [79, 109]
Generated Node #0,2,1: 97:[79, 109] Operation: 80+29=109
Exploring Operation: 80-29=51, Resulting Numbers: [79, 51]
Generated Node #0,2,2: 97:[79, 51] Operation: 80-29=51
Exploring Operation: 80+79=159, Resulting Numbers: [29, 159]
Generated Node #0,2,3: 97:[29, 159] Operation: 80+79=159
Exploring Operation: 29+79=108, Resulting Numbers: [80, 108]
Generated Node #0,2,4: 97:[80, 108] Operation: 29+79=108
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[80, 108], Operations: ['63+16=79', '29+79=108']
Exploring Operation: 80+108=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 108-80=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 80*108=8640, Resulting Numbers: [8640]
8640,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[79, 109], Operations: ['63+16=79', '80+29=109']
Exploring Operation: 79*109=8611, Resulting Numbers: [8611]
8611,97 unequal: No Solution
Exploring Operation: 79+109=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 109-79=30, Resulting Numbers: [30]
30,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[80, 50], Operations: ['63+16=79', '79-29=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,97 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[79, 51], Operations: ['63+16=79', '80-29=51']
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 79*51=4029, Resulting Numbers: [4029]
4029,97 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[29, 159], Operations: ['63+16=79', '80+79=159']
Exploring Operation: 29*159=4611, Resulting Numbers: [4611]
4611,97 unequal: No Solution
Exploring Operation: 29+159=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 159-29=130, Resulting Numbers: [130]
130,97 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: 97:[80, 16, 92], Operations: ['63+29=92']
Exploring Operation: 92-16=76, Resulting Numbers: [80, 76]
Generated Node #0,4,0: 97:[80, 76] Operation: 92-16=76
Exploring Operation: 16+92=108, Resulting Numbers: [80, 108]
Generated Node #0,4,1: 97:[80, 108] Operation: 16+92=108
Exploring Operation: 80+16=96, Resulting Numbers: [92, 96]
Generated Node #0,4,2: 97:[92, 96] Operation: 80+16=96
Exploring Operation: 80-16=64, Resulting Numbers: [92, 64]
Generated Node #0,4,3: 97:[92, 64] Operation: 80-16=64
Exploring Operation: 80/16=5, Resulting Numbers: [92, 5]
Generated Node #0,4,4: 97:[92, 5] Operation: 80/16=5
Moving to Node #0,1
Current State: 97:[63, 16, 109], Operations: ['80+29=109']
Exploring Operation: 63+16=79, Resulting Numbers: [109, 79]
Generated Node #0,1,0: 97:[109, 79] Operation: 63+16=79
Exploring Operation: 16+109=125, Resulting Numbers: [63, 125]
Generated Node #0,1,1: 97:[63, 125] Operation: 16+109=125
Exploring Operation: 109-63=46, Resulting Numbers: [16, 46]
Generated Node #0,1,2: 97:[16, 46] Operation: 109-63=46
Exploring Operation: 109-16=93, Resulting Numbers: [63, 93]
Generated Node #0,1,3: 97:[63, 93] Operation: 109-16=93
Exploring Operation: 63-16=47, Resulting Numbers: [109, 47]
Generated Node #0,1,4: 97:[109, 47] Operation: 63-16=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[109, 79], Operations: ['80+29=109', '63+16=79']
Exploring Operation: 109+79=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 109*79=8611, Resulting Numbers: [8611]
8611,97 unequal: No Solution
Exploring Operation: 109-79=30, Resulting Numbers: [30]
30,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[63, 93], Operations: ['80+29=109', '109-16=93']
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,97 unequal: No Solution
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[63, 125], Operations: ['80+29=109', '16+109=125']
Exploring Operation: 125-63=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 63+125=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 63*125=7875, Resulting Numbers: [7875]
7875,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[109, 47], Operations: ['80+29=109', '63-16=47']
Exploring Operation: 109-47=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 109+47=156, Resulting Numbers: [156]
156,97 unequal: No Solution
Exploring Operation: 109*47=5123, Resulting Numbers: [5123]
5123,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[16, 46], Operations: ['80+29=109', '109-63=46']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 97:[92, 96], Operations: ['63+29=92', '80+16=96']
Exploring Operation: 92+96=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 92*96=8832, Resulting Numbers: [8832]
8832,97 unequal: No Solution
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[80, 108], Operations: ['63+29=92', '16+92=108']
Exploring Operation: 108-80=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 80*108=8640, Resulting Numbers: [8640]
8640,97 unequal: No Solution
Exploring Operation: 80+108=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[80, 76], Operations: ['63+29=92', '92-16=76']
Exploring Operation: 80+76=156, Resulting Numbers: [156]
156,97 unequal: No Solution
Exploring Operation: 80*76=6080, Resulting Numbers: [6080]
6080,97 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[92, 64], Operations: ['63+29=92', '80-16=64']
Exploring Operation: 92*64=5888, Resulting Numbers: [5888]
5888,97 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[92, 5], Operations: ['63+29=92', '80/16=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[63, 80, 29, 16], Operations: []
Exploring Operation: 63+29=92, Resulting Numbers: [80, 16, 92]
Generated Node #0,4: 97:[80, 16, 92] Operation: 63+29=92
Moving to Node #0,4
Current State: 97:[80, 16, 92], Operations: ['63+29=92']
Exploring Operation: 80/16=5, Resulting Numbers: [92, 5]
Generated Node #0,4,4: 97:[92, 5] Operation: 80/16=5
Moving to Node #0,4,4
Current State: 97:[92, 5], Operations: ['63+29=92', '80/16=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.90625
|
hs_5
|
sum_heuristic
|
[
2,
28,
59,
5
] | 83
|
[
"59-2=57",
"28*5=140",
"140-57=83"
] |
Current State: 83:[2, 28, 59, 5], Operations: []
Exploring Operation: 59-2=57, Resulting Numbers: [28, 5, 57]
Generated Node #2: [28, 5, 57] from Operation: 59-2=57
Current State: 83:[28, 5, 57], Operations: ['59-2=57']
Exploring Operation: 28*5=140, Resulting Numbers: [57, 140]
Generated Node #3: [57, 140] from Operation: 28*5=140
Current State: 83:[57, 140], Operations: ['59-2=57', '28*5=140']
Exploring Operation: 140-57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[2, 28, 59, 5], Operations: []
Exploring Operation: 2*5=10, Resulting Numbers: [28, 59, 10]
Generated Node #0,0: 83:[28, 59, 10] Operation: 2*5=10
Exploring Operation: 2+59=61, Resulting Numbers: [28, 5, 61]
Generated Node #0,1: 83:[28, 5, 61] Operation: 2+59=61
Exploring Operation: 2+5=7, Resulting Numbers: [28, 59, 7]
Generated Node #0,2: 83:[28, 59, 7] Operation: 2+5=7
Exploring Operation: 2*28=56, Resulting Numbers: [59, 5, 56]
Generated Node #0,3: 83:[59, 5, 56] Operation: 2*28=56
Exploring Operation: 2+28=30, Resulting Numbers: [59, 5, 30]
Generated Node #0,4: 83:[59, 5, 30] Operation: 2+28=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[59, 5, 56], Operations: ['2*28=56']
Exploring Operation: 59-5=54, Resulting Numbers: [56, 54]
Generated Node #0,3,0: 83:[56, 54] Operation: 59-5=54
Exploring Operation: 5+56=61, Resulting Numbers: [59, 61]
Generated Node #0,3,1: 83:[59, 61] Operation: 5+56=61
Exploring Operation: 56-5=51, Resulting Numbers: [59, 51]
Generated Node #0,3,2: 83:[59, 51] Operation: 56-5=51
Exploring Operation: 59+5=64, Resulting Numbers: [56, 64]
Generated Node #0,3,3: 83:[56, 64] Operation: 59+5=64
Exploring Operation: 59+56=115, Resulting Numbers: [5, 115]
Generated Node #0,3,4: 83:[5, 115] Operation: 59+56=115
Moving to Node #0,3,1
Current State: 83:[59, 61], Operations: ['2*28=56', '5+56=61']
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,83 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[56, 64], Operations: ['2*28=56', '59+5=64']
Exploring Operation: 56*64=3584, Resulting Numbers: [3584]
3584,83 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 56+64=120, Resulting Numbers: [120]
120,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[56, 54], Operations: ['2*28=56', '59-5=54']
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,83 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[59, 51], Operations: ['2*28=56', '56-5=51']
Exploring Operation: 59*51=3009, Resulting Numbers: [3009]
3009,83 unequal: No Solution
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 59+51=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[5, 115], Operations: ['2*28=56', '59+56=115']
Exploring Operation: 115/5=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 5*115=575, Resulting Numbers: [575]
575,83 unequal: No Solution
Exploring Operation: 115-5=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 5+115=120, Resulting Numbers: [120]
120,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[28, 59, 10], Operations: ['2*5=10']
Exploring Operation: 59-10=49, Resulting Numbers: [28, 49]
Generated Node #0,0,0: 83:[28, 49] Operation: 59-10=49
Exploring Operation: 28-10=18, Resulting Numbers: [59, 18]
Generated Node #0,0,1: 83:[59, 18] Operation: 28-10=18
Exploring Operation: 28+59=87, Resulting Numbers: [10, 87]
Generated Node #0,0,2: 83:[10, 87] Operation: 28+59=87
Exploring Operation: 59+10=69, Resulting Numbers: [28, 69]
Generated Node #0,0,3: 83:[28, 69] Operation: 59+10=69
Exploring Operation: 28+10=38, Resulting Numbers: [59, 38]
Generated Node #0,0,4: 83:[59, 38] Operation: 28+10=38
Moving to Node #0,0,3
Current State: 83:[28, 69], Operations: ['2*5=10', '59+10=69']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,83 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[59, 38], Operations: ['2*5=10', '28+10=38']
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,83 unequal: No Solution
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[10, 87], Operations: ['2*5=10', '28+59=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,83 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[28, 49], Operations: ['2*5=10', '59-10=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,83 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[59, 18], Operations: ['2*5=10', '28-10=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,83 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[28, 5, 61], Operations: ['2+59=61']
Exploring Operation: 61-5=56, Resulting Numbers: [28, 56]
Generated Node #0,1,0: 83:[28, 56] Operation: 61-5=56
Exploring Operation: 28-5=23, Resulting Numbers: [61, 23]
Generated Node #0,1,1: 83:[61, 23] Operation: 28-5=23
Exploring Operation: 28*5=140, Resulting Numbers: [61, 140]
Generated Node #0,1,2: 83:[61, 140] Operation: 28*5=140
Exploring Operation: 28+5=33, Resulting Numbers: [61, 33]
Generated Node #0,1,3: 83:[61, 33] Operation: 28+5=33
Exploring Operation: 5+61=66, Resulting Numbers: [28, 66]
Generated Node #0,1,4: 83:[28, 66] Operation: 5+61=66
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[61, 33], Operations: ['2+59=61', '28+5=33']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,83 unequal: No Solution
No 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: 83:[28, 66], Operations: ['2+59=61', '5+61=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,83 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,83 unequal: No Solution
No 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: 83:[61, 140], Operations: ['2+59=61', '28*5=140']
Exploring Operation: 61+140=201, Resulting Numbers: [201]
201,83 unequal: No Solution
Exploring Operation: 140-61=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 61*140=8540, Resulting Numbers: [8540]
8540,83 unequal: No Solution
No 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: 83:[28, 56], Operations: ['2+59=61', '61-5=56']
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,83 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No 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: 83:[61, 23], Operations: ['2+59=61', '28-5=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,83 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: 83:[28, 59, 7], Operations: ['2+5=7']
Exploring Operation: 59+7=66, Resulting Numbers: [28, 66]
Generated Node #0,2,0: 83:[28, 66] Operation: 59+7=66
Exploring Operation: 28+7=35, Resulting Numbers: [59, 35]
Generated Node #0,2,1: 83:[59, 35] Operation: 28+7=35
Exploring Operation: 59-7=52, Resulting Numbers: [28, 52]
Generated Node #0,2,2: 83:[28, 52] Operation: 59-7=52
Exploring Operation: 28+59=87, Resulting Numbers: [7, 87]
Generated Node #0,2,3: 83:[7, 87] Operation: 28+59=87
Exploring Operation: 28-7=21, Resulting Numbers: [59, 21]
Generated Node #0,2,4: 83:[59, 21] Operation: 28-7=21
Moving to Node #0,2,0
Current State: 83:[28, 66], Operations: ['2+5=7', '59+7=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[59, 35], Operations: ['2+5=7', '28+7=35']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[7, 87], Operations: ['2+5=7', '28+59=87']
Exploring Operation: 7*87=609, Resulting Numbers: [609]
609,83 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[28, 52], Operations: ['2+5=7', '59-7=52']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[59, 21], Operations: ['2+5=7', '28-7=21']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[59, 5, 30], Operations: ['2+28=30']
Exploring Operation: 59+5=64, Resulting Numbers: [30, 64]
Generated Node #0,4,0: 83:[30, 64] Operation: 59+5=64
Exploring Operation: 5+30=35, Resulting Numbers: [59, 35]
Generated Node #0,4,1: 83:[59, 35] Operation: 5+30=35
Exploring Operation: 30-5=25, Resulting Numbers: [59, 25]
Generated Node #0,4,2: 83:[59, 25] Operation: 30-5=25
Exploring Operation: 59-5=54, Resulting Numbers: [30, 54]
Generated Node #0,4,3: 83:[30, 54] Operation: 59-5=54
Exploring Operation: 59+30=89, Resulting Numbers: [5, 89]
Generated Node #0,4,4: 83:[5, 89] Operation: 59+30=89
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 83:[30, 64], Operations: ['2+28=30', '59+5=64']
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,83 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No 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: 83:[59, 35], Operations: ['2+28=30', '5+30=35']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,83 unequal: No Solution
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,83 unequal: No Solution
No 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: 83:[59, 25], Operations: ['2+28=30', '30-5=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,83 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No 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: 83:[30, 54], Operations: ['2+28=30', '59-5=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,83 unequal: No Solution
No 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: 83:[5, 89], Operations: ['2+28=30', '59+30=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 5*89=445, Resulting Numbers: [445]
445,83 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
80,
60,
56,
15
] | 34
|
[
"80+56=136",
"60/15=4",
"136/4=34"
] |
Current State: 34:[80, 60, 56, 15], Operations: []
Exploring Operation: 80+56=136, Resulting Numbers: [60, 15, 136]
Generated Node #2: [60, 15, 136] from Operation: 80+56=136
Current State: 34:[60, 15, 136], Operations: ['80+56=136']
Exploring Operation: 60/15=4, Resulting Numbers: [136, 4]
Generated Node #3: [136, 4] from Operation: 60/15=4
Current State: 34:[136, 4], Operations: ['80+56=136', '60/15=4']
Exploring Operation: 136/4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[80, 60, 56, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [80, 56, 4]
Generated Node #0,0: 34:[80, 56, 4] Operation: 60/15=4
Exploring Operation: 80-56=24, Resulting Numbers: [60, 15, 24]
Generated Node #0,1: 34:[60, 15, 24] Operation: 80-56=24
Exploring Operation: 60-56=4, Resulting Numbers: [80, 15, 4]
Generated Node #0,2: 34:[80, 15, 4] Operation: 60-56=4
Exploring Operation: 80-60=20, Resulting Numbers: [56, 15, 20]
Generated Node #0,3: 34:[56, 15, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[56, 15, 20], Operations: ['80-60=20']
Exploring Operation: 56-20=36, Resulting Numbers: [15, 36]
Generated Node #0,3,0: 34:[15, 36] Operation: 56-20=36
Exploring Operation: 20-15=5, Resulting Numbers: [56, 5]
Generated Node #0,3,1: 34:[56, 5] Operation: 20-15=5
Exploring Operation: 56-15=41, Resulting Numbers: [20, 41]
Generated Node #0,3,2: 34:[20, 41] Operation: 56-15=41
Exploring Operation: 15+20=35, Resulting Numbers: [56, 35]
Generated Node #0,3,3: 34:[56, 35] Operation: 15+20=35
Moving to Node #0,3,0
Current State: 34:[15, 36], Operations: ['80-60=20', '56-20=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,34 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[20, 41], Operations: ['80-60=20', '56-15=41']
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,34 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[56, 35], Operations: ['80-60=20', '15+20=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,34 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[56, 5], Operations: ['80-60=20', '20-15=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,34 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[60, 15, 24], Operations: ['80-56=24']
Exploring Operation: 15+24=39, Resulting Numbers: [60, 39]
Generated Node #0,1,0: 34:[60, 39] Operation: 15+24=39
Exploring Operation: 60-24=36, Resulting Numbers: [15, 36]
Generated Node #0,1,1: 34:[15, 36] Operation: 60-24=36
Exploring Operation: 60/15=4, Resulting Numbers: [24, 4]
Generated Node #0,1,2: 34:[24, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [24, 45]
Generated Node #0,1,3: 34:[24, 45] Operation: 60-15=45
Moving to Node #0,1,1
Current State: 34:[15, 36], Operations: ['80-56=24', '60-24=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,34 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[24, 4], Operations: ['80-56=24', '60/15=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,34 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[24, 45], Operations: ['80-56=24', '60-15=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[60, 39], Operations: ['80-56=24', '15+24=39']
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,34 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[80, 15, 4], Operations: ['60-56=4']
Exploring Operation: 15+4=19, Resulting Numbers: [80, 19]
Generated Node #0,2,0: 34:[80, 19] Operation: 15+4=19
Exploring Operation: 80-4=76, Resulting Numbers: [15, 76]
Generated Node #0,2,1: 34:[15, 76] Operation: 80-4=76
Exploring Operation: 80/4=20, Resulting Numbers: [15, 20]
Generated Node #0,2,2: 34:[15, 20] Operation: 80/4=20
Exploring Operation: 80-15=65, Resulting Numbers: [4, 65]
Generated Node #0,2,3: 34:[4, 65] Operation: 80-15=65
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[15, 20], Operations: ['60-56=4', '80/4=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 34:[4, 65], Operations: ['60-56=4', '80-15=65']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[15, 76], Operations: ['60-56=4', '80-4=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[80, 19], Operations: ['60-56=4', '15+4=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[80, 56, 4], Operations: ['60/15=4']
Exploring Operation: 80-4=76, Resulting Numbers: [56, 76]
Generated Node #0,0,0: 34:[56, 76] Operation: 80-4=76
Exploring Operation: 80-56=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 34:[4, 24] Operation: 80-56=24
Exploring Operation: 80/4=20, Resulting Numbers: [56, 20]
Generated Node #0,0,2: 34:[56, 20] Operation: 80/4=20
Exploring Operation: 56/4=14, Resulting Numbers: [80, 14]
Generated Node #0,0,3: 34:[80, 14] Operation: 56/4=14
Moving to Node #0,0,1
Current State: 34:[4, 24], Operations: ['60/15=4', '80-56=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,34 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[56, 20], Operations: ['60/15=4', '80/4=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,34 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[80, 14], Operations: ['60/15=4', '56/4=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,34 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[56, 76], Operations: ['60/15=4', '80-4=76']
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 56*76=4256, Resulting Numbers: [4256]
4256,34 unequal: No Solution
Exploring Operation: 56+76=132, Resulting Numbers: [132]
132,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
18,
54,
72,
16
] | 10
|
[
"72/18=4",
"16*4=64",
"64-54=10"
] |
Current State: 10:[18, 54, 72, 16], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [54, 16, 4]
Generated Node #2: [54, 16, 4] from Operation: 72/18=4
Current State: 10:[54, 16, 4], Operations: ['72/18=4']
Exploring Operation: 16*4=64, Resulting Numbers: [54, 64]
Generated Node #3: [54, 64] from Operation: 16*4=64
Current State: 10:[54, 64], Operations: ['72/18=4', '16*4=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[18, 54, 72, 16], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [18, 16, 18]
Generated Node #0,0: 10:[18, 16, 18] Operation: 72-54=18
Exploring Operation: 54/18=3, Resulting Numbers: [72, 16, 3]
Generated Node #0,1: 10:[72, 16, 3] Operation: 54/18=3
Exploring Operation: 72/18=4, Resulting Numbers: [54, 16, 4]
Generated Node #0,2: 10:[54, 16, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 10:[18, 16, 18], Operations: ['72-54=18']
Exploring Operation: 18-16=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 10:[18, 2] Operation: 18-16=2
Exploring Operation: 18/18=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 10:[16, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [16, 0]
Generated Node #0,0,2: 10:[16, 0] Operation: 18-18=0
Moving to Node #0,2
Current State: 10:[54, 16, 4], Operations: ['72/18=4']
Exploring Operation: 54-4=50, Resulting Numbers: [16, 50]
Generated Node #0,2,0: 10:[16, 50] Operation: 54-4=50
Exploring Operation: 54-16=38, Resulting Numbers: [4, 38]
Generated Node #0,2,1: 10:[4, 38] Operation: 54-16=38
Exploring Operation: 16/4=4, Resulting Numbers: [54, 4]
Generated Node #0,2,2: 10:[54, 4] Operation: 16/4=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[4, 38], Operations: ['72/18=4', '54-16=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,10 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,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,2
Current State: 10:[54, 4], Operations: ['72/18=4', '16/4=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,10 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,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,0
Current State: 10:[16, 50], Operations: ['72/18=4', '54-4=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,10 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,10 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: 10:[72, 16, 3], Operations: ['54/18=3']
Exploring Operation: 72-16=56, Resulting Numbers: [3, 56]
Generated Node #0,1,0: 10:[3, 56] Operation: 72-16=56
Exploring Operation: 72-3=69, Resulting Numbers: [16, 69]
Generated Node #0,1,1: 10:[16, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [16, 24]
Generated Node #0,1,2: 10:[16, 24] Operation: 72/3=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[16, 24], Operations: ['54/18=3', '72/3=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[3, 56], Operations: ['54/18=3', '72-16=56']
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[16, 69], Operations: ['54/18=3', '72-3=69']
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,10 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: 10:[16, 1], Operations: ['72-54=18', '18/18=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[18, 2], Operations: ['72-54=18', '18-16=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[16, 0], Operations: ['72-54=18', '18-18=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
27,
38,
90,
18
] | 70
|
[
"27+38=65",
"90/18=5",
"65+5=70"
] |
Current State: 70:[27, 38, 90, 18], Operations: []
Exploring Operation: 27+38=65, Resulting Numbers: [90, 18, 65]
Generated Node #2: [90, 18, 65] from Operation: 27+38=65
Current State: 70:[90, 18, 65], Operations: ['27+38=65']
Exploring Operation: 90/18=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 90/18=5
Current State: 70:[65, 5], Operations: ['27+38=65', '90/18=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[27, 38, 90, 18], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [27, 38, 5]
Generated Node #0,0: 70:[27, 38, 5] Operation: 90/18=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[27, 38, 5], Operations: ['90/18=5']
Exploring Operation: 38-27=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 70:[5, 11] Operation: 38-27=11
Moving to Node #0,0,0
Current State: 70:[5, 11], Operations: ['90/18=5', '38-27=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
66,
91,
52,
63
] | 65
|
[
"66-63=3",
"52*3=156",
"156-91=65"
] |
Current State: 65:[66, 91, 52, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [91, 52, 3]
Generated Node #2: [91, 52, 3] from Operation: 66-63=3
Current State: 65:[91, 52, 3], Operations: ['66-63=3']
Exploring Operation: 52*3=156, Resulting Numbers: [91, 156]
Generated Node #3: [91, 156] from Operation: 52*3=156
Current State: 65:[91, 156], Operations: ['66-63=3', '52*3=156']
Exploring Operation: 156-91=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[66, 91, 52, 63], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [66, 63, 39]
Generated Node #0,0: 65:[66, 63, 39] Operation: 91-52=39
Exploring Operation: 91-66=25, Resulting Numbers: [52, 63, 25]
Generated Node #0,1: 65:[52, 63, 25] Operation: 91-66=25
Exploring Operation: 66-52=14, Resulting Numbers: [91, 63, 14]
Generated Node #0,2: 65:[91, 63, 14] Operation: 66-52=14
Moving to Node #0,1
Current State: 65:[52, 63, 25], Operations: ['91-66=25']
Exploring Operation: 52+25=77, Resulting Numbers: [63, 77]
Generated Node #0,1,0: 65:[63, 77] Operation: 52+25=77
Exploring Operation: 52-25=27, Resulting Numbers: [63, 27]
Generated Node #0,1,1: 65:[63, 27] Operation: 52-25=27
Exploring Operation: 63-52=11, Resulting Numbers: [25, 11]
Generated Node #0,1,2: 65:[25, 11] Operation: 63-52=11
Moving to Node #0,0
Current State: 65:[66, 63, 39], Operations: ['91-52=39']
Exploring Operation: 63-39=24, Resulting Numbers: [66, 24]
Generated Node #0,0,0: 65:[66, 24] Operation: 63-39=24
Exploring Operation: 66-39=27, Resulting Numbers: [63, 27]
Generated Node #0,0,1: 65:[63, 27] Operation: 66-39=27
Exploring Operation: 66-63=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 65:[39, 3] Operation: 66-63=3
Moving to Node #0,2
Current State: 65:[91, 63, 14], Operations: ['66-52=14']
Exploring Operation: 91-63=28, Resulting Numbers: [14, 28]
Generated Node #0,2,0: 65:[14, 28] Operation: 91-63=28
Exploring Operation: 63+14=77, Resulting Numbers: [91, 77]
Generated Node #0,2,1: 65:[91, 77] Operation: 63+14=77
Exploring Operation: 91-14=77, Resulting Numbers: [63, 77]
Generated Node #0,2,2: 65:[63, 77] Operation: 91-14=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[63, 77], Operations: ['66-52=14', '91-14=77']
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,65 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[14, 28], Operations: ['66-52=14', '91-63=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[91, 77], Operations: ['66-52=14', '63+14=77']
Exploring Operation: 91*77=7007, Resulting Numbers: [7007]
7007,65 unequal: No Solution
Exploring Operation: 91+77=168, Resulting Numbers: [168]
168,65 unequal: No Solution
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,65 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: 65:[66, 24], Operations: ['91-52=39', '63-39=24']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[63, 77], Operations: ['91-66=25', '52+25=77']
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,65 unequal: No Solution
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,65 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[25, 11], Operations: ['91-66=25', '63-52=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,65 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[63, 27], Operations: ['91-66=25', '52-25=27']
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,65 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[63, 27], Operations: ['91-52=39', '66-39=27']
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,65 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[39, 3], Operations: ['91-52=39', '66-63=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,65 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
72,
43,
24,
16
] | 62
|
[
"72/24=3",
"43+16=59",
"3+59=62"
] |
Current State: 62:[72, 43, 24, 16], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [43, 16, 3]
Generated Node #2: [43, 16, 3] from Operation: 72/24=3
Current State: 62:[43, 16, 3], Operations: ['72/24=3']
Exploring Operation: 43+16=59, Resulting Numbers: [3, 59]
Generated Node #3: [3, 59] from Operation: 43+16=59
Current State: 62:[3, 59], Operations: ['72/24=3', '43+16=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[72, 43, 24, 16], Operations: []
Exploring Operation: 43+16=59, Resulting Numbers: [72, 24, 59]
Generated Node #0,0: 62:[72, 24, 59] Operation: 43+16=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[72, 24, 59], Operations: ['43+16=59']
Exploring Operation: 72/24=3, Resulting Numbers: [59, 3]
Generated Node #0,0,0: 62:[59, 3] Operation: 72/24=3
Moving to Node #0,0,0
Current State: 62:[59, 3], Operations: ['43+16=59', '72/24=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[72, 43, 24, 16], Operations: []
Exploring Operation: 43+16=59, Resulting Numbers: [72, 24, 59]
Generated Node #0,0: 62:[72, 24, 59] Operation: 43+16=59
Moving to Node #0,0
Current State: 62:[72, 24, 59], Operations: ['43+16=59']
Exploring Operation: 72/24=3, Resulting Numbers: [59, 3]
Generated Node #0,0,0: 62:[59, 3] Operation: 72/24=3
Moving to Node #0,0,0
Current State: 62:[59, 3], Operations: ['43+16=59', '72/24=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
26,
98,
12,
75
] | 15
|
[
"98-26=72",
"12+75=87",
"87-72=15"
] |
Current State: 15:[26, 98, 12, 75], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [12, 75, 72]
Generated Node #2: [12, 75, 72] from Operation: 98-26=72
Current State: 15:[12, 75, 72], Operations: ['98-26=72']
Exploring Operation: 12+75=87, Resulting Numbers: [72, 87]
Generated Node #3: [72, 87] from Operation: 12+75=87
Current State: 15:[72, 87], Operations: ['98-26=72', '12+75=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[26, 98, 12, 75], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [12, 75, 72]
Generated Node #0,0: 15:[12, 75, 72] Operation: 98-26=72
Exploring Operation: 98-75=23, Resulting Numbers: [26, 12, 23]
Generated Node #0,1: 15:[26, 12, 23] Operation: 98-75=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[26, 12, 23], Operations: ['98-75=23']
Exploring Operation: 26-12=14, Resulting Numbers: [23, 14]
Generated Node #0,1,0: 15:[23, 14] Operation: 26-12=14
Exploring Operation: 26-23=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 15:[12, 3] Operation: 26-23=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[12, 3], Operations: ['98-75=23', '26-23=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[26, 98, 12, 75], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [26, 12, 23]
Generated Node #0,1: 15:[26, 12, 23] Operation: 98-75=23
Moving to Node #0,1
Current State: 15:[26, 12, 23], Operations: ['98-75=23']
Exploring Operation: 26-23=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 15:[12, 3] Operation: 26-23=3
Moving to Node #0,1,1
Current State: 15:[12, 3], Operations: ['98-75=23', '26-23=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
12,
1,
86,
83
] | 10
|
[
"12+1=13",
"86-83=3",
"13-3=10"
] |
Current State: 10:[12, 1, 86, 83], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [86, 83, 13]
Generated Node #2: [86, 83, 13] from Operation: 12+1=13
Current State: 10:[86, 83, 13], Operations: ['12+1=13']
Exploring Operation: 86-83=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 86-83=3
Current State: 10:[13, 3], Operations: ['12+1=13', '86-83=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[12, 1, 86, 83], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [1, 86, 71]
Generated Node #0,0: 10:[1, 86, 71] Operation: 83-12=71
Exploring Operation: 86-83=3, Resulting Numbers: [12, 1, 3]
Generated Node #0,1: 10:[12, 1, 3] Operation: 86-83=3
Exploring Operation: 86-12=74, Resulting Numbers: [1, 83, 74]
Generated Node #0,2: 10:[1, 83, 74] Operation: 86-12=74
Exploring Operation: 12-1=11, Resulting Numbers: [86, 83, 11]
Generated Node #0,3: 10:[86, 83, 11] Operation: 12-1=11
Moving to Node #0,1
Current State: 10:[12, 1, 3], Operations: ['86-83=3']
Exploring Operation: 12/3=4, Resulting Numbers: [1, 4]
Generated Node #0,1,0: 10:[1, 4] Operation: 12/3=4
Exploring Operation: 3-1=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 10:[12, 2] Operation: 3-1=2
Exploring Operation: 12-1=11, Resulting Numbers: [3, 11]
Generated Node #0,1,2: 10:[3, 11] Operation: 12-1=11
Exploring Operation: 12-3=9, Resulting Numbers: [1, 9]
Generated Node #0,1,3: 10:[1, 9] Operation: 12-3=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[1, 4], Operations: ['86-83=3', '12/3=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[12, 2], Operations: ['86-83=3', '3-1=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[12, 1, 86, 83], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [12, 1, 3]
Generated Node #0,1: 10:[12, 1, 3] Operation: 86-83=3
Moving to Node #0,1
Current State: 10:[12, 1, 3], Operations: ['86-83=3']
Exploring Operation: 3-1=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 10:[12, 2] Operation: 3-1=2
Moving to Node #0,1,1
Current State: 10:[12, 2], Operations: ['86-83=3', '3-1=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_4
|
mult_heuristic
|
[
43,
1,
39,
73
] | 70
|
[
"43-1=42",
"39+73=112",
"112-42=70"
] |
Current State: 70:[43, 1, 39, 73], Operations: []
Exploring Operation: 43-1=42, Resulting Numbers: [39, 73, 42]
Generated Node #2: [39, 73, 42] from Operation: 43-1=42
Current State: 70:[39, 73, 42], Operations: ['43-1=42']
Exploring Operation: 39+73=112, Resulting Numbers: [42, 112]
Generated Node #3: [42, 112] from Operation: 39+73=112
Current State: 70:[42, 112], Operations: ['43-1=42', '39+73=112']
Exploring Operation: 112-42=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[43, 1, 39, 73], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [1, 73, 4]
Generated Node #0,0: 70:[1, 73, 4] Operation: 43-39=4
Exploring Operation: 73-43=30, Resulting Numbers: [1, 39, 30]
Generated Node #0,1: 70:[1, 39, 30] Operation: 73-43=30
Exploring Operation: 73-39=34, Resulting Numbers: [43, 1, 34]
Generated Node #0,2: 70:[43, 1, 34] Operation: 73-39=34
Moving to Node #0,0
Current State: 70:[1, 73, 4], Operations: ['43-39=4']
Exploring Operation: 73-1=72, Resulting Numbers: [4, 72]
Generated Node #0,0,0: 70:[4, 72] Operation: 73-1=72
Exploring Operation: 73-4=69, Resulting Numbers: [1, 69]
Generated Node #0,0,1: 70:[1, 69] Operation: 73-4=69
Exploring Operation: 1+4=5, Resulting Numbers: [73, 5]
Generated Node #0,0,2: 70:[73, 5] Operation: 1+4=5
Moving to Node #0,1
Current State: 70:[1, 39, 30], Operations: ['73-43=30']
Exploring Operation: 39-1=38, Resulting Numbers: [30, 38]
Generated Node #0,1,0: 70:[30, 38] Operation: 39-1=38
Exploring Operation: 39-30=9, Resulting Numbers: [1, 9]
Generated Node #0,1,1: 70:[1, 9] Operation: 39-30=9
Exploring Operation: 39+30=69, Resulting Numbers: [1, 69]
Generated Node #0,1,2: 70:[1, 69] Operation: 39+30=69
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[1, 9], Operations: ['73-43=30', '39-30=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[1, 69], Operations: ['73-43=30', '39+30=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[43, 1, 39, 73], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [1, 39, 30]
Generated Node #0,1: 70:[1, 39, 30] Operation: 73-43=30
Moving to Node #0,1
Current State: 70:[1, 39, 30], Operations: ['73-43=30']
Exploring Operation: 39+30=69, Resulting Numbers: [1, 69]
Generated Node #0,1,2: 70:[1, 69] Operation: 39+30=69
Moving to Node #0,1,2
Current State: 70:[1, 69], Operations: ['73-43=30', '39+30=69']
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375
|
hs_3
|
mult_heuristic
|
[
92,
7,
48,
64
] | 76
|
[
"92*48=4416",
"4416/64=69",
"7+69=76"
] |
Current State: 76:[92, 7, 48, 64], Operations: []
Exploring Operation: 92*48=4416, Resulting Numbers: [7, 64, 4416]
Generated Node #2: [7, 64, 4416] from Operation: 92*48=4416
Current State: 76:[7, 64, 4416], Operations: ['92*48=4416']
Exploring Operation: 4416/64=69, Resulting Numbers: [7, 69]
Generated Node #3: [7, 69] from Operation: 4416/64=69
Current State: 76:[7, 69], Operations: ['92*48=4416', '4416/64=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[92, 7, 48, 64], Operations: []
Exploring Operation: 92-48=44, Resulting Numbers: [7, 64, 44]
Generated Node #0,0: 76:[7, 64, 44] Operation: 92-48=44
Moving to Node #0,0
Current State: 76:[7, 64, 44], Operations: ['92-48=44']
Exploring Operation: 64-44=20, Resulting Numbers: [7, 20]
Generated Node #0,0,0: 76:[7, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[7, 20], Operations: ['92-48=44', '64-44=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
54,
48,
30,
49
] | 44
|
[
"54-48=6",
"30/6=5",
"49-5=44"
] |
Current State: 44:[54, 48, 30, 49], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [30, 49, 6]
Generated Node #2: [30, 49, 6] from Operation: 54-48=6
Current State: 44:[30, 49, 6], Operations: ['54-48=6']
Exploring Operation: 30/6=5, Resulting Numbers: [49, 5]
Generated Node #3: [49, 5] from Operation: 30/6=5
Current State: 44:[49, 5], Operations: ['54-48=6', '30/6=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[54, 48, 30, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [48, 30, 5]
Generated Node #0,0: 44:[48, 30, 5] Operation: 54-49=5
Exploring Operation: 54-30=24, Resulting Numbers: [48, 49, 24]
Generated Node #0,1: 44:[48, 49, 24] Operation: 54-30=24
Exploring Operation: 54-48=6, Resulting Numbers: [30, 49, 6]
Generated Node #0,2: 44:[30, 49, 6] Operation: 54-48=6
Moving to Node #0,1
Current State: 44:[48, 49, 24], Operations: ['54-30=24']
Exploring Operation: 48/24=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 44:[49, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [49, 24]
Generated Node #0,1,1: 44:[49, 24] Operation: 48-24=24
Exploring Operation: 49-48=1, Resulting Numbers: [24, 1]
Generated Node #0,1,2: 44:[24, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[24, 1], Operations: ['54-30=24', '49-48=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[49, 2], Operations: ['54-30=24', '48/24=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,44 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[49, 24], Operations: ['54-30=24', '48-24=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,44 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: 44:[48, 30, 5], Operations: ['54-49=5']
Exploring Operation: 30/5=6, Resulting Numbers: [48, 6]
Generated Node #0,0,0: 44:[48, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [48, 25]
Generated Node #0,0,1: 44:[48, 25] Operation: 30-5=25
Exploring Operation: 48-30=18, Resulting Numbers: [5, 18]
Generated Node #0,0,2: 44:[5, 18] Operation: 48-30=18
Moving to Node #0,2
Current State: 44:[30, 49, 6], Operations: ['54-48=6']
Exploring Operation: 30-6=24, Resulting Numbers: [49, 24]
Generated Node #0,2,0: 44:[49, 24] Operation: 30-6=24
Exploring Operation: 49-30=19, Resulting Numbers: [6, 19]
Generated Node #0,2,1: 44:[6, 19] Operation: 49-30=19
Exploring Operation: 30/6=5, Resulting Numbers: [49, 5]
Generated Node #0,2,2: 44:[49, 5] Operation: 30/6=5
Moving to Node #0,0,2
Current State: 44:[5, 18], Operations: ['54-49=5', '48-30=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[6, 19], Operations: ['54-48=6', '49-30=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,44 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[49, 5], Operations: ['54-48=6', '30/6=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,44 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[54, 48, 30, 49], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [30, 49, 6]
Generated Node #0,2: 44:[30, 49, 6] Operation: 54-48=6
Moving to Node #0,2
Current State: 44:[30, 49, 6], Operations: ['54-48=6']
Exploring Operation: 30/6=5, Resulting Numbers: [49, 5]
Generated Node #0,2,2: 44:[49, 5] Operation: 30/6=5
Moving to Node #0,2,2
Current State: 44:[49, 5], Operations: ['54-48=6', '30/6=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.970486
|
hs_3
|
sum_heuristic
|
[
55,
19,
43,
45
] | 52
|
[
"55-19=36",
"43+45=88",
"88-36=52"
] |
Current State: 52:[55, 19, 43, 45], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [43, 45, 36]
Generated Node #2: [43, 45, 36] from Operation: 55-19=36
Current State: 52:[43, 45, 36], Operations: ['55-19=36']
Exploring Operation: 43+45=88, Resulting Numbers: [36, 88]
Generated Node #3: [36, 88] from Operation: 43+45=88
Current State: 52:[36, 88], Operations: ['55-19=36', '43+45=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[55, 19, 43, 45], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [55, 19, 2]
Generated Node #0,0: 52:[55, 19, 2] Operation: 45-43=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[55, 19, 2], Operations: ['45-43=2']
Exploring Operation: 55-2=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 52:[19, 53] Operation: 55-2=53
Moving to Node #0,0,0
Current State: 52:[19, 53], Operations: ['45-43=2', '55-2=53']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
54,
72,
7,
5
] | 79
|
[
"54-5=49",
"49/7=7",
"72+7=79"
] |
Current State: 79:[54, 72, 7, 5], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [72, 7, 49]
Generated Node #2: [72, 7, 49] from Operation: 54-5=49
Current State: 79:[72, 7, 49], Operations: ['54-5=49']
Exploring Operation: 49/7=7, Resulting Numbers: [72, 7]
Generated Node #3: [72, 7] from Operation: 49/7=7
Current State: 79:[72, 7], Operations: ['54-5=49', '49/7=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[54, 72, 7, 5], Operations: []
Exploring Operation: 7*5=35, Resulting Numbers: [54, 72, 35]
Generated Node #0,0: 79:[54, 72, 35] Operation: 7*5=35
Exploring Operation: 54+7=61, Resulting Numbers: [72, 5, 61]
Generated Node #0,1: 79:[72, 5, 61] Operation: 54+7=61
Exploring Operation: 54+5=59, Resulting Numbers: [72, 7, 59]
Generated Node #0,2: 79:[72, 7, 59] Operation: 54+5=59
Moving to Node #0,0
Current State: 79:[54, 72, 35], Operations: ['7*5=35']
Exploring Operation: 72+35=107, Resulting Numbers: [54, 107]
Generated Node #0,0,0: 79:[54, 107] Operation: 72+35=107
Exploring Operation: 54-35=19, Resulting Numbers: [72, 19]
Generated Node #0,0,1: 79:[72, 19] Operation: 54-35=19
Exploring Operation: 54+35=89, Resulting Numbers: [72, 89]
Generated Node #0,0,2: 79:[72, 89] Operation: 54+35=89
Moving to Node #0,1
Current State: 79:[72, 5, 61], Operations: ['54+7=61']
Exploring Operation: 5+61=66, Resulting Numbers: [72, 66]
Generated Node #0,1,0: 79:[72, 66] Operation: 5+61=66
Exploring Operation: 72+5=77, Resulting Numbers: [61, 77]
Generated Node #0,1,1: 79:[61, 77] Operation: 72+5=77
Exploring Operation: 72-5=67, Resulting Numbers: [61, 67]
Generated Node #0,1,2: 79:[61, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[72, 66], Operations: ['54+7=61', '5+61=66']
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,79 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[61, 77], Operations: ['54+7=61', '72+5=77']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 61+77=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 61*77=4697, Resulting Numbers: [4697]
4697,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[61, 67], Operations: ['54+7=61', '72-5=67']
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 61*67=4087, Resulting Numbers: [4087]
4087,79 unequal: No Solution
Exploring Operation: 61+67=128, Resulting Numbers: [128]
128,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[72, 7, 59], Operations: ['54+5=59']
Exploring Operation: 72-7=65, Resulting Numbers: [59, 65]
Generated Node #0,2,0: 79:[59, 65] Operation: 72-7=65
Exploring Operation: 72+7=79, Resulting Numbers: [59, 79]
Generated Node #0,2,1: 79:[59, 79] Operation: 72+7=79
Exploring Operation: 7+59=66, Resulting Numbers: [72, 66]
Generated Node #0,2,2: 79:[72, 66] Operation: 7+59=66
Moving to Node #0,0,2
Current State: 79:[72, 89], Operations: ['7*5=35', '54+35=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,79 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[59, 79], Operations: ['54+5=59', '72+7=79']
Exploring Operation: 59+79=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 59*79=4661, Resulting Numbers: [4661]
4661,79 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[72, 66], Operations: ['54+5=59', '7+59=66']
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,79 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[59, 65], Operations: ['54+5=59', '72-7=65']
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 59*65=3835, Resulting Numbers: [3835]
3835,79 unequal: No Solution
Exploring Operation: 59+65=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[54, 107], Operations: ['7*5=35', '72+35=107']
Exploring Operation: 107-54=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 54*107=5778, Resulting Numbers: [5778]
5778,79 unequal: No Solution
Exploring Operation: 54+107=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[72, 19], Operations: ['7*5=35', '54-35=19']
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,79 unequal: No Solution
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,79 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
86,
2,
10,
96
] | 63
|
[
"86/2=43",
"10+96=106",
"106-43=63"
] |
Current State: 63:[86, 2, 10, 96], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [10, 96, 43]
Generated Node #2: [10, 96, 43] from Operation: 86/2=43
Current State: 63:[10, 96, 43], Operations: ['86/2=43']
Exploring Operation: 10+96=106, Resulting Numbers: [43, 106]
Generated Node #3: [43, 106] from Operation: 10+96=106
Current State: 63:[43, 106], Operations: ['86/2=43', '10+96=106']
Exploring Operation: 106-43=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[86, 2, 10, 96], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [2, 10, 10]
Generated Node #0,0: 63:[2, 10, 10] Operation: 96-86=10
Moving to Node #0,0
Current State: 63:[2, 10, 10], Operations: ['96-86=10']
Exploring Operation: 2*10=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 63:[10, 20] Operation: 2*10=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[10, 20], Operations: ['96-86=10', '2*10=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,63 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
|
[
87,
26,
90,
20
] | 34
|
[
"90-87=3",
"20*3=60",
"60-26=34"
] |
Current State: 34:[87, 26, 90, 20], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [26, 20, 3]
Generated Node #2: [26, 20, 3] from Operation: 90-87=3
Current State: 34:[26, 20, 3], Operations: ['90-87=3']
Exploring Operation: 20*3=60, Resulting Numbers: [26, 60]
Generated Node #3: [26, 60] from Operation: 20*3=60
Current State: 34:[26, 60], Operations: ['90-87=3', '20*3=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[87, 26, 90, 20], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [90, 20, 61]
Generated Node #0,0: 34:[90, 20, 61] Operation: 87-26=61
Exploring Operation: 90-87=3, Resulting Numbers: [26, 20, 3]
Generated Node #0,1: 34:[26, 20, 3] Operation: 90-87=3
Moving to Node #0,1
Current State: 34:[26, 20, 3], Operations: ['90-87=3']
Exploring Operation: 26-20=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 34:[3, 6] Operation: 26-20=6
Exploring Operation: 26+3=29, Resulting Numbers: [20, 29]
Generated Node #0,1,1: 34:[20, 29] Operation: 26+3=29
Moving to Node #0,0
Current State: 34:[90, 20, 61], Operations: ['87-26=61']
Exploring Operation: 90-61=29, Resulting Numbers: [20, 29]
Generated Node #0,0,0: 34:[20, 29] Operation: 90-61=29
Exploring Operation: 90-20=70, Resulting Numbers: [61, 70]
Generated Node #0,0,1: 34:[61, 70] Operation: 90-20=70
Moving to Node #0,1,0
Current State: 34:[3, 6], Operations: ['90-87=3', '26-20=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[20, 29], Operations: ['87-26=61', '90-61=29']
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[20, 29], Operations: ['90-87=3', '26+3=29']
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[61, 70], Operations: ['87-26=61', '90-20=70']
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,34 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
57,
15,
48,
54
] | 21
|
[
"57-48=9",
"54/9=6",
"15+6=21"
] |
Current State: 21:[57, 15, 48, 54], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [15, 54, 9]
Generated Node #2: [15, 54, 9] from Operation: 57-48=9
Current State: 21:[15, 54, 9], Operations: ['57-48=9']
Exploring Operation: 54/9=6, Resulting Numbers: [15, 6]
Generated Node #3: [15, 6] from Operation: 54/9=6
Current State: 21:[15, 6], Operations: ['57-48=9', '54/9=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[57, 15, 48, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [15, 48, 3]
Generated Node #0,0: 21:[15, 48, 3] Operation: 57-54=3
Exploring Operation: 54-48=6, Resulting Numbers: [57, 15, 6]
Generated Node #0,1: 21:[57, 15, 6] Operation: 54-48=6
Exploring Operation: 57-48=9, Resulting Numbers: [15, 54, 9]
Generated Node #0,2: 21:[15, 54, 9] Operation: 57-48=9
Moving to Node #0,0
Current State: 21:[15, 48, 3], Operations: ['57-54=3']
Exploring Operation: 15/3=5, Resulting Numbers: [48, 5]
Generated Node #0,0,0: 21:[48, 5] Operation: 15/3=5
Exploring Operation: 48/3=16, Resulting Numbers: [15, 16]
Generated Node #0,0,1: 21:[15, 16] Operation: 48/3=16
Exploring Operation: 48-15=33, Resulting Numbers: [3, 33]
Generated Node #0,0,2: 21:[3, 33] Operation: 48-15=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[15, 16], Operations: ['57-54=3', '48/3=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,21 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[3, 33], Operations: ['57-54=3', '48-15=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[48, 5], Operations: ['57-54=3', '15/3=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,21 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,21 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: 21:[15, 54, 9], Operations: ['57-48=9']
Exploring Operation: 54-15=39, Resulting Numbers: [9, 39]
Generated Node #0,2,0: 21:[9, 39] Operation: 54-15=39
Exploring Operation: 54/9=6, Resulting Numbers: [15, 6]
Generated Node #0,2,1: 21:[15, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [15, 45]
Generated Node #0,2,2: 21:[15, 45] Operation: 54-9=45
Moving to Node #0,1
Current State: 21:[57, 15, 6], Operations: ['54-48=6']
Exploring Operation: 15+6=21, Resulting Numbers: [57, 21]
Generated Node #0,1,0: 21:[57, 21] Operation: 15+6=21
Exploring Operation: 57-15=42, Resulting Numbers: [6, 42]
Generated Node #0,1,1: 21:[6, 42] Operation: 57-15=42
Exploring Operation: 57-6=51, Resulting Numbers: [15, 51]
Generated Node #0,1,2: 21:[15, 51] Operation: 57-6=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[6, 42], Operations: ['54-48=6', '57-15=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[57, 21], Operations: ['54-48=6', '15+6=21']
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,21 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[15, 51], Operations: ['54-48=6', '57-6=51']
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,21 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 21:[15, 6], Operations: ['57-48=9', '54/9=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[57, 15, 48, 54], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [15, 54, 9]
Generated Node #0,2: 21:[15, 54, 9] Operation: 57-48=9
Moving to Node #0,2
Current State: 21:[15, 54, 9], Operations: ['57-48=9']
Exploring Operation: 54/9=6, Resulting Numbers: [15, 6]
Generated Node #0,2,1: 21:[15, 6] Operation: 54/9=6
Moving to Node #0,2,1
Current State: 21:[15, 6], Operations: ['57-48=9', '54/9=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.967882
|
hs_3
|
sum_heuristic
|
[
62,
30,
83,
77
] | 81
|
[
"77-62=15",
"30/15=2",
"83-2=81"
] |
Current State: 81:[62, 30, 83, 77], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [30, 83, 15]
Generated Node #2: [30, 83, 15] from Operation: 77-62=15
Current State: 81:[30, 83, 15], Operations: ['77-62=15']
Exploring Operation: 30/15=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 30/15=2
Current State: 81:[83, 2], Operations: ['77-62=15', '30/15=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[62, 30, 83, 77], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [83, 77, 32]
Generated Node #0,0: 81:[83, 77, 32] Operation: 62-30=32
Exploring Operation: 77-62=15, Resulting Numbers: [30, 83, 15]
Generated Node #0,1: 81:[30, 83, 15] Operation: 77-62=15
Moving to Node #0,0
Current State: 81:[83, 77, 32], Operations: ['62-30=32']
Exploring Operation: 77-32=45, Resulting Numbers: [83, 45]
Generated Node #0,0,0: 81:[83, 45] Operation: 77-32=45
Exploring Operation: 83-77=6, Resulting Numbers: [32, 6]
Generated Node #0,0,1: 81:[32, 6] Operation: 83-77=6
Moving to Node #0,1
Current State: 81:[30, 83, 15], Operations: ['77-62=15']
Exploring Operation: 30-15=15, Resulting Numbers: [83, 15]
Generated Node #0,1,0: 81:[83, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [83, 2]
Generated Node #0,1,1: 81:[83, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[83, 2], Operations: ['77-62=15', '30/15=2']
Exploring Operation: 83+2=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:[62, 30, 83, 77], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [30, 83, 15]
Generated Node #0,1: 81:[30, 83, 15] Operation: 77-62=15
Moving to Node #0,1
Current State: 81:[30, 83, 15], Operations: ['77-62=15']
Exploring Operation: 30/15=2, Resulting Numbers: [83, 2]
Generated Node #0,1,1: 81:[83, 2] Operation: 30/15=2
Moving to Node #0,1,1
Current State: 81:[83, 2], Operations: ['77-62=15', '30/15=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
mult_heuristic
|
[
73,
82,
9,
86
] | 78
|
[
"73+82=155",
"86-9=77",
"155-77=78"
] |
Current State: 78:[73, 82, 9, 86], Operations: []
Exploring Operation: 73+82=155, Resulting Numbers: [9, 86, 155]
Generated Node #2: [9, 86, 155] from Operation: 73+82=155
Current State: 78:[9, 86, 155], Operations: ['73+82=155']
Exploring Operation: 86-9=77, Resulting Numbers: [155, 77]
Generated Node #3: [155, 77] from Operation: 86-9=77
Current State: 78:[155, 77], Operations: ['73+82=155', '86-9=77']
Exploring Operation: 155-77=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4
|
Current State: 78:[73, 82, 9, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [82, 9, 13]
Generated Node #0,0: 78:[82, 9, 13] Operation: 86-73=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[82, 9, 13], Operations: ['86-73=13']
Exploring Operation: 82-9=73, Resulting Numbers: [13, 73]
Generated Node #0,0,0: 78:[13, 73] Operation: 82-9=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[13, 73], Operations: ['86-73=13', '82-9=73']
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,78 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
|
[
56,
91,
21,
78
] | 66
|
[
"56+21=77",
"78*77=6006",
"6006/91=66"
] |
Current State: 66:[56, 91, 21, 78], Operations: []
Exploring Operation: 56+21=77, Resulting Numbers: [91, 78, 77]
Generated Node #2: [91, 78, 77] from Operation: 56+21=77
Current State: 66:[91, 78, 77], Operations: ['56+21=77']
Exploring Operation: 78*77=6006, Resulting Numbers: [91, 6006]
Generated Node #3: [91, 6006] from Operation: 78*77=6006
Current State: 66:[91, 6006], Operations: ['56+21=77', '78*77=6006']
Exploring Operation: 6006/91=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[56, 91, 21, 78], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [56, 21, 13]
Generated Node #0,0: 66:[56, 21, 13] Operation: 91-78=13
Exploring Operation: 91-56=35, Resulting Numbers: [21, 78, 35]
Generated Node #0,1: 66:[21, 78, 35] Operation: 91-56=35
Exploring Operation: 91-21=70, Resulting Numbers: [56, 78, 70]
Generated Node #0,2: 66:[56, 78, 70] Operation: 91-21=70
Exploring Operation: 78-56=22, Resulting Numbers: [91, 21, 22]
Generated Node #0,3: 66:[91, 21, 22] Operation: 78-56=22
Moving to Node #0,0
Current State: 66:[56, 21, 13], Operations: ['91-78=13']
Exploring Operation: 56-13=43, Resulting Numbers: [21, 43]
Generated Node #0,0,0: 66:[21, 43] Operation: 56-13=43
Exploring Operation: 56-21=35, Resulting Numbers: [13, 35]
Generated Node #0,0,1: 66:[13, 35] Operation: 56-21=35
Exploring Operation: 21+13=34, Resulting Numbers: [56, 34]
Generated Node #0,0,2: 66:[56, 34] Operation: 21+13=34
Exploring Operation: 56+13=69, Resulting Numbers: [21, 69]
Generated Node #0,0,3: 66:[21, 69] Operation: 56+13=69
Moving to Node #0,1
Current State: 66:[21, 78, 35], Operations: ['91-56=35']
Exploring Operation: 21+35=56, Resulting Numbers: [78, 56]
Generated Node #0,1,0: 66:[78, 56] Operation: 21+35=56
Exploring Operation: 35-21=14, Resulting Numbers: [78, 14]
Generated Node #0,1,1: 66:[78, 14] Operation: 35-21=14
Exploring Operation: 78-21=57, Resulting Numbers: [35, 57]
Generated Node #0,1,2: 66:[35, 57] Operation: 78-21=57
Exploring Operation: 78-35=43, Resulting Numbers: [21, 43]
Generated Node #0,1,3: 66:[21, 43] Operation: 78-35=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[35, 57], Operations: ['91-56=35', '78-21=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,66 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[21, 43], Operations: ['91-56=35', '78-35=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,66 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[78, 14], Operations: ['91-56=35', '35-21=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[78, 56], Operations: ['91-56=35', '21+35=56']
Exploring Operation: 78+56=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 78*56=4368, Resulting Numbers: [4368]
4368,66 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: 66:[91, 21, 22], Operations: ['78-56=22']
Exploring Operation: 22-21=1, Resulting Numbers: [91, 1]
Generated Node #0,3,0: 66:[91, 1] Operation: 22-21=1
Exploring Operation: 91-22=69, Resulting Numbers: [21, 69]
Generated Node #0,3,1: 66:[21, 69] Operation: 91-22=69
Exploring Operation: 91-21=70, Resulting Numbers: [22, 70]
Generated Node #0,3,2: 66:[22, 70] Operation: 91-21=70
Exploring Operation: 21+22=43, Resulting Numbers: [91, 43]
Generated Node #0,3,3: 66:[91, 43] Operation: 21+22=43
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[21, 69], Operations: ['78-56=22', '91-22=69']
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,66 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[22, 70], Operations: ['78-56=22', '91-21=70']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,66 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[91, 1], Operations: ['78-56=22', '22-21=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[91, 43], Operations: ['78-56=22', '21+22=43']
Exploring Operation: 91+43=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 91*43=3913, Resulting Numbers: [3913]
3913,66 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: 66:[56, 78, 70], Operations: ['91-21=70']
Exploring Operation: 78-70=8, Resulting Numbers: [56, 8]
Generated Node #0,2,0: 66:[56, 8] Operation: 78-70=8
Exploring Operation: 78-56=22, Resulting Numbers: [70, 22]
Generated Node #0,2,1: 66:[70, 22] Operation: 78-56=22
Exploring Operation: 70-56=14, Resulting Numbers: [78, 14]
Generated Node #0,2,2: 66:[78, 14] Operation: 70-56=14
Exploring Operation: 56+78=134, Resulting Numbers: [70, 134]
Generated Node #0,2,3: 66:[70, 134] Operation: 56+78=134
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[70, 22], Operations: ['91-21=70', '78-56=22']
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,66 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[56, 8], Operations: ['91-21=70', '78-70=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[78, 14], Operations: ['91-21=70', '70-56=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,66 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[70, 134], Operations: ['91-21=70', '56+78=134']
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,66 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,66 unequal: No Solution
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,66 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: 66:[13, 35], Operations: ['91-78=13', '56-21=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,66 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[21, 69], Operations: ['91-78=13', '56+13=69']
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,66 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[56, 34], Operations: ['91-78=13', '21+13=34']
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,66 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[21, 43], Operations: ['91-78=13', '56-13=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,66 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
74,
15,
16,
67
] | 97
|
[
"74-67=7",
"16*7=112",
"112-15=97"
] |
Current State: 97:[74, 15, 16, 67], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [15, 16, 7]
Generated Node #2: [15, 16, 7] from Operation: 74-67=7
Current State: 97:[15, 16, 7], Operations: ['74-67=7']
Exploring Operation: 16*7=112, Resulting Numbers: [15, 112]
Generated Node #3: [15, 112] from Operation: 16*7=112
Current State: 97:[15, 112], Operations: ['74-67=7', '16*7=112']
Exploring Operation: 112-15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4
|
Current State: 97:[74, 15, 16, 67], Operations: []
Exploring Operation: 74+15=89, Resulting Numbers: [16, 67, 89]
Generated Node #0,0: 97:[16, 67, 89] Operation: 74+15=89
Exploring Operation: 74+16=90, Resulting Numbers: [15, 67, 90]
Generated Node #0,1: 97:[15, 67, 90] Operation: 74+16=90
Exploring Operation: 15+16=31, Resulting Numbers: [74, 67, 31]
Generated Node #0,2: 97:[74, 67, 31] Operation: 15+16=31
Moving to Node #0,0
Current State: 97:[16, 67, 89], Operations: ['74+15=89']
Exploring Operation: 67-16=51, Resulting Numbers: [89, 51]
Generated Node #0,0,0: 97:[89, 51] Operation: 67-16=51
Exploring Operation: 16+89=105, Resulting Numbers: [67, 105]
Generated Node #0,0,1: 97:[67, 105] Operation: 16+89=105
Exploring Operation: 16+67=83, Resulting Numbers: [89, 83]
Generated Node #0,0,2: 97:[89, 83] Operation: 16+67=83
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[89, 83], Operations: ['74+15=89', '16+67=83']
Exploring Operation: 89-83=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 89*83=7387, Resulting Numbers: [7387]
7387,97 unequal: No Solution
Exploring Operation: 89+83=172, Resulting Numbers: [172]
172,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[67, 105], Operations: ['74+15=89', '16+89=105']
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,97 unequal: No Solution
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,97 unequal: No Solution
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[89, 51], Operations: ['74+15=89', '67-16=51']
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[15, 67, 90], Operations: ['74+16=90']
Exploring Operation: 15+67=82, Resulting Numbers: [90, 82]
Generated Node #0,1,0: 97:[90, 82] Operation: 15+67=82
Exploring Operation: 67-15=52, Resulting Numbers: [90, 52]
Generated Node #0,1,1: 97:[90, 52] Operation: 67-15=52
Exploring Operation: 15+90=105, Resulting Numbers: [67, 105]
Generated Node #0,1,2: 97:[67, 105] Operation: 15+90=105
Moving to Node #0,2
Current State: 97:[74, 67, 31], Operations: ['15+16=31']
Exploring Operation: 67+31=98, Resulting Numbers: [74, 98]
Generated Node #0,2,0: 97:[74, 98] Operation: 67+31=98
Exploring Operation: 74-31=43, Resulting Numbers: [67, 43]
Generated Node #0,2,1: 97:[67, 43] Operation: 74-31=43
Exploring Operation: 74+31=105, Resulting Numbers: [67, 105]
Generated Node #0,2,2: 97:[67, 105] Operation: 74+31=105
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[74, 98], Operations: ['15+16=31', '67+31=98']
Exploring Operation: 74*98=7252, Resulting Numbers: [7252]
7252,97 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Exploring Operation: 74+98=172, Resulting Numbers: [172]
172,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[67, 105], Operations: ['15+16=31', '74+31=105']
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,97 unequal: No Solution
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[67, 43], Operations: ['15+16=31', '74-31=43']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,97 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 97:[90, 82], Operations: ['74+16=90', '15+67=82']
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 90*82=7380, Resulting Numbers: [7380]
7380,97 unequal: No Solution
Exploring Operation: 90+82=172, Resulting Numbers: [172]
172,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[67, 105], Operations: ['74+16=90', '15+90=105']
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,97 unequal: No Solution
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,97 unequal: No Solution
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[90, 52], Operations: ['74+16=90', '67-15=52']
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,97 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,97 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
27,
39,
51,
2
] | 45
|
[
"39-27=12",
"12/2=6",
"51-6=45"
] |
Current State: 45:[27, 39, 51, 2], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [51, 2, 12]
Generated Node #2: [51, 2, 12] from Operation: 39-27=12
Current State: 45:[51, 2, 12], Operations: ['39-27=12']
Exploring Operation: 12/2=6, Resulting Numbers: [51, 6]
Generated Node #3: [51, 6] from Operation: 12/2=6
Current State: 45:[51, 6], Operations: ['39-27=12', '12/2=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[27, 39, 51, 2], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [39, 51, 54]
Generated Node #0,0: 45:[39, 51, 54] Operation: 27*2=54
Exploring Operation: 27-2=25, Resulting Numbers: [39, 51, 25]
Generated Node #0,1: 45:[39, 51, 25] Operation: 27-2=25
Exploring Operation: 51-39=12, Resulting Numbers: [27, 2, 12]
Generated Node #0,2: 45:[27, 2, 12] Operation: 51-39=12
Exploring Operation: 39-27=12, Resulting Numbers: [51, 2, 12]
Generated Node #0,3: 45:[51, 2, 12] Operation: 39-27=12
Exploring Operation: 51-27=24, Resulting Numbers: [39, 2, 24]
Generated Node #0,4: 45:[39, 2, 24] Operation: 51-27=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[51, 2, 12], Operations: ['39-27=12']
Exploring Operation: 2+12=14, Resulting Numbers: [51, 14]
Generated Node #0,3,0: 45:[51, 14] Operation: 2+12=14
Exploring Operation: 12-2=10, Resulting Numbers: [51, 10]
Generated Node #0,3,1: 45:[51, 10] Operation: 12-2=10
Exploring Operation: 51-2=49, Resulting Numbers: [12, 49]
Generated Node #0,3,2: 45:[12, 49] Operation: 51-2=49
Exploring Operation: 12/2=6, Resulting Numbers: [51, 6]
Generated Node #0,3,3: 45:[51, 6] Operation: 12/2=6
Exploring Operation: 51-12=39, Resulting Numbers: [2, 39]
Generated Node #0,3,4: 45:[2, 39] Operation: 51-12=39
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[51, 14], Operations: ['39-27=12', '2+12=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,45 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 45:[51, 10], Operations: ['39-27=12', '12-2=10']
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,45 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 45:[12, 49], Operations: ['39-27=12', '51-2=49']
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,45 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 45:[51, 6], Operations: ['39-27=12', '12/2=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,45 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[27, 39, 51, 2], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [51, 2, 12]
Generated Node #0,3: 45:[51, 2, 12] Operation: 39-27=12
Moving to Node #0,3
Current State: 45:[51, 2, 12], Operations: ['39-27=12']
Exploring Operation: 12/2=6, Resulting Numbers: [51, 6]
Generated Node #0,3,3: 45:[51, 6] Operation: 12/2=6
Moving to Node #0,3,3
Current State: 45:[51, 6], Operations: ['39-27=12', '12/2=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299
|
hs_5
|
mult_heuristic
|
[
38,
14,
96,
35
] | 39
|
[
"38-14=24",
"96/24=4",
"35+4=39"
] |
Current State: 39:[38, 14, 96, 35], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [96, 35, 24]
Generated Node #2: [96, 35, 24] from Operation: 38-14=24
Current State: 39:[96, 35, 24], Operations: ['38-14=24']
Exploring Operation: 96/24=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 96/24=4
Current State: 39:[35, 4], Operations: ['38-14=24', '96/24=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[38, 14, 96, 35], Operations: []
Exploring Operation: 96-38=58, Resulting Numbers: [14, 35, 58]
Generated Node #0,0: 39:[14, 35, 58] Operation: 96-38=58
Moving to Node #0,0
Current State: 39:[14, 35, 58], Operations: ['96-38=58']
Exploring Operation: 58-14=44, Resulting Numbers: [35, 44]
Generated Node #0,0,0: 39:[35, 44] Operation: 58-14=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[35, 44], Operations: ['96-38=58', '58-14=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,39 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
|
[
94,
88,
86,
84
] | 47
|
[
"94*86=8084",
"88+84=172",
"8084/172=47"
] |
Current State: 47:[94, 88, 86, 84], Operations: []
Exploring Operation: 94*86=8084, Resulting Numbers: [88, 84, 8084]
Generated Node #2: [88, 84, 8084] from Operation: 94*86=8084
Current State: 47:[88, 84, 8084], Operations: ['94*86=8084']
Exploring Operation: 88+84=172, Resulting Numbers: [8084, 172]
Generated Node #3: [8084, 172] from Operation: 88+84=172
Current State: 47:[8084, 172], Operations: ['94*86=8084', '88+84=172']
Exploring Operation: 8084/172=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[94, 88, 86, 84], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [86, 84, 6]
Generated Node #0,0: 47:[86, 84, 6] Operation: 94-88=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[86, 84, 6], Operations: ['94-88=6']
Exploring Operation: 86-6=80, Resulting Numbers: [84, 80]
Generated Node #0,0,0: 47:[84, 80] Operation: 86-6=80
Moving to Node #0,0,0
Current State: 47:[84, 80], Operations: ['94-88=6', '86-6=80']
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,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
|
[
54,
47,
74,
52
] | 29
|
[
"54-47=7",
"74-52=22",
"7+22=29"
] |
Current State: 29:[54, 47, 74, 52], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [74, 52, 7]
Generated Node #2: [74, 52, 7] from Operation: 54-47=7
Current State: 29:[74, 52, 7], Operations: ['54-47=7']
Exploring Operation: 74-52=22, Resulting Numbers: [7, 22]
Generated Node #3: [7, 22] from Operation: 74-52=22
Current State: 29:[7, 22], Operations: ['54-47=7', '74-52=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4
|
Current State: 29:[54, 47, 74, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [47, 74, 2]
Generated Node #0,0: 29:[47, 74, 2] Operation: 54-52=2
Exploring Operation: 74-54=20, Resulting Numbers: [47, 52, 20]
Generated Node #0,1: 29:[47, 52, 20] Operation: 74-54=20
Exploring Operation: 74-52=22, Resulting Numbers: [54, 47, 22]
Generated Node #0,2: 29:[54, 47, 22] Operation: 74-52=22
Exploring Operation: 74-47=27, Resulting Numbers: [54, 52, 27]
Generated Node #0,3: 29:[54, 52, 27] Operation: 74-47=27
Exploring Operation: 54-47=7, Resulting Numbers: [74, 52, 7]
Generated Node #0,4: 29:[74, 52, 7] Operation: 54-47=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[47, 52, 20], Operations: ['74-54=20']
Exploring Operation: 52+20=72, Resulting Numbers: [47, 72]
Generated Node #0,1,0: 29:[47, 72] Operation: 52+20=72
Exploring Operation: 47-20=27, Resulting Numbers: [52, 27]
Generated Node #0,1,1: 29:[52, 27] Operation: 47-20=27
Exploring Operation: 52-20=32, Resulting Numbers: [47, 32]
Generated Node #0,1,2: 29:[47, 32] Operation: 52-20=32
Exploring Operation: 47+20=67, Resulting Numbers: [52, 67]
Generated Node #0,1,3: 29:[52, 67] Operation: 47+20=67
Exploring Operation: 52-47=5, Resulting Numbers: [20, 5]
Generated Node #0,1,4: 29:[20, 5] Operation: 52-47=5
Moving to Node #0,1,2
Current State: 29:[47, 32], Operations: ['74-54=20', '52-20=32']
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,29 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[52, 27], Operations: ['74-54=20', '47-20=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,29 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[20, 5], Operations: ['74-54=20', '52-47=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[47, 72], Operations: ['74-54=20', '52+20=72']
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,29 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[52, 67], Operations: ['74-54=20', '47+20=67']
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,29 unequal: No Solution
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,29 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[54, 47, 22], Operations: ['74-52=22']
Exploring Operation: 54-22=32, Resulting Numbers: [47, 32]
Generated Node #0,2,0: 29:[47, 32] Operation: 54-22=32
Exploring Operation: 54+22=76, Resulting Numbers: [47, 76]
Generated Node #0,2,1: 29:[47, 76] Operation: 54+22=76
Exploring Operation: 47+22=69, Resulting Numbers: [54, 69]
Generated Node #0,2,2: 29:[54, 69] Operation: 47+22=69
Exploring Operation: 54-47=7, Resulting Numbers: [22, 7]
Generated Node #0,2,3: 29:[22, 7] Operation: 54-47=7
Exploring Operation: 47-22=25, Resulting Numbers: [54, 25]
Generated Node #0,2,4: 29:[54, 25] Operation: 47-22=25
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[47, 32], Operations: ['74-52=22', '54-22=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[22, 7], Operations: ['74-52=22', '54-47=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,29 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[54, 47, 74, 52], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [54, 47, 22]
Generated Node #0,2: 29:[54, 47, 22] Operation: 74-52=22
Moving to Node #0,2
Current State: 29:[54, 47, 22], Operations: ['74-52=22']
Exploring Operation: 54-47=7, Resulting Numbers: [22, 7]
Generated Node #0,2,3: 29:[22, 7] Operation: 54-47=7
Moving to Node #0,2,3
Current State: 29:[22, 7], Operations: ['74-52=22', '54-47=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278
|
hs_5
|
sum_heuristic
|
[
48,
15,
99,
22
] | 44
|
[
"48-15=33",
"99-22=77",
"77-33=44"
] |
Current State: 44:[48, 15, 99, 22], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [99, 22, 33]
Generated Node #2: [99, 22, 33] from Operation: 48-15=33
Current State: 44:[99, 22, 33], Operations: ['48-15=33']
Exploring Operation: 99-22=77, Resulting Numbers: [33, 77]
Generated Node #3: [33, 77] from Operation: 99-22=77
Current State: 44:[33, 77], Operations: ['48-15=33', '99-22=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4
|
Current State: 44:[48, 15, 99, 22], Operations: []
Exploring Operation: 99-22=77, Resulting Numbers: [48, 15, 77]
Generated Node #0,0: 44:[48, 15, 77] Operation: 99-22=77
Exploring Operation: 99-48=51, Resulting Numbers: [15, 22, 51]
Generated Node #0,1: 44:[15, 22, 51] Operation: 99-48=51
Exploring Operation: 99-15=84, Resulting Numbers: [48, 22, 84]
Generated Node #0,2: 44:[48, 22, 84] Operation: 99-15=84
Moving to Node #0,1
Current State: 44:[15, 22, 51], Operations: ['99-48=51']
Exploring Operation: 51-22=29, Resulting Numbers: [15, 29]
Generated Node #0,1,0: 44:[15, 29] Operation: 51-22=29
Exploring Operation: 51-15=36, Resulting Numbers: [22, 36]
Generated Node #0,1,1: 44:[22, 36] Operation: 51-15=36
Exploring Operation: 22-15=7, Resulting Numbers: [51, 7]
Generated Node #0,1,2: 44:[51, 7] Operation: 22-15=7
Moving to Node #0,0
Current State: 44:[48, 15, 77], Operations: ['99-22=77']
Exploring Operation: 77-48=29, Resulting Numbers: [15, 29]
Generated Node #0,0,0: 44:[15, 29] Operation: 77-48=29
Exploring Operation: 77-15=62, Resulting Numbers: [48, 62]
Generated Node #0,0,1: 44:[48, 62] Operation: 77-15=62
Exploring Operation: 48-15=33, Resulting Numbers: [77, 33]
Generated Node #0,0,2: 44:[77, 33] Operation: 48-15=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[15, 29], Operations: ['99-22=77', '77-48=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,44 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[48, 15, 99, 22], Operations: []
Exploring Operation: 99-22=77, Resulting Numbers: [48, 15, 77]
Generated Node #0,0: 44:[48, 15, 77] Operation: 99-22=77
Moving to Node #0,0
Current State: 44:[48, 15, 77], Operations: ['99-22=77']
Exploring Operation: 77-48=29, Resulting Numbers: [15, 29]
Generated Node #0,0,0: 44:[15, 29] Operation: 77-48=29
Moving to Node #0,0,0
Current State: 44:[15, 29], Operations: ['99-22=77', '77-48=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_3
|
mult_heuristic
|
[
11,
31,
16,
88
] | 67
|
[
"16-11=5",
"31*5=155",
"155-88=67"
] |
Current State: 67:[11, 31, 16, 88], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [31, 88, 5]
Generated Node #2: [31, 88, 5] from Operation: 16-11=5
Current State: 67:[31, 88, 5], Operations: ['16-11=5']
Exploring Operation: 31*5=155, Resulting Numbers: [88, 155]
Generated Node #3: [88, 155] from Operation: 31*5=155
Current State: 67:[88, 155], Operations: ['16-11=5', '31*5=155']
Exploring Operation: 155-88=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[11, 31, 16, 88], Operations: []
Exploring Operation: 11+31=42, Resulting Numbers: [16, 88, 42]
Generated Node #0,0: 67:[16, 88, 42] Operation: 11+31=42
Exploring Operation: 11+16=27, Resulting Numbers: [31, 88, 27]
Generated Node #0,1: 67:[31, 88, 27] Operation: 11+16=27
Moving to Node #0,0
Current State: 67:[16, 88, 42], Operations: ['11+31=42']
Exploring Operation: 88-16=72, Resulting Numbers: [42, 72]
Generated Node #0,0,0: 67:[42, 72] Operation: 88-16=72
Exploring Operation: 16+42=58, Resulting Numbers: [88, 58]
Generated Node #0,0,1: 67:[88, 58] Operation: 16+42=58
Moving to Node #0,1
Current State: 67:[31, 88, 27], Operations: ['11+16=27']
Exploring Operation: 88-27=61, Resulting Numbers: [31, 61]
Generated Node #0,1,0: 67:[31, 61] Operation: 88-27=61
Exploring Operation: 31+27=58, Resulting Numbers: [88, 58]
Generated Node #0,1,1: 67:[88, 58] Operation: 31+27=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[88, 58], Operations: ['11+16=27', '31+27=58']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,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:[31, 61], Operations: ['11+16=27', '88-27=61']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 31+61=92, Resulting Numbers: [92]
92,67 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: 67:[42, 72], Operations: ['11+31=42', '88-16=72']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[88, 58], Operations: ['11+31=42', '16+42=58']
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,67 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
63,
34,
13,
98
] | 82
|
[
"63-34=29",
"13+98=111",
"111-29=82"
] |
Current State: 82:[63, 34, 13, 98], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [13, 98, 29]
Generated Node #2: [13, 98, 29] from Operation: 63-34=29
Current State: 82:[13, 98, 29], Operations: ['63-34=29']
Exploring Operation: 13+98=111, Resulting Numbers: [29, 111]
Generated Node #3: [29, 111] from Operation: 13+98=111
Current State: 82:[29, 111], Operations: ['63-34=29', '13+98=111']
Exploring Operation: 111-29=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[63, 34, 13, 98], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [13, 98, 29]
Generated Node #0,0: 82:[13, 98, 29] Operation: 63-34=29
Exploring Operation: 98-63=35, Resulting Numbers: [34, 13, 35]
Generated Node #0,1: 82:[34, 13, 35] Operation: 98-63=35
Exploring Operation: 63+13=76, Resulting Numbers: [34, 98, 76]
Generated Node #0,2: 82:[34, 98, 76] Operation: 63+13=76
Exploring Operation: 98-13=85, Resulting Numbers: [63, 34, 85]
Generated Node #0,3: 82:[63, 34, 85] Operation: 98-13=85
Exploring Operation: 63-13=50, Resulting Numbers: [34, 98, 50]
Generated Node #0,4: 82:[34, 98, 50] Operation: 63-13=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[34, 13, 35], Operations: ['98-63=35']
Exploring Operation: 34+13=47, Resulting Numbers: [35, 47]
Generated Node #0,1,0: 82:[35, 47] Operation: 34+13=47
Exploring Operation: 34-13=21, Resulting Numbers: [35, 21]
Generated Node #0,1,1: 82:[35, 21] Operation: 34-13=21
Exploring Operation: 34+35=69, Resulting Numbers: [13, 69]
Generated Node #0,1,2: 82:[13, 69] Operation: 34+35=69
Exploring Operation: 13+35=48, Resulting Numbers: [34, 48]
Generated Node #0,1,3: 82:[34, 48] Operation: 13+35=48
Exploring Operation: 35-34=1, Resulting Numbers: [13, 1]
Generated Node #0,1,4: 82:[13, 1] Operation: 35-34=1
Moving to Node #0,1,0
Current State: 82:[35, 47], Operations: ['98-63=35', '34+13=47']
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[63, 34, 13, 98], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [34, 13, 35]
Generated Node #0,1: 82:[34, 13, 35] Operation: 98-63=35
Moving to Node #0,1
Current State: 82:[34, 13, 35], Operations: ['98-63=35']
Exploring Operation: 34+13=47, Resulting Numbers: [35, 47]
Generated Node #0,1,0: 82:[35, 47] Operation: 34+13=47
Moving to Node #0,1,0
Current State: 82:[35, 47], Operations: ['98-63=35', '34+13=47']
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
mult_heuristic
|
[
30,
28,
41,
53
] | 36
|
[
"30+28=58",
"41+53=94",
"94-58=36"
] |
Current State: 36:[30, 28, 41, 53], Operations: []
Exploring Operation: 30+28=58, Resulting Numbers: [41, 53, 58]
Generated Node #2: [41, 53, 58] from Operation: 30+28=58
Current State: 36:[41, 53, 58], Operations: ['30+28=58']
Exploring Operation: 41+53=94, Resulting Numbers: [58, 94]
Generated Node #3: [58, 94] from Operation: 41+53=94
Current State: 36:[58, 94], Operations: ['30+28=58', '41+53=94']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[30, 28, 41, 53], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [28, 41, 23]
Generated Node #0,0: 36:[28, 41, 23] Operation: 53-30=23
Exploring Operation: 53-41=12, Resulting Numbers: [30, 28, 12]
Generated Node #0,1: 36:[30, 28, 12] Operation: 53-41=12
Exploring Operation: 53-28=25, Resulting Numbers: [30, 41, 25]
Generated Node #0,2: 36:[30, 41, 25] Operation: 53-28=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[30, 28, 12], Operations: ['53-41=12']
Exploring Operation: 28-12=16, Resulting Numbers: [30, 16]
Generated Node #0,1,0: 36:[30, 16] Operation: 28-12=16
Exploring Operation: 30-12=18, Resulting Numbers: [28, 18]
Generated Node #0,1,1: 36:[28, 18] Operation: 30-12=18
Exploring Operation: 30-28=2, Resulting Numbers: [12, 2]
Generated Node #0,1,2: 36:[12, 2] Operation: 30-28=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[12, 2], Operations: ['53-41=12', '30-28=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[30, 16], Operations: ['53-41=12', '28-12=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[28, 18], Operations: ['53-41=12', '30-12=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,36 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,36 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: 36:[28, 41, 23], Operations: ['53-30=23']
Exploring Operation: 41-28=13, Resulting Numbers: [23, 13]
Generated Node #0,0,0: 36:[23, 13] Operation: 41-28=13
Exploring Operation: 28-23=5, Resulting Numbers: [41, 5]
Generated Node #0,0,1: 36:[41, 5] Operation: 28-23=5
Exploring Operation: 41-23=18, Resulting Numbers: [28, 18]
Generated Node #0,0,2: 36:[28, 18] Operation: 41-23=18
Moving to Node #0,0,0
Current State: 36:[23, 13], Operations: ['53-30=23', '41-28=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,36 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[30, 28, 41, 53], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [28, 41, 23]
Generated Node #0,0: 36:[28, 41, 23] Operation: 53-30=23
Moving to Node #0,0
Current State: 36:[28, 41, 23], Operations: ['53-30=23']
Exploring Operation: 41-28=13, Resulting Numbers: [23, 13]
Generated Node #0,0,0: 36:[23, 13] Operation: 41-28=13
Moving to Node #0,0,0
Current State: 36:[23, 13], Operations: ['53-30=23', '41-28=13']
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299
|
hs_3
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.