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 |
---|---|---|---|---|---|---|---|---|
[
9,
88,
81,
77
] | 14 |
[
"88-81=7",
"9*7=63",
"77-63=14"
] |
Current State: 14:[9, 88, 81, 77], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [9, 77, 7]
Generated Node #2: [9, 77, 7] from Operation: 88-81=7
Current State: 14:[9, 77, 7], Operations: ['88-81=7']
Exploring Operation: 9*7=63, Resulting Numbers: [77, 63]
Generated Node #3: [77, 63] from Operation: 9*7=63
Current State: 14:[77, 63], Operations: ['88-81=7', '9*7=63']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[9, 88, 81, 77], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [9, 77, 7]
Generated Node #0,0: 14:[9, 77, 7] Operation: 88-81=7
Exploring Operation: 88-77=11, Resulting Numbers: [9, 81, 11]
Generated Node #0,1: 14:[9, 81, 11] Operation: 88-77=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[9, 77, 7], Operations: ['88-81=7']
Exploring Operation: 77/7=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 14:[9, 11] Operation: 77/7=11
Exploring Operation: 77-9=68, Resulting Numbers: [7, 68]
Generated Node #0,0,1: 14:[7, 68] Operation: 77-9=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[9, 11], Operations: ['88-81=7', '77/7=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,14 unequal: No Solution
No 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: 14:[7, 68], Operations: ['88-81=7', '77-9=68']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,14 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: 14:[9, 81, 11], Operations: ['88-77=11']
Exploring Operation: 81/9=9, Resulting Numbers: [11, 9]
Generated Node #0,1,0: 14:[11, 9] Operation: 81/9=9
Exploring Operation: 81-11=70, Resulting Numbers: [9, 70]
Generated Node #0,1,1: 14:[9, 70] Operation: 81-11=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[11, 9], Operations: ['88-77=11', '81/9=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No 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: 14:[9, 70], Operations: ['88-77=11', '81-11=70']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
12,
87,
16,
42
] | 60 |
[
"87-42=45",
"16*45=720",
"720/12=60"
] |
Current State: 60:[12, 87, 16, 42], Operations: []
Exploring Operation: 87-42=45, Resulting Numbers: [12, 16, 45]
Generated Node #2: [12, 16, 45] from Operation: 87-42=45
Current State: 60:[12, 16, 45], Operations: ['87-42=45']
Exploring Operation: 16*45=720, Resulting Numbers: [12, 720]
Generated Node #3: [12, 720] from Operation: 16*45=720
Current State: 60:[12, 720], Operations: ['87-42=45', '16*45=720']
Exploring Operation: 720/12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[12, 87, 16, 42], Operations: []
Exploring Operation: 87-42=45, Resulting Numbers: [12, 16, 45]
Generated Node #0,0: 60:[12, 16, 45] Operation: 87-42=45
Exploring Operation: 87-16=71, Resulting Numbers: [12, 42, 71]
Generated Node #0,1: 60:[12, 42, 71] Operation: 87-16=71
Exploring Operation: 87-12=75, Resulting Numbers: [16, 42, 75]
Generated Node #0,2: 60:[16, 42, 75] Operation: 87-12=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[12, 16, 45], Operations: ['87-42=45']
Exploring Operation: 45-16=29, Resulting Numbers: [12, 29]
Generated Node #0,0,0: 60:[12, 29] Operation: 45-16=29
Exploring Operation: 16+45=61, Resulting Numbers: [12, 61]
Generated Node #0,0,1: 60:[12, 61] Operation: 16+45=61
Exploring Operation: 12+45=57, Resulting Numbers: [16, 57]
Generated Node #0,0,2: 60:[16, 57] Operation: 12+45=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[12, 29], Operations: ['87-42=45', '45-16=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,60 unequal: No Solution
No 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: 60:[12, 61], Operations: ['87-42=45', '16+45=61']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,60 unequal: No Solution
No 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: 60:[16, 57], Operations: ['87-42=45', '12+45=57']
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,60 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,60 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: 60:[12, 42, 71], Operations: ['87-16=71']
Exploring Operation: 42-12=30, Resulting Numbers: [71, 30]
Generated Node #0,1,0: 60:[71, 30] Operation: 42-12=30
Exploring Operation: 71-12=59, Resulting Numbers: [42, 59]
Generated Node #0,1,1: 60:[42, 59] Operation: 71-12=59
Exploring Operation: 71-42=29, Resulting Numbers: [12, 29]
Generated Node #0,1,2: 60:[12, 29] Operation: 71-42=29
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[12, 29], Operations: ['87-16=71', '71-42=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,60 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No 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: 60:[71, 30], Operations: ['87-16=71', '42-12=30']
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,60 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,60 unequal: No Solution
No 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: 60:[42, 59], Operations: ['87-16=71', '71-12=59']
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,60 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,60 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: 60:[16, 42, 75], Operations: ['87-12=75']
Exploring Operation: 75-42=33, Resulting Numbers: [16, 33]
Generated Node #0,2,0: 60:[16, 33] Operation: 75-42=33
Exploring Operation: 16+42=58, Resulting Numbers: [75, 58]
Generated Node #0,2,1: 60:[75, 58] Operation: 16+42=58
Exploring Operation: 75-16=59, Resulting Numbers: [42, 59]
Generated Node #0,2,2: 60:[42, 59] Operation: 75-16=59
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[16, 33], Operations: ['87-12=75', '75-42=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,60 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No 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: 60:[42, 59], Operations: ['87-12=75', '75-16=59']
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,60 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,60 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No 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: 60:[75, 58], Operations: ['87-12=75', '16+42=58']
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,60 unequal: No Solution
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,60 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,60 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
|
[
45,
88,
72,
32
] | 43 |
[
"88-72=16",
"32/16=2",
"45-2=43"
] |
Current State: 43:[45, 88, 72, 32], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [45, 32, 16]
Generated Node #2: [45, 32, 16] from Operation: 88-72=16
Current State: 43:[45, 32, 16], Operations: ['88-72=16']
Exploring Operation: 32/16=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 32/16=2
Current State: 43:[45, 2], Operations: ['88-72=16', '32/16=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[45, 88, 72, 32], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [45, 32, 16]
Generated Node #0,0: 43:[45, 32, 16] Operation: 88-72=16
Exploring Operation: 88-45=43, Resulting Numbers: [72, 32, 43]
Generated Node #0,1: 43:[72, 32, 43] Operation: 88-45=43
Exploring Operation: 72-32=40, Resulting Numbers: [45, 88, 40]
Generated Node #0,2: 43:[45, 88, 40] Operation: 72-32=40
Exploring Operation: 72-45=27, Resulting Numbers: [88, 32, 27]
Generated Node #0,3: 43:[88, 32, 27] Operation: 72-45=27
Exploring Operation: 88-32=56, Resulting Numbers: [45, 72, 56]
Generated Node #0,4: 43:[45, 72, 56] Operation: 88-32=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[45, 32, 16], Operations: ['88-72=16']
Exploring Operation: 45-16=29, Resulting Numbers: [32, 29]
Generated Node #0,0,0: 43:[32, 29] Operation: 45-16=29
Exploring Operation: 32/16=2, Resulting Numbers: [45, 2]
Generated Node #0,0,1: 43:[45, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [45, 16]
Generated Node #0,0,2: 43:[45, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [45, 48]
Generated Node #0,0,3: 43:[45, 48] Operation: 32+16=48
Exploring Operation: 45+16=61, Resulting Numbers: [32, 61]
Generated Node #0,0,4: 43:[32, 61] Operation: 45+16=61
Moving to Node #0,0,3
Current State: 43:[45, 48], Operations: ['88-72=16', '32+16=48']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 45*48=2160, Resulting Numbers: [2160]
2160,43 unequal: No Solution
Exploring Operation: 45+48=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[32, 29], Operations: ['88-72=16', '45-16=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,43 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[45, 16], Operations: ['88-72=16', '32-16=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[32, 61], Operations: ['88-72=16', '45+16=61']
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,43 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[45, 2], Operations: ['88-72=16', '32/16=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[45, 88, 72, 32], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [45, 32, 16]
Generated Node #0,0: 43:[45, 32, 16] Operation: 88-72=16
Moving to Node #0,0
Current State: 43:[45, 32, 16], Operations: ['88-72=16']
Exploring Operation: 32/16=2, Resulting Numbers: [45, 2]
Generated Node #0,0,1: 43:[45, 2] Operation: 32/16=2
Moving to Node #0,0,1
Current State: 43:[45, 2], Operations: ['88-72=16', '32/16=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_5
|
mult_heuristic
|
[
66,
73,
26,
41
] | 11 |
[
"73-26=47",
"47-41=6",
"66/6=11"
] |
Current State: 11:[66, 73, 26, 41], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [66, 41, 47]
Generated Node #2: [66, 41, 47] from Operation: 73-26=47
Current State: 11:[66, 41, 47], Operations: ['73-26=47']
Exploring Operation: 47-41=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 47-41=6
Current State: 11:[66, 6], Operations: ['73-26=47', '47-41=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[66, 73, 26, 41], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [26, 41, 7]
Generated Node #0,0: 11:[26, 41, 7] Operation: 73-66=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[26, 41, 7], Operations: ['73-66=7']
Exploring Operation: 41-26=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 11:[7, 15] Operation: 41-26=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[7, 15], Operations: ['73-66=7', '41-26=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
63,
48,
61,
34
] | 42 |
[
"63-48=15",
"61-34=27",
"15+27=42"
] |
Current State: 42:[63, 48, 61, 34], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [61, 34, 15]
Generated Node #2: [61, 34, 15] from Operation: 63-48=15
Current State: 42:[61, 34, 15], Operations: ['63-48=15']
Exploring Operation: 61-34=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 61-34=27
Current State: 42:[15, 27], Operations: ['63-48=15', '61-34=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[63, 48, 61, 34], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [48, 34, 2]
Generated Node #0,0: 42:[48, 34, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[48, 34, 2], Operations: ['63-61=2']
Exploring Operation: 48-34=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 42:[2, 14] Operation: 48-34=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[2, 14], Operations: ['63-61=2', '48-34=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
65,
80,
1,
66
] | 52 |
[
"80-65=15",
"1+66=67",
"67-15=52"
] |
Current State: 52:[65, 80, 1, 66], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [1, 66, 15]
Generated Node #2: [1, 66, 15] from Operation: 80-65=15
Current State: 52:[1, 66, 15], Operations: ['80-65=15']
Exploring Operation: 1+66=67, Resulting Numbers: [15, 67]
Generated Node #3: [15, 67] from Operation: 1+66=67
Current State: 52:[15, 67], Operations: ['80-65=15', '1+66=67']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[65, 80, 1, 66], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [65, 1, 14]
Generated Node #0,0: 52:[65, 1, 14] Operation: 80-66=14
Exploring Operation: 80-65=15, Resulting Numbers: [1, 66, 15]
Generated Node #0,1: 52:[1, 66, 15] Operation: 80-65=15
Moving to Node #0,0
Current State: 52:[65, 1, 14], Operations: ['80-66=14']
Exploring Operation: 65-14=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 52:[1, 51] Operation: 65-14=51
Exploring Operation: 65-1=64, Resulting Numbers: [14, 64]
Generated Node #0,0,1: 52:[14, 64] Operation: 65-1=64
Moving to Node #0,1
Current State: 52:[1, 66, 15], Operations: ['80-65=15']
Exploring Operation: 66-15=51, Resulting Numbers: [1, 51]
Generated Node #0,1,0: 52:[1, 51] Operation: 66-15=51
Exploring Operation: 66-1=65, Resulting Numbers: [15, 65]
Generated Node #0,1,1: 52:[15, 65] Operation: 66-1=65
Moving to Node #0,0,0
Current State: 52:[1, 51], Operations: ['80-66=14', '65-14=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[65, 80, 1, 66], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [65, 1, 14]
Generated Node #0,0: 52:[65, 1, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 52:[65, 1, 14], Operations: ['80-66=14']
Exploring Operation: 65-14=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 52:[1, 51] Operation: 65-14=51
Moving to Node #0,0,0
Current State: 52:[1, 51], Operations: ['80-66=14', '65-14=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.990451 |
hs_2
|
mult_heuristic
|
[
47,
7,
43,
21
] | 18 |
[
"47-7=40",
"43-21=22",
"40-22=18"
] |
Current State: 18:[47, 7, 43, 21], Operations: []
Exploring Operation: 47-7=40, Resulting Numbers: [43, 21, 40]
Generated Node #2: [43, 21, 40] from Operation: 47-7=40
Current State: 18:[43, 21, 40], Operations: ['47-7=40']
Exploring Operation: 43-21=22, Resulting Numbers: [40, 22]
Generated Node #3: [40, 22] from Operation: 43-21=22
Current State: 18:[40, 22], Operations: ['47-7=40', '43-21=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[47, 7, 43, 21], Operations: []
Exploring Operation: 47-7=40, Resulting Numbers: [43, 21, 40]
Generated Node #0,0: 18:[43, 21, 40] Operation: 47-7=40
Exploring Operation: 47-43=4, Resulting Numbers: [7, 21, 4]
Generated Node #0,1: 18:[7, 21, 4] Operation: 47-43=4
Exploring Operation: 47-21=26, Resulting Numbers: [7, 43, 26]
Generated Node #0,2: 18:[7, 43, 26] Operation: 47-21=26
Exploring Operation: 43-21=22, Resulting Numbers: [47, 7, 22]
Generated Node #0,3: 18:[47, 7, 22] Operation: 43-21=22
Exploring Operation: 43-7=36, Resulting Numbers: [47, 21, 36]
Generated Node #0,4: 18:[47, 21, 36] Operation: 43-7=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[7, 21, 4], Operations: ['47-43=4']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,1,0: 18:[21, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [21, 11]
Generated Node #0,1,1: 18:[21, 11] Operation: 7+4=11
Exploring Operation: 21/7=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 18:[4, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [4, 14]
Generated Node #0,1,3: 18:[4, 14] Operation: 21-7=14
Exploring Operation: 21-4=17, Resulting Numbers: [7, 17]
Generated Node #0,1,4: 18:[7, 17] Operation: 21-4=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[4, 3], Operations: ['47-43=4', '21/7=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 18:[7, 17], Operations: ['47-43=4', '21-4=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[21, 3], Operations: ['47-43=4', '7-4=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[47, 7, 43, 21], Operations: []
Exploring Operation: 47-43=4, Resulting Numbers: [7, 21, 4]
Generated Node #0,1: 18:[7, 21, 4] Operation: 47-43=4
Moving to Node #0,1
Current State: 18:[7, 21, 4], Operations: ['47-43=4']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,1,0: 18:[21, 3] Operation: 7-4=3
Moving to Node #0,1,0
Current State: 18:[21, 3], Operations: ['47-43=4', '7-4=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 |
hs_5
|
mult_heuristic
|
[
40,
39,
36,
80
] | 44 |
[
"40-39=1",
"80-36=44",
"1*44=44"
] |
Current State: 44:[40, 39, 36, 80], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [36, 80, 1]
Generated Node #2: [36, 80, 1] from Operation: 40-39=1
Current State: 44:[36, 80, 1], Operations: ['40-39=1']
Exploring Operation: 80-36=44, Resulting Numbers: [1, 44]
Generated Node #3: [1, 44] from Operation: 80-36=44
Current State: 44:[1, 44], Operations: ['40-39=1', '80-36=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[40, 39, 36, 80], Operations: []
Exploring Operation: 80-40=40, Resulting Numbers: [39, 36, 40]
Generated Node #0,0: 44:[39, 36, 40] Operation: 80-40=40
Exploring Operation: 80-36=44, Resulting Numbers: [40, 39, 44]
Generated Node #0,1: 44:[40, 39, 44] Operation: 80-36=44
Exploring Operation: 80-39=41, Resulting Numbers: [40, 36, 41]
Generated Node #0,2: 44:[40, 36, 41] Operation: 80-39=41
Exploring Operation: 40-36=4, Resulting Numbers: [39, 80, 4]
Generated Node #0,3: 44:[39, 80, 4] Operation: 40-36=4
Exploring Operation: 80/40=2, Resulting Numbers: [39, 36, 2]
Generated Node #0,4: 44:[39, 36, 2] Operation: 80/40=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[40, 39, 44], Operations: ['80-36=44']
Exploring Operation: 40-39=1, Resulting Numbers: [44, 1]
Generated Node #0,1,0: 44:[44, 1] Operation: 40-39=1
Exploring Operation: 40+39=79, Resulting Numbers: [44, 79]
Generated Node #0,1,1: 44:[44, 79] Operation: 40+39=79
Exploring Operation: 44-39=5, Resulting Numbers: [40, 5]
Generated Node #0,1,2: 44:[40, 5] Operation: 44-39=5
Exploring Operation: 44-40=4, Resulting Numbers: [39, 4]
Generated Node #0,1,3: 44:[39, 4] Operation: 44-40=4
Exploring Operation: 39+44=83, Resulting Numbers: [40, 83]
Generated Node #0,1,4: 44:[40, 83] Operation: 39+44=83
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[44, 1], Operations: ['80-36=44', '40-39=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[40, 39, 36, 80], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [40, 39, 44]
Generated Node #0,1: 44:[40, 39, 44] Operation: 80-36=44
Moving to Node #0,1
Current State: 44:[40, 39, 44], Operations: ['80-36=44']
Exploring Operation: 40-39=1, Resulting Numbers: [44, 1]
Generated Node #0,1,0: 44:[44, 1] Operation: 40-39=1
Moving to Node #0,1,0
Current State: 44:[44, 1], Operations: ['80-36=44', '40-39=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
90,
9,
17,
56
] | 11 |
[
"90-56=34",
"34/17=2",
"9+2=11"
] |
Current State: 11:[90, 9, 17, 56], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [9, 17, 34]
Generated Node #2: [9, 17, 34] from Operation: 90-56=34
Current State: 11:[9, 17, 34], Operations: ['90-56=34']
Exploring Operation: 34/17=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 34/17=2
Current State: 11:[9, 2], Operations: ['90-56=34', '34/17=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[90, 9, 17, 56], Operations: []
Exploring Operation: 90-17=73, Resulting Numbers: [9, 56, 73]
Generated Node #0,0: 11:[9, 56, 73] Operation: 90-17=73
Exploring Operation: 56-17=39, Resulting Numbers: [90, 9, 39]
Generated Node #0,1: 11:[90, 9, 39] Operation: 56-17=39
Exploring Operation: 90-56=34, Resulting Numbers: [9, 17, 34]
Generated Node #0,2: 11:[9, 17, 34] Operation: 90-56=34
Exploring Operation: 90/9=10, Resulting Numbers: [17, 56, 10]
Generated Node #0,3: 11:[17, 56, 10] Operation: 90/9=10
Moving to Node #0,2
Current State: 11:[9, 17, 34], Operations: ['90-56=34']
Exploring Operation: 17-9=8, Resulting Numbers: [34, 8]
Generated Node #0,2,0: 11:[34, 8] Operation: 17-9=8
Exploring Operation: 34/17=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 11:[9, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [9, 17]
Generated Node #0,2,2: 11:[9, 17] Operation: 34-17=17
Exploring Operation: 34-9=25, Resulting Numbers: [17, 25]
Generated Node #0,2,3: 11:[17, 25] Operation: 34-9=25
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[9, 17], Operations: ['90-56=34', '34-17=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,11 unequal: No Solution
No 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: 11:[9, 2], Operations: ['90-56=34', '34/17=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[90, 9, 17, 56], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [9, 17, 34]
Generated Node #0,2: 11:[9, 17, 34] Operation: 90-56=34
Moving to Node #0,2
Current State: 11:[9, 17, 34], Operations: ['90-56=34']
Exploring Operation: 34/17=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 11:[9, 2] Operation: 34/17=2
Moving to Node #0,2,1
Current State: 11:[9, 2], Operations: ['90-56=34', '34/17=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
mult_heuristic
|
[
61,
7,
9,
43
] | 40 |
[
"61*7=427",
"9*43=387",
"427-387=40"
] |
Current State: 40:[61, 7, 9, 43], Operations: []
Exploring Operation: 61*7=427, Resulting Numbers: [9, 43, 427]
Generated Node #2: [9, 43, 427] from Operation: 61*7=427
Current State: 40:[9, 43, 427], Operations: ['61*7=427']
Exploring Operation: 9*43=387, Resulting Numbers: [427, 387]
Generated Node #3: [427, 387] from Operation: 9*43=387
Current State: 40:[427, 387], Operations: ['61*7=427', '9*43=387']
Exploring Operation: 427-387=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[61, 7, 9, 43], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [61, 43, 2]
Generated Node #0,0: 40:[61, 43, 2] Operation: 9-7=2
Exploring Operation: 61-43=18, Resulting Numbers: [7, 9, 18]
Generated Node #0,1: 40:[7, 9, 18] Operation: 61-43=18
Exploring Operation: 43-7=36, Resulting Numbers: [61, 9, 36]
Generated Node #0,2: 40:[61, 9, 36] Operation: 43-7=36
Exploring Operation: 61-7=54, Resulting Numbers: [9, 43, 54]
Generated Node #0,3: 40:[9, 43, 54] Operation: 61-7=54
Exploring Operation: 61-9=52, Resulting Numbers: [7, 43, 52]
Generated Node #0,4: 40:[7, 43, 52] Operation: 61-9=52
Moving to Node #0,1
Current State: 40:[7, 9, 18], Operations: ['61-43=18']
Exploring Operation: 18-9=9, Resulting Numbers: [7, 9]
Generated Node #0,1,0: 40:[7, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [7, 2]
Generated Node #0,1,1: 40:[7, 2] Operation: 18/9=2
Exploring Operation: 9-7=2, Resulting Numbers: [18, 2]
Generated Node #0,1,2: 40:[18, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [18, 16]
Generated Node #0,1,3: 40:[18, 16] Operation: 7+9=16
Exploring Operation: 18-7=11, Resulting Numbers: [9, 11]
Generated Node #0,1,4: 40:[9, 11] Operation: 18-7=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[7, 2], Operations: ['61-43=18', '18/9=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[7, 9], Operations: ['61-43=18', '18-9=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[18, 2], Operations: ['61-43=18', '9-7=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 40:[9, 11], Operations: ['61-43=18', '18-7=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[18, 16], Operations: ['61-43=18', '7+9=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 40:[7, 43, 52], Operations: ['61-9=52']
Exploring Operation: 52-43=9, Resulting Numbers: [7, 9]
Generated Node #0,4,0: 40:[7, 9] Operation: 52-43=9
Exploring Operation: 52-7=45, Resulting Numbers: [43, 45]
Generated Node #0,4,1: 40:[43, 45] Operation: 52-7=45
Exploring Operation: 43-7=36, Resulting Numbers: [52, 36]
Generated Node #0,4,2: 40:[52, 36] Operation: 43-7=36
Exploring Operation: 7+52=59, Resulting Numbers: [43, 59]
Generated Node #0,4,3: 40:[43, 59] Operation: 7+52=59
Exploring Operation: 7+43=50, Resulting Numbers: [52, 50]
Generated Node #0,4,4: 40:[52, 50] Operation: 7+43=50
Moving to Node #0,3
Current State: 40:[9, 43, 54], Operations: ['61-7=54']
Exploring Operation: 54-9=45, Resulting Numbers: [43, 45]
Generated Node #0,3,0: 40:[43, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [43, 6]
Generated Node #0,3,1: 40:[43, 6] Operation: 54/9=6
Exploring Operation: 43-9=34, Resulting Numbers: [54, 34]
Generated Node #0,3,2: 40:[54, 34] Operation: 43-9=34
Exploring Operation: 54-43=11, Resulting Numbers: [9, 11]
Generated Node #0,3,3: 40:[9, 11] Operation: 54-43=11
Exploring Operation: 9+43=52, Resulting Numbers: [54, 52]
Generated Node #0,3,4: 40:[54, 52] Operation: 9+43=52
Moving to Node #0,0
Current State: 40:[61, 43, 2], Operations: ['9-7=2']
Exploring Operation: 61-43=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 40:[2, 18] Operation: 61-43=18
Exploring Operation: 43+2=45, Resulting Numbers: [61, 45]
Generated Node #0,0,1: 40:[61, 45] Operation: 43+2=45
Exploring Operation: 61-2=59, Resulting Numbers: [43, 59]
Generated Node #0,0,2: 40:[43, 59] Operation: 61-2=59
Exploring Operation: 61+2=63, Resulting Numbers: [43, 63]
Generated Node #0,0,3: 40:[43, 63] Operation: 61+2=63
Exploring Operation: 43-2=41, Resulting Numbers: [61, 41]
Generated Node #0,0,4: 40:[61, 41] Operation: 43-2=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 18], Operations: ['9-7=2', '61-43=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[43, 59], Operations: ['9-7=2', '61-2=59']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,40 unequal: No Solution
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 40:[61, 41], Operations: ['9-7=2', '43-2=41']
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,40 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[61, 45], Operations: ['9-7=2', '43+2=45']
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,40 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[43, 63], Operations: ['9-7=2', '61+2=63']
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,40 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,40 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: 40:[61, 9, 36], Operations: ['43-7=36']
Exploring Operation: 61-9=52, Resulting Numbers: [36, 52]
Generated Node #0,2,0: 40:[36, 52] Operation: 61-9=52
Exploring Operation: 36/9=4, Resulting Numbers: [61, 4]
Generated Node #0,2,1: 40:[61, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [61, 27]
Generated Node #0,2,2: 40:[61, 27] Operation: 36-9=27
Exploring Operation: 9+36=45, Resulting Numbers: [61, 45]
Generated Node #0,2,3: 40:[61, 45] Operation: 9+36=45
Exploring Operation: 61-36=25, Resulting Numbers: [9, 25]
Generated Node #0,2,4: 40:[9, 25] Operation: 61-36=25
Moving to Node #0,4,0
Current State: 40:[7, 9], Operations: ['61-9=52', '52-43=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[9, 11], Operations: ['61-7=54', '54-43=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[43, 6], Operations: ['61-7=54', '54/9=6']
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,40 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[9, 25], Operations: ['43-7=36', '61-36=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[43, 45], Operations: ['61-9=52', '52-7=45']
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,40 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[43, 45], Operations: ['61-7=54', '54-9=45']
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[52, 36], Operations: ['61-9=52', '43-7=36']
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,40 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[36, 52], Operations: ['43-7=36', '61-9=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,40 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[54, 34], Operations: ['61-7=54', '43-9=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[61, 4], Operations: ['43-7=36', '36/9=4']
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,40 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[52, 50], Operations: ['61-9=52', '7+43=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,40 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[43, 59], Operations: ['61-9=52', '7+52=59']
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,40 unequal: No Solution
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,40 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[61, 45], Operations: ['43-7=36', '9+36=45']
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,40 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,40 unequal: No Solution
Moving to Node #0,3,4
Current State: 40:[54, 52], Operations: ['61-7=54', '9+43=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,40 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[61, 27], Operations: ['43-7=36', '36-9=27']
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,40 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,40 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
43,
84,
51,
37
] | 49 |
[
"51-37=14",
"84/14=6",
"43+6=49"
] |
Current State: 49:[43, 84, 51, 37], Operations: []
Exploring Operation: 51-37=14, Resulting Numbers: [43, 84, 14]
Generated Node #2: [43, 84, 14] from Operation: 51-37=14
Current State: 49:[43, 84, 14], Operations: ['51-37=14']
Exploring Operation: 84/14=6, Resulting Numbers: [43, 6]
Generated Node #3: [43, 6] from Operation: 84/14=6
Current State: 49:[43, 6], Operations: ['51-37=14', '84/14=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[43, 84, 51, 37], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [84, 51, 6]
Generated Node #0,0: 49:[84, 51, 6] Operation: 43-37=6
Exploring Operation: 51-43=8, Resulting Numbers: [84, 37, 8]
Generated Node #0,1: 49:[84, 37, 8] Operation: 51-43=8
Exploring Operation: 84-43=41, Resulting Numbers: [51, 37, 41]
Generated Node #0,2: 49:[51, 37, 41] Operation: 84-43=41
Exploring Operation: 84-51=33, Resulting Numbers: [43, 37, 33]
Generated Node #0,3: 49:[43, 37, 33] Operation: 84-51=33
Exploring Operation: 84-37=47, Resulting Numbers: [43, 51, 47]
Generated Node #0,4: 49:[43, 51, 47] Operation: 84-37=47
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[43, 51, 47], Operations: ['84-37=47']
Exploring Operation: 51-47=4, Resulting Numbers: [43, 4]
Generated Node #0,4,0: 49:[43, 4] Operation: 51-47=4
Exploring Operation: 47-43=4, Resulting Numbers: [51, 4]
Generated Node #0,4,1: 49:[51, 4] Operation: 47-43=4
Exploring Operation: 43+51=94, Resulting Numbers: [47, 94]
Generated Node #0,4,2: 49:[47, 94] Operation: 43+51=94
Exploring Operation: 51-43=8, Resulting Numbers: [47, 8]
Generated Node #0,4,3: 49:[47, 8] Operation: 51-43=8
Exploring Operation: 43+47=90, Resulting Numbers: [51, 90]
Generated Node #0,4,4: 49:[51, 90] Operation: 43+47=90
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 49:[47, 8], Operations: ['84-37=47', '51-43=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,49 unequal: No Solution
No 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: 49:[51, 4], Operations: ['84-37=47', '47-43=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No 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: 49:[43, 4], Operations: ['84-37=47', '51-47=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,49 unequal: No Solution
No 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: 49:[51, 90], Operations: ['84-37=47', '43+47=90']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,49 unequal: No Solution
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,49 unequal: No Solution
No 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: 49:[47, 94], Operations: ['84-37=47', '43+51=94']
Exploring Operation: 94/47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 47+94=141, Resulting Numbers: [141]
141,49 unequal: No Solution
Exploring Operation: 47*94=4418, Resulting Numbers: [4418]
4418,49 unequal: No Solution
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,49 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: 49:[51, 37, 41], Operations: ['84-43=41']
Exploring Operation: 51-37=14, Resulting Numbers: [41, 14]
Generated Node #0,2,0: 49:[41, 14] Operation: 51-37=14
Exploring Operation: 37+41=78, Resulting Numbers: [51, 78]
Generated Node #0,2,1: 49:[51, 78] Operation: 37+41=78
Exploring Operation: 51+37=88, Resulting Numbers: [41, 88]
Generated Node #0,2,2: 49:[41, 88] Operation: 51+37=88
Exploring Operation: 51-41=10, Resulting Numbers: [37, 10]
Generated Node #0,2,3: 49:[37, 10] Operation: 51-41=10
Exploring Operation: 41-37=4, Resulting Numbers: [51, 4]
Generated Node #0,2,4: 49:[51, 4] Operation: 41-37=4
Moving to Node #0,2,4
Current State: 49:[51, 4], Operations: ['84-43=41', '41-37=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[37, 10], Operations: ['84-43=41', '51-41=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[41, 14], Operations: ['84-43=41', '51-37=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[51, 78], Operations: ['84-43=41', '37+41=78']
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 51*78=3978, Resulting Numbers: [3978]
3978,49 unequal: No Solution
Exploring Operation: 51+78=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[41, 88], Operations: ['84-43=41', '51+37=88']
Exploring Operation: 41+88=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 41*88=3608, Resulting Numbers: [3608]
3608,49 unequal: No Solution
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,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:[43, 37, 33], Operations: ['84-51=33']
Exploring Operation: 37-33=4, Resulting Numbers: [43, 4]
Generated Node #0,3,0: 49:[43, 4] Operation: 37-33=4
Exploring Operation: 43+33=76, Resulting Numbers: [37, 76]
Generated Node #0,3,1: 49:[37, 76] Operation: 43+33=76
Exploring Operation: 43-33=10, Resulting Numbers: [37, 10]
Generated Node #0,3,2: 49:[37, 10] Operation: 43-33=10
Exploring Operation: 43-37=6, Resulting Numbers: [33, 6]
Generated Node #0,3,3: 49:[33, 6] Operation: 43-37=6
Exploring Operation: 37+33=70, Resulting Numbers: [43, 70]
Generated Node #0,3,4: 49:[43, 70] Operation: 37+33=70
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[43, 4], Operations: ['84-51=33', '37-33=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,49 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No 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: 49:[37, 10], Operations: ['84-51=33', '43-33=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,49 unequal: No Solution
No 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: 49:[33, 6], Operations: ['84-51=33', '43-37=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,49 unequal: No Solution
No 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: 49:[43, 70], Operations: ['84-51=33', '37+33=70']
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,49 unequal: No Solution
No 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: 49:[37, 76], Operations: ['84-51=33', '43+33=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,49 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,49 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: 49:[84, 51, 6], Operations: ['43-37=6']
Exploring Operation: 51-6=45, Resulting Numbers: [84, 45]
Generated Node #0,0,0: 49:[84, 45] Operation: 51-6=45
Exploring Operation: 84+6=90, Resulting Numbers: [51, 90]
Generated Node #0,0,1: 49:[51, 90] Operation: 84+6=90
Exploring Operation: 84/6=14, Resulting Numbers: [51, 14]
Generated Node #0,0,2: 49:[51, 14] Operation: 84/6=14
Exploring Operation: 84-51=33, Resulting Numbers: [6, 33]
Generated Node #0,0,3: 49:[6, 33] Operation: 84-51=33
Exploring Operation: 84-6=78, Resulting Numbers: [51, 78]
Generated Node #0,0,4: 49:[51, 78] Operation: 84-6=78
Moving to Node #0,0,2
Current State: 49:[51, 14], Operations: ['43-37=6', '84/6=14']
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,49 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[6, 33], Operations: ['43-37=6', '84-51=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,49 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[51, 78], Operations: ['43-37=6', '84-6=78']
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 51+78=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 51*78=3978, Resulting Numbers: [3978]
3978,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[84, 45], Operations: ['43-37=6', '51-6=45']
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,49 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[51, 90], Operations: ['43-37=6', '84+6=90']
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,49 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,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,1
Current State: 49:[84, 37, 8], Operations: ['51-43=8']
Exploring Operation: 84+8=92, Resulting Numbers: [37, 92]
Generated Node #0,1,0: 49:[37, 92] Operation: 84+8=92
Exploring Operation: 37+8=45, Resulting Numbers: [84, 45]
Generated Node #0,1,1: 49:[84, 45] Operation: 37+8=45
Exploring Operation: 37-8=29, Resulting Numbers: [84, 29]
Generated Node #0,1,2: 49:[84, 29] Operation: 37-8=29
Exploring Operation: 84-8=76, Resulting Numbers: [37, 76]
Generated Node #0,1,3: 49:[37, 76] Operation: 84-8=76
Exploring Operation: 84-37=47, Resulting Numbers: [8, 47]
Generated Node #0,1,4: 49:[8, 47] Operation: 84-37=47
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 49:[8, 47], Operations: ['51-43=8', '84-37=47']
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,49 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No 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: 49:[84, 45], Operations: ['51-43=8', '37+8=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,49 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,49 unequal: No Solution
No 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: 49:[37, 76], Operations: ['51-43=8', '84-8=76']
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,49 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No 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: 49:[37, 92], Operations: ['51-43=8', '84+8=92']
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,49 unequal: No Solution
No 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: 49:[84, 29], Operations: ['51-43=8', '37-8=29']
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,49 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,49 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
|
[
23,
4,
97,
13
] | 99 |
[
"23*13=299",
"97+299=396",
"396/4=99"
] |
Current State: 99:[23, 4, 97, 13], Operations: []
Exploring Operation: 23*13=299, Resulting Numbers: [4, 97, 299]
Generated Node #2: [4, 97, 299] from Operation: 23*13=299
Current State: 99:[4, 97, 299], Operations: ['23*13=299']
Exploring Operation: 97+299=396, Resulting Numbers: [4, 396]
Generated Node #3: [4, 396] from Operation: 97+299=396
Current State: 99:[4, 396], Operations: ['23*13=299', '97+299=396']
Exploring Operation: 396/4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[23, 4, 97, 13], Operations: []
Exploring Operation: 23+13=36, Resulting Numbers: [4, 97, 36]
Generated Node #0,0: 99:[4, 97, 36] Operation: 23+13=36
Exploring Operation: 23-13=10, Resulting Numbers: [4, 97, 10]
Generated Node #0,1: 99:[4, 97, 10] Operation: 23-13=10
Moving to Node #0,1
Current State: 99:[4, 97, 10], Operations: ['23-13=10']
Exploring Operation: 4+97=101, Resulting Numbers: [10, 101]
Generated Node #0,1,0: 99:[10, 101] Operation: 4+97=101
Exploring Operation: 4+10=14, Resulting Numbers: [97, 14]
Generated Node #0,1,1: 99:[97, 14] Operation: 4+10=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[10, 101], Operations: ['23-13=10', '4+97=101']
Exploring Operation: 10+101=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[97, 14], Operations: ['23-13=10', '4+10=14']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[4, 97, 36], Operations: ['23+13=36']
Exploring Operation: 36-4=32, Resulting Numbers: [97, 32]
Generated Node #0,0,0: 99:[97, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [97, 9]
Generated Node #0,0,1: 99:[97, 9] Operation: 36/4=9
Moving to Node #0,0,1
Current State: 99:[97, 9], Operations: ['23+13=36', '36/4=9']
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[97, 32], Operations: ['23+13=36', '36-4=32']
Exploring Operation: 97+32=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,99 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
16,
49,
76,
19
] | 37 |
[
"49-16=33",
"76/19=4",
"33+4=37"
] |
Current State: 37:[16, 49, 76, 19], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [76, 19, 33]
Generated Node #2: [76, 19, 33] from Operation: 49-16=33
Current State: 37:[76, 19, 33], Operations: ['49-16=33']
Exploring Operation: 76/19=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 76/19=4
Current State: 37:[33, 4], Operations: ['49-16=33', '76/19=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[16, 49, 76, 19], Operations: []
Exploring Operation: 76-16=60, Resulting Numbers: [49, 19, 60]
Generated Node #0,0: 37:[49, 19, 60] Operation: 76-16=60
Exploring Operation: 76-49=27, Resulting Numbers: [16, 19, 27]
Generated Node #0,1: 37:[16, 19, 27] Operation: 76-49=27
Exploring Operation: 16+19=35, Resulting Numbers: [49, 76, 35]
Generated Node #0,2: 37:[49, 76, 35] Operation: 16+19=35
Moving to Node #0,1
Current State: 37:[16, 19, 27], Operations: ['76-49=27']
Exploring Operation: 19+27=46, Resulting Numbers: [16, 46]
Generated Node #0,1,0: 37:[16, 46] Operation: 19+27=46
Exploring Operation: 16+19=35, Resulting Numbers: [27, 35]
Generated Node #0,1,1: 37:[27, 35] Operation: 16+19=35
Exploring Operation: 16+27=43, Resulting Numbers: [19, 43]
Generated Node #0,1,2: 37:[19, 43] Operation: 16+27=43
Moving to Node #0,0
Current State: 37:[49, 19, 60], Operations: ['76-16=60']
Exploring Operation: 60-49=11, Resulting Numbers: [19, 11]
Generated Node #0,0,0: 37:[19, 11] Operation: 60-49=11
Exploring Operation: 60-19=41, Resulting Numbers: [49, 41]
Generated Node #0,0,1: 37:[49, 41] Operation: 60-19=41
Exploring Operation: 49-19=30, Resulting Numbers: [60, 30]
Generated Node #0,0,2: 37:[60, 30] Operation: 49-19=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[49, 41], Operations: ['76-16=60', '60-19=41']
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,37 unequal: No Solution
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[60, 30], Operations: ['76-16=60', '49-19=30']
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[19, 11], Operations: ['76-16=60', '60-49=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,37 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,37 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: 37:[49, 76, 35], Operations: ['16+19=35']
Exploring Operation: 76-35=41, Resulting Numbers: [49, 41]
Generated Node #0,2,0: 37:[49, 41] Operation: 76-35=41
Exploring Operation: 76-49=27, Resulting Numbers: [35, 27]
Generated Node #0,2,1: 37:[35, 27] Operation: 76-49=27
Exploring Operation: 49-35=14, Resulting Numbers: [76, 14]
Generated Node #0,2,2: 37:[76, 14] Operation: 49-35=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[35, 27], Operations: ['16+19=35', '76-49=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[49, 41], Operations: ['16+19=35', '76-35=41']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[76, 14], Operations: ['16+19=35', '49-35=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 37:[27, 35], Operations: ['76-49=27', '16+19=35']
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,37 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[19, 43], Operations: ['76-49=27', '16+27=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[16, 46], Operations: ['76-49=27', '19+27=46']
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,37 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,37 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
40,
33,
67,
48
] | 54 |
[
"40+33=73",
"67-48=19",
"73-19=54"
] |
Current State: 54:[40, 33, 67, 48], Operations: []
Exploring Operation: 40+33=73, Resulting Numbers: [67, 48, 73]
Generated Node #2: [67, 48, 73] from Operation: 40+33=73
Current State: 54:[67, 48, 73], Operations: ['40+33=73']
Exploring Operation: 67-48=19, Resulting Numbers: [73, 19]
Generated Node #3: [73, 19] from Operation: 67-48=19
Current State: 54:[73, 19], Operations: ['40+33=73', '67-48=19']
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[40, 33, 67, 48], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [67, 48, 7]
Generated Node #0,0: 54:[67, 48, 7] Operation: 40-33=7
Exploring Operation: 67-40=27, Resulting Numbers: [33, 48, 27]
Generated Node #0,1: 54:[33, 48, 27] Operation: 67-40=27
Exploring Operation: 48-40=8, Resulting Numbers: [33, 67, 8]
Generated Node #0,2: 54:[33, 67, 8] Operation: 48-40=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[33, 48, 27], Operations: ['67-40=27']
Exploring Operation: 33-27=6, Resulting Numbers: [48, 6]
Generated Node #0,1,0: 54:[48, 6] Operation: 33-27=6
Exploring Operation: 48-27=21, Resulting Numbers: [33, 21]
Generated Node #0,1,1: 54:[33, 21] Operation: 48-27=21
Exploring Operation: 48-33=15, Resulting Numbers: [27, 15]
Generated Node #0,1,2: 54:[27, 15] Operation: 48-33=15
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[27, 15], Operations: ['67-40=27', '48-33=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,54 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[48, 6], Operations: ['67-40=27', '33-27=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[40, 33, 67, 48], Operations: []
Exploring Operation: 67-40=27, Resulting Numbers: [33, 48, 27]
Generated Node #0,1: 54:[33, 48, 27] Operation: 67-40=27
Moving to Node #0,1
Current State: 54:[33, 48, 27], Operations: ['67-40=27']
Exploring Operation: 33-27=6, Resulting Numbers: [48, 6]
Generated Node #0,1,0: 54:[48, 6] Operation: 33-27=6
Moving to Node #0,1,0
Current State: 54:[48, 6], Operations: ['67-40=27', '33-27=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
63,
24,
59,
48
] | 76 |
[
"63+24=87",
"59-48=11",
"87-11=76"
] |
Current State: 76:[63, 24, 59, 48], Operations: []
Exploring Operation: 63+24=87, Resulting Numbers: [59, 48, 87]
Generated Node #2: [59, 48, 87] from Operation: 63+24=87
Current State: 76:[59, 48, 87], Operations: ['63+24=87']
Exploring Operation: 59-48=11, Resulting Numbers: [87, 11]
Generated Node #3: [87, 11] from Operation: 59-48=11
Current State: 76:[87, 11], Operations: ['63+24=87', '59-48=11']
Exploring Operation: 87-11=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[63, 24, 59, 48], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [24, 59, 15]
Generated Node #0,0: 76:[24, 59, 15] Operation: 63-48=15
Exploring Operation: 63-59=4, Resulting Numbers: [24, 48, 4]
Generated Node #0,1: 76:[24, 48, 4] Operation: 63-59=4
Exploring Operation: 59-48=11, Resulting Numbers: [63, 24, 11]
Generated Node #0,2: 76:[63, 24, 11] Operation: 59-48=11
Moving to Node #0,1
Current State: 76:[24, 48, 4], Operations: ['63-59=4']
Exploring Operation: 24+48=72, Resulting Numbers: [4, 72]
Generated Node #0,1,0: 76:[4, 72] Operation: 24+48=72
Exploring Operation: 48-24=24, Resulting Numbers: [4, 24]
Generated Node #0,1,1: 76:[4, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 76:[4, 2] Operation: 48/24=2
Moving to Node #0,2
Current State: 76:[63, 24, 11], Operations: ['59-48=11']
Exploring Operation: 63+11=74, Resulting Numbers: [24, 74]
Generated Node #0,2,0: 76:[24, 74] Operation: 63+11=74
Exploring Operation: 24+11=35, Resulting Numbers: [63, 35]
Generated Node #0,2,1: 76:[63, 35] Operation: 24+11=35
Exploring Operation: 63-24=39, Resulting Numbers: [11, 39]
Generated Node #0,2,2: 76:[11, 39] Operation: 63-24=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[24, 74], Operations: ['59-48=11', '63+11=74']
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,76 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[11, 39], Operations: ['59-48=11', '63-24=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,76 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[63, 35], Operations: ['59-48=11', '24+11=35']
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,76 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,76 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: 76:[24, 59, 15], Operations: ['63-48=15']
Exploring Operation: 24+59=83, Resulting Numbers: [15, 83]
Generated Node #0,0,0: 76:[15, 83] Operation: 24+59=83
Exploring Operation: 59+15=74, Resulting Numbers: [24, 74]
Generated Node #0,0,1: 76:[24, 74] Operation: 59+15=74
Exploring Operation: 59-24=35, Resulting Numbers: [15, 35]
Generated Node #0,0,2: 76:[15, 35] Operation: 59-24=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[24, 74], Operations: ['63-48=15', '59+15=74']
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,76 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[15, 35], Operations: ['63-48=15', '59-24=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,76 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[15, 83], Operations: ['63-48=15', '24+59=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,76 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 76:[4, 2], Operations: ['63-59=4', '48/24=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[4, 72], Operations: ['63-59=4', '24+48=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,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:[63, 24, 59, 48], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [24, 48, 4]
Generated Node #0,1: 76:[24, 48, 4] Operation: 63-59=4
Moving to Node #0,1
Current State: 76:[24, 48, 4], Operations: ['63-59=4']
Exploring Operation: 24+48=72, Resulting Numbers: [4, 72]
Generated Node #0,1,0: 76:[4, 72] Operation: 24+48=72
Moving to Node #0,1,0
Current State: 76:[4, 72], Operations: ['63-59=4', '24+48=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.965278 |
hs_3
|
mult_heuristic
|
[
6,
8,
16,
49
] | 92 |
[
"16/8=2",
"49*2=98",
"98-6=92"
] |
Current State: 92:[6, 8, 16, 49], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [6, 49, 2]
Generated Node #2: [6, 49, 2] from Operation: 16/8=2
Current State: 92:[6, 49, 2], Operations: ['16/8=2']
Exploring Operation: 49*2=98, Resulting Numbers: [6, 98]
Generated Node #3: [6, 98] from Operation: 49*2=98
Current State: 92:[6, 98], Operations: ['16/8=2', '49*2=98']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[6, 8, 16, 49], Operations: []
Exploring Operation: 16-8=8, Resulting Numbers: [6, 49, 8]
Generated Node #0,0: 92:[6, 49, 8] Operation: 16-8=8
Exploring Operation: 6+16=22, Resulting Numbers: [8, 49, 22]
Generated Node #0,1: 92:[8, 49, 22] Operation: 6+16=22
Exploring Operation: 16/8=2, Resulting Numbers: [6, 49, 2]
Generated Node #0,2: 92:[6, 49, 2] Operation: 16/8=2
Exploring Operation: 8-6=2, Resulting Numbers: [16, 49, 2]
Generated Node #0,3: 92:[16, 49, 2] Operation: 8-6=2
Exploring Operation: 8+16=24, Resulting Numbers: [6, 49, 24]
Generated Node #0,4: 92:[6, 49, 24] Operation: 8+16=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[6, 49, 2], Operations: ['16/8=2']
Exploring Operation: 49-2=47, Resulting Numbers: [6, 47]
Generated Node #0,2,0: 92:[6, 47] Operation: 49-2=47
Exploring Operation: 6/2=3, Resulting Numbers: [49, 3]
Generated Node #0,2,1: 92:[49, 3] Operation: 6/2=3
Exploring Operation: 49-6=43, Resulting Numbers: [2, 43]
Generated Node #0,2,2: 92:[2, 43] Operation: 49-6=43
Exploring Operation: 6-2=4, Resulting Numbers: [49, 4]
Generated Node #0,2,3: 92:[49, 4] Operation: 6-2=4
Exploring Operation: 6+2=8, Resulting Numbers: [49, 8]
Generated Node #0,2,4: 92:[49, 8] Operation: 6+2=8
Moving to Node #0,2,0
Current State: 92:[6, 47], Operations: ['16/8=2', '49-2=47']
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,92 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[49, 4], Operations: ['16/8=2', '6-2=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,92 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[2, 43], Operations: ['16/8=2', '49-6=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[49, 3], Operations: ['16/8=2', '6/2=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[49, 8], Operations: ['16/8=2', '6+2=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[6, 49, 24], Operations: ['8+16=24']
Exploring Operation: 24-6=18, Resulting Numbers: [49, 18]
Generated Node #0,4,0: 92:[49, 18] Operation: 24-6=18
Exploring Operation: 6+49=55, Resulting Numbers: [24, 55]
Generated Node #0,4,1: 92:[24, 55] Operation: 6+49=55
Exploring Operation: 49-24=25, Resulting Numbers: [6, 25]
Generated Node #0,4,2: 92:[6, 25] Operation: 49-24=25
Exploring Operation: 24/6=4, Resulting Numbers: [49, 4]
Generated Node #0,4,3: 92:[49, 4] Operation: 24/6=4
Exploring Operation: 49-6=43, Resulting Numbers: [24, 43]
Generated Node #0,4,4: 92:[24, 43] Operation: 49-6=43
Moving to Node #0,4,3
Current State: 92:[49, 4], Operations: ['8+16=24', '24/6=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,92 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[24, 43], Operations: ['8+16=24', '49-6=43']
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,92 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[6, 25], Operations: ['8+16=24', '49-24=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,92 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[49, 18], Operations: ['8+16=24', '24-6=18']
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,92 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[24, 55], Operations: ['8+16=24', '6+49=55']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[8, 49, 22], Operations: ['6+16=22']
Exploring Operation: 8+49=57, Resulting Numbers: [22, 57]
Generated Node #0,1,0: 92:[22, 57] Operation: 8+49=57
Exploring Operation: 22-8=14, Resulting Numbers: [49, 14]
Generated Node #0,1,1: 92:[49, 14] Operation: 22-8=14
Exploring Operation: 49-8=41, Resulting Numbers: [22, 41]
Generated Node #0,1,2: 92:[22, 41] Operation: 49-8=41
Exploring Operation: 8+22=30, Resulting Numbers: [49, 30]
Generated Node #0,1,3: 92:[49, 30] Operation: 8+22=30
Exploring Operation: 49-22=27, Resulting Numbers: [8, 27]
Generated Node #0,1,4: 92:[8, 27] Operation: 49-22=27
Moving to Node #0,1,2
Current State: 92:[22, 41], Operations: ['6+16=22', '49-8=41']
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[8, 27], Operations: ['6+16=22', '49-22=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[49, 30], Operations: ['6+16=22', '8+22=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,92 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[22, 57], Operations: ['6+16=22', '8+49=57']
Exploring Operation: 22*57=1254, Resulting Numbers: [1254]
1254,92 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 22+57=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[49, 14], Operations: ['6+16=22', '22-8=14']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[6, 49, 8], Operations: ['16-8=8']
Exploring Operation: 49-6=43, Resulting Numbers: [8, 43]
Generated Node #0,0,0: 92:[8, 43] Operation: 49-6=43
Exploring Operation: 6+8=14, Resulting Numbers: [49, 14]
Generated Node #0,0,1: 92:[49, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [49, 2]
Generated Node #0,0,2: 92:[49, 2] Operation: 8-6=2
Exploring Operation: 6*8=48, Resulting Numbers: [49, 48]
Generated Node #0,0,3: 92:[49, 48] Operation: 6*8=48
Exploring Operation: 49-8=41, Resulting Numbers: [6, 41]
Generated Node #0,0,4: 92:[6, 41] Operation: 49-8=41
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 92:[49, 2], Operations: ['16-8=8', '8-6=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No 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: 92:[49, 48], Operations: ['16-8=8', '6*8=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,92 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No 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: 92:[8, 43], Operations: ['16-8=8', '49-6=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,92 unequal: No Solution
No 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: 92:[6, 41], Operations: ['16-8=8', '49-8=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,92 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No 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: 92:[49, 14], Operations: ['16-8=8', '6+8=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,92 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,92 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: 92:[16, 49, 2], Operations: ['8-6=2']
Exploring Operation: 16*2=32, Resulting Numbers: [49, 32]
Generated Node #0,3,0: 92:[49, 32] Operation: 16*2=32
Exploring Operation: 16/2=8, Resulting Numbers: [49, 8]
Generated Node #0,3,1: 92:[49, 8] Operation: 16/2=8
Exploring Operation: 16+2=18, Resulting Numbers: [49, 18]
Generated Node #0,3,2: 92:[49, 18] Operation: 16+2=18
Exploring Operation: 49-2=47, Resulting Numbers: [16, 47]
Generated Node #0,3,3: 92:[16, 47] Operation: 49-2=47
Exploring Operation: 49-16=33, Resulting Numbers: [2, 33]
Generated Node #0,3,4: 92:[2, 33] Operation: 49-16=33
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[49, 8], Operations: ['8-6=2', '16/2=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,92 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No 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: 92:[49, 18], Operations: ['8-6=2', '16+2=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,92 unequal: No Solution
No 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: 92:[16, 47], Operations: ['8-6=2', '49-2=47']
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,92 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,92 unequal: No Solution
No 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: 92:[2, 33], Operations: ['8-6=2', '49-16=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[49, 32], Operations: ['8-6=2', '16*2=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,92 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,
43,
78,
89
] | 31 |
[
"43-1=42",
"89-78=11",
"42-11=31"
] |
Current State: 31:[1, 43, 78, 89], Operations: []
Exploring Operation: 43-1=42, Resulting Numbers: [78, 89, 42]
Generated Node #2: [78, 89, 42] from Operation: 43-1=42
Current State: 31:[78, 89, 42], Operations: ['43-1=42']
Exploring Operation: 89-78=11, Resulting Numbers: [42, 11]
Generated Node #3: [42, 11] from Operation: 89-78=11
Current State: 31:[42, 11], Operations: ['43-1=42', '89-78=11']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[1, 43, 78, 89], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [1, 89, 35]
Generated Node #0,0: 31:[1, 89, 35] Operation: 78-43=35
Exploring Operation: 89-78=11, Resulting Numbers: [1, 43, 11]
Generated Node #0,1: 31:[1, 43, 11] Operation: 89-78=11
Exploring Operation: 89-43=46, Resulting Numbers: [1, 78, 46]
Generated Node #0,2: 31:[1, 78, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[1, 43, 11], Operations: ['89-78=11']
Exploring Operation: 1+11=12, Resulting Numbers: [43, 12]
Generated Node #0,1,0: 31:[43, 12] Operation: 1+11=12
Exploring Operation: 43-11=32, Resulting Numbers: [1, 32]
Generated Node #0,1,1: 31:[1, 32] Operation: 43-11=32
Exploring Operation: 43-1=42, Resulting Numbers: [11, 42]
Generated Node #0,1,2: 31:[11, 42] Operation: 43-1=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[43, 12], Operations: ['89-78=11', '1+11=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[1, 43, 78, 89], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [1, 43, 11]
Generated Node #0,1: 31:[1, 43, 11] Operation: 89-78=11
Moving to Node #0,1
Current State: 31:[1, 43, 11], Operations: ['89-78=11']
Exploring Operation: 1+11=12, Resulting Numbers: [43, 12]
Generated Node #0,1,0: 31:[43, 12] Operation: 1+11=12
Moving to Node #0,1,0
Current State: 31:[43, 12], Operations: ['89-78=11', '1+11=12']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
21,
70,
63,
60
] | 67 |
[
"70*60=4200",
"21+4200=4221",
"4221/63=67"
] |
Current State: 67:[21, 70, 63, 60], Operations: []
Exploring Operation: 70*60=4200, Resulting Numbers: [21, 63, 4200]
Generated Node #2: [21, 63, 4200] from Operation: 70*60=4200
Current State: 67:[21, 63, 4200], Operations: ['70*60=4200']
Exploring Operation: 21+4200=4221, Resulting Numbers: [63, 4221]
Generated Node #3: [63, 4221] from Operation: 21+4200=4221
Current State: 67:[63, 4221], Operations: ['70*60=4200', '21+4200=4221']
Exploring Operation: 4221/63=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[21, 70, 63, 60], Operations: []
Exploring Operation: 21+60=81, Resulting Numbers: [70, 63, 81]
Generated Node #0,0: 67:[70, 63, 81] Operation: 21+60=81
Moving to Node #0,0
Current State: 67:[70, 63, 81], Operations: ['21+60=81']
Exploring Operation: 81-63=18, Resulting Numbers: [70, 18]
Generated Node #0,0,0: 67:[70, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[70, 18], Operations: ['21+60=81', '81-63=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
37,
86,
68,
45
] | 10 |
[
"37+86=123",
"68+45=113",
"123-113=10"
] |
Current State: 10:[37, 86, 68, 45], Operations: []
Exploring Operation: 37+86=123, Resulting Numbers: [68, 45, 123]
Generated Node #2: [68, 45, 123] from Operation: 37+86=123
Current State: 10:[68, 45, 123], Operations: ['37+86=123']
Exploring Operation: 68+45=113, Resulting Numbers: [123, 113]
Generated Node #3: [123, 113] from Operation: 68+45=113
Current State: 10:[123, 113], Operations: ['37+86=123', '68+45=113']
Exploring Operation: 123-113=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[37, 86, 68, 45], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [37, 68, 41]
Generated Node #0,0: 10:[37, 68, 41] Operation: 86-45=41
Exploring Operation: 86-68=18, Resulting Numbers: [37, 45, 18]
Generated Node #0,1: 10:[37, 45, 18] Operation: 86-68=18
Exploring Operation: 68-45=23, Resulting Numbers: [37, 86, 23]
Generated Node #0,2: 10:[37, 86, 23] Operation: 68-45=23
Moving to Node #0,1
Current State: 10:[37, 45, 18], Operations: ['86-68=18']
Exploring Operation: 45-37=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 10:[18, 8] Operation: 45-37=8
Exploring Operation: 45-18=27, Resulting Numbers: [37, 27]
Generated Node #0,1,1: 10:[37, 27] Operation: 45-18=27
Exploring Operation: 37-18=19, Resulting Numbers: [45, 19]
Generated Node #0,1,2: 10:[45, 19] Operation: 37-18=19
Moving to Node #0,0
Current State: 10:[37, 68, 41], Operations: ['86-45=41']
Exploring Operation: 68-37=31, Resulting Numbers: [41, 31]
Generated Node #0,0,0: 10:[41, 31] Operation: 68-37=31
Exploring Operation: 68-41=27, Resulting Numbers: [37, 27]
Generated Node #0,0,1: 10:[37, 27] Operation: 68-41=27
Exploring Operation: 41-37=4, Resulting Numbers: [68, 4]
Generated Node #0,0,2: 10:[68, 4] Operation: 41-37=4
Moving to Node #0,2
Current State: 10:[37, 86, 23], Operations: ['68-45=23']
Exploring Operation: 86-37=49, Resulting Numbers: [23, 49]
Generated Node #0,2,0: 10:[23, 49] Operation: 86-37=49
Exploring Operation: 86-23=63, Resulting Numbers: [37, 63]
Generated Node #0,2,1: 10:[37, 63] Operation: 86-23=63
Exploring Operation: 37-23=14, Resulting Numbers: [86, 14]
Generated Node #0,2,2: 10:[86, 14] Operation: 37-23=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[23, 49], Operations: ['68-45=23', '86-37=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,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,1
Current State: 10:[37, 63], Operations: ['68-45=23', '86-23=63']
Exploring Operation: 37+63=100, Resulting Numbers: [100]
100,10 unequal: No Solution
Exploring Operation: 37*63=2331, Resulting Numbers: [2331]
2331,10 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[86, 14], Operations: ['68-45=23', '37-23=14']
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,10 unequal: No Solution
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,10 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: 10:[18, 8], Operations: ['86-68=18', '45-37=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[37, 86, 68, 45], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [37, 45, 18]
Generated Node #0,1: 10:[37, 45, 18] Operation: 86-68=18
Moving to Node #0,1
Current State: 10:[37, 45, 18], Operations: ['86-68=18']
Exploring Operation: 45-37=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 10:[18, 8] Operation: 45-37=8
Moving to Node #0,1,0
Current State: 10:[18, 8], Operations: ['86-68=18', '45-37=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.977431 |
hs_3
|
mult_heuristic
|
[
44,
27,
92,
2
] | 97 |
[
"44/2=22",
"27+92=119",
"119-22=97"
] |
Current State: 97:[44, 27, 92, 2], Operations: []
Exploring Operation: 44/2=22, Resulting Numbers: [27, 92, 22]
Generated Node #2: [27, 92, 22] from Operation: 44/2=22
Current State: 97:[27, 92, 22], Operations: ['44/2=22']
Exploring Operation: 27+92=119, Resulting Numbers: [22, 119]
Generated Node #3: [22, 119] from Operation: 27+92=119
Current State: 97:[22, 119], Operations: ['44/2=22', '27+92=119']
Exploring Operation: 119-22=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[44, 27, 92, 2], Operations: []
Exploring Operation: 44*2=88, Resulting Numbers: [27, 92, 88]
Generated Node #0,0: 97:[27, 92, 88] Operation: 44*2=88
Exploring Operation: 44+27=71, Resulting Numbers: [92, 2, 71]
Generated Node #0,1: 97:[92, 2, 71] Operation: 44+27=71
Exploring Operation: 27*2=54, Resulting Numbers: [44, 92, 54]
Generated Node #0,2: 97:[44, 92, 54] Operation: 27*2=54
Moving to Node #0,0
Current State: 97:[27, 92, 88], Operations: ['44*2=88']
Exploring Operation: 27+92=119, Resulting Numbers: [88, 119]
Generated Node #0,0,0: 97:[88, 119] Operation: 27+92=119
Exploring Operation: 27+88=115, Resulting Numbers: [92, 115]
Generated Node #0,0,1: 97:[92, 115] Operation: 27+88=115
Exploring Operation: 92-27=65, Resulting Numbers: [88, 65]
Generated Node #0,0,2: 97:[88, 65] Operation: 92-27=65
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[92, 115], Operations: ['44*2=88', '27+88=115']
Exploring Operation: 115-92=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 92*115=10580, Resulting Numbers: [10580]
10580,97 unequal: No Solution
Exploring Operation: 92+115=207, Resulting Numbers: [207]
207,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:[88, 119], Operations: ['44*2=88', '27+92=119']
Exploring Operation: 88+119=207, Resulting Numbers: [207]
207,97 unequal: No Solution
Exploring Operation: 119-88=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 88*119=10472, Resulting Numbers: [10472]
10472,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:[88, 65], Operations: ['44*2=88', '92-27=65']
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 88+65=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 88*65=5720, Resulting Numbers: [5720]
5720,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:[44, 92, 54], Operations: ['27*2=54']
Exploring Operation: 92-44=48, Resulting Numbers: [54, 48]
Generated Node #0,2,0: 97:[54, 48] Operation: 92-44=48
Exploring Operation: 44+54=98, Resulting Numbers: [92, 98]
Generated Node #0,2,1: 97:[92, 98] Operation: 44+54=98
Exploring Operation: 44+92=136, Resulting Numbers: [54, 136]
Generated Node #0,2,2: 97:[54, 136] Operation: 44+92=136
Moving to Node #0,1
Current State: 97:[92, 2, 71], Operations: ['44+27=71']
Exploring Operation: 92-2=90, Resulting Numbers: [71, 90]
Generated Node #0,1,0: 97:[71, 90] Operation: 92-2=90
Exploring Operation: 92+2=94, Resulting Numbers: [71, 94]
Generated Node #0,1,1: 97:[71, 94] Operation: 92+2=94
Exploring Operation: 2+71=73, Resulting Numbers: [92, 73]
Generated Node #0,1,2: 97:[92, 73] Operation: 2+71=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[71, 94], Operations: ['44+27=71', '92+2=94']
Exploring Operation: 94-71=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 71*94=6674, Resulting Numbers: [6674]
6674,97 unequal: No Solution
Exploring Operation: 71+94=165, Resulting Numbers: [165]
165,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:[92, 73], Operations: ['44+27=71', '2+71=73']
Exploring Operation: 92+73=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 92*73=6716, Resulting Numbers: [6716]
6716,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,0
Current State: 97:[71, 90], Operations: ['44+27=71', '92-2=90']
Exploring Operation: 71*90=6390, Resulting Numbers: [6390]
6390,97 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 71+90=161, Resulting Numbers: [161]
161,97 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: 97:[92, 98], Operations: ['27*2=54', '44+54=98']
Exploring Operation: 92+98=190, Resulting Numbers: [190]
190,97 unequal: No Solution
Exploring Operation: 92*98=9016, Resulting Numbers: [9016]
9016,97 unequal: No Solution
Exploring Operation: 98-92=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[54, 136], Operations: ['27*2=54', '44+92=136']
Exploring Operation: 54+136=190, Resulting Numbers: [190]
190,97 unequal: No Solution
Exploring Operation: 54*136=7344, Resulting Numbers: [7344]
7344,97 unequal: No Solution
Exploring Operation: 136-54=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[54, 48], Operations: ['27*2=54', '92-44=48']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,97 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,97 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
21,
2,
81,
39
] | 78 |
[
"21*2=42",
"81+39=120",
"120-42=78"
] |
Current State: 78:[21, 2, 81, 39], Operations: []
Exploring Operation: 21*2=42, Resulting Numbers: [81, 39, 42]
Generated Node #2: [81, 39, 42] from Operation: 21*2=42
Current State: 78:[81, 39, 42], Operations: ['21*2=42']
Exploring Operation: 81+39=120, Resulting Numbers: [42, 120]
Generated Node #3: [42, 120] from Operation: 81+39=120
Current State: 78:[42, 120], Operations: ['21*2=42', '81+39=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[21, 2, 81, 39], Operations: []
Exploring Operation: 81-2=79, Resulting Numbers: [21, 39, 79]
Generated Node #0,0: 78:[21, 39, 79] Operation: 81-2=79
Exploring Operation: 39-21=18, Resulting Numbers: [2, 81, 18]
Generated Node #0,1: 78:[2, 81, 18] Operation: 39-21=18
Exploring Operation: 21*2=42, Resulting Numbers: [81, 39, 42]
Generated Node #0,2: 78:[81, 39, 42] Operation: 21*2=42
Exploring Operation: 21+2=23, Resulting Numbers: [81, 39, 23]
Generated Node #0,3: 78:[81, 39, 23] Operation: 21+2=23
Moving to Node #0,0
Current State: 78:[21, 39, 79], Operations: ['81-2=79']
Exploring Operation: 79-39=40, Resulting Numbers: [21, 40]
Generated Node #0,0,0: 78:[21, 40] Operation: 79-39=40
Exploring Operation: 39-21=18, Resulting Numbers: [79, 18]
Generated Node #0,0,1: 78:[79, 18] Operation: 39-21=18
Exploring Operation: 21+39=60, Resulting Numbers: [79, 60]
Generated Node #0,0,2: 78:[79, 60] Operation: 21+39=60
Exploring Operation: 79-21=58, Resulting Numbers: [39, 58]
Generated Node #0,0,3: 78:[39, 58] Operation: 79-21=58
Moving to Node #0,3
Current State: 78:[81, 39, 23], Operations: ['21+2=23']
Exploring Operation: 39-23=16, Resulting Numbers: [81, 16]
Generated Node #0,3,0: 78:[81, 16] Operation: 39-23=16
Exploring Operation: 39+23=62, Resulting Numbers: [81, 62]
Generated Node #0,3,1: 78:[81, 62] Operation: 39+23=62
Exploring Operation: 81-23=58, Resulting Numbers: [39, 58]
Generated Node #0,3,2: 78:[39, 58] Operation: 81-23=58
Exploring Operation: 81-39=42, Resulting Numbers: [23, 42]
Generated Node #0,3,3: 78:[23, 42] Operation: 81-39=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[81, 16], Operations: ['21+2=23', '39-23=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 78:[23, 42], Operations: ['21+2=23', '81-39=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,78 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[81, 62], Operations: ['21+2=23', '39+23=62']
Exploring Operation: 81+62=143, Resulting Numbers: [143]
143,78 unequal: No Solution
Exploring Operation: 81*62=5022, Resulting Numbers: [5022]
5022,78 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[39, 58], Operations: ['21+2=23', '81-23=58']
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[81, 39, 42], Operations: ['21*2=42']
Exploring Operation: 81-42=39, Resulting Numbers: [39, 39]
Generated Node #0,2,0: 78:[39, 39] Operation: 81-42=39
Exploring Operation: 81-39=42, Resulting Numbers: [42, 42]
Generated Node #0,2,1: 78:[42, 42] Operation: 81-39=42
Exploring Operation: 42-39=3, Resulting Numbers: [81, 3]
Generated Node #0,2,2: 78:[81, 3] Operation: 42-39=3
Exploring Operation: 39+42=81, Resulting Numbers: [81, 81]
Generated Node #0,2,3: 78:[81, 81] Operation: 39+42=81
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[39, 39], Operations: ['21*2=42', '81-42=39']
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[21, 2, 81, 39], Operations: []
Exploring Operation: 21*2=42, Resulting Numbers: [81, 39, 42]
Generated Node #0,2: 78:[81, 39, 42] Operation: 21*2=42
Moving to Node #0,2
Current State: 78:[81, 39, 42], Operations: ['21*2=42']
Exploring Operation: 81-42=39, Resulting Numbers: [39, 39]
Generated Node #0,2,0: 78:[39, 39] Operation: 81-42=39
Moving to Node #0,2,0
Current State: 78:[39, 39], Operations: ['21*2=42', '81-42=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 |
hs_4
|
sum_heuristic
|
[
16,
28,
16,
39
] | 99 |
[
"16+28=44",
"16+39=55",
"44+55=99"
] |
Current State: 99:[16, 28, 16, 39], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [39, 44]
Generated Node #2: [39, 44] from Operation: 16+28=44
Current State: 99:[39, 44], Operations: ['16+28=44']
Exploring Operation: 16+39=55, Resulting Numbers: [44, 55]
Generated Node #3: [44, 55] from Operation: 16+39=55
Current State: 99:[44, 55], Operations: ['16+28=44', '16+39=55']
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[16, 28, 16, 39], Operations: []
Exploring Operation: 39-28=11, Resulting Numbers: [16, 16, 11]
Generated Node #0,0: 99:[16, 16, 11] Operation: 39-28=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[16, 16, 11], Operations: ['39-28=11']
Exploring Operation: 16+16=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 99:[11, 32] Operation: 16+16=32
Moving to Node #0,0,0
Current State: 99:[11, 32], Operations: ['39-28=11', '16+16=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
59,
10,
39,
7
] | 24 |
[
"59+39=98",
"98/7=14",
"10+14=24"
] |
Current State: 24:[59, 10, 39, 7], Operations: []
Exploring Operation: 59+39=98, Resulting Numbers: [10, 7, 98]
Generated Node #2: [10, 7, 98] from Operation: 59+39=98
Current State: 24:[10, 7, 98], Operations: ['59+39=98']
Exploring Operation: 98/7=14, Resulting Numbers: [10, 14]
Generated Node #3: [10, 14] from Operation: 98/7=14
Current State: 24:[10, 14], Operations: ['59+39=98', '98/7=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[59, 10, 39, 7], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [59, 7, 29]
Generated Node #0,0: 24:[59, 7, 29] Operation: 39-10=29
Exploring Operation: 59-39=20, Resulting Numbers: [10, 7, 20]
Generated Node #0,1: 24:[10, 7, 20] Operation: 59-39=20
Exploring Operation: 59-7=52, Resulting Numbers: [10, 39, 52]
Generated Node #0,2: 24:[10, 39, 52] Operation: 59-7=52
Exploring Operation: 59-10=49, Resulting Numbers: [39, 7, 49]
Generated Node #0,3: 24:[39, 7, 49] Operation: 59-10=49
Moving to Node #0,1
Current State: 24:[10, 7, 20], Operations: ['59-39=20']
Exploring Operation: 20-7=13, Resulting Numbers: [10, 13]
Generated Node #0,1,0: 24:[10, 13] Operation: 20-7=13
Exploring Operation: 20-10=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 24:[7, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 24:[7, 2] Operation: 20/10=2
Exploring Operation: 10-7=3, Resulting Numbers: [20, 3]
Generated Node #0,1,3: 24:[20, 3] Operation: 10-7=3
Moving to Node #0,3
Current State: 24:[39, 7, 49], Operations: ['59-10=49']
Exploring Operation: 49-7=42, Resulting Numbers: [39, 42]
Generated Node #0,3,0: 24:[39, 42] Operation: 49-7=42
Exploring Operation: 49/7=7, Resulting Numbers: [39, 7]
Generated Node #0,3,1: 24:[39, 7] Operation: 49/7=7
Exploring Operation: 49-39=10, Resulting Numbers: [7, 10]
Generated Node #0,3,2: 24:[7, 10] Operation: 49-39=10
Exploring Operation: 39-7=32, Resulting Numbers: [49, 32]
Generated Node #0,3,3: 24:[49, 32] Operation: 39-7=32
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[7, 10], Operations: ['59-10=49', '49-39=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[39, 7], Operations: ['59-10=49', '49/7=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,24 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[39, 42], Operations: ['59-10=49', '49-7=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[49, 32], Operations: ['59-10=49', '39-7=32']
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,24 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[59, 7, 29], Operations: ['39-10=29']
Exploring Operation: 59-7=52, Resulting Numbers: [29, 52]
Generated Node #0,0,0: 24:[29, 52] Operation: 59-7=52
Exploring Operation: 59+7=66, Resulting Numbers: [29, 66]
Generated Node #0,0,1: 24:[29, 66] Operation: 59+7=66
Exploring Operation: 29-7=22, Resulting Numbers: [59, 22]
Generated Node #0,0,2: 24:[59, 22] Operation: 29-7=22
Exploring Operation: 59-29=30, Resulting Numbers: [7, 30]
Generated Node #0,0,3: 24:[7, 30] Operation: 59-29=30
Moving to Node #0,2
Current State: 24:[10, 39, 52], Operations: ['59-7=52']
Exploring Operation: 52-39=13, Resulting Numbers: [10, 13]
Generated Node #0,2,0: 24:[10, 13] Operation: 52-39=13
Exploring Operation: 10+39=49, Resulting Numbers: [52, 49]
Generated Node #0,2,1: 24:[52, 49] Operation: 10+39=49
Exploring Operation: 52-10=42, Resulting Numbers: [39, 42]
Generated Node #0,2,2: 24:[39, 42] Operation: 52-10=42
Exploring Operation: 39-10=29, Resulting Numbers: [52, 29]
Generated Node #0,2,3: 24:[52, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[10, 13], Operations: ['59-7=52', '52-39=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,24 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[39, 42], Operations: ['59-7=52', '52-10=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,24 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[52, 29], Operations: ['59-7=52', '39-10=29']
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,24 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[52, 49], Operations: ['59-7=52', '10+39=49']
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,24 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 24:[7, 2], Operations: ['59-39=20', '20/10=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[7, 10], Operations: ['59-39=20', '20-10=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[10, 13], Operations: ['59-39=20', '20-7=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,24 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[20, 3], Operations: ['59-39=20', '10-7=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[7, 30], Operations: ['39-10=29', '59-29=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,24 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[29, 52], Operations: ['39-10=29', '59-7=52']
Exploring Operation: 29+52=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 29*52=1508, Resulting Numbers: [1508]
1508,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[59, 22], Operations: ['39-10=29', '29-7=22']
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,24 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[29, 66], Operations: ['39-10=29', '59+7=66']
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,24 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,24 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
97,
1,
17,
42
] | 73 |
[
"97+1=98",
"42-17=25",
"98-25=73"
] |
Current State: 73:[97, 1, 17, 42], Operations: []
Exploring Operation: 97+1=98, Resulting Numbers: [17, 42, 98]
Generated Node #2: [17, 42, 98] from Operation: 97+1=98
Current State: 73:[17, 42, 98], Operations: ['97+1=98']
Exploring Operation: 42-17=25, Resulting Numbers: [98, 25]
Generated Node #3: [98, 25] from Operation: 42-17=25
Current State: 73:[98, 25], Operations: ['97+1=98', '42-17=25']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[97, 1, 17, 42], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [1, 42, 80]
Generated Node #0,0: 73:[1, 42, 80] Operation: 97-17=80
Exploring Operation: 97-1=96, Resulting Numbers: [17, 42, 96]
Generated Node #0,1: 73:[17, 42, 96] Operation: 97-1=96
Exploring Operation: 1+17=18, Resulting Numbers: [97, 42, 18]
Generated Node #0,2: 73:[97, 42, 18] Operation: 1+17=18
Moving to Node #0,0
Current State: 73:[1, 42, 80], Operations: ['97-17=80']
Exploring Operation: 1*42=42, Resulting Numbers: [80, 42]
Generated Node #0,0,0: 73:[80, 42] Operation: 1*42=42
Exploring Operation: 1+42=43, Resulting Numbers: [80, 43]
Generated Node #0,0,1: 73:[80, 43] Operation: 1+42=43
Exploring Operation: 80-1=79, Resulting Numbers: [42, 79]
Generated Node #0,0,2: 73:[42, 79] Operation: 80-1=79
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[80, 43], Operations: ['97-17=80', '1+42=43']
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[42, 79], Operations: ['97-17=80', '80-1=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,73 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[80, 42], Operations: ['97-17=80', '1*42=42']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[17, 42, 96], Operations: ['97-1=96']
Exploring Operation: 96-17=79, Resulting Numbers: [42, 79]
Generated Node #0,1,0: 73:[42, 79] Operation: 96-17=79
Exploring Operation: 42-17=25, Resulting Numbers: [96, 25]
Generated Node #0,1,1: 73:[96, 25] Operation: 42-17=25
Exploring Operation: 17+42=59, Resulting Numbers: [96, 59]
Generated Node #0,1,2: 73:[96, 59] Operation: 17+42=59
Moving to Node #0,2
Current State: 73:[97, 42, 18], Operations: ['1+17=18']
Exploring Operation: 42+18=60, Resulting Numbers: [97, 60]
Generated Node #0,2,0: 73:[97, 60] Operation: 42+18=60
Exploring Operation: 97-18=79, Resulting Numbers: [42, 79]
Generated Node #0,2,1: 73:[42, 79] Operation: 97-18=79
Exploring Operation: 97-42=55, Resulting Numbers: [18, 55]
Generated Node #0,2,2: 73:[18, 55] Operation: 97-42=55
Moving to Node #0,1,0
Current State: 73:[42, 79], Operations: ['97-1=96', '96-17=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[96, 59], Operations: ['97-1=96', '17+42=59']
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[42, 79], Operations: ['1+17=18', '97-18=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,73 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[97, 60], Operations: ['1+17=18', '42+18=60']
Exploring Operation: 97*60=5820, Resulting Numbers: [5820]
5820,73 unequal: No Solution
Exploring Operation: 97+60=157, Resulting Numbers: [157]
157,73 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[96, 25], Operations: ['97-1=96', '42-17=25']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 96*25=2400, Resulting Numbers: [2400]
2400,73 unequal: No Solution
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[18, 55], Operations: ['1+17=18', '97-42=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,73 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[97, 1, 17, 42], Operations: []
Exploring Operation: 1+17=18, Resulting Numbers: [97, 42, 18]
Generated Node #0,2: 73:[97, 42, 18] Operation: 1+17=18
Moving to Node #0,2
Current State: 73:[97, 42, 18], Operations: ['1+17=18']
Exploring Operation: 97-42=55, Resulting Numbers: [18, 55]
Generated Node #0,2,2: 73:[18, 55] Operation: 97-42=55
Moving to Node #0,2,2
Current State: 73:[18, 55], Operations: ['1+17=18', '97-42=55']
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.962674 |
hs_3
|
sum_heuristic
|
[
46,
28,
38,
26
] | 62 |
[
"46+28=74",
"38-26=12",
"74-12=62"
] |
Current State: 62:[46, 28, 38, 26], Operations: []
Exploring Operation: 46+28=74, Resulting Numbers: [38, 26, 74]
Generated Node #2: [38, 26, 74] from Operation: 46+28=74
Current State: 62:[38, 26, 74], Operations: ['46+28=74']
Exploring Operation: 38-26=12, Resulting Numbers: [74, 12]
Generated Node #3: [74, 12] from Operation: 38-26=12
Current State: 62:[74, 12], Operations: ['46+28=74', '38-26=12']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[46, 28, 38, 26], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [28, 26, 8]
Generated Node #0,0: 62:[28, 26, 8] Operation: 46-38=8
Exploring Operation: 46-26=20, Resulting Numbers: [28, 38, 20]
Generated Node #0,1: 62:[28, 38, 20] Operation: 46-26=20
Exploring Operation: 38+26=64, Resulting Numbers: [46, 28, 64]
Generated Node #0,2: 62:[46, 28, 64] Operation: 38+26=64
Exploring Operation: 46+26=72, Resulting Numbers: [28, 38, 72]
Generated Node #0,3: 62:[28, 38, 72] Operation: 46+26=72
Exploring Operation: 28-26=2, Resulting Numbers: [46, 38, 2]
Generated Node #0,4: 62:[46, 38, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[28, 26, 8], Operations: ['46-38=8']
Exploring Operation: 28+8=36, Resulting Numbers: [26, 36]
Generated Node #0,0,0: 62:[26, 36] Operation: 28+8=36
Exploring Operation: 28-8=20, Resulting Numbers: [26, 20]
Generated Node #0,0,1: 62:[26, 20] Operation: 28-8=20
Exploring Operation: 26+8=34, Resulting Numbers: [28, 34]
Generated Node #0,0,2: 62:[28, 34] Operation: 26+8=34
Exploring Operation: 28+26=54, Resulting Numbers: [8, 54]
Generated Node #0,0,3: 62:[8, 54] Operation: 28+26=54
Exploring Operation: 28-26=2, Resulting Numbers: [8, 2]
Generated Node #0,0,4: 62:[8, 2] Operation: 28-26=2
Moving to Node #0,0,2
Current State: 62:[28, 34], Operations: ['46-38=8', '26+8=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[46, 28, 38, 26], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [28, 26, 8]
Generated Node #0,0: 62:[28, 26, 8] Operation: 46-38=8
Moving to Node #0,0
Current State: 62:[28, 26, 8], Operations: ['46-38=8']
Exploring Operation: 26+8=34, Resulting Numbers: [28, 34]
Generated Node #0,0,2: 62:[28, 34] Operation: 26+8=34
Moving to Node #0,0,2
Current State: 62:[28, 34], Operations: ['46-38=8', '26+8=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
58,
99,
45,
70
] | 47 |
[
"99-70=29",
"58/29=2",
"45+2=47"
] |
Current State: 47:[58, 99, 45, 70], Operations: []
Exploring Operation: 99-70=29, Resulting Numbers: [58, 45, 29]
Generated Node #2: [58, 45, 29] from Operation: 99-70=29
Current State: 47:[58, 45, 29], Operations: ['99-70=29']
Exploring Operation: 58/29=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 58/29=2
Current State: 47:[45, 2], Operations: ['99-70=29', '58/29=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[58, 99, 45, 70], Operations: []
Exploring Operation: 99-70=29, Resulting Numbers: [58, 45, 29]
Generated Node #0,0: 47:[58, 45, 29] Operation: 99-70=29
Exploring Operation: 99-45=54, Resulting Numbers: [58, 70, 54]
Generated Node #0,1: 47:[58, 70, 54] Operation: 99-45=54
Exploring Operation: 99-58=41, Resulting Numbers: [45, 70, 41]
Generated Node #0,2: 47:[45, 70, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[58, 45, 29], Operations: ['99-70=29']
Exploring Operation: 45+29=74, Resulting Numbers: [58, 74]
Generated Node #0,0,0: 47:[58, 74] Operation: 45+29=74
Exploring Operation: 58-29=29, Resulting Numbers: [45, 29]
Generated Node #0,0,1: 47:[45, 29] Operation: 58-29=29
Exploring Operation: 58+29=87, Resulting Numbers: [45, 87]
Generated Node #0,0,2: 47:[45, 87] Operation: 58+29=87
Moving to Node #0,0,1
Current State: 47:[45, 29], Operations: ['99-70=29', '58-29=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,47 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[58, 74], Operations: ['99-70=29', '45+29=74']
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,47 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[45, 87], Operations: ['99-70=29', '58+29=87']
Exploring Operation: 45+87=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 45*87=3915, Resulting Numbers: [3915]
3915,47 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[45, 70, 41], Operations: ['99-58=41']
Exploring Operation: 45+41=86, Resulting Numbers: [70, 86]
Generated Node #0,2,0: 47:[70, 86] Operation: 45+41=86
Exploring Operation: 70-45=25, Resulting Numbers: [41, 25]
Generated Node #0,2,1: 47:[41, 25] Operation: 70-45=25
Exploring Operation: 70-41=29, Resulting Numbers: [45, 29]
Generated Node #0,2,2: 47:[45, 29] Operation: 70-41=29
Moving to Node #0,2,2
Current State: 47:[45, 29], Operations: ['99-58=41', '70-41=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,47 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[41, 25], Operations: ['99-58=41', '70-45=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[70, 86], Operations: ['99-58=41', '45+41=86']
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 70+86=156, Resulting Numbers: [156]
156,47 unequal: No Solution
Exploring Operation: 70*86=6020, Resulting Numbers: [6020]
6020,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[58, 70, 54], Operations: ['99-45=54']
Exploring Operation: 70-58=12, Resulting Numbers: [54, 12]
Generated Node #0,1,0: 47:[54, 12] Operation: 70-58=12
Exploring Operation: 58-54=4, Resulting Numbers: [70, 4]
Generated Node #0,1,1: 47:[70, 4] Operation: 58-54=4
Exploring Operation: 70-54=16, Resulting Numbers: [58, 16]
Generated Node #0,1,2: 47:[58, 16] Operation: 70-54=16
Moving to Node #0,1,0
Current State: 47:[54, 12], Operations: ['99-45=54', '70-58=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,47 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[58, 16], Operations: ['99-45=54', '70-54=16']
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,47 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[70, 4], Operations: ['99-45=54', '58-54=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,47 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,47 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
|
[
9,
71,
27,
94
] | 13 |
[
"9+71=80",
"94-27=67",
"80-67=13"
] |
Current State: 13:[9, 71, 27, 94], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [27, 94, 80]
Generated Node #2: [27, 94, 80] from Operation: 9+71=80
Current State: 13:[27, 94, 80], Operations: ['9+71=80']
Exploring Operation: 94-27=67, Resulting Numbers: [80, 67]
Generated Node #3: [80, 67] from Operation: 94-27=67
Current State: 13:[80, 67], Operations: ['9+71=80', '94-27=67']
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[9, 71, 27, 94], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [9, 94, 44]
Generated Node #0,0: 13:[9, 94, 44] Operation: 71-27=44
Exploring Operation: 94-71=23, Resulting Numbers: [9, 27, 23]
Generated Node #0,1: 13:[9, 27, 23] Operation: 94-71=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[9, 27, 23], Operations: ['94-71=23']
Exploring Operation: 27-9=18, Resulting Numbers: [23, 18]
Generated Node #0,1,0: 13:[23, 18] Operation: 27-9=18
Exploring Operation: 27-23=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 13:[9, 4] Operation: 27-23=4
Moving to Node #0,1,1
Current State: 13:[9, 4], Operations: ['94-71=23', '27-23=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[9, 71, 27, 94], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [9, 27, 23]
Generated Node #0,1: 13:[9, 27, 23] Operation: 94-71=23
Moving to Node #0,1
Current State: 13:[9, 27, 23], Operations: ['94-71=23']
Exploring Operation: 27-23=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 13:[9, 4] Operation: 27-23=4
Moving to Node #0,1,1
Current State: 13:[9, 4], Operations: ['94-71=23', '27-23=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
25,
46,
58,
69
] | 32 |
[
"46-25=21",
"69-58=11",
"21+11=32"
] |
Current State: 32:[25, 46, 58, 69], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [58, 69, 21]
Generated Node #2: [58, 69, 21] from Operation: 46-25=21
Current State: 32:[58, 69, 21], Operations: ['46-25=21']
Exploring Operation: 69-58=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 69-58=11
Current State: 32:[21, 11], Operations: ['46-25=21', '69-58=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[25, 46, 58, 69], Operations: []
Exploring Operation: 69-46=23, Resulting Numbers: [25, 58, 23]
Generated Node #0,0: 32:[25, 58, 23] Operation: 69-46=23
Exploring Operation: 69-58=11, Resulting Numbers: [25, 46, 11]
Generated Node #0,1: 32:[25, 46, 11] Operation: 69-58=11
Exploring Operation: 58-46=12, Resulting Numbers: [25, 69, 12]
Generated Node #0,2: 32:[25, 69, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[25, 46, 11], Operations: ['69-58=11']
Exploring Operation: 46-11=35, Resulting Numbers: [25, 35]
Generated Node #0,1,0: 32:[25, 35] Operation: 46-11=35
Exploring Operation: 46-25=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 32:[11, 21] Operation: 46-25=21
Exploring Operation: 25-11=14, Resulting Numbers: [46, 14]
Generated Node #0,1,2: 32:[46, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[11, 21], Operations: ['69-58=11', '46-25=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,32 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[25, 46, 58, 69], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [25, 46, 11]
Generated Node #0,1: 32:[25, 46, 11] Operation: 69-58=11
Moving to Node #0,1
Current State: 32:[25, 46, 11], Operations: ['69-58=11']
Exploring Operation: 46-25=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 32:[11, 21] Operation: 46-25=21
Moving to Node #0,1,1
Current State: 32:[11, 21], Operations: ['69-58=11', '46-25=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
83,
27,
13,
73
] | 15 |
[
"83+73=156",
"156/13=12",
"27-12=15"
] |
Current State: 15:[83, 27, 13, 73], Operations: []
Exploring Operation: 83+73=156, Resulting Numbers: [27, 13, 156]
Generated Node #2: [27, 13, 156] from Operation: 83+73=156
Current State: 15:[27, 13, 156], Operations: ['83+73=156']
Exploring Operation: 156/13=12, Resulting Numbers: [27, 12]
Generated Node #3: [27, 12] from Operation: 156/13=12
Current State: 15:[27, 12], Operations: ['83+73=156', '156/13=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[83, 27, 13, 73], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [13, 73, 56]
Generated Node #0,0: 15:[13, 73, 56] Operation: 83-27=56
Exploring Operation: 83-73=10, Resulting Numbers: [27, 13, 10]
Generated Node #0,1: 15:[27, 13, 10] Operation: 83-73=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[27, 13, 10], Operations: ['83-73=10']
Exploring Operation: 27-10=17, Resulting Numbers: [13, 17]
Generated Node #0,1,0: 15:[13, 17] Operation: 27-10=17
Exploring Operation: 27-13=14, Resulting Numbers: [10, 14]
Generated Node #0,1,1: 15:[10, 14] Operation: 27-13=14
Moving to Node #0,1,0
Current State: 15:[13, 17], Operations: ['83-73=10', '27-10=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[10, 14], Operations: ['83-73=10', '27-13=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No 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: 15:[13, 73, 56], Operations: ['83-27=56']
Exploring Operation: 73-56=17, Resulting Numbers: [13, 17]
Generated Node #0,0,0: 15:[13, 17] Operation: 73-56=17
Exploring Operation: 73-13=60, Resulting Numbers: [56, 60]
Generated Node #0,0,1: 15:[56, 60] Operation: 73-13=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[13, 17], Operations: ['83-27=56', '73-56=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[56, 60], Operations: ['83-27=56', '73-13=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,15 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,15 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
|
[
62,
99,
75,
61
] | 99 |
[
"99-62=37",
"75+61=136",
"136-37=99"
] |
Current State: 99:[62, 99, 75, 61], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [75, 61, 37]
Generated Node #2: [75, 61, 37] from Operation: 99-62=37
Current State: 99:[75, 61, 37], Operations: ['99-62=37']
Exploring Operation: 75+61=136, Resulting Numbers: [37, 136]
Generated Node #3: [37, 136] from Operation: 75+61=136
Current State: 99:[37, 136], Operations: ['99-62=37', '75+61=136']
Exploring Operation: 136-37=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[62, 99, 75, 61], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [62, 99, 14]
Generated Node #0,0: 99:[62, 99, 14] Operation: 75-61=14
Exploring Operation: 75-62=13, Resulting Numbers: [99, 61, 13]
Generated Node #0,1: 99:[99, 61, 13] Operation: 75-62=13
Exploring Operation: 62-61=1, Resulting Numbers: [99, 75, 1]
Generated Node #0,2: 99:[99, 75, 1] Operation: 62-61=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[99, 75, 1], Operations: ['62-61=1']
Exploring Operation: 99-75=24, Resulting Numbers: [1, 24]
Generated Node #0,2,0: 99:[1, 24] Operation: 99-75=24
Exploring Operation: 75+1=76, Resulting Numbers: [99, 76]
Generated Node #0,2,1: 99:[99, 76] Operation: 75+1=76
Exploring Operation: 99*1=99, Resulting Numbers: [75, 99]
Generated Node #0,2,2: 99:[75, 99] Operation: 99*1=99
Moving to Node #0,2,0
Current State: 99:[1, 24], Operations: ['62-61=1', '99-75=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[99, 76], Operations: ['62-61=1', '75+1=76']
Exploring Operation: 99+76=175, Resulting Numbers: [175]
175,99 unequal: No Solution
Exploring Operation: 99-76=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 99*76=7524, Resulting Numbers: [7524]
7524,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[75, 99], Operations: ['62-61=1', '99*1=99']
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 75+99=174, Resulting Numbers: [174]
174,99 unequal: No Solution
Exploring Operation: 75*99=7425, Resulting Numbers: [7425]
7425,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[99, 61, 13], Operations: ['75-62=13']
Exploring Operation: 99-61=38, Resulting Numbers: [13, 38]
Generated Node #0,1,0: 99:[13, 38] Operation: 99-61=38
Exploring Operation: 61-13=48, Resulting Numbers: [99, 48]
Generated Node #0,1,1: 99:[99, 48] Operation: 61-13=48
Exploring Operation: 61+13=74, Resulting Numbers: [99, 74]
Generated Node #0,1,2: 99:[99, 74] Operation: 61+13=74
Moving to Node #0,1,0
Current State: 99:[13, 38], Operations: ['75-62=13', '99-61=38']
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,99 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[99, 48], Operations: ['75-62=13', '61-13=48']
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,99 unequal: No Solution
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[99, 74], Operations: ['75-62=13', '61+13=74']
Exploring Operation: 99*74=7326, Resulting Numbers: [7326]
7326,99 unequal: No Solution
Exploring Operation: 99+74=173, Resulting Numbers: [173]
173,99 unequal: No Solution
Exploring Operation: 99-74=25, Resulting Numbers: [25]
25,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[62, 99, 14], Operations: ['75-61=14']
Exploring Operation: 62-14=48, Resulting Numbers: [99, 48]
Generated Node #0,0,0: 99:[99, 48] Operation: 62-14=48
Exploring Operation: 62+14=76, Resulting Numbers: [99, 76]
Generated Node #0,0,1: 99:[99, 76] Operation: 62+14=76
Exploring Operation: 99-62=37, Resulting Numbers: [14, 37]
Generated Node #0,0,2: 99:[14, 37] Operation: 99-62=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[14, 37], Operations: ['75-61=14', '99-62=37']
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[99, 48], Operations: ['75-61=14', '62-14=48']
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,99 unequal: No Solution
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,99 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[99, 76], Operations: ['75-61=14', '62+14=76']
Exploring Operation: 99+76=175, Resulting Numbers: [175]
175,99 unequal: No Solution
Exploring Operation: 99-76=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 99*76=7524, Resulting Numbers: [7524]
7524,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
14,
15,
70,
41
] | 99 |
[
"14*15=210",
"70+41=111",
"210-111=99"
] |
Current State: 99:[14, 15, 70, 41], Operations: []
Exploring Operation: 14*15=210, Resulting Numbers: [70, 41, 210]
Generated Node #2: [70, 41, 210] from Operation: 14*15=210
Current State: 99:[70, 41, 210], Operations: ['14*15=210']
Exploring Operation: 70+41=111, Resulting Numbers: [210, 111]
Generated Node #3: [210, 111] from Operation: 70+41=111
Current State: 99:[210, 111], Operations: ['14*15=210', '70+41=111']
Exploring Operation: 210-111=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[14, 15, 70, 41], Operations: []
Exploring Operation: 70+41=111, Resulting Numbers: [14, 15, 111]
Generated Node #0,0: 99:[14, 15, 111] Operation: 70+41=111
Exploring Operation: 70-41=29, Resulting Numbers: [14, 15, 29]
Generated Node #0,1: 99:[14, 15, 29] Operation: 70-41=29
Exploring Operation: 70/14=5, Resulting Numbers: [15, 41, 5]
Generated Node #0,2: 99:[15, 41, 5] Operation: 70/14=5
Moving to Node #0,1
Current State: 99:[14, 15, 29], Operations: ['70-41=29']
Exploring Operation: 14+15=29, Resulting Numbers: [29, 29]
Generated Node #0,1,0: 99:[29, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 99:[29, 1] Operation: 15-14=1
Exploring Operation: 29-15=14, Resulting Numbers: [14, 14]
Generated Node #0,1,2: 99:[14, 14] Operation: 29-15=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[29, 1], Operations: ['70-41=29', '15-14=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[14, 14], Operations: ['70-41=29', '29-15=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[29, 29], Operations: ['70-41=29', '14+15=29']
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,99 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: 99:[15, 41, 5], Operations: ['70/14=5']
Exploring Operation: 15/5=3, Resulting Numbers: [41, 3]
Generated Node #0,2,0: 99:[41, 3] Operation: 15/5=3
Exploring Operation: 41-5=36, Resulting Numbers: [15, 36]
Generated Node #0,2,1: 99:[15, 36] Operation: 41-5=36
Exploring Operation: 41-15=26, Resulting Numbers: [5, 26]
Generated Node #0,2,2: 99:[5, 26] Operation: 41-15=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[15, 36], Operations: ['70/14=5', '41-5=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,99 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[41, 3], Operations: ['70/14=5', '15/5=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,99 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[5, 26], Operations: ['70/14=5', '41-15=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,99 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[14, 15, 111], Operations: ['70+41=111']
Exploring Operation: 15-14=1, Resulting Numbers: [111, 1]
Generated Node #0,0,0: 99:[111, 1] Operation: 15-14=1
Exploring Operation: 111-14=97, Resulting Numbers: [15, 97]
Generated Node #0,0,1: 99:[15, 97] Operation: 111-14=97
Exploring Operation: 111-15=96, Resulting Numbers: [14, 96]
Generated Node #0,0,2: 99:[14, 96] Operation: 111-15=96
Moving to Node #0,0,1
Current State: 99:[15, 97], Operations: ['70+41=111', '111-14=97']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 15*97=1455, Resulting Numbers: [1455]
1455,99 unequal: No Solution
Exploring Operation: 15+97=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[14, 96], Operations: ['70+41=111', '111-15=96']
Exploring Operation: 14*96=1344, Resulting Numbers: [1344]
1344,99 unequal: No Solution
Exploring Operation: 14+96=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[111, 1], Operations: ['70+41=111', '15-14=1']
Exploring Operation: 111/1=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 111*1=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 111-1=110, Resulting Numbers: [110]
110,99 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
47,
2,
89,
55
] | 76 |
[
"89-47=42",
"42/2=21",
"55+21=76"
] |
Current State: 76:[47, 2, 89, 55], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [2, 55, 42]
Generated Node #2: [2, 55, 42] from Operation: 89-47=42
Current State: 76:[2, 55, 42], Operations: ['89-47=42']
Exploring Operation: 42/2=21, Resulting Numbers: [55, 21]
Generated Node #3: [55, 21] from Operation: 42/2=21
Current State: 76:[55, 21], Operations: ['89-47=42', '42/2=21']
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[47, 2, 89, 55], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [2, 89, 8]
Generated Node #0,0: 76:[2, 89, 8] Operation: 55-47=8
Exploring Operation: 89-55=34, Resulting Numbers: [47, 2, 34]
Generated Node #0,1: 76:[47, 2, 34] Operation: 89-55=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[47, 2, 34], Operations: ['89-55=34']
Exploring Operation: 47+34=81, Resulting Numbers: [2, 81]
Generated Node #0,1,0: 76:[2, 81] Operation: 47+34=81
Exploring Operation: 47-34=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 76:[2, 13] Operation: 47-34=13
Moving to Node #0,1,0
Current State: 76:[2, 81], Operations: ['89-55=34', '47+34=81']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[2, 13], Operations: ['89-55=34', '47-34=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[2, 89, 8], Operations: ['55-47=8']
Exploring Operation: 8/2=4, Resulting Numbers: [89, 4]
Generated Node #0,0,0: 76:[89, 4] Operation: 8/2=4
Exploring Operation: 89-8=81, Resulting Numbers: [2, 81]
Generated Node #0,0,1: 76:[2, 81] Operation: 89-8=81
Moving to Node #0,0,1
Current State: 76:[2, 81], Operations: ['55-47=8', '89-8=81']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[89, 4], Operations: ['55-47=8', '8/2=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
45,
2,
75,
57
] | 72 |
[
"45*2=90",
"75-57=18",
"90-18=72"
] |
Current State: 72:[45, 2, 75, 57], Operations: []
Exploring Operation: 45*2=90, Resulting Numbers: [75, 57, 90]
Generated Node #2: [75, 57, 90] from Operation: 45*2=90
Current State: 72:[75, 57, 90], Operations: ['45*2=90']
Exploring Operation: 75-57=18, Resulting Numbers: [90, 18]
Generated Node #3: [90, 18] from Operation: 75-57=18
Current State: 72:[90, 18], Operations: ['45*2=90', '75-57=18']
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[45, 2, 75, 57], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [2, 75, 12]
Generated Node #0,0: 72:[2, 75, 12] Operation: 57-45=12
Moving to Node #0,0
Current State: 72:[2, 75, 12], Operations: ['57-45=12']
Exploring Operation: 75-2=73, Resulting Numbers: [12, 73]
Generated Node #0,0,0: 72:[12, 73] Operation: 75-2=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[12, 73], Operations: ['57-45=12', '75-2=73']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,72 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
|
[
90,
30,
57,
10
] | 78 |
[
"90/10=9",
"30+57=87",
"87-9=78"
] |
Current State: 78:[90, 30, 57, 10], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [30, 57, 9]
Generated Node #2: [30, 57, 9] from Operation: 90/10=9
Current State: 78:[30, 57, 9], Operations: ['90/10=9']
Exploring Operation: 30+57=87, Resulting Numbers: [9, 87]
Generated Node #3: [9, 87] from Operation: 30+57=87
Current State: 78:[9, 87], Operations: ['90/10=9', '30+57=87']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[90, 30, 57, 10], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [30, 10, 33]
Generated Node #0,0: 78:[30, 10, 33] Operation: 90-57=33
Moving to Node #0,0
Current State: 78:[30, 10, 33], Operations: ['90-57=33']
Exploring Operation: 33-30=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 78:[10, 3] Operation: 33-30=3
Moving to Node #0,0,0
Current State: 78:[10, 3], Operations: ['90-57=33', '33-30=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
13,
12,
34,
2
] | 31 |
[
"13-12=1",
"34-2=32",
"32-1=31"
] |
Current State: 31:[13, 12, 34, 2], Operations: []
Exploring Operation: 13-12=1, Resulting Numbers: [34, 2, 1]
Generated Node #2: [34, 2, 1] from Operation: 13-12=1
Current State: 31:[34, 2, 1], Operations: ['13-12=1']
Exploring Operation: 34-2=32, Resulting Numbers: [1, 32]
Generated Node #3: [1, 32] from Operation: 34-2=32
Current State: 31:[1, 32], Operations: ['13-12=1', '34-2=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[13, 12, 34, 2], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [13, 34, 24]
Generated Node #0,0: 31:[13, 34, 24] Operation: 12*2=24
Exploring Operation: 13+2=15, Resulting Numbers: [12, 34, 15]
Generated Node #0,1: 31:[12, 34, 15] Operation: 13+2=15
Exploring Operation: 13+12=25, Resulting Numbers: [34, 2, 25]
Generated Node #0,2: 31:[34, 2, 25] Operation: 13+12=25
Exploring Operation: 13*2=26, Resulting Numbers: [12, 34, 26]
Generated Node #0,3: 31:[12, 34, 26] Operation: 13*2=26
Moving to Node #0,3
Current State: 31:[12, 34, 26], Operations: ['13*2=26']
Exploring Operation: 26-12=14, Resulting Numbers: [34, 14]
Generated Node #0,3,0: 31:[34, 14] Operation: 26-12=14
Exploring Operation: 12+26=38, Resulting Numbers: [34, 38]
Generated Node #0,3,1: 31:[34, 38] Operation: 12+26=38
Exploring Operation: 34-12=22, Resulting Numbers: [26, 22]
Generated Node #0,3,2: 31:[26, 22] Operation: 34-12=22
Exploring Operation: 12+34=46, Resulting Numbers: [26, 46]
Generated Node #0,3,3: 31:[26, 46] Operation: 12+34=46
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[34, 38], Operations: ['13*2=26', '12+26=38']
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,31 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[26, 22], Operations: ['13*2=26', '34-12=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,31 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[34, 14], Operations: ['13*2=26', '26-12=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[26, 46], Operations: ['13*2=26', '12+34=46']
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,31 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,31 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: 31:[13, 34, 24], Operations: ['12*2=24']
Exploring Operation: 13+24=37, Resulting Numbers: [34, 37]
Generated Node #0,0,0: 31:[34, 37] Operation: 13+24=37
Exploring Operation: 13+34=47, Resulting Numbers: [24, 47]
Generated Node #0,0,1: 31:[24, 47] Operation: 13+34=47
Exploring Operation: 34-13=21, Resulting Numbers: [24, 21]
Generated Node #0,0,2: 31:[24, 21] Operation: 34-13=21
Exploring Operation: 24-13=11, Resulting Numbers: [34, 11]
Generated Node #0,0,3: 31:[34, 11] Operation: 24-13=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[34, 37], Operations: ['12*2=24', '13+24=37']
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,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:[24, 21], Operations: ['12*2=24', '34-13=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,31 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[24, 47], Operations: ['12*2=24', '13+34=47']
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,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:[34, 11], Operations: ['12*2=24', '24-13=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,31 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,31 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: 31:[34, 2, 25], Operations: ['13+12=25']
Exploring Operation: 34-2=32, Resulting Numbers: [25, 32]
Generated Node #0,2,0: 31:[25, 32] Operation: 34-2=32
Exploring Operation: 25-2=23, Resulting Numbers: [34, 23]
Generated Node #0,2,1: 31:[34, 23] Operation: 25-2=23
Exploring Operation: 2+25=27, Resulting Numbers: [34, 27]
Generated Node #0,2,2: 31:[34, 27] Operation: 2+25=27
Exploring Operation: 34+2=36, Resulting Numbers: [25, 36]
Generated Node #0,2,3: 31:[25, 36] Operation: 34+2=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[25, 32], Operations: ['13+12=25', '34-2=32']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,31 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,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,2,2
Current State: 31:[34, 27], Operations: ['13+12=25', '2+25=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,31 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,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,2,1
Current State: 31:[34, 23], Operations: ['13+12=25', '25-2=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,31 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,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,2,3
Current State: 31:[25, 36], Operations: ['13+12=25', '34+2=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,31 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: 31:[12, 34, 15], Operations: ['13+2=15']
Exploring Operation: 34-12=22, Resulting Numbers: [15, 22]
Generated Node #0,1,0: 31:[15, 22] Operation: 34-12=22
Exploring Operation: 15-12=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 31:[34, 3] Operation: 15-12=3
Exploring Operation: 12+15=27, Resulting Numbers: [34, 27]
Generated Node #0,1,2: 31:[34, 27] Operation: 12+15=27
Exploring Operation: 12+34=46, Resulting Numbers: [15, 46]
Generated Node #0,1,3: 31:[15, 46] Operation: 12+34=46
Moving to Node #0,1,2
Current State: 31:[34, 27], Operations: ['13+2=15', '12+15=27']
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,31 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[15, 22], Operations: ['13+2=15', '34-12=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[15, 46], Operations: ['13+2=15', '12+34=46']
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,31 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[13, 12, 34, 2], Operations: []
Exploring Operation: 13+2=15, Resulting Numbers: [12, 34, 15]
Generated Node #0,1: 31:[12, 34, 15] Operation: 13+2=15
Moving to Node #0,1
Current State: 31:[12, 34, 15], Operations: ['13+2=15']
Exploring Operation: 12+34=46, Resulting Numbers: [15, 46]
Generated Node #0,1,3: 31:[15, 46] Operation: 12+34=46
Moving to Node #0,1,3
Current State: 31:[15, 46], Operations: ['13+2=15', '12+34=46']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.940972 |
hs_4
|
mult_heuristic
|
[
57,
96,
99,
26
] | 21 |
[
"99-96=3",
"26*3=78",
"78-57=21"
] |
Current State: 21:[57, 96, 99, 26], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [57, 26, 3]
Generated Node #2: [57, 26, 3] from Operation: 99-96=3
Current State: 21:[57, 26, 3], Operations: ['99-96=3']
Exploring Operation: 26*3=78, Resulting Numbers: [57, 78]
Generated Node #3: [57, 78] from Operation: 26*3=78
Current State: 21:[57, 78], Operations: ['99-96=3', '26*3=78']
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[57, 96, 99, 26], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [57, 26, 3]
Generated Node #0,0: 21:[57, 26, 3] Operation: 99-96=3
Moving to Node #0,0
Current State: 21:[57, 26, 3], Operations: ['99-96=3']
Exploring Operation: 57/3=19, Resulting Numbers: [26, 19]
Generated Node #0,0,0: 21:[26, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[26, 19], Operations: ['99-96=3', '57/3=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
36,
9,
3,
48
] | 48 |
[
"36/9=4",
"4-3=1",
"48*1=48"
] |
Current State: 48:[36, 9, 3, 48], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [3, 48, 4]
Generated Node #2: [3, 48, 4] from Operation: 36/9=4
Current State: 48:[3, 48, 4], Operations: ['36/9=4']
Exploring Operation: 4-3=1, Resulting Numbers: [48, 1]
Generated Node #3: [48, 1] from Operation: 4-3=1
Current State: 48:[48, 1], Operations: ['36/9=4', '4-3=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[36, 9, 3, 48], Operations: []
Exploring Operation: 36-9=27, Resulting Numbers: [3, 48, 27]
Generated Node #0,0: 48:[3, 48, 27] Operation: 36-9=27
Exploring Operation: 48-36=12, Resulting Numbers: [9, 3, 12]
Generated Node #0,1: 48:[9, 3, 12] Operation: 48-36=12
Exploring Operation: 36+9=45, Resulting Numbers: [3, 48, 45]
Generated Node #0,2: 48:[3, 48, 45] Operation: 36+9=45
Exploring Operation: 36/3=12, Resulting Numbers: [9, 48, 12]
Generated Node #0,3: 48:[9, 48, 12] Operation: 36/3=12
Exploring Operation: 36/9=4, Resulting Numbers: [3, 48, 4]
Generated Node #0,4: 48:[3, 48, 4] Operation: 36/9=4
Moving to Node #0,4
Current State: 48:[3, 48, 4], Operations: ['36/9=4']
Exploring Operation: 3*4=12, Resulting Numbers: [48, 12]
Generated Node #0,4,0: 48:[48, 12] Operation: 3*4=12
Exploring Operation: 3+4=7, Resulting Numbers: [48, 7]
Generated Node #0,4,1: 48:[48, 7] Operation: 3+4=7
Exploring Operation: 48/3=16, Resulting Numbers: [4, 16]
Generated Node #0,4,2: 48:[4, 16] Operation: 48/3=16
Exploring Operation: 4-3=1, Resulting Numbers: [48, 1]
Generated Node #0,4,3: 48:[48, 1] Operation: 4-3=1
Exploring Operation: 48/4=12, Resulting Numbers: [3, 12]
Generated Node #0,4,4: 48:[3, 12] Operation: 48/4=12
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[48, 12], Operations: ['36/9=4', '3*4=12']
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,48 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,48 unequal: No Solution
No 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: 48:[4, 16], Operations: ['36/9=4', '48/3=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,48 unequal: No Solution
No 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: 48:[3, 12], Operations: ['36/9=4', '48/4=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,48 unequal: No Solution
No 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: 48:[48, 7], Operations: ['36/9=4', '3+4=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,48 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,48 unequal: No Solution
No 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: 48:[48, 1], Operations: ['36/9=4', '4-3=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[36, 9, 3, 48], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [3, 48, 4]
Generated Node #0,4: 48:[3, 48, 4] Operation: 36/9=4
Moving to Node #0,4
Current State: 48:[3, 48, 4], Operations: ['36/9=4']
Exploring Operation: 4-3=1, Resulting Numbers: [48, 1]
Generated Node #0,4,3: 48:[48, 1] Operation: 4-3=1
Moving to Node #0,4,3
Current State: 48:[48, 1], Operations: ['36/9=4', '4-3=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 |
hs_5
|
sum_heuristic
|
[
20,
76,
13,
3
] | 65 |
[
"20+13=33",
"33/3=11",
"76-11=65"
] |
Current State: 65:[20, 76, 13, 3], Operations: []
Exploring Operation: 20+13=33, Resulting Numbers: [76, 3, 33]
Generated Node #2: [76, 3, 33] from Operation: 20+13=33
Current State: 65:[76, 3, 33], Operations: ['20+13=33']
Exploring Operation: 33/3=11, Resulting Numbers: [76, 11]
Generated Node #3: [76, 11] from Operation: 33/3=11
Current State: 65:[76, 11], Operations: ['20+13=33', '33/3=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[20, 76, 13, 3], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [13, 3, 56]
Generated Node #0,0: 65:[13, 3, 56] Operation: 76-20=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[13, 3, 56], Operations: ['76-20=56']
Exploring Operation: 13+56=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 65:[3, 69] Operation: 13+56=69
Moving to Node #0,0,0
Current State: 65:[3, 69], Operations: ['76-20=56', '13+56=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,65 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
|
[
88,
22,
24,
12
] | 77 |
[
"22*12=264",
"264/24=11",
"88-11=77"
] |
Current State: 77:[88, 22, 24, 12], Operations: []
Exploring Operation: 22*12=264, Resulting Numbers: [88, 24, 264]
Generated Node #2: [88, 24, 264] from Operation: 22*12=264
Current State: 77:[88, 24, 264], Operations: ['22*12=264']
Exploring Operation: 264/24=11, Resulting Numbers: [88, 11]
Generated Node #3: [88, 11] from Operation: 264/24=11
Current State: 77:[88, 11], Operations: ['22*12=264', '264/24=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[88, 22, 24, 12], Operations: []
Exploring Operation: 24-12=12, Resulting Numbers: [88, 22, 12]
Generated Node #0,0: 77:[88, 22, 12] Operation: 24-12=12
Exploring Operation: 24-22=2, Resulting Numbers: [88, 12, 2]
Generated Node #0,1: 77:[88, 12, 2] Operation: 24-22=2
Exploring Operation: 88/22=4, Resulting Numbers: [24, 12, 4]
Generated Node #0,2: 77:[24, 12, 4] Operation: 88/22=4
Moving to Node #0,1
Current State: 77:[88, 12, 2], Operations: ['24-22=2']
Exploring Operation: 12-2=10, Resulting Numbers: [88, 10]
Generated Node #0,1,0: 77:[88, 10] Operation: 12-2=10
Exploring Operation: 88-12=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 77:[2, 76] Operation: 88-12=76
Exploring Operation: 88-2=86, Resulting Numbers: [12, 86]
Generated Node #0,1,2: 77:[12, 86] Operation: 88-2=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[2, 76], Operations: ['24-22=2', '88-12=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,77 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[12, 86], Operations: ['24-22=2', '88-2=86']
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[88, 10], Operations: ['24-22=2', '12-2=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,77 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,77 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: 77:[24, 12, 4], Operations: ['88/22=4']
Exploring Operation: 24-12=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 77:[4, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 77:[4, 2] Operation: 24/12=2
Exploring Operation: 24/4=6, Resulting Numbers: [12, 6]
Generated Node #0,2,2: 77:[12, 6] Operation: 24/4=6
Moving to Node #0,0
Current State: 77:[88, 22, 12], Operations: ['24-12=12']
Exploring Operation: 88/22=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 77:[12, 4] Operation: 88/22=4
Exploring Operation: 88-22=66, Resulting Numbers: [12, 66]
Generated Node #0,0,1: 77:[12, 66] Operation: 88-22=66
Exploring Operation: 88-12=76, Resulting Numbers: [22, 76]
Generated Node #0,0,2: 77:[22, 76] Operation: 88-12=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[12, 4], Operations: ['24-12=12', '88/22=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[12, 66], Operations: ['24-12=12', '88-22=66']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,77 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[22, 76], Operations: ['24-12=12', '88-12=76']
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 77:[12, 6], Operations: ['88/22=4', '24/4=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[4, 12], Operations: ['88/22=4', '24-12=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[4, 2], Operations: ['88/22=4', '24/12=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
64,
80,
36,
2
] | 22 |
[
"80-64=16",
"36+2=38",
"38-16=22"
] |
Current State: 22:[64, 80, 36, 2], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [36, 2, 16]
Generated Node #2: [36, 2, 16] from Operation: 80-64=16
Current State: 22:[36, 2, 16], Operations: ['80-64=16']
Exploring Operation: 36+2=38, Resulting Numbers: [16, 38]
Generated Node #3: [16, 38] from Operation: 36+2=38
Current State: 22:[16, 38], Operations: ['80-64=16', '36+2=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[64, 80, 36, 2], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [36, 2, 16]
Generated Node #0,0: 22:[36, 2, 16] Operation: 80-64=16
Exploring Operation: 64-36=28, Resulting Numbers: [80, 2, 28]
Generated Node #0,1: 22:[80, 2, 28] Operation: 64-36=28
Exploring Operation: 80-36=44, Resulting Numbers: [64, 2, 44]
Generated Node #0,2: 22:[64, 2, 44] Operation: 80-36=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[36, 2, 16], Operations: ['80-64=16']
Exploring Operation: 36/2=18, Resulting Numbers: [16, 18]
Generated Node #0,0,0: 22:[16, 18] Operation: 36/2=18
Exploring Operation: 36-16=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 22:[2, 20] Operation: 36-16=20
Exploring Operation: 36-2=34, Resulting Numbers: [16, 34]
Generated Node #0,0,2: 22:[16, 34] Operation: 36-2=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[2, 20], Operations: ['80-64=16', '36-16=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[64, 80, 36, 2], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [36, 2, 16]
Generated Node #0,0: 22:[36, 2, 16] Operation: 80-64=16
Moving to Node #0,0
Current State: 22:[36, 2, 16], Operations: ['80-64=16']
Exploring Operation: 36-16=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 22:[2, 20] Operation: 36-16=20
Moving to Node #0,0,1
Current State: 22:[2, 20], Operations: ['80-64=16', '36-16=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
77,
79,
54,
74
] | 40 |
[
"79-77=2",
"74-54=20",
"2*20=40"
] |
Current State: 40:[77, 79, 54, 74], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [54, 74, 2]
Generated Node #2: [54, 74, 2] from Operation: 79-77=2
Current State: 40:[54, 74, 2], Operations: ['79-77=2']
Exploring Operation: 74-54=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 74-54=20
Current State: 40:[2, 20], Operations: ['79-77=2', '74-54=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[77, 79, 54, 74], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [54, 74, 2]
Generated Node #0,0: 40:[54, 74, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[54, 74, 2], Operations: ['79-77=2']
Exploring Operation: 74-54=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 74-54=20
Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['79-77=2', '74-54=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[77, 79, 54, 74], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [54, 74, 2]
Generated Node #0,0: 40:[54, 74, 2] Operation: 79-77=2
Moving to Node #0,0
Current State: 40:[54, 74, 2], Operations: ['79-77=2']
Exploring Operation: 74-54=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 74-54=20
Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['79-77=2', '74-54=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
4,
38,
51,
72
] | 20 |
[
"51-38=13",
"4*13=52",
"72-52=20"
] |
Current State: 20:[4, 38, 51, 72], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [4, 72, 13]
Generated Node #2: [4, 72, 13] from Operation: 51-38=13
Current State: 20:[4, 72, 13], Operations: ['51-38=13']
Exploring Operation: 4*13=52, Resulting Numbers: [72, 52]
Generated Node #3: [72, 52] from Operation: 4*13=52
Current State: 20:[72, 52], Operations: ['51-38=13', '4*13=52']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[4, 38, 51, 72], Operations: []
Exploring Operation: 72-51=21, Resulting Numbers: [4, 38, 21]
Generated Node #0,0: 20:[4, 38, 21] Operation: 72-51=21
Exploring Operation: 72/4=18, Resulting Numbers: [38, 51, 18]
Generated Node #0,1: 20:[38, 51, 18] Operation: 72/4=18
Exploring Operation: 51-38=13, Resulting Numbers: [4, 72, 13]
Generated Node #0,2: 20:[4, 72, 13] Operation: 51-38=13
Exploring Operation: 72-38=34, Resulting Numbers: [4, 51, 34]
Generated Node #0,3: 20:[4, 51, 34] Operation: 72-38=34
Exploring Operation: 38-4=34, Resulting Numbers: [51, 72, 34]
Generated Node #0,4: 20:[51, 72, 34] Operation: 38-4=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[4, 38, 21], Operations: ['72-51=21']
Exploring Operation: 4+21=25, Resulting Numbers: [38, 25]
Generated Node #0,0,0: 20:[38, 25] Operation: 4+21=25
Exploring Operation: 21-4=17, Resulting Numbers: [38, 17]
Generated Node #0,0,1: 20:[38, 17] Operation: 21-4=17
Exploring Operation: 38-21=17, Resulting Numbers: [4, 17]
Generated Node #0,0,2: 20:[4, 17] Operation: 38-21=17
Exploring Operation: 4+38=42, Resulting Numbers: [21, 42]
Generated Node #0,0,3: 20:[21, 42] Operation: 4+38=42
Exploring Operation: 38-4=34, Resulting Numbers: [21, 34]
Generated Node #0,0,4: 20:[21, 34] Operation: 38-4=34
Moving to Node #0,0,2
Current State: 20:[4, 17], Operations: ['72-51=21', '38-21=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Moving to Node #0,0,4
Current State: 20:[21, 34], Operations: ['72-51=21', '38-4=34']
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,20 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[38, 17], Operations: ['72-51=21', '21-4=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,20 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[38, 25], Operations: ['72-51=21', '4+21=25']
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,20 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[21, 42], Operations: ['72-51=21', '4+38=42']
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,20 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,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,3
Current State: 20:[4, 51, 34], Operations: ['72-38=34']
Exploring Operation: 51-34=17, Resulting Numbers: [4, 17]
Generated Node #0,3,0: 20:[4, 17] Operation: 51-34=17
Exploring Operation: 34-4=30, Resulting Numbers: [51, 30]
Generated Node #0,3,1: 20:[51, 30] Operation: 34-4=30
Exploring Operation: 4+34=38, Resulting Numbers: [51, 38]
Generated Node #0,3,2: 20:[51, 38] Operation: 4+34=38
Exploring Operation: 4+51=55, Resulting Numbers: [34, 55]
Generated Node #0,3,3: 20:[34, 55] Operation: 4+51=55
Exploring Operation: 51-4=47, Resulting Numbers: [34, 47]
Generated Node #0,3,4: 20:[34, 47] Operation: 51-4=47
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[4, 17], Operations: ['72-38=34', '51-34=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,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,3,1
Current State: 20:[51, 30], Operations: ['72-38=34', '34-4=30']
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,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,3,4
Current State: 20:[34, 47], Operations: ['72-38=34', '51-4=47']
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,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,3,2
Current State: 20:[51, 38], Operations: ['72-38=34', '4+34=38']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,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,3,3
Current State: 20:[34, 55], Operations: ['72-38=34', '4+51=55']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 34*55=1870, Resulting Numbers: [1870]
1870,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:[38, 51, 18], Operations: ['72/4=18']
Exploring Operation: 51-18=33, Resulting Numbers: [38, 33]
Generated Node #0,1,0: 20:[38, 33] Operation: 51-18=33
Exploring Operation: 38+18=56, Resulting Numbers: [51, 56]
Generated Node #0,1,1: 20:[51, 56] Operation: 38+18=56
Exploring Operation: 38-18=20, Resulting Numbers: [51, 20]
Generated Node #0,1,2: 20:[51, 20] Operation: 38-18=20
Exploring Operation: 51-38=13, Resulting Numbers: [18, 13]
Generated Node #0,1,3: 20:[18, 13] Operation: 51-38=13
Exploring Operation: 51+18=69, Resulting Numbers: [38, 69]
Generated Node #0,1,4: 20:[38, 69] Operation: 51+18=69
Moving to Node #0,1,3
Current State: 20:[18, 13], Operations: ['72/4=18', '51-38=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,20 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[51, 20], Operations: ['72/4=18', '38-18=20']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,20 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[38, 33], Operations: ['72/4=18', '51-18=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,20 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[51, 56], Operations: ['72/4=18', '38+18=56']
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,20 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[38, 69], Operations: ['72/4=18', '51+18=69']
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,20 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,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,2
Current State: 20:[4, 72, 13], Operations: ['51-38=13']
Exploring Operation: 4+13=17, Resulting Numbers: [72, 17]
Generated Node #0,2,0: 20:[72, 17] Operation: 4+13=17
Exploring Operation: 72-4=68, Resulting Numbers: [13, 68]
Generated Node #0,2,1: 20:[13, 68] Operation: 72-4=68
Exploring Operation: 13-4=9, Resulting Numbers: [72, 9]
Generated Node #0,2,2: 20:[72, 9] Operation: 13-4=9
Exploring Operation: 72-13=59, Resulting Numbers: [4, 59]
Generated Node #0,2,3: 20:[4, 59] Operation: 72-13=59
Exploring Operation: 72/4=18, Resulting Numbers: [13, 18]
Generated Node #0,2,4: 20:[13, 18] Operation: 72/4=18
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 20:[13, 18], Operations: ['51-38=13', '72/4=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,20 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,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,2,3
Current State: 20:[4, 59], Operations: ['51-38=13', '72-13=59']
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,20 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,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,2,1
Current State: 20:[13, 68], Operations: ['51-38=13', '72-4=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,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,2,2
Current State: 20:[72, 9], Operations: ['51-38=13', '13-4=9']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Exploring Operation: 72*9=648, Resulting Numbers: [648]
648,20 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,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,2,0
Current State: 20:[72, 17], Operations: ['51-38=13', '4+13=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,20 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,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,4
Current State: 20:[51, 72, 34], Operations: ['38-4=34']
Exploring Operation: 72-34=38, Resulting Numbers: [51, 38]
Generated Node #0,4,0: 20:[51, 38] Operation: 72-34=38
Exploring Operation: 72-51=21, Resulting Numbers: [34, 21]
Generated Node #0,4,1: 20:[34, 21] Operation: 72-51=21
Exploring Operation: 51+34=85, Resulting Numbers: [72, 85]
Generated Node #0,4,2: 20:[72, 85] Operation: 51+34=85
Exploring Operation: 51-34=17, Resulting Numbers: [72, 17]
Generated Node #0,4,3: 20:[72, 17] Operation: 51-34=17
Exploring Operation: 51+72=123, Resulting Numbers: [34, 123]
Generated Node #0,4,4: 20:[34, 123] Operation: 51+72=123
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 20:[34, 21], Operations: ['38-4=34', '72-51=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,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,4,0
Current State: 20:[51, 38], Operations: ['38-4=34', '72-34=38']
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,20 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,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,4,3
Current State: 20:[72, 17], Operations: ['38-4=34', '51-34=17']
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,20 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,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,4,2
Current State: 20:[72, 85], Operations: ['38-4=34', '51+34=85']
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,20 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,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,4,4
Current State: 20:[34, 123], Operations: ['38-4=34', '51+72=123']
Exploring Operation: 34+123=157, Resulting Numbers: [157]
157,20 unequal: No Solution
Exploring Operation: 123-34=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 34*123=4182, Resulting Numbers: [4182]
4182,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
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
74,
36,
46,
86
] | 70 |
[
"74+36=110",
"86-46=40",
"110-40=70"
] |
Current State: 70:[74, 36, 46, 86], Operations: []
Exploring Operation: 74+36=110, Resulting Numbers: [46, 86, 110]
Generated Node #2: [46, 86, 110] from Operation: 74+36=110
Current State: 70:[46, 86, 110], Operations: ['74+36=110']
Exploring Operation: 86-46=40, Resulting Numbers: [110, 40]
Generated Node #3: [110, 40] from Operation: 86-46=40
Current State: 70:[110, 40], Operations: ['74+36=110', '86-46=40']
Exploring Operation: 110-40=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[74, 36, 46, 86], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [74, 86, 10]
Generated Node #0,0: 70:[74, 86, 10] Operation: 46-36=10
Exploring Operation: 74-36=38, Resulting Numbers: [46, 86, 38]
Generated Node #0,1: 70:[46, 86, 38] Operation: 74-36=38
Exploring Operation: 86-46=40, Resulting Numbers: [74, 36, 40]
Generated Node #0,2: 70:[74, 36, 40] Operation: 86-46=40
Exploring Operation: 86-74=12, Resulting Numbers: [36, 46, 12]
Generated Node #0,3: 70:[36, 46, 12] Operation: 86-74=12
Exploring Operation: 74-46=28, Resulting Numbers: [36, 86, 28]
Generated Node #0,4: 70:[36, 86, 28] Operation: 74-46=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[74, 36, 40], Operations: ['86-46=40']
Exploring Operation: 74-40=34, Resulting Numbers: [36, 34]
Generated Node #0,2,0: 70:[36, 34] Operation: 74-40=34
Exploring Operation: 36+40=76, Resulting Numbers: [74, 76]
Generated Node #0,2,1: 70:[74, 76] Operation: 36+40=76
Exploring Operation: 74-36=38, Resulting Numbers: [40, 38]
Generated Node #0,2,2: 70:[40, 38] Operation: 74-36=38
Exploring Operation: 40-36=4, Resulting Numbers: [74, 4]
Generated Node #0,2,3: 70:[74, 4] Operation: 40-36=4
Exploring Operation: 74+36=110, Resulting Numbers: [40, 110]
Generated Node #0,2,4: 70:[40, 110] Operation: 74+36=110
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[36, 34], Operations: ['86-46=40', '74-40=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[74, 36, 46, 86], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [74, 36, 40]
Generated Node #0,2: 70:[74, 36, 40] Operation: 86-46=40
Moving to Node #0,2
Current State: 70:[74, 36, 40], Operations: ['86-46=40']
Exploring Operation: 74-40=34, Resulting Numbers: [36, 34]
Generated Node #0,2,0: 70:[36, 34] Operation: 74-40=34
Moving to Node #0,2,0
Current State: 70:[36, 34], Operations: ['86-46=40', '74-40=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
61,
10,
12,
74
] | 35 |
[
"61-10=51",
"12+74=86",
"86-51=35"
] |
Current State: 35:[61, 10, 12, 74], Operations: []
Exploring Operation: 61-10=51, Resulting Numbers: [12, 74, 51]
Generated Node #2: [12, 74, 51] from Operation: 61-10=51
Current State: 35:[12, 74, 51], Operations: ['61-10=51']
Exploring Operation: 12+74=86, Resulting Numbers: [51, 86]
Generated Node #3: [51, 86] from Operation: 12+74=86
Current State: 35:[51, 86], Operations: ['61-10=51', '12+74=86']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[61, 10, 12, 74], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [10, 12, 13]
Generated Node #0,0: 35:[10, 12, 13] Operation: 74-61=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[10, 12, 13], Operations: ['74-61=13']
Exploring Operation: 13-10=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 35:[12, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[12, 3], Operations: ['74-61=13', '13-10=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,35 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
|
[
82,
96,
38,
10
] | 80 |
[
"38+10=48",
"96/48=2",
"82-2=80"
] |
Current State: 80:[82, 96, 38, 10], Operations: []
Exploring Operation: 38+10=48, Resulting Numbers: [82, 96, 48]
Generated Node #2: [82, 96, 48] from Operation: 38+10=48
Current State: 80:[82, 96, 48], Operations: ['38+10=48']
Exploring Operation: 96/48=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 96/48=2
Current State: 80:[82, 2], Operations: ['38+10=48', '96/48=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[82, 96, 38, 10], Operations: []
Exploring Operation: 96-10=86, Resulting Numbers: [82, 38, 86]
Generated Node #0,0: 80:[82, 38, 86] Operation: 96-10=86
Exploring Operation: 82-38=44, Resulting Numbers: [96, 10, 44]
Generated Node #0,1: 80:[96, 10, 44] Operation: 82-38=44
Exploring Operation: 96-82=14, Resulting Numbers: [38, 10, 14]
Generated Node #0,2: 80:[38, 10, 14] Operation: 96-82=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[38, 10, 14], Operations: ['96-82=14']
Exploring Operation: 10+14=24, Resulting Numbers: [38, 24]
Generated Node #0,2,0: 80:[38, 24] Operation: 10+14=24
Exploring Operation: 14-10=4, Resulting Numbers: [38, 4]
Generated Node #0,2,1: 80:[38, 4] Operation: 14-10=4
Exploring Operation: 38-14=24, Resulting Numbers: [10, 24]
Generated Node #0,2,2: 80:[10, 24] Operation: 38-14=24
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[38, 4], Operations: ['96-82=14', '14-10=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,80 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,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,2,2
Current State: 80:[10, 24], Operations: ['96-82=14', '38-14=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,80 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,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,2,0
Current State: 80:[38, 24], Operations: ['96-82=14', '10+14=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[82, 38, 86], Operations: ['96-10=86']
Exploring Operation: 82-38=44, Resulting Numbers: [86, 44]
Generated Node #0,0,0: 80:[86, 44] Operation: 82-38=44
Exploring Operation: 86-38=48, Resulting Numbers: [82, 48]
Generated Node #0,0,1: 80:[82, 48] Operation: 86-38=48
Exploring Operation: 86-82=4, Resulting Numbers: [38, 4]
Generated Node #0,0,2: 80:[38, 4] Operation: 86-82=4
Moving to Node #0,0,2
Current State: 80:[38, 4], Operations: ['96-10=86', '86-82=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[86, 44], Operations: ['96-10=86', '82-38=44']
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,80 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,80 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[82, 48], Operations: ['96-10=86', '86-38=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,80 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[96, 10, 44], Operations: ['82-38=44']
Exploring Operation: 96-44=52, Resulting Numbers: [10, 52]
Generated Node #0,1,0: 80:[10, 52] Operation: 96-44=52
Exploring Operation: 96-10=86, Resulting Numbers: [44, 86]
Generated Node #0,1,1: 80:[44, 86] Operation: 96-10=86
Exploring Operation: 44-10=34, Resulting Numbers: [96, 34]
Generated Node #0,1,2: 80:[96, 34] Operation: 44-10=34
Moving to Node #0,1,1
Current State: 80:[44, 86], Operations: ['82-38=44', '96-10=86']
Exploring Operation: 44*86=3784, Resulting Numbers: [3784]
3784,80 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 44+86=130, Resulting Numbers: [130]
130,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[10, 52], Operations: ['82-38=44', '96-44=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,80 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[96, 34], Operations: ['82-38=44', '44-10=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,80 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
40,
21,
61,
91
] | 11 |
[
"40-21=19",
"91-61=30",
"30-19=11"
] |
Current State: 11:[40, 21, 61, 91], Operations: []
Exploring Operation: 40-21=19, Resulting Numbers: [61, 91, 19]
Generated Node #2: [61, 91, 19] from Operation: 40-21=19
Current State: 11:[61, 91, 19], Operations: ['40-21=19']
Exploring Operation: 91-61=30, Resulting Numbers: [19, 30]
Generated Node #3: [19, 30] from Operation: 91-61=30
Current State: 11:[19, 30], Operations: ['40-21=19', '91-61=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[40, 21, 61, 91], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [40, 21, 30]
Generated Node #0,0: 11:[40, 21, 30] Operation: 91-61=30
Exploring Operation: 61-21=40, Resulting Numbers: [40, 91, 40]
Generated Node #0,1: 11:[40, 91, 40] Operation: 61-21=40
Exploring Operation: 40-21=19, Resulting Numbers: [61, 91, 19]
Generated Node #0,2: 11:[61, 91, 19] Operation: 40-21=19
Exploring Operation: 91-40=51, Resulting Numbers: [21, 61, 51]
Generated Node #0,3: 11:[21, 61, 51] Operation: 91-40=51
Exploring Operation: 61-40=21, Resulting Numbers: [21, 91, 21]
Generated Node #0,4: 11:[21, 91, 21] Operation: 61-40=21
Moving to Node #0,0
Current State: 11:[40, 21, 30], Operations: ['91-61=30']
Exploring Operation: 40+30=70, Resulting Numbers: [21, 70]
Generated Node #0,0,0: 11:[21, 70] Operation: 40+30=70
Exploring Operation: 40+21=61, Resulting Numbers: [30, 61]
Generated Node #0,0,1: 11:[30, 61] Operation: 40+21=61
Exploring Operation: 30-21=9, Resulting Numbers: [40, 9]
Generated Node #0,0,2: 11:[40, 9] Operation: 30-21=9
Exploring Operation: 40-30=10, Resulting Numbers: [21, 10]
Generated Node #0,0,3: 11:[21, 10] Operation: 40-30=10
Exploring Operation: 40-21=19, Resulting Numbers: [30, 19]
Generated Node #0,0,4: 11:[30, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[21, 10], Operations: ['91-61=30', '40-30=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[40, 21, 61, 91], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [40, 21, 30]
Generated Node #0,0: 11:[40, 21, 30] Operation: 91-61=30
Moving to Node #0,0
Current State: 11:[40, 21, 30], Operations: ['91-61=30']
Exploring Operation: 40-30=10, Resulting Numbers: [21, 10]
Generated Node #0,0,3: 11:[21, 10] Operation: 40-30=10
Moving to Node #0,0,3
Current State: 11:[21, 10], Operations: ['91-61=30', '40-30=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
5,
61,
21,
25
] | 13 |
[
"61-21=40",
"25+40=65",
"65/5=13"
] |
Current State: 13:[5, 61, 21, 25], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [5, 25, 40]
Generated Node #2: [5, 25, 40] from Operation: 61-21=40
Current State: 13:[5, 25, 40], Operations: ['61-21=40']
Exploring Operation: 25+40=65, Resulting Numbers: [5, 65]
Generated Node #3: [5, 65] from Operation: 25+40=65
Current State: 13:[5, 65], Operations: ['61-21=40', '25+40=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[5, 61, 21, 25], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [5, 25, 40]
Generated Node #0,0: 13:[5, 25, 40] Operation: 61-21=40
Exploring Operation: 61-25=36, Resulting Numbers: [5, 21, 36]
Generated Node #0,1: 13:[5, 21, 36] Operation: 61-25=36
Moving to Node #0,1
Current State: 13:[5, 21, 36], Operations: ['61-25=36']
Exploring Operation: 36-21=15, Resulting Numbers: [5, 15]
Generated Node #0,1,0: 13:[5, 15] Operation: 36-21=15
Exploring Operation: 21-5=16, Resulting Numbers: [36, 16]
Generated Node #0,1,1: 13:[36, 16] Operation: 21-5=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[5, 15], Operations: ['61-25=36', '36-21=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[36, 16], Operations: ['61-25=36', '21-5=16']
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[5, 25, 40], Operations: ['61-21=40']
Exploring Operation: 40/5=8, Resulting Numbers: [25, 8]
Generated Node #0,0,0: 13:[25, 8] Operation: 40/5=8
Exploring Operation: 40-25=15, Resulting Numbers: [5, 15]
Generated Node #0,0,1: 13:[5, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[5, 15], Operations: ['61-21=40', '40-25=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[25, 8], Operations: ['61-21=40', '40/5=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
26,
85,
68,
45
] | 88 |
[
"26+85=111",
"68-45=23",
"111-23=88"
] |
Current State: 88:[26, 85, 68, 45], Operations: []
Exploring Operation: 26+85=111, Resulting Numbers: [68, 45, 111]
Generated Node #2: [68, 45, 111] from Operation: 26+85=111
Current State: 88:[68, 45, 111], Operations: ['26+85=111']
Exploring Operation: 68-45=23, Resulting Numbers: [111, 23]
Generated Node #3: [111, 23] from Operation: 68-45=23
Current State: 88:[111, 23], Operations: ['26+85=111', '68-45=23']
Exploring Operation: 111-23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[26, 85, 68, 45], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [85, 45, 42]
Generated Node #0,0: 88:[85, 45, 42] Operation: 68-26=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[85, 45, 42], Operations: ['68-26=42']
Exploring Operation: 85-42=43, Resulting Numbers: [45, 43]
Generated Node #0,0,0: 88:[45, 43] Operation: 85-42=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[45, 43], Operations: ['68-26=42', '85-42=43']
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[26, 85, 68, 45], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [85, 45, 42]
Generated Node #0,0: 88:[85, 45, 42] Operation: 68-26=42
Moving to Node #0,0
Current State: 88:[85, 45, 42], Operations: ['68-26=42']
Exploring Operation: 85-42=43, Resulting Numbers: [45, 43]
Generated Node #0,0,0: 88:[45, 43] Operation: 85-42=43
Moving to Node #0,0,0
Current State: 88:[45, 43], Operations: ['68-26=42', '85-42=43']
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
43,
51,
4,
13
] | 69 |
[
"43-13=30",
"4*30=120",
"120-51=69"
] |
Current State: 69:[43, 51, 4, 13], Operations: []
Exploring Operation: 43-13=30, Resulting Numbers: [51, 4, 30]
Generated Node #2: [51, 4, 30] from Operation: 43-13=30
Current State: 69:[51, 4, 30], Operations: ['43-13=30']
Exploring Operation: 4*30=120, Resulting Numbers: [51, 120]
Generated Node #3: [51, 120] from Operation: 4*30=120
Current State: 69:[51, 120], Operations: ['43-13=30', '4*30=120']
Exploring Operation: 120-51=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[43, 51, 4, 13], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [4, 13, 8]
Generated Node #0,0: 69:[4, 13, 8] Operation: 51-43=8
Moving to Node #0,0
Current State: 69:[4, 13, 8], Operations: ['51-43=8']
Exploring Operation: 13+8=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 69:[4, 21] Operation: 13+8=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[4, 21], Operations: ['51-43=8', '13+8=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
2,
94,
71,
58
] | 60 |
[
"94/2=47",
"71-58=13",
"47+13=60"
] |
Current State: 60:[2, 94, 71, 58], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [71, 58, 47]
Generated Node #2: [71, 58, 47] from Operation: 94/2=47
Current State: 60:[71, 58, 47], Operations: ['94/2=47']
Exploring Operation: 71-58=13, Resulting Numbers: [47, 13]
Generated Node #3: [47, 13] from Operation: 71-58=13
Current State: 60:[47, 13], Operations: ['94/2=47', '71-58=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[2, 94, 71, 58], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [2, 58, 23]
Generated Node #0,0: 60:[2, 58, 23] Operation: 94-71=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 58, 23], Operations: ['94-71=23']
Exploring Operation: 2+58=60, Resulting Numbers: [23, 60]
Generated Node #0,0,0: 60:[23, 60] Operation: 2+58=60
Moving to Node #0,0,0
Current State: 60:[23, 60], Operations: ['94-71=23', '2+58=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,60 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
|
[
67,
43,
47,
15
] | 13 |
[
"67-15=52",
"47-43=4",
"52/4=13"
] |
Current State: 13:[67, 43, 47, 15], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [43, 47, 52]
Generated Node #2: [43, 47, 52] from Operation: 67-15=52
Current State: 13:[43, 47, 52], Operations: ['67-15=52']
Exploring Operation: 47-43=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 47-43=4
Current State: 13:[52, 4], Operations: ['67-15=52', '47-43=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[67, 43, 47, 15], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [47, 15, 24]
Generated Node #0,0: 13:[47, 15, 24] Operation: 67-43=24
Exploring Operation: 47-43=4, Resulting Numbers: [67, 15, 4]
Generated Node #0,1: 13:[67, 15, 4] Operation: 47-43=4
Exploring Operation: 67-15=52, Resulting Numbers: [43, 47, 52]
Generated Node #0,2: 13:[43, 47, 52] Operation: 67-15=52
Exploring Operation: 67-47=20, Resulting Numbers: [43, 15, 20]
Generated Node #0,3: 13:[43, 15, 20] Operation: 67-47=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[43, 15, 20], Operations: ['67-47=20']
Exploring Operation: 20-15=5, Resulting Numbers: [43, 5]
Generated Node #0,3,0: 13:[43, 5] Operation: 20-15=5
Exploring Operation: 43-20=23, Resulting Numbers: [15, 23]
Generated Node #0,3,1: 13:[15, 23] Operation: 43-20=23
Exploring Operation: 43-15=28, Resulting Numbers: [20, 28]
Generated Node #0,3,2: 13:[20, 28] Operation: 43-15=28
Exploring Operation: 43+15=58, Resulting Numbers: [20, 58]
Generated Node #0,3,3: 13:[20, 58] Operation: 43+15=58
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[15, 23], Operations: ['67-47=20', '43-20=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,13 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[20, 28], Operations: ['67-47=20', '43-15=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[43, 5], Operations: ['67-47=20', '20-15=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[20, 58], Operations: ['67-47=20', '43+15=58']
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,13 unequal: No Solution
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[47, 15, 24], Operations: ['67-43=24']
Exploring Operation: 47-15=32, Resulting Numbers: [24, 32]
Generated Node #0,0,0: 13:[24, 32] Operation: 47-15=32
Exploring Operation: 47-24=23, Resulting Numbers: [15, 23]
Generated Node #0,0,1: 13:[15, 23] Operation: 47-24=23
Exploring Operation: 24-15=9, Resulting Numbers: [47, 9]
Generated Node #0,0,2: 13:[47, 9] Operation: 24-15=9
Exploring Operation: 47+15=62, Resulting Numbers: [24, 62]
Generated Node #0,0,3: 13:[24, 62] Operation: 47+15=62
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[15, 23], Operations: ['67-43=24', '47-24=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[24, 32], Operations: ['67-43=24', '47-15=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,13 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[47, 9], Operations: ['67-43=24', '24-15=9']
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,13 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[24, 62], Operations: ['67-43=24', '47+15=62']
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[67, 15, 4], Operations: ['47-43=4']
Exploring Operation: 15-4=11, Resulting Numbers: [67, 11]
Generated Node #0,1,0: 13:[67, 11] Operation: 15-4=11
Exploring Operation: 67-15=52, Resulting Numbers: [4, 52]
Generated Node #0,1,1: 13:[4, 52] Operation: 67-15=52
Exploring Operation: 67-4=63, Resulting Numbers: [15, 63]
Generated Node #0,1,2: 13:[15, 63] Operation: 67-4=63
Exploring Operation: 67+4=71, Resulting Numbers: [15, 71]
Generated Node #0,1,3: 13:[15, 71] Operation: 67+4=71
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[4, 52], Operations: ['47-43=4', '67-15=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,13 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[67, 43, 47, 15], Operations: []
Exploring Operation: 47-43=4, Resulting Numbers: [67, 15, 4]
Generated Node #0,1: 13:[67, 15, 4] Operation: 47-43=4
Moving to Node #0,1
Current State: 13:[67, 15, 4], Operations: ['47-43=4']
Exploring Operation: 67-15=52, Resulting Numbers: [4, 52]
Generated Node #0,1,1: 13:[4, 52] Operation: 67-15=52
Moving to Node #0,1,1
Current State: 13:[4, 52], Operations: ['47-43=4', '67-15=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 |
hs_4
|
sum_heuristic
|
[
76,
35,
3,
59
] | 86 |
[
"76-59=17",
"3*17=51",
"35+51=86"
] |
Current State: 86:[76, 35, 3, 59], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [35, 3, 17]
Generated Node #2: [35, 3, 17] from Operation: 76-59=17
Current State: 86:[35, 3, 17], Operations: ['76-59=17']
Exploring Operation: 3*17=51, Resulting Numbers: [35, 51]
Generated Node #3: [35, 51] from Operation: 3*17=51
Current State: 86:[35, 51], Operations: ['76-59=17', '3*17=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[76, 35, 3, 59], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [3, 59, 41]
Generated Node #0,0: 86:[3, 59, 41] Operation: 76-35=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[3, 59, 41], Operations: ['76-35=41']
Exploring Operation: 59-3=56, Resulting Numbers: [41, 56]
Generated Node #0,0,0: 86:[41, 56] Operation: 59-3=56
Moving to Node #0,0,0
Current State: 86:[41, 56], Operations: ['76-35=41', '59-3=56']
Exploring Operation: 41+56=97, Resulting Numbers: [97]
97,86 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
|
[
70,
50,
5,
66
] | 49 |
[
"70+50=120",
"5+66=71",
"120-71=49"
] |
Current State: 49:[70, 50, 5, 66], Operations: []
Exploring Operation: 70+50=120, Resulting Numbers: [5, 66, 120]
Generated Node #2: [5, 66, 120] from Operation: 70+50=120
Current State: 49:[5, 66, 120], Operations: ['70+50=120']
Exploring Operation: 5+66=71, Resulting Numbers: [120, 71]
Generated Node #3: [120, 71] from Operation: 5+66=71
Current State: 49:[120, 71], Operations: ['70+50=120', '5+66=71']
Exploring Operation: 120-71=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[70, 50, 5, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [50, 5, 4]
Generated Node #0,0: 49:[50, 5, 4] Operation: 70-66=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[50, 5, 4], Operations: ['70-66=4']
Exploring Operation: 5+4=9, Resulting Numbers: [50, 9]
Generated Node #0,0,0: 49:[50, 9] Operation: 5+4=9
Moving to Node #0,0,0
Current State: 49:[50, 9], Operations: ['70-66=4', '5+4=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,49 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
|
[
3,
35,
80,
92
] | 39 |
[
"92-80=12",
"12/3=4",
"35+4=39"
] |
Current State: 39:[3, 35, 80, 92], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [3, 35, 12]
Generated Node #2: [3, 35, 12] from Operation: 92-80=12
Current State: 39:[3, 35, 12], Operations: ['92-80=12']
Exploring Operation: 12/3=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 12/3=4
Current State: 39:[35, 4], Operations: ['92-80=12', '12/3=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[3, 35, 80, 92], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [3, 35, 12]
Generated Node #0,0: 39:[3, 35, 12] Operation: 92-80=12
Exploring Operation: 80-35=45, Resulting Numbers: [3, 92, 45]
Generated Node #0,1: 39:[3, 92, 45] Operation: 80-35=45
Moving to Node #0,0
Current State: 39:[3, 35, 12], Operations: ['92-80=12']
Exploring Operation: 3+35=38, Resulting Numbers: [12, 38]
Generated Node #0,0,0: 39:[12, 38] Operation: 3+35=38
Exploring Operation: 12/3=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 39:[35, 4] Operation: 12/3=4
Moving to Node #0,1
Current State: 39:[3, 92, 45], Operations: ['80-35=45']
Exploring Operation: 92-45=47, Resulting Numbers: [3, 47]
Generated Node #0,1,0: 39:[3, 47] Operation: 92-45=47
Exploring Operation: 45/3=15, Resulting Numbers: [92, 15]
Generated Node #0,1,1: 39:[92, 15] Operation: 45/3=15
Moving to Node #0,0,0
Current State: 39:[12, 38], Operations: ['92-80=12', '3+35=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[35, 4], Operations: ['92-80=12', '12/3=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[3, 35, 80, 92], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [3, 35, 12]
Generated Node #0,0: 39:[3, 35, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 39:[3, 35, 12], Operations: ['92-80=12']
Exploring Operation: 12/3=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 39:[35, 4] Operation: 12/3=4
Moving to Node #0,0,1
Current State: 39:[35, 4], Operations: ['92-80=12', '12/3=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.987847 |
hs_2
|
mult_heuristic
|
[
63,
29,
53,
45
] | 84 |
[
"63+29=92",
"53-45=8",
"92-8=84"
] |
Current State: 84:[63, 29, 53, 45], Operations: []
Exploring Operation: 63+29=92, Resulting Numbers: [53, 45, 92]
Generated Node #2: [53, 45, 92] from Operation: 63+29=92
Current State: 84:[53, 45, 92], Operations: ['63+29=92']
Exploring Operation: 53-45=8, Resulting Numbers: [92, 8]
Generated Node #3: [92, 8] from Operation: 53-45=8
Current State: 84:[92, 8], Operations: ['63+29=92', '53-45=8']
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[63, 29, 53, 45], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [29, 45, 10]
Generated Node #0,0: 84:[29, 45, 10] Operation: 63-53=10
Exploring Operation: 63-45=18, Resulting Numbers: [29, 53, 18]
Generated Node #0,1: 84:[29, 53, 18] Operation: 63-45=18
Exploring Operation: 63-29=34, Resulting Numbers: [53, 45, 34]
Generated Node #0,2: 84:[53, 45, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[29, 45, 10], Operations: ['63-53=10']
Exploring Operation: 29-10=19, Resulting Numbers: [45, 19]
Generated Node #0,0,0: 84:[45, 19] Operation: 29-10=19
Exploring Operation: 45-29=16, Resulting Numbers: [10, 16]
Generated Node #0,0,1: 84:[10, 16] Operation: 45-29=16
Exploring Operation: 29+10=39, Resulting Numbers: [45, 39]
Generated Node #0,0,2: 84:[45, 39] Operation: 29+10=39
Moving to Node #0,0,1
Current State: 84:[10, 16], Operations: ['63-53=10', '45-29=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[45, 19], Operations: ['63-53=10', '29-10=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,84 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,84 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[45, 39], Operations: ['63-53=10', '29+10=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[63, 29, 53, 45], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [29, 45, 10]
Generated Node #0,0: 84:[29, 45, 10] Operation: 63-53=10
Moving to Node #0,0
Current State: 84:[29, 45, 10], Operations: ['63-53=10']
Exploring Operation: 29+10=39, Resulting Numbers: [45, 39]
Generated Node #0,0,2: 84:[45, 39] Operation: 29+10=39
Moving to Node #0,0,2
Current State: 84:[45, 39], Operations: ['63-53=10', '29+10=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_3
|
mult_heuristic
|
[
58,
30,
7,
99
] | 64 |
[
"58-30=28",
"99-7=92",
"92-28=64"
] |
Current State: 64:[58, 30, 7, 99], Operations: []
Exploring Operation: 58-30=28, Resulting Numbers: [7, 99, 28]
Generated Node #2: [7, 99, 28] from Operation: 58-30=28
Current State: 64:[7, 99, 28], Operations: ['58-30=28']
Exploring Operation: 99-7=92, Resulting Numbers: [28, 92]
Generated Node #3: [28, 92] from Operation: 99-7=92
Current State: 64:[28, 92], Operations: ['58-30=28', '99-7=92']
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[58, 30, 7, 99], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [30, 7, 41]
Generated Node #0,0: 64:[30, 7, 41] Operation: 99-58=41
Exploring Operation: 99-30=69, Resulting Numbers: [58, 7, 69]
Generated Node #0,1: 64:[58, 7, 69] Operation: 99-30=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[30, 7, 41], Operations: ['99-58=41']
Exploring Operation: 41-30=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 64:[7, 11] Operation: 41-30=11
Exploring Operation: 41-7=34, Resulting Numbers: [30, 34]
Generated Node #0,0,1: 64:[30, 34] Operation: 41-7=34
Moving to Node #0,0,0
Current State: 64:[7, 11], Operations: ['99-58=41', '41-30=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[30, 34], Operations: ['99-58=41', '41-7=34']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[58, 30, 7, 99], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [30, 7, 41]
Generated Node #0,0: 64:[30, 7, 41] Operation: 99-58=41
Moving to Node #0,0
Current State: 64:[30, 7, 41], Operations: ['99-58=41']
Exploring Operation: 41-7=34, Resulting Numbers: [30, 34]
Generated Node #0,0,1: 64:[30, 34] Operation: 41-7=34
Moving to Node #0,0,1
Current State: 64:[30, 34], Operations: ['99-58=41', '41-7=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
sum_heuristic
|
[
22,
77,
98,
29
] | 29 |
[
"22+77=99",
"99-98=1",
"29*1=29"
] |
Current State: 29:[22, 77, 98, 29], Operations: []
Exploring Operation: 22+77=99, Resulting Numbers: [98, 29, 99]
Generated Node #2: [98, 29, 99] from Operation: 22+77=99
Current State: 29:[98, 29, 99], Operations: ['22+77=99']
Exploring Operation: 99-98=1, Resulting Numbers: [29, 1]
Generated Node #3: [29, 1] from Operation: 99-98=1
Current State: 29:[29, 1], Operations: ['22+77=99', '99-98=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[22, 77, 98, 29], Operations: []
Exploring Operation: 77-22=55, Resulting Numbers: [98, 29, 55]
Generated Node #0,0: 29:[98, 29, 55] Operation: 77-22=55
Exploring Operation: 98-77=21, Resulting Numbers: [22, 29, 21]
Generated Node #0,1: 29:[22, 29, 21] Operation: 98-77=21
Moving to Node #0,1
Current State: 29:[22, 29, 21], Operations: ['98-77=21']
Exploring Operation: 22+21=43, Resulting Numbers: [29, 43]
Generated Node #0,1,0: 29:[29, 43] Operation: 22+21=43
Exploring Operation: 22-21=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 29:[29, 1] Operation: 22-21=1
Moving to Node #0,0
Current State: 29:[98, 29, 55], Operations: ['77-22=55']
Exploring Operation: 98-55=43, Resulting Numbers: [29, 43]
Generated Node #0,0,0: 29:[29, 43] Operation: 98-55=43
Exploring Operation: 98-29=69, Resulting Numbers: [55, 69]
Generated Node #0,0,1: 29:[55, 69] Operation: 98-29=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[29, 43], Operations: ['77-22=55', '98-55=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[55, 69], Operations: ['77-22=55', '98-29=69']
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 55+69=124, Resulting Numbers: [124]
124,29 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: 29:[29, 43], Operations: ['98-77=21', '22+21=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[29, 1], Operations: ['98-77=21', '22-21=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[22, 77, 98, 29], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [22, 29, 21]
Generated Node #0,1: 29:[22, 29, 21] Operation: 98-77=21
Moving to Node #0,1
Current State: 29:[22, 29, 21], Operations: ['98-77=21']
Exploring Operation: 22-21=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 29:[29, 1] Operation: 22-21=1
Moving to Node #0,1,1
Current State: 29:[29, 1], Operations: ['98-77=21', '22-21=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.985243 |
hs_2
|
sum_heuristic
|
[
27,
30,
81,
10
] | 57 |
[
"81-27=54",
"30/10=3",
"54+3=57"
] |
Current State: 57:[27, 30, 81, 10], Operations: []
Exploring Operation: 81-27=54, Resulting Numbers: [30, 10, 54]
Generated Node #2: [30, 10, 54] from Operation: 81-27=54
Current State: 57:[30, 10, 54], Operations: ['81-27=54']
Exploring Operation: 30/10=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 30/10=3
Current State: 57:[54, 3], Operations: ['81-27=54', '30/10=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[27, 30, 81, 10], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [30, 10, 3]
Generated Node #0,0: 57:[30, 10, 3] Operation: 81/27=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[30, 10, 3], Operations: ['81/27=3']
Exploring Operation: 30/10=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 57:[3, 3] Operation: 30/10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[3, 3], Operations: ['81/27=3', '30/10=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
52,
70,
4,
68
] | 90 |
[
"70-52=18",
"4+68=72",
"18+72=90"
] |
Current State: 90:[52, 70, 4, 68], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [4, 68, 18]
Generated Node #2: [4, 68, 18] from Operation: 70-52=18
Current State: 90:[4, 68, 18], Operations: ['70-52=18']
Exploring Operation: 4+68=72, Resulting Numbers: [18, 72]
Generated Node #3: [18, 72] from Operation: 4+68=72
Current State: 90:[18, 72], Operations: ['70-52=18', '4+68=72']
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[52, 70, 4, 68], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [52, 70, 17]
Generated Node #0,0: 90:[52, 70, 17] Operation: 68/4=17
Exploring Operation: 70-68=2, Resulting Numbers: [52, 4, 2]
Generated Node #0,1: 90:[52, 4, 2] Operation: 70-68=2
Exploring Operation: 70-52=18, Resulting Numbers: [4, 68, 18]
Generated Node #0,2: 90:[4, 68, 18] Operation: 70-52=18
Exploring Operation: 68-52=16, Resulting Numbers: [70, 4, 16]
Generated Node #0,3: 90:[70, 4, 16] Operation: 68-52=16
Moving to Node #0,1
Current State: 90:[52, 4, 2], Operations: ['70-68=2']
Exploring Operation: 52/2=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 90:[4, 26] Operation: 52/2=26
Exploring Operation: 52-4=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 90:[2, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [2, 13]
Generated Node #0,1,2: 90:[2, 13] Operation: 52/4=13
Exploring Operation: 52-2=50, Resulting Numbers: [4, 50]
Generated Node #0,1,3: 90:[4, 50] Operation: 52-2=50
Moving to Node #0,3
Current State: 90:[70, 4, 16], Operations: ['68-52=16']
Exploring Operation: 16/4=4, Resulting Numbers: [70, 4]
Generated Node #0,3,0: 90:[70, 4] Operation: 16/4=4
Exploring Operation: 70+4=74, Resulting Numbers: [16, 74]
Generated Node #0,3,1: 90:[16, 74] Operation: 70+4=74
Exploring Operation: 70+16=86, Resulting Numbers: [4, 86]
Generated Node #0,3,2: 90:[4, 86] Operation: 70+16=86
Exploring Operation: 70-16=54, Resulting Numbers: [4, 54]
Generated Node #0,3,3: 90:[4, 54] Operation: 70-16=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[4, 86], Operations: ['68-52=16', '70+16=86']
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,90 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[52, 70, 4, 68], Operations: []
Exploring Operation: 68-52=16, Resulting Numbers: [70, 4, 16]
Generated Node #0,3: 90:[70, 4, 16] Operation: 68-52=16
Moving to Node #0,3
Current State: 90:[70, 4, 16], Operations: ['68-52=16']
Exploring Operation: 70+16=86, Resulting Numbers: [4, 86]
Generated Node #0,3,2: 90:[4, 86] Operation: 70+16=86
Moving to Node #0,3,2
Current State: 90:[4, 86], Operations: ['68-52=16', '70+16=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_4
|
sum_heuristic
|
[
58,
45,
64,
58
] | 97 |
[
"58+45=103",
"64-58=6",
"103-6=97"
] |
Current State: 97:[58, 45, 64, 58], Operations: []
Exploring Operation: 58+45=103, Resulting Numbers: [64, 103]
Generated Node #2: [64, 103] from Operation: 58+45=103
Current State: 97:[64, 103], Operations: ['58+45=103']
Exploring Operation: 64-58=6, Resulting Numbers: [103, 6]
Generated Node #3: [103, 6] from Operation: 64-58=6
Current State: 97:[103, 6], Operations: ['58+45=103', '64-58=6']
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[58, 45, 64, 58], Operations: []
Exploring Operation: 58+58=116, Resulting Numbers: [45, 64, 116]
Generated Node #0,0: 97:[45, 64, 116] Operation: 58+58=116
Exploring Operation: 45+64=109, Resulting Numbers: [58, 58, 109]
Generated Node #0,1: 97:[58, 58, 109] Operation: 45+64=109
Exploring Operation: 58+45=103, Resulting Numbers: [64, 58, 103]
Generated Node #0,2: 97:[64, 58, 103] Operation: 58+45=103
Exploring Operation: 45+58=103, Resulting Numbers: [58, 64, 103]
Generated Node #0,3: 97:[58, 64, 103] Operation: 45+58=103
Moving to Node #0,2
Current State: 97:[64, 58, 103], Operations: ['58+45=103']
Exploring Operation: 103-64=39, Resulting Numbers: [58, 39]
Generated Node #0,2,0: 97:[58, 39] Operation: 103-64=39
Exploring Operation: 103-58=45, Resulting Numbers: [64, 45]
Generated Node #0,2,1: 97:[64, 45] Operation: 103-58=45
Exploring Operation: 64-58=6, Resulting Numbers: [103, 6]
Generated Node #0,2,2: 97:[103, 6] Operation: 64-58=6
Exploring Operation: 64+58=122, Resulting Numbers: [103, 122]
Generated Node #0,2,3: 97:[103, 122] Operation: 64+58=122
Moving to Node #0,3
Current State: 97:[58, 64, 103], Operations: ['45+58=103']
Exploring Operation: 58+64=122, Resulting Numbers: [103, 122]
Generated Node #0,3,0: 97:[103, 122] Operation: 58+64=122
Exploring Operation: 58+103=161, Resulting Numbers: [64, 161]
Generated Node #0,3,1: 97:[64, 161] Operation: 58+103=161
Exploring Operation: 103-58=45, Resulting Numbers: [64, 45]
Generated Node #0,3,2: 97:[64, 45] Operation: 103-58=45
Exploring Operation: 64-58=6, Resulting Numbers: [103, 6]
Generated Node #0,3,3: 97:[103, 6] Operation: 64-58=6
Moving to Node #0,1
Current State: 97:[58, 58, 109], Operations: ['45+64=109']
Exploring Operation: 58/58=1, Resulting Numbers: [109, 1]
Generated Node #0,1,0: 97:[109, 1] Operation: 58/58=1
Exploring Operation: 109-58=51, Resulting Numbers: [58, 51]
Generated Node #0,1,1: 97:[58, 51] Operation: 109-58=51
Exploring Operation: 109-58=51, Resulting Numbers: [58, 51]
Generated Node #0,1,2: 97:[58, 51] Operation: 109-58=51
Exploring Operation: 58+58=116, Resulting Numbers: [109, 116]
Generated Node #0,1,3: 97:[109, 116] Operation: 58+58=116
Moving to Node #0,0
Current State: 97:[45, 64, 116], Operations: ['58+58=116']
Exploring Operation: 45+116=161, Resulting Numbers: [64, 161]
Generated Node #0,0,0: 97:[64, 161] Operation: 45+116=161
Exploring Operation: 116-45=71, Resulting Numbers: [64, 71]
Generated Node #0,0,1: 97:[64, 71] Operation: 116-45=71
Exploring Operation: 45+64=109, Resulting Numbers: [116, 109]
Generated Node #0,0,2: 97:[116, 109] Operation: 45+64=109
Exploring Operation: 64-45=19, Resulting Numbers: [116, 19]
Generated Node #0,0,3: 97:[116, 19] Operation: 64-45=19
Moving to Node #0,2,3
Current State: 97:[103, 122], Operations: ['58+45=103', '64+58=122']
Exploring Operation: 103*122=12566, Resulting Numbers: [12566]
12566,97 unequal: No Solution
Exploring Operation: 122-103=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 103+122=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[116, 109], Operations: ['58+58=116', '45+64=109']
Exploring Operation: 116+109=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 116-109=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 116*109=12644, Resulting Numbers: [12644]
12644,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[103, 122], Operations: ['45+58=103', '58+64=122']
Exploring Operation: 103*122=12566, Resulting Numbers: [12566]
12566,97 unequal: No Solution
Exploring Operation: 103+122=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 122-103=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[109, 116], Operations: ['45+64=109', '58+58=116']
Exploring Operation: 116-109=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 109+116=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 109*116=12644, Resulting Numbers: [12644]
12644,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[64, 71], Operations: ['58+58=116', '116-45=71']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[64, 45], Operations: ['45+58=103', '103-58=45']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 64*45=2880, Resulting Numbers: [2880]
2880,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[64, 45], Operations: ['58+45=103', '103-58=45']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 64*45=2880, Resulting Numbers: [2880]
2880,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[58, 51], Operations: ['45+64=109', '109-58=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,97 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[58, 51], Operations: ['45+64=109', '109-58=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,97 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[64, 161], Operations: ['58+58=116', '45+116=161']
Exploring Operation: 64*161=10304, Resulting Numbers: [10304]
10304,97 unequal: No Solution
Exploring Operation: 64+161=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 161-64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[58, 45, 64, 58], Operations: []
Exploring Operation: 58+58=116, Resulting Numbers: [45, 64, 116]
Generated Node #0,0: 97:[45, 64, 116] Operation: 58+58=116
Moving to Node #0,0
Current State: 97:[45, 64, 116], Operations: ['58+58=116']
Exploring Operation: 45+116=161, Resulting Numbers: [64, 161]
Generated Node #0,0,0: 97:[64, 161] Operation: 45+116=161
Moving to Node #0,0,0
Current State: 97:[64, 161], Operations: ['58+58=116', '45+116=161']
Exploring Operation: 161-64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.953125 |
hs_4
|
sum_heuristic
|
[
69,
34,
72,
71
] | 55 |
[
"71-69=2",
"34/2=17",
"72-17=55"
] |
Current State: 55:[69, 34, 72, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [34, 72, 2]
Generated Node #2: [34, 72, 2] from Operation: 71-69=2
Current State: 55:[34, 72, 2], Operations: ['71-69=2']
Exploring Operation: 34/2=17, Resulting Numbers: [72, 17]
Generated Node #3: [72, 17] from Operation: 34/2=17
Current State: 55:[72, 17], Operations: ['71-69=2', '34/2=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[69, 34, 72, 71], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [69, 34, 1]
Generated Node #0,0: 55:[69, 34, 1] Operation: 72-71=1
Exploring Operation: 72-69=3, Resulting Numbers: [34, 71, 3]
Generated Node #0,1: 55:[34, 71, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[69, 34, 1], Operations: ['72-71=1']
Exploring Operation: 69-1=68, Resulting Numbers: [34, 68]
Generated Node #0,0,0: 55:[34, 68] Operation: 69-1=68
Exploring Operation: 69-34=35, Resulting Numbers: [1, 35]
Generated Node #0,0,1: 55:[1, 35] Operation: 69-34=35
Moving to Node #0,0,1
Current State: 55:[1, 35], Operations: ['72-71=1', '69-34=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[34, 68], Operations: ['72-71=1', '69-1=68']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[34, 71, 3], Operations: ['72-69=3']
Exploring Operation: 71-34=37, Resulting Numbers: [3, 37]
Generated Node #0,1,0: 55:[3, 37] Operation: 71-34=37
Exploring Operation: 34+3=37, Resulting Numbers: [71, 37]
Generated Node #0,1,1: 55:[71, 37] Operation: 34+3=37
Moving to Node #0,1,0
Current State: 55:[3, 37], Operations: ['72-69=3', '71-34=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[71, 37], Operations: ['72-69=3', '34+3=37']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,55 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
|
[
45,
3,
6,
96
] | 42 |
[
"45+3=48",
"96-6=90",
"90-48=42"
] |
Current State: 42:[45, 3, 6, 96], Operations: []
Exploring Operation: 45+3=48, Resulting Numbers: [6, 96, 48]
Generated Node #2: [6, 96, 48] from Operation: 45+3=48
Current State: 42:[6, 96, 48], Operations: ['45+3=48']
Exploring Operation: 96-6=90, Resulting Numbers: [48, 90]
Generated Node #3: [48, 90] from Operation: 96-6=90
Current State: 42:[48, 90], Operations: ['45+3=48', '96-6=90']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[45, 3, 6, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [45, 3, 16]
Generated Node #0,0: 42:[45, 3, 16] Operation: 96/6=16
Exploring Operation: 96-45=51, Resulting Numbers: [3, 6, 51]
Generated Node #0,1: 42:[3, 6, 51] Operation: 96-45=51
Moving to Node #0,0
Current State: 42:[45, 3, 16], Operations: ['96/6=16']
Exploring Operation: 45-3=42, Resulting Numbers: [16, 42]
Generated Node #0,0,0: 42:[16, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 42:[16, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[16, 42], Operations: ['96/6=16', '45-3=42']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[16, 15], Operations: ['96/6=16', '45/3=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,42 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: 42:[3, 6, 51], Operations: ['96-45=51']
Exploring Operation: 51-6=45, Resulting Numbers: [3, 45]
Generated Node #0,1,0: 42:[3, 45] Operation: 51-6=45
Exploring Operation: 51/3=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 42:[6, 17] Operation: 51/3=17
Moving to Node #0,1,0
Current State: 42:[3, 45], Operations: ['96-45=51', '51-6=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[45, 3, 6, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [3, 6, 51]
Generated Node #0,1: 42:[3, 6, 51] Operation: 96-45=51
Moving to Node #0,1
Current State: 42:[3, 6, 51], Operations: ['96-45=51']
Exploring Operation: 51-6=45, Resulting Numbers: [3, 45]
Generated Node #0,1,0: 42:[3, 45] Operation: 51-6=45
Moving to Node #0,1,0
Current State: 42:[3, 45], Operations: ['96-45=51', '51-6=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.986979 |
hs_2
|
mult_heuristic
|
[
16,
24,
32,
80
] | 10 |
[
"16+24=40",
"40-32=8",
"80/8=10"
] |
Current State: 10:[16, 24, 32, 80], Operations: []
Exploring Operation: 16+24=40, Resulting Numbers: [32, 80, 40]
Generated Node #2: [32, 80, 40] from Operation: 16+24=40
Current State: 10:[32, 80, 40], Operations: ['16+24=40']
Exploring Operation: 40-32=8, Resulting Numbers: [80, 8]
Generated Node #3: [80, 8] from Operation: 40-32=8
Current State: 10:[80, 8], Operations: ['16+24=40', '40-32=8']
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[16, 24, 32, 80], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [24, 32, 5]
Generated Node #0,0: 10:[24, 32, 5] Operation: 80/16=5
Exploring Operation: 80-24=56, Resulting Numbers: [16, 32, 56]
Generated Node #0,1: 10:[16, 32, 56] Operation: 80-24=56
Exploring Operation: 80-32=48, Resulting Numbers: [16, 24, 48]
Generated Node #0,2: 10:[16, 24, 48] Operation: 80-32=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[24, 32, 5], Operations: ['80/16=5']
Exploring Operation: 24-5=19, Resulting Numbers: [32, 19]
Generated Node #0,0,0: 10:[32, 19] Operation: 24-5=19
Exploring Operation: 32-24=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 10:[5, 8] Operation: 32-24=8
Exploring Operation: 32-5=27, Resulting Numbers: [24, 27]
Generated Node #0,0,2: 10:[24, 27] Operation: 32-5=27
Moving to Node #0,0,1
Current State: 10:[5, 8], Operations: ['80/16=5', '32-24=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[32, 19], Operations: ['80/16=5', '24-5=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[24, 27], Operations: ['80/16=5', '32-5=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[16, 24, 48], Operations: ['80-32=48']
Exploring Operation: 48/24=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 10:[16, 2] Operation: 48/24=2
Exploring Operation: 48/16=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 10:[24, 3] Operation: 48/16=3
Exploring Operation: 48-24=24, Resulting Numbers: [16, 24]
Generated Node #0,2,2: 10:[16, 24] Operation: 48-24=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[16, 2], Operations: ['80-32=48', '48/24=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[24, 3], Operations: ['80-32=48', '48/16=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[16, 24], Operations: ['80-32=48', '48-24=24']
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
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[16, 32, 56], Operations: ['80-24=56']
Exploring Operation: 32/16=2, Resulting Numbers: [56, 2]
Generated Node #0,1,0: 10:[56, 2] Operation: 32/16=2
Exploring Operation: 56-32=24, Resulting Numbers: [16, 24]
Generated Node #0,1,1: 10:[16, 24] Operation: 56-32=24
Exploring Operation: 32-16=16, Resulting Numbers: [56, 16]
Generated Node #0,1,2: 10:[56, 16] Operation: 32-16=16
Moving to Node #0,1,1
Current State: 10:[16, 24], Operations: ['80-24=56', '56-32=24']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[56, 2], Operations: ['80-24=56', '32/16=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[56, 16], Operations: ['80-24=56', '32-16=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
80,
30,
1,
84
] | 10 |
[
"80+1=81",
"84-81=3",
"30/3=10"
] |
Current State: 10:[80, 30, 1, 84], Operations: []
Exploring Operation: 80+1=81, Resulting Numbers: [30, 84, 81]
Generated Node #2: [30, 84, 81] from Operation: 80+1=81
Current State: 10:[30, 84, 81], Operations: ['80+1=81']
Exploring Operation: 84-81=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 84-81=3
Current State: 10:[30, 3], Operations: ['80+1=81', '84-81=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[80, 30, 1, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [30, 1, 4]
Generated Node #0,0: 10:[30, 1, 4] Operation: 84-80=4
Exploring Operation: 80-30=50, Resulting Numbers: [1, 84, 50]
Generated Node #0,1: 10:[1, 84, 50] Operation: 80-30=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[30, 1, 4], Operations: ['84-80=4']
Exploring Operation: 30-4=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 10:[1, 26] Operation: 30-4=26
Exploring Operation: 30-1=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 10:[4, 29] Operation: 30-1=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[1, 26], Operations: ['84-80=4', '30-4=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[4, 29], Operations: ['84-80=4', '30-1=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[1, 84, 50], Operations: ['80-30=50']
Exploring Operation: 84-50=34, Resulting Numbers: [1, 34]
Generated Node #0,1,0: 10:[1, 34] Operation: 84-50=34
Exploring Operation: 84-1=83, Resulting Numbers: [50, 83]
Generated Node #0,1,1: 10:[50, 83] Operation: 84-1=83
Moving to Node #0,1,0
Current State: 10:[1, 34], Operations: ['80-30=50', '84-50=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[50, 83], Operations: ['80-30=50', '84-1=83']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
11,
54,
22,
83
] | 56 |
[
"11*54=594",
"594/22=27",
"83-27=56"
] |
Current State: 56:[11, 54, 22, 83], Operations: []
Exploring Operation: 11*54=594, Resulting Numbers: [22, 83, 594]
Generated Node #2: [22, 83, 594] from Operation: 11*54=594
Current State: 56:[22, 83, 594], Operations: ['11*54=594']
Exploring Operation: 594/22=27, Resulting Numbers: [83, 27]
Generated Node #3: [83, 27] from Operation: 594/22=27
Current State: 56:[83, 27], Operations: ['11*54=594', '594/22=27']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[11, 54, 22, 83], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [11, 22, 29]
Generated Node #0,0: 56:[11, 22, 29] Operation: 83-54=29
Exploring Operation: 83-22=61, Resulting Numbers: [11, 54, 61]
Generated Node #0,1: 56:[11, 54, 61] Operation: 83-22=61
Exploring Operation: 83-11=72, Resulting Numbers: [54, 22, 72]
Generated Node #0,2: 56:[54, 22, 72] Operation: 83-11=72
Exploring Operation: 22/11=2, Resulting Numbers: [54, 83, 2]
Generated Node #0,3: 56:[54, 83, 2] Operation: 22/11=2
Moving to Node #0,0
Current State: 56:[11, 22, 29], Operations: ['83-54=29']
Exploring Operation: 29-22=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 56:[11, 7] Operation: 29-22=7
Exploring Operation: 11+22=33, Resulting Numbers: [29, 33]
Generated Node #0,0,1: 56:[29, 33] Operation: 11+22=33
Exploring Operation: 22-11=11, Resulting Numbers: [29, 11]
Generated Node #0,0,2: 56:[29, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [29, 2]
Generated Node #0,0,3: 56:[29, 2] Operation: 22/11=2
Moving to Node #0,1
Current State: 56:[11, 54, 61], Operations: ['83-22=61']
Exploring Operation: 11+54=65, Resulting Numbers: [61, 65]
Generated Node #0,1,0: 56:[61, 65] Operation: 11+54=65
Exploring Operation: 61-11=50, Resulting Numbers: [54, 50]
Generated Node #0,1,1: 56:[54, 50] Operation: 61-11=50
Exploring Operation: 61-54=7, Resulting Numbers: [11, 7]
Generated Node #0,1,2: 56:[11, 7] Operation: 61-54=7
Exploring Operation: 54-11=43, Resulting Numbers: [61, 43]
Generated Node #0,1,3: 56:[61, 43] Operation: 54-11=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[11, 7], Operations: ['83-22=61', '61-54=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[54, 50], Operations: ['83-22=61', '61-11=50']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,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,0
Current State: 56:[61, 65], Operations: ['83-22=61', '11+54=65']
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,56 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,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,3
Current State: 56:[61, 43], Operations: ['83-22=61', '54-11=43']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,56 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: 56:[54, 22, 72], Operations: ['83-11=72']
Exploring Operation: 72-22=50, Resulting Numbers: [54, 50]
Generated Node #0,2,0: 56:[54, 50] Operation: 72-22=50
Exploring Operation: 54+22=76, Resulting Numbers: [72, 76]
Generated Node #0,2,1: 56:[72, 76] Operation: 54+22=76
Exploring Operation: 72-54=18, Resulting Numbers: [22, 18]
Generated Node #0,2,2: 56:[22, 18] Operation: 72-54=18
Exploring Operation: 54-22=32, Resulting Numbers: [72, 32]
Generated Node #0,2,3: 56:[72, 32] Operation: 54-22=32
Moving to Node #0,3
Current State: 56:[54, 83, 2], Operations: ['22/11=2']
Exploring Operation: 83-2=81, Resulting Numbers: [54, 81]
Generated Node #0,3,0: 56:[54, 81] Operation: 83-2=81
Exploring Operation: 54/2=27, Resulting Numbers: [83, 27]
Generated Node #0,3,1: 56:[83, 27] Operation: 54/2=27
Exploring Operation: 54+2=56, Resulting Numbers: [83, 56]
Generated Node #0,3,2: 56:[83, 56] Operation: 54+2=56
Exploring Operation: 83-54=29, Resulting Numbers: [2, 29]
Generated Node #0,3,3: 56:[2, 29] Operation: 83-54=29
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[2, 29], Operations: ['22/11=2', '83-54=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,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,3,0
Current State: 56:[54, 81], Operations: ['22/11=2', '83-2=81']
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,56 unequal: No Solution
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,56 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,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,3,2
Current State: 56:[83, 56], Operations: ['22/11=2', '54+2=56']
Exploring Operation: 83+56=139, Resulting Numbers: [139]
139,56 unequal: No Solution
Exploring Operation: 83*56=4648, Resulting Numbers: [4648]
4648,56 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,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,3,1
Current State: 56:[83, 27], Operations: ['22/11=2', '54/2=27']
Exploring Operation: 83*27=2241, Resulting Numbers: [2241]
2241,56 unequal: No Solution
Exploring Operation: 83+27=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[11, 54, 22, 83], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [54, 83, 2]
Generated Node #0,3: 56:[54, 83, 2] Operation: 22/11=2
Moving to Node #0,3
Current State: 56:[54, 83, 2], Operations: ['22/11=2']
Exploring Operation: 54/2=27, Resulting Numbers: [83, 27]
Generated Node #0,3,1: 56:[83, 27] Operation: 54/2=27
Moving to Node #0,3,1
Current State: 56:[83, 27], Operations: ['22/11=2', '54/2=27']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 |
hs_4
|
mult_heuristic
|
[
4,
71,
5,
81
] | 52 |
[
"81-5=76",
"76/4=19",
"71-19=52"
] |
Current State: 52:[4, 71, 5, 81], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [4, 71, 76]
Generated Node #2: [4, 71, 76] from Operation: 81-5=76
Current State: 52:[4, 71, 76], Operations: ['81-5=76']
Exploring Operation: 76/4=19, Resulting Numbers: [71, 19]
Generated Node #3: [71, 19] from Operation: 76/4=19
Current State: 52:[71, 19], Operations: ['81-5=76', '76/4=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[4, 71, 5, 81], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [4, 5, 10]
Generated Node #0,0: 52:[4, 5, 10] Operation: 81-71=10
Exploring Operation: 71-5=66, Resulting Numbers: [4, 81, 66]
Generated Node #0,1: 52:[4, 81, 66] Operation: 71-5=66
Moving to Node #0,0
Current State: 52:[4, 5, 10], Operations: ['81-71=10']
Exploring Operation: 10/5=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 52:[4, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 52:[4, 5] Operation: 10-5=5
Moving to Node #0,1
Current State: 52:[4, 81, 66], Operations: ['71-5=66']
Exploring Operation: 81-66=15, Resulting Numbers: [4, 15]
Generated Node #0,1,0: 52:[4, 15] Operation: 81-66=15
Exploring Operation: 81-4=77, Resulting Numbers: [66, 77]
Generated Node #0,1,1: 52:[66, 77] Operation: 81-4=77
Moving to Node #0,0,0
Current State: 52:[4, 2], Operations: ['81-71=10', '10/5=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[4, 5], Operations: ['81-71=10', '10-5=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[4, 15], Operations: ['71-5=66', '81-66=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[66, 77], Operations: ['71-5=66', '81-4=77']
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,52 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
22,
80,
92,
27
] | 17 |
[
"22+80=102",
"92+27=119",
"119-102=17"
] |
Current State: 17:[22, 80, 92, 27], Operations: []
Exploring Operation: 22+80=102, Resulting Numbers: [92, 27, 102]
Generated Node #2: [92, 27, 102] from Operation: 22+80=102
Current State: 17:[92, 27, 102], Operations: ['22+80=102']
Exploring Operation: 92+27=119, Resulting Numbers: [102, 119]
Generated Node #3: [102, 119] from Operation: 92+27=119
Current State: 17:[102, 119], Operations: ['22+80=102', '92+27=119']
Exploring Operation: 119-102=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[22, 80, 92, 27], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [22, 27, 12]
Generated Node #0,0: 17:[22, 27, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[22, 27, 12], Operations: ['92-80=12']
Exploring Operation: 27-12=15, Resulting Numbers: [22, 15]
Generated Node #0,0,0: 17:[22, 15] Operation: 27-12=15
Moving to Node #0,0,0
Current State: 17:[22, 15], Operations: ['92-80=12', '27-12=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
14,
33,
42,
22
] | 52 |
[
"42/14=3",
"33+22=55",
"55-3=52"
] |
Current State: 52:[14, 33, 42, 22], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [33, 22, 3]
Generated Node #2: [33, 22, 3] from Operation: 42/14=3
Current State: 52:[33, 22, 3], Operations: ['42/14=3']
Exploring Operation: 33+22=55, Resulting Numbers: [3, 55]
Generated Node #3: [3, 55] from Operation: 33+22=55
Current State: 52:[3, 55], Operations: ['42/14=3', '33+22=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[14, 33, 42, 22], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [33, 22, 3]
Generated Node #0,0: 52:[33, 22, 3] Operation: 42/14=3
Exploring Operation: 42-33=9, Resulting Numbers: [14, 22, 9]
Generated Node #0,1: 52:[14, 22, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[14, 22, 9], Operations: ['42-33=9']
Exploring Operation: 14-9=5, Resulting Numbers: [22, 5]
Generated Node #0,1,0: 52:[22, 5] Operation: 14-9=5
Exploring Operation: 22-9=13, Resulting Numbers: [14, 13]
Generated Node #0,1,1: 52:[14, 13] Operation: 22-9=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[14, 13], Operations: ['42-33=9', '22-9=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[22, 5], Operations: ['42-33=9', '14-9=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[33, 22, 3], Operations: ['42/14=3']
Exploring Operation: 33+22=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 52:[3, 55] Operation: 33+22=55
Exploring Operation: 33-22=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 52:[3, 11] Operation: 33-22=11
Moving to Node #0,0,1
Current State: 52:[3, 11], Operations: ['42/14=3', '33-22=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[3, 55], Operations: ['42/14=3', '33+22=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[14, 33, 42, 22], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [33, 22, 3]
Generated Node #0,0: 52:[33, 22, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 52:[33, 22, 3], Operations: ['42/14=3']
Exploring Operation: 33+22=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 52:[3, 55] Operation: 33+22=55
Moving to Node #0,0,0
Current State: 52:[3, 55], Operations: ['42/14=3', '33+22=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_2
|
sum_heuristic
|
[
22,
4,
10,
43
] | 59 |
[
"22+4=26",
"43-10=33",
"26+33=59"
] |
Current State: 59:[22, 4, 10, 43], Operations: []
Exploring Operation: 22+4=26, Resulting Numbers: [10, 43, 26]
Generated Node #2: [10, 43, 26] from Operation: 22+4=26
Current State: 59:[10, 43, 26], Operations: ['22+4=26']
Exploring Operation: 43-10=33, Resulting Numbers: [26, 33]
Generated Node #3: [26, 33] from Operation: 43-10=33
Current State: 59:[26, 33], Operations: ['22+4=26', '43-10=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[22, 4, 10, 43], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [22, 43, 40]
Generated Node #0,0: 59:[22, 43, 40] Operation: 4*10=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[22, 43, 40], Operations: ['4*10=40']
Exploring Operation: 22+40=62, Resulting Numbers: [43, 62]
Generated Node #0,0,0: 59:[43, 62] Operation: 22+40=62
Moving to Node #0,0,0
Current State: 59:[43, 62], Operations: ['4*10=40', '22+40=62']
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
6,
60,
54,
29
] | 22 |
[
"54/6=9",
"60-29=31",
"31-9=22"
] |
Current State: 22:[6, 60, 54, 29], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [60, 29, 9]
Generated Node #2: [60, 29, 9] from Operation: 54/6=9
Current State: 22:[60, 29, 9], Operations: ['54/6=9']
Exploring Operation: 60-29=31, Resulting Numbers: [9, 31]
Generated Node #3: [9, 31] from Operation: 60-29=31
Current State: 22:[9, 31], Operations: ['54/6=9', '60-29=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[6, 60, 54, 29], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [6, 29, 6]
Generated Node #0,0: 22:[6, 29, 6] Operation: 60-54=6
Exploring Operation: 60-29=31, Resulting Numbers: [6, 54, 31]
Generated Node #0,1: 22:[6, 54, 31] Operation: 60-29=31
Exploring Operation: 60/6=10, Resulting Numbers: [54, 29, 10]
Generated Node #0,2: 22:[54, 29, 10] Operation: 60/6=10
Moving to Node #0,0
Current State: 22:[6, 29, 6], Operations: ['60-54=6']
Exploring Operation: 29-6=23, Resulting Numbers: [6, 23]
Generated Node #0,0,0: 22:[6, 23] Operation: 29-6=23
Exploring Operation: 29-6=23, Resulting Numbers: [6, 23]
Generated Node #0,0,1: 22:[6, 23] Operation: 29-6=23
Exploring Operation: 6+6=12, Resulting Numbers: [29, 12]
Generated Node #0,0,2: 22:[29, 12] Operation: 6+6=12
Moving to Node #0,2
Current State: 22:[54, 29, 10], Operations: ['60/6=10']
Exploring Operation: 54-29=25, Resulting Numbers: [10, 25]
Generated Node #0,2,0: 22:[10, 25] Operation: 54-29=25
Exploring Operation: 29-10=19, Resulting Numbers: [54, 19]
Generated Node #0,2,1: 22:[54, 19] Operation: 29-10=19
Exploring Operation: 54-10=44, Resulting Numbers: [29, 44]
Generated Node #0,2,2: 22:[29, 44] Operation: 54-10=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[10, 25], Operations: ['60/6=10', '54-29=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,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:[29, 44], Operations: ['60/6=10', '54-10=44']
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,22 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,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:[54, 19], Operations: ['60/6=10', '29-10=19']
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,22 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,22 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: 22:[6, 54, 31], Operations: ['60-29=31']
Exploring Operation: 54-31=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 22:[6, 23] Operation: 54-31=23
Exploring Operation: 54-6=48, Resulting Numbers: [31, 48]
Generated Node #0,1,1: 22:[31, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [31, 9]
Generated Node #0,1,2: 22:[31, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[6, 23], Operations: ['60-29=31', '54-31=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[31, 9], Operations: ['60-29=31', '54/6=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[6, 60, 54, 29], Operations: []
Exploring Operation: 60-29=31, Resulting Numbers: [6, 54, 31]
Generated Node #0,1: 22:[6, 54, 31] Operation: 60-29=31
Moving to Node #0,1
Current State: 22:[6, 54, 31], Operations: ['60-29=31']
Exploring Operation: 54/6=9, Resulting Numbers: [31, 9]
Generated Node #0,1,2: 22:[31, 9] Operation: 54/6=9
Moving to Node #0,1,2
Current State: 22:[31, 9], Operations: ['60-29=31', '54/6=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 |
hs_3
|
mult_heuristic
|
[
24,
82,
86,
11
] | 68 |
[
"86-82=4",
"11*4=44",
"24+44=68"
] |
Current State: 68:[24, 82, 86, 11], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [24, 11, 4]
Generated Node #2: [24, 11, 4] from Operation: 86-82=4
Current State: 68:[24, 11, 4], Operations: ['86-82=4']
Exploring Operation: 11*4=44, Resulting Numbers: [24, 44]
Generated Node #3: [24, 44] from Operation: 11*4=44
Current State: 68:[24, 44], Operations: ['86-82=4', '11*4=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[24, 82, 86, 11], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [82, 11, 62]
Generated Node #0,0: 68:[82, 11, 62] Operation: 86-24=62
Exploring Operation: 86-82=4, Resulting Numbers: [24, 11, 4]
Generated Node #0,1: 68:[24, 11, 4] Operation: 86-82=4
Moving to Node #0,1
Current State: 68:[24, 11, 4], Operations: ['86-82=4']
Exploring Operation: 24+11=35, Resulting Numbers: [4, 35]
Generated Node #0,1,0: 68:[4, 35] Operation: 24+11=35
Exploring Operation: 24-11=13, Resulting Numbers: [4, 13]
Generated Node #0,1,1: 68:[4, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[4, 35], Operations: ['86-82=4', '24+11=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[4, 13], Operations: ['86-82=4', '24-11=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,68 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: 68:[82, 11, 62], Operations: ['86-24=62']
Exploring Operation: 82-62=20, Resulting Numbers: [11, 20]
Generated Node #0,0,0: 68:[11, 20] Operation: 82-62=20
Exploring Operation: 82-11=71, Resulting Numbers: [62, 71]
Generated Node #0,0,1: 68:[62, 71] Operation: 82-11=71
Moving to Node #0,0,0
Current State: 68:[11, 20], Operations: ['86-24=62', '82-62=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[62, 71], Operations: ['86-24=62', '82-11=71']
Exploring Operation: 62+71=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
73,
97,
33,
31
] | 22 |
[
"97-73=24",
"33-31=2",
"24-2=22"
] |
Current State: 22:[73, 97, 33, 31], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [33, 31, 24]
Generated Node #2: [33, 31, 24] from Operation: 97-73=24
Current State: 22:[33, 31, 24], Operations: ['97-73=24']
Exploring Operation: 33-31=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 33-31=2
Current State: 22:[24, 2], Operations: ['97-73=24', '33-31=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[73, 97, 33, 31], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [97, 31, 40]
Generated Node #0,0: 22:[97, 31, 40] Operation: 73-33=40
Exploring Operation: 97-33=64, Resulting Numbers: [73, 31, 64]
Generated Node #0,1: 22:[73, 31, 64] Operation: 97-33=64
Exploring Operation: 97-73=24, Resulting Numbers: [33, 31, 24]
Generated Node #0,2: 22:[33, 31, 24] Operation: 97-73=24
Moving to Node #0,2
Current State: 22:[33, 31, 24], Operations: ['97-73=24']
Exploring Operation: 33-24=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 22:[31, 9] Operation: 33-24=9
Exploring Operation: 33-31=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 22:[24, 2] Operation: 33-31=2
Exploring Operation: 31-24=7, Resulting Numbers: [33, 7]
Generated Node #0,2,2: 22:[33, 7] Operation: 31-24=7
Moving to Node #0,0
Current State: 22:[97, 31, 40], Operations: ['73-33=40']
Exploring Operation: 97-40=57, Resulting Numbers: [31, 57]
Generated Node #0,0,0: 22:[31, 57] Operation: 97-40=57
Exploring Operation: 40-31=9, Resulting Numbers: [97, 9]
Generated Node #0,0,1: 22:[97, 9] Operation: 40-31=9
Exploring Operation: 97-31=66, Resulting Numbers: [40, 66]
Generated Node #0,0,2: 22:[40, 66] Operation: 97-31=66
Moving to Node #0,1
Current State: 22:[73, 31, 64], Operations: ['97-33=64']
Exploring Operation: 73-64=9, Resulting Numbers: [31, 9]
Generated Node #0,1,0: 22:[31, 9] Operation: 73-64=9
Exploring Operation: 64-31=33, Resulting Numbers: [73, 33]
Generated Node #0,1,1: 22:[73, 33] Operation: 64-31=33
Exploring Operation: 73-31=42, Resulting Numbers: [64, 42]
Generated Node #0,1,2: 22:[64, 42] Operation: 73-31=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[31, 9], Operations: ['97-33=64', '73-64=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,22 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[73, 97, 33, 31], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [73, 31, 64]
Generated Node #0,1: 22:[73, 31, 64] Operation: 97-33=64
Moving to Node #0,1
Current State: 22:[73, 31, 64], Operations: ['97-33=64']
Exploring Operation: 73-64=9, Resulting Numbers: [31, 9]
Generated Node #0,1,0: 22:[31, 9] Operation: 73-64=9
Moving to Node #0,1,0
Current State: 22:[31, 9], Operations: ['97-33=64', '73-64=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
sum_heuristic
|
[
11,
36,
88,
77
] | 85 |
[
"88-77=11",
"11*11=121",
"121-36=85"
] |
Current State: 85:[11, 36, 88, 77], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [11, 36, 11]
Generated Node #2: [11, 36, 11] from Operation: 88-77=11
Current State: 85:[11, 36, 11], Operations: ['88-77=11']
Exploring Operation: 11*11=121, Resulting Numbers: [36, 121]
Generated Node #3: [36, 121] from Operation: 11*11=121
Current State: 85:[36, 121], Operations: ['88-77=11', '11*11=121']
Exploring Operation: 121-36=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[11, 36, 88, 77], Operations: []
Exploring Operation: 11+77=88, Resulting Numbers: [36, 88, 88]
Generated Node #0,0: 85:[36, 88, 88] Operation: 11+77=88
Exploring Operation: 77/11=7, Resulting Numbers: [36, 88, 7]
Generated Node #0,1: 85:[36, 88, 7] Operation: 77/11=7
Exploring Operation: 36-11=25, Resulting Numbers: [88, 77, 25]
Generated Node #0,2: 85:[88, 77, 25] Operation: 36-11=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[88, 77, 25], Operations: ['36-11=25']
Exploring Operation: 88-77=11, Resulting Numbers: [25, 11]
Generated Node #0,2,0: 85:[25, 11] Operation: 88-77=11
Exploring Operation: 88-25=63, Resulting Numbers: [77, 63]
Generated Node #0,2,1: 85:[77, 63] Operation: 88-25=63
Exploring Operation: 77+25=102, Resulting Numbers: [88, 102]
Generated Node #0,2,2: 85:[88, 102] Operation: 77+25=102
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[25, 11], Operations: ['36-11=25', '88-77=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,85 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[88, 102], Operations: ['36-11=25', '77+25=102']
Exploring Operation: 88*102=8976, Resulting Numbers: [8976]
8976,85 unequal: No Solution
Exploring Operation: 102-88=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 88+102=190, Resulting Numbers: [190]
190,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[77, 63], Operations: ['36-11=25', '88-25=63']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,85 unequal: No Solution
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[36, 88, 7], Operations: ['77/11=7']
Exploring Operation: 36+7=43, Resulting Numbers: [88, 43]
Generated Node #0,1,0: 85:[88, 43] Operation: 36+7=43
Exploring Operation: 88-7=81, Resulting Numbers: [36, 81]
Generated Node #0,1,1: 85:[36, 81] Operation: 88-7=81
Exploring Operation: 36-7=29, Resulting Numbers: [88, 29]
Generated Node #0,1,2: 85:[88, 29] Operation: 36-7=29
Moving to Node #0,1,2
Current State: 85:[88, 29], Operations: ['77/11=7', '36-7=29']
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,85 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[36, 81], Operations: ['77/11=7', '88-7=81']
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[88, 43], Operations: ['77/11=7', '36+7=43']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,85 unequal: No Solution
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[36, 88, 88], Operations: ['11+77=88']
Exploring Operation: 88-88=0, Resulting Numbers: [36, 0]
Generated Node #0,0,0: 85:[36, 0] Operation: 88-88=0
Exploring Operation: 88-36=52, Resulting Numbers: [88, 52]
Generated Node #0,0,1: 85:[88, 52] Operation: 88-36=52
Exploring Operation: 88/88=1, Resulting Numbers: [36, 1]
Generated Node #0,0,2: 85:[36, 1] Operation: 88/88=1
Moving to Node #0,0,2
Current State: 85:[36, 1], Operations: ['11+77=88', '88/88=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[36, 0], Operations: ['11+77=88', '88-88=0']
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[88, 52], Operations: ['11+77=88', '88-36=52']
Exploring Operation: 88+52=140, Resulting Numbers: [140]
140,85 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 88*52=4576, Resulting Numbers: [4576]
4576,85 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
|
[
92,
63,
64,
32
] | 67 |
[
"92-63=29",
"64+32=96",
"96-29=67"
] |
Current State: 67:[92, 63, 64, 32], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [64, 32, 29]
Generated Node #2: [64, 32, 29] from Operation: 92-63=29
Current State: 67:[64, 32, 29], Operations: ['92-63=29']
Exploring Operation: 64+32=96, Resulting Numbers: [29, 96]
Generated Node #3: [29, 96] from Operation: 64+32=96
Current State: 67:[29, 96], Operations: ['92-63=29', '64+32=96']
Exploring Operation: 96-29=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[92, 63, 64, 32], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [63, 64, 60]
Generated Node #0,0: 67:[63, 64, 60] Operation: 92-32=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[63, 64, 60], Operations: ['92-32=60']
Exploring Operation: 63+60=123, Resulting Numbers: [64, 123]
Generated Node #0,0,0: 67:[64, 123] Operation: 63+60=123
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[64, 123], Operations: ['92-32=60', '63+60=123']
Exploring Operation: 123-64=59, Resulting Numbers: [59]
59,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
37,
46,
66,
18
] | 64 |
[
"46-37=9",
"18/9=2",
"66-2=64"
] |
Current State: 64:[37, 46, 66, 18], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [66, 18, 9]
Generated Node #2: [66, 18, 9] from Operation: 46-37=9
Current State: 64:[66, 18, 9], Operations: ['46-37=9']
Exploring Operation: 18/9=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 18/9=2
Current State: 64:[66, 2], Operations: ['46-37=9', '18/9=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[37, 46, 66, 18], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [37, 18, 20]
Generated Node #0,0: 64:[37, 18, 20] Operation: 66-46=20
Exploring Operation: 46+18=64, Resulting Numbers: [37, 66, 64]
Generated Node #0,1: 64:[37, 66, 64] Operation: 46+18=64
Exploring Operation: 46-37=9, Resulting Numbers: [66, 18, 9]
Generated Node #0,2: 64:[66, 18, 9] Operation: 46-37=9
Moving to Node #0,2
Current State: 64:[66, 18, 9], Operations: ['46-37=9']
Exploring Operation: 18/9=2, Resulting Numbers: [66, 2]
Generated Node #0,2,0: 64:[66, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [66, 9]
Generated Node #0,2,1: 64:[66, 9] Operation: 18-9=9
Exploring Operation: 18+9=27, Resulting Numbers: [66, 27]
Generated Node #0,2,2: 64:[66, 27] Operation: 18+9=27
Moving to Node #0,1
Current State: 64:[37, 66, 64], Operations: ['46+18=64']
Exploring Operation: 64-37=27, Resulting Numbers: [66, 27]
Generated Node #0,1,0: 64:[66, 27] Operation: 64-37=27
Exploring Operation: 66-37=29, Resulting Numbers: [64, 29]
Generated Node #0,1,1: 64:[64, 29] Operation: 66-37=29
Exploring Operation: 66-64=2, Resulting Numbers: [37, 2]
Generated Node #0,1,2: 64:[37, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[64, 29], Operations: ['46+18=64', '66-37=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[37, 2], Operations: ['46+18=64', '66-64=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[66, 27], Operations: ['46+18=64', '64-37=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,64 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,64 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: 64:[37, 18, 20], Operations: ['66-46=20']
Exploring Operation: 37-20=17, Resulting Numbers: [18, 17]
Generated Node #0,0,0: 64:[18, 17] Operation: 37-20=17
Exploring Operation: 20-18=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 64:[37, 2] Operation: 20-18=2
Exploring Operation: 37-18=19, Resulting Numbers: [20, 19]
Generated Node #0,0,2: 64:[20, 19] Operation: 37-18=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[18, 17], Operations: ['66-46=20', '37-20=17']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[37, 2], Operations: ['66-46=20', '20-18=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[20, 19], Operations: ['66-46=20', '37-18=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,64 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 64:[66, 2], Operations: ['46-37=9', '18/9=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[37, 46, 66, 18], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [66, 18, 9]
Generated Node #0,2: 64:[66, 18, 9] Operation: 46-37=9
Moving to Node #0,2
Current State: 64:[66, 18, 9], Operations: ['46-37=9']
Exploring Operation: 18/9=2, Resulting Numbers: [66, 2]
Generated Node #0,2,0: 64:[66, 2] Operation: 18/9=2
Moving to Node #0,2,0
Current State: 64:[66, 2], Operations: ['46-37=9', '18/9=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.969618 |
hs_3
|
mult_heuristic
|
[
67,
46,
14,
91
] | 13 |
[
"67-46=21",
"21-14=7",
"91/7=13"
] |
Current State: 13:[67, 46, 14, 91], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [14, 91, 21]
Generated Node #2: [14, 91, 21] from Operation: 67-46=21
Current State: 13:[14, 91, 21], Operations: ['67-46=21']
Exploring Operation: 21-14=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 21-14=7
Current State: 13:[91, 7], Operations: ['67-46=21', '21-14=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[67, 46, 14, 91], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [46, 14, 24]
Generated Node #0,0: 13:[46, 14, 24] Operation: 91-67=24
Exploring Operation: 91-46=45, Resulting Numbers: [67, 14, 45]
Generated Node #0,1: 13:[67, 14, 45] Operation: 91-46=45
Exploring Operation: 67-46=21, Resulting Numbers: [14, 91, 21]
Generated Node #0,2: 13:[14, 91, 21] Operation: 67-46=21
Exploring Operation: 46-14=32, Resulting Numbers: [67, 91, 32]
Generated Node #0,3: 13:[67, 91, 32] Operation: 46-14=32
Exploring Operation: 67-14=53, Resulting Numbers: [46, 91, 53]
Generated Node #0,4: 13:[46, 91, 53] Operation: 67-14=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[46, 14, 24], Operations: ['91-67=24']
Exploring Operation: 46-24=22, Resulting Numbers: [14, 22]
Generated Node #0,0,0: 13:[14, 22] Operation: 46-24=22
Exploring Operation: 46+14=60, Resulting Numbers: [24, 60]
Generated Node #0,0,1: 13:[24, 60] Operation: 46+14=60
Exploring Operation: 46-14=32, Resulting Numbers: [24, 32]
Generated Node #0,0,2: 13:[24, 32] Operation: 46-14=32
Exploring Operation: 46+24=70, Resulting Numbers: [14, 70]
Generated Node #0,0,3: 13:[14, 70] Operation: 46+24=70
Exploring Operation: 24-14=10, Resulting Numbers: [46, 10]
Generated Node #0,0,4: 13:[46, 10] Operation: 24-14=10
Moving to Node #0,0,0
Current State: 13:[14, 22], Operations: ['91-67=24', '46-24=22']
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,13 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[24, 32], Operations: ['91-67=24', '46-14=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[46, 10], Operations: ['91-67=24', '24-14=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[24, 60], Operations: ['91-67=24', '46+14=60']
Exploring Operation: 24*60=1440, Resulting Numbers: [1440]
1440,13 unequal: No Solution
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[14, 70], Operations: ['91-67=24', '46+24=70']
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[67, 14, 45], Operations: ['91-46=45']
Exploring Operation: 45-14=31, Resulting Numbers: [67, 31]
Generated Node #0,1,0: 13:[67, 31] Operation: 45-14=31
Exploring Operation: 67+45=112, Resulting Numbers: [14, 112]
Generated Node #0,1,1: 13:[14, 112] Operation: 67+45=112
Exploring Operation: 67-45=22, Resulting Numbers: [14, 22]
Generated Node #0,1,2: 13:[14, 22] Operation: 67-45=22
Exploring Operation: 67+14=81, Resulting Numbers: [45, 81]
Generated Node #0,1,3: 13:[45, 81] Operation: 67+14=81
Exploring Operation: 67-14=53, Resulting Numbers: [45, 53]
Generated Node #0,1,4: 13:[45, 53] Operation: 67-14=53
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[14, 22], Operations: ['91-46=45', '67-45=22']
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,13 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[67, 31], Operations: ['91-46=45', '45-14=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,13 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 13:[45, 53], Operations: ['91-46=45', '67-14=53']
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,13 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[14, 112], Operations: ['91-46=45', '67+45=112']
Exploring Operation: 112-14=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 14+112=126, Resulting Numbers: [126]
126,13 unequal: No Solution
Exploring Operation: 14*112=1568, Resulting Numbers: [1568]
1568,13 unequal: No Solution
Exploring Operation: 112/14=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[45, 81], Operations: ['91-46=45', '67+14=81']
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,13 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 45*81=3645, Resulting Numbers: [3645]
3645,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[14, 91, 21], Operations: ['67-46=21']
Exploring Operation: 14+21=35, Resulting Numbers: [91, 35]
Generated Node #0,2,0: 13:[91, 35] Operation: 14+21=35
Exploring Operation: 14+91=105, Resulting Numbers: [21, 105]
Generated Node #0,2,1: 13:[21, 105] Operation: 14+91=105
Exploring Operation: 91-14=77, Resulting Numbers: [21, 77]
Generated Node #0,2,2: 13:[21, 77] Operation: 91-14=77
Exploring Operation: 21-14=7, Resulting Numbers: [91, 7]
Generated Node #0,2,3: 13:[91, 7] Operation: 21-14=7
Exploring Operation: 91-21=70, Resulting Numbers: [14, 70]
Generated Node #0,2,4: 13:[14, 70] Operation: 91-21=70
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[14, 70], Operations: ['67-46=21', '91-21=70']
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,13 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[21, 77], Operations: ['67-46=21', '91-14=77']
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,13 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[91, 7], Operations: ['67-46=21', '21-14=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[67, 46, 14, 91], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [14, 91, 21]
Generated Node #0,2: 13:[14, 91, 21] Operation: 67-46=21
Moving to Node #0,2
Current State: 13:[14, 91, 21], Operations: ['67-46=21']
Exploring Operation: 21-14=7, Resulting Numbers: [91, 7]
Generated Node #0,2,3: 13:[91, 7] Operation: 21-14=7
Moving to Node #0,2,3
Current State: 13:[91, 7], Operations: ['67-46=21', '21-14=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 |
hs_5
|
mult_heuristic
|
[
15,
13,
25,
14
] | 22 |
[
"15-13=2",
"25-14=11",
"2*11=22"
] |
Current State: 22:[15, 13, 25, 14], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [25, 14, 2]
Generated Node #2: [25, 14, 2] from Operation: 15-13=2
Current State: 22:[25, 14, 2], Operations: ['15-13=2']
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 25-14=11
Current State: 22:[2, 11], Operations: ['15-13=2', '25-14=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[15, 13, 25, 14], Operations: []
Exploring Operation: 25-13=12, Resulting Numbers: [15, 14, 12]
Generated Node #0,0: 22:[15, 14, 12] Operation: 25-13=12
Exploring Operation: 25-15=10, Resulting Numbers: [13, 14, 10]
Generated Node #0,1: 22:[13, 14, 10] Operation: 25-15=10
Exploring Operation: 15-13=2, Resulting Numbers: [25, 14, 2]
Generated Node #0,2: 22:[25, 14, 2] Operation: 15-13=2
Exploring Operation: 15-14=1, Resulting Numbers: [13, 25, 1]
Generated Node #0,3: 22:[13, 25, 1] Operation: 15-14=1
Exploring Operation: 25-14=11, Resulting Numbers: [15, 13, 11]
Generated Node #0,4: 22:[15, 13, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[13, 14, 10], Operations: ['25-15=10']
Exploring Operation: 13+10=23, Resulting Numbers: [14, 23]
Generated Node #0,1,0: 22:[14, 23] Operation: 13+10=23
Exploring Operation: 14+10=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 22:[13, 24] Operation: 14+10=24
Exploring Operation: 14-13=1, Resulting Numbers: [10, 1]
Generated Node #0,1,2: 22:[10, 1] Operation: 14-13=1
Exploring Operation: 13-10=3, Resulting Numbers: [14, 3]
Generated Node #0,1,3: 22:[14, 3] Operation: 13-10=3
Exploring Operation: 14-10=4, Resulting Numbers: [13, 4]
Generated Node #0,1,4: 22:[13, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[10, 1], Operations: ['25-15=10', '14-13=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,22 unequal: No Solution
No 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: 22:[14, 23], Operations: ['25-15=10', '13+10=23']
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,22 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No 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: 22:[13, 24], Operations: ['25-15=10', '14+10=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,22 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No 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: 22:[14, 3], Operations: ['25-15=10', '13-10=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,22 unequal: No Solution
No 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: 22:[13, 4], Operations: ['25-15=10', '14-10=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,22 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: 22:[25, 14, 2], Operations: ['15-13=2']
Exploring Operation: 25+2=27, Resulting Numbers: [14, 27]
Generated Node #0,2,0: 22:[14, 27] Operation: 25+2=27
Exploring Operation: 14/2=7, Resulting Numbers: [25, 7]
Generated Node #0,2,1: 22:[25, 7] Operation: 14/2=7
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 22:[2, 11] Operation: 25-14=11
Exploring Operation: 25-2=23, Resulting Numbers: [14, 23]
Generated Node #0,2,3: 22:[14, 23] Operation: 25-2=23
Exploring Operation: 14-2=12, Resulting Numbers: [25, 12]
Generated Node #0,2,4: 22:[25, 12] Operation: 14-2=12
Moving to Node #0,2,2
Current State: 22:[2, 11], Operations: ['15-13=2', '25-14=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[15, 13, 25, 14], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [25, 14, 2]
Generated Node #0,2: 22:[25, 14, 2] Operation: 15-13=2
Moving to Node #0,2
Current State: 22:[25, 14, 2], Operations: ['15-13=2']
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 22:[2, 11] Operation: 25-14=11
Moving to Node #0,2,2
Current State: 22:[2, 11], Operations: ['15-13=2', '25-14=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 |
hs_5
|
mult_heuristic
|
[
42,
98,
39,
20
] | 77 |
[
"42*39=1638",
"1638-98=1540",
"1540/20=77"
] |
Current State: 77:[42, 98, 39, 20], Operations: []
Exploring Operation: 42*39=1638, Resulting Numbers: [98, 20, 1638]
Generated Node #2: [98, 20, 1638] from Operation: 42*39=1638
Current State: 77:[98, 20, 1638], Operations: ['42*39=1638']
Exploring Operation: 1638-98=1540, Resulting Numbers: [20, 1540]
Generated Node #3: [20, 1540] from Operation: 1638-98=1540
Current State: 77:[20, 1540], Operations: ['42*39=1638', '1638-98=1540']
Exploring Operation: 1540/20=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[42, 98, 39, 20], Operations: []
Exploring Operation: 42+39=81, Resulting Numbers: [98, 20, 81]
Generated Node #0,0: 77:[98, 20, 81] Operation: 42+39=81
Exploring Operation: 98-42=56, Resulting Numbers: [39, 20, 56]
Generated Node #0,1: 77:[39, 20, 56] Operation: 98-42=56
Exploring Operation: 42-39=3, Resulting Numbers: [98, 20, 3]
Generated Node #0,2: 77:[98, 20, 3] Operation: 42-39=3
Exploring Operation: 98-39=59, Resulting Numbers: [42, 20, 59]
Generated Node #0,3: 77:[42, 20, 59] Operation: 98-39=59
Exploring Operation: 42-20=22, Resulting Numbers: [98, 39, 22]
Generated Node #0,4: 77:[98, 39, 22] Operation: 42-20=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[98, 20, 81], Operations: ['42+39=81']
Exploring Operation: 20+81=101, Resulting Numbers: [98, 101]
Generated Node #0,0,0: 77:[98, 101] Operation: 20+81=101
Exploring Operation: 81-20=61, Resulting Numbers: [98, 61]
Generated Node #0,0,1: 77:[98, 61] Operation: 81-20=61
Exploring Operation: 98+20=118, Resulting Numbers: [81, 118]
Generated Node #0,0,2: 77:[81, 118] Operation: 98+20=118
Exploring Operation: 98-20=78, Resulting Numbers: [81, 78]
Generated Node #0,0,3: 77:[81, 78] Operation: 98-20=78
Exploring Operation: 98-81=17, Resulting Numbers: [20, 17]
Generated Node #0,0,4: 77:[20, 17] Operation: 98-81=17
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[81, 78], Operations: ['42+39=81', '98-20=78']
Exploring Operation: 81+78=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 81*78=6318, Resulting Numbers: [6318]
6318,77 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No 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: 77:[20, 17], Operations: ['42+39=81', '98-81=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,77 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No 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: 77:[98, 61], Operations: ['42+39=81', '81-20=61']
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,77 unequal: No Solution
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No 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: 77:[98, 101], Operations: ['42+39=81', '20+81=101']
Exploring Operation: 101-98=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 98+101=199, Resulting Numbers: [199]
199,77 unequal: No Solution
Exploring Operation: 98*101=9898, Resulting Numbers: [9898]
9898,77 unequal: No Solution
No 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: 77:[81, 118], Operations: ['42+39=81', '98+20=118']
Exploring Operation: 81+118=199, Resulting Numbers: [199]
199,77 unequal: No Solution
Exploring Operation: 81*118=9558, Resulting Numbers: [9558]
9558,77 unequal: No Solution
Exploring Operation: 118-81=37, Resulting Numbers: [37]
37,77 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: 77:[98, 20, 3], Operations: ['42-39=3']
Exploring Operation: 98-20=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 77:[3, 78] Operation: 98-20=78
Exploring Operation: 20-3=17, Resulting Numbers: [98, 17]
Generated Node #0,2,1: 77:[98, 17] Operation: 20-3=17
Exploring Operation: 98+3=101, Resulting Numbers: [20, 101]
Generated Node #0,2,2: 77:[20, 101] Operation: 98+3=101
Exploring Operation: 20+3=23, Resulting Numbers: [98, 23]
Generated Node #0,2,3: 77:[98, 23] Operation: 20+3=23
Exploring Operation: 98-3=95, Resulting Numbers: [20, 95]
Generated Node #0,2,4: 77:[20, 95] Operation: 98-3=95
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[3, 78], Operations: ['42-39=3', '98-20=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No 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: 77:[98, 17], Operations: ['42-39=3', '20-3=17']
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 98*17=1666, Resulting Numbers: [1666]
1666,77 unequal: No Solution
No 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: 77:[20, 95], Operations: ['42-39=3', '98-3=95']
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,77 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,77 unequal: No Solution
No 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: 77:[20, 101], Operations: ['42-39=3', '98+3=101']
Exploring Operation: 20+101=121, Resulting Numbers: [121]
121,77 unequal: No Solution
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 20*101=2020, Resulting Numbers: [2020]
2020,77 unequal: No Solution
No 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: 77:[98, 23], Operations: ['42-39=3', '20+3=23']
Exploring Operation: 98*23=2254, Resulting Numbers: [2254]
2254,77 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 98+23=121, Resulting Numbers: [121]
121,77 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: 77:[39, 20, 56], Operations: ['98-42=56']
Exploring Operation: 20+56=76, Resulting Numbers: [39, 76]
Generated Node #0,1,0: 77:[39, 76] Operation: 20+56=76
Exploring Operation: 39+20=59, Resulting Numbers: [56, 59]
Generated Node #0,1,1: 77:[56, 59] Operation: 39+20=59
Exploring Operation: 39+56=95, Resulting Numbers: [20, 95]
Generated Node #0,1,2: 77:[20, 95] Operation: 39+56=95
Exploring Operation: 56-39=17, Resulting Numbers: [20, 17]
Generated Node #0,1,3: 77:[20, 17] Operation: 56-39=17
Exploring Operation: 39-20=19, Resulting Numbers: [56, 19]
Generated Node #0,1,4: 77:[56, 19] Operation: 39-20=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[20, 17], Operations: ['98-42=56', '56-39=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,77 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No 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: 77:[20, 95], Operations: ['98-42=56', '39+56=95']
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,77 unequal: No Solution
No 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: 77:[39, 76], Operations: ['98-42=56', '20+56=76']
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,77 unequal: No Solution
No 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: 77:[56, 19], Operations: ['98-42=56', '39-20=19']
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,77 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,77 unequal: No Solution
No 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: 77:[56, 59], Operations: ['98-42=56', '39+20=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,77 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,77 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: 77:[42, 20, 59], Operations: ['98-39=59']
Exploring Operation: 59-42=17, Resulting Numbers: [20, 17]
Generated Node #0,3,0: 77:[20, 17] Operation: 59-42=17
Exploring Operation: 42-20=22, Resulting Numbers: [59, 22]
Generated Node #0,3,1: 77:[59, 22] Operation: 42-20=22
Exploring Operation: 42+59=101, Resulting Numbers: [20, 101]
Generated Node #0,3,2: 77:[20, 101] Operation: 42+59=101
Exploring Operation: 42+20=62, Resulting Numbers: [59, 62]
Generated Node #0,3,3: 77:[59, 62] Operation: 42+20=62
Exploring Operation: 20+59=79, Resulting Numbers: [42, 79]
Generated Node #0,3,4: 77:[42, 79] Operation: 20+59=79
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[20, 17], Operations: ['98-39=59', '59-42=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,77 unequal: No Solution
No 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: 77:[59, 22], Operations: ['98-39=59', '42-20=22']
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,77 unequal: No Solution
No 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: 77:[20, 101], Operations: ['98-39=59', '42+59=101']
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 20+101=121, Resulting Numbers: [121]
121,77 unequal: No Solution
Exploring Operation: 20*101=2020, Resulting Numbers: [2020]
2020,77 unequal: No Solution
No 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: 77:[59, 62], Operations: ['98-39=59', '42+20=62']
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,77 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,77 unequal: No Solution
No 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: 77:[42, 79], Operations: ['98-39=59', '20+59=79']
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,77 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,77 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,77 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: 77:[98, 39, 22], Operations: ['42-20=22']
Exploring Operation: 39-22=17, Resulting Numbers: [98, 17]
Generated Node #0,4,0: 77:[98, 17] Operation: 39-22=17
Exploring Operation: 98-22=76, Resulting Numbers: [39, 76]
Generated Node #0,4,1: 77:[39, 76] Operation: 98-22=76
Exploring Operation: 98-39=59, Resulting Numbers: [22, 59]
Generated Node #0,4,2: 77:[22, 59] Operation: 98-39=59
Exploring Operation: 98+39=137, Resulting Numbers: [22, 137]
Generated Node #0,4,3: 77:[22, 137] Operation: 98+39=137
Exploring Operation: 39+22=61, Resulting Numbers: [98, 61]
Generated Node #0,4,4: 77:[98, 61] Operation: 39+22=61
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 77:[98, 17], Operations: ['42-20=22', '39-22=17']
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 98*17=1666, Resulting Numbers: [1666]
1666,77 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No 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: 77:[39, 76], Operations: ['42-20=22', '98-22=76']
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,77 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,77 unequal: No Solution
No 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: 77:[22, 59], Operations: ['42-20=22', '98-39=59']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,77 unequal: No Solution
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No 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: 77:[98, 61], Operations: ['42-20=22', '39+22=61']
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,77 unequal: No Solution
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No 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: 77:[22, 137], Operations: ['42-20=22', '98+39=137']
Exploring Operation: 22+137=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 22*137=3014, Resulting Numbers: [3014]
3014,77 unequal: No Solution
Exploring Operation: 137-22=115, Resulting Numbers: [115]
115,77 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
|
[
64,
2,
97,
93
] | 32 |
[
"64*2=128",
"97-93=4",
"128/4=32"
] |
Current State: 32:[64, 2, 97, 93], Operations: []
Exploring Operation: 64*2=128, Resulting Numbers: [97, 93, 128]
Generated Node #2: [97, 93, 128] from Operation: 64*2=128
Current State: 32:[97, 93, 128], Operations: ['64*2=128']
Exploring Operation: 97-93=4, Resulting Numbers: [128, 4]
Generated Node #3: [128, 4] from Operation: 97-93=4
Current State: 32:[128, 4], Operations: ['64*2=128', '97-93=4']
Exploring Operation: 128/4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[64, 2, 97, 93], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [2, 93, 33]
Generated Node #0,0: 32:[2, 93, 33] Operation: 97-64=33
Exploring Operation: 97-93=4, Resulting Numbers: [64, 2, 4]
Generated Node #0,1: 32:[64, 2, 4] Operation: 97-93=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[64, 2, 4], Operations: ['97-93=4']
Exploring Operation: 64/4=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 32:[2, 16] Operation: 64/4=16
Exploring Operation: 64/2=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 32:[4, 32] Operation: 64/2=32
Moving to Node #0,1,0
Current State: 32:[2, 16], Operations: ['97-93=4', '64/4=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[64, 2, 97, 93], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [64, 2, 4]
Generated Node #0,1: 32:[64, 2, 4] Operation: 97-93=4
Moving to Node #0,1
Current State: 32:[64, 2, 4], Operations: ['97-93=4']
Exploring Operation: 64/4=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 32:[2, 16] Operation: 64/4=16
Moving to Node #0,1,0
Current State: 32:[2, 16], Operations: ['97-93=4', '64/4=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
26,
65,
2,
98
] | 40 |
[
"98-65=33",
"2*33=66",
"66-26=40"
] |
Current State: 40:[26, 65, 2, 98], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [26, 2, 33]
Generated Node #2: [26, 2, 33] from Operation: 98-65=33
Current State: 40:[26, 2, 33], Operations: ['98-65=33']
Exploring Operation: 2*33=66, Resulting Numbers: [26, 66]
Generated Node #3: [26, 66] from Operation: 2*33=66
Current State: 40:[26, 66], Operations: ['98-65=33', '2*33=66']
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[26, 65, 2, 98], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [26, 2, 33]
Generated Node #0,0: 40:[26, 2, 33] Operation: 98-65=33
Exploring Operation: 98-26=72, Resulting Numbers: [65, 2, 72]
Generated Node #0,1: 40:[65, 2, 72] Operation: 98-26=72
Exploring Operation: 98/2=49, Resulting Numbers: [26, 65, 49]
Generated Node #0,2: 40:[26, 65, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[26, 2, 33], Operations: ['98-65=33']
Exploring Operation: 33-26=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 40:[2, 7] Operation: 33-26=7
Exploring Operation: 26-2=24, Resulting Numbers: [33, 24]
Generated Node #0,0,1: 40:[33, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [33, 13]
Generated Node #0,0,2: 40:[33, 13] Operation: 26/2=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[2, 7], Operations: ['98-65=33', '33-26=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[33, 13], Operations: ['98-65=33', '26/2=13']
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,40 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[33, 24], Operations: ['98-65=33', '26-2=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,40 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: 40:[26, 65, 49], Operations: ['98/2=49']
Exploring Operation: 65-26=39, Resulting Numbers: [49, 39]
Generated Node #0,2,0: 40:[49, 39] Operation: 65-26=39
Exploring Operation: 49-26=23, Resulting Numbers: [65, 23]
Generated Node #0,2,1: 40:[65, 23] Operation: 49-26=23
Exploring Operation: 65-49=16, Resulting Numbers: [26, 16]
Generated Node #0,2,2: 40:[26, 16] Operation: 65-49=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[49, 39], Operations: ['98/2=49', '65-26=39']
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,40 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[26, 16], Operations: ['98/2=49', '65-49=16']
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,40 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[65, 23], Operations: ['98/2=49', '49-26=23']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,40 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: 40:[65, 2, 72], Operations: ['98-26=72']
Exploring Operation: 72-65=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 40:[2, 7] Operation: 72-65=7
Exploring Operation: 65-2=63, Resulting Numbers: [72, 63]
Generated Node #0,1,1: 40:[72, 63] Operation: 65-2=63
Exploring Operation: 72/2=36, Resulting Numbers: [65, 36]
Generated Node #0,1,2: 40:[65, 36] Operation: 72/2=36
Moving to Node #0,1,0
Current State: 40:[2, 7], Operations: ['98-26=72', '72-65=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[65, 36], Operations: ['98-26=72', '72/2=36']
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,40 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,40 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[72, 63], Operations: ['98-26=72', '65-2=63']
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,40 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,40 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
3,
52,
45,
21
] | 56 |
[
"3*21=63",
"52-45=7",
"63-7=56"
] |
Current State: 56:[3, 52, 45, 21], Operations: []
Exploring Operation: 3*21=63, Resulting Numbers: [52, 45, 63]
Generated Node #2: [52, 45, 63] from Operation: 3*21=63
Current State: 56:[52, 45, 63], Operations: ['3*21=63']
Exploring Operation: 52-45=7, Resulting Numbers: [63, 7]
Generated Node #3: [63, 7] from Operation: 52-45=7
Current State: 56:[63, 7], Operations: ['3*21=63', '52-45=7']
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[3, 52, 45, 21], Operations: []
Exploring Operation: 45-21=24, Resulting Numbers: [3, 52, 24]
Generated Node #0,0: 56:[3, 52, 24] Operation: 45-21=24
Exploring Operation: 52-45=7, Resulting Numbers: [3, 21, 7]
Generated Node #0,1: 56:[3, 21, 7] Operation: 52-45=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[3, 21, 7], Operations: ['52-45=7']
Exploring Operation: 21/3=7, Resulting Numbers: [7, 7]
Generated Node #0,1,0: 56:[7, 7] Operation: 21/3=7
Exploring Operation: 21+7=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 56:[3, 28] Operation: 21+7=28
Moving to Node #0,1,0
Current State: 56:[7, 7], Operations: ['52-45=7', '21/3=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[3, 28], Operations: ['52-45=7', '21+7=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,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,0
Current State: 56:[3, 52, 24], Operations: ['45-21=24']
Exploring Operation: 52-24=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 56:[3, 28] Operation: 52-24=28
Exploring Operation: 24/3=8, Resulting Numbers: [52, 8]
Generated Node #0,0,1: 56:[52, 8] Operation: 24/3=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[3, 28], Operations: ['45-21=24', '52-24=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,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,0,1
Current State: 56:[52, 8], Operations: ['45-21=24', '24/3=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,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
|
[
16,
40,
4,
23
] | 33 |
[
"16/4=4",
"40/4=10",
"23+10=33"
] |
Current State: 33:[16, 40, 4, 23], Operations: []
Exploring Operation: 16/4=4, Resulting Numbers: [40, 23, 4]
Generated Node #2: [40, 23, 4] from Operation: 16/4=4
Current State: 33:[40, 23, 4], Operations: ['16/4=4']
Exploring Operation: 40/4=10, Resulting Numbers: [23, 10]
Generated Node #3: [23, 10] from Operation: 40/4=10
Current State: 33:[23, 10], Operations: ['16/4=4', '40/4=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[16, 40, 4, 23], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [40, 4, 7]
Generated Node #0,0: 33:[40, 4, 7] Operation: 23-16=7
Moving to Node #0,0
Current State: 33:[40, 4, 7], Operations: ['23-16=7']
Exploring Operation: 40-7=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 33:[4, 33] Operation: 40-7=33
Moving to Node #0,0,0
Current State: 33:[4, 33], Operations: ['23-16=7', '40-7=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,33 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
2,
37,
2,
88
] | 59 |
[
"2+2=4",
"88/4=22",
"37+22=59"
] |
Current State: 59:[2, 37, 2, 88], Operations: []
Exploring Operation: 2+2=4, Resulting Numbers: [37, 88, 4]
Generated Node #2: [37, 88, 4] from Operation: 2+2=4
Current State: 59:[37, 88, 4], Operations: ['2+2=4']
Exploring Operation: 88/4=22, Resulting Numbers: [37, 22]
Generated Node #3: [37, 22] from Operation: 88/4=22
Current State: 59:[37, 22], Operations: ['2+2=4', '88/4=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[2, 37, 2, 88], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [2, 88, 74]
Generated Node #0,0: 59:[2, 88, 74] Operation: 2*37=74
Exploring Operation: 37*2=74, Resulting Numbers: [2, 88, 74]
Generated Node #0,1: 59:[2, 88, 74] Operation: 37*2=74
Exploring Operation: 88/2=44, Resulting Numbers: [2, 37, 44]
Generated Node #0,2: 59:[2, 37, 44] Operation: 88/2=44
Exploring Operation: 88/2=44, Resulting Numbers: [37, 2, 44]
Generated Node #0,3: 59:[37, 2, 44] Operation: 88/2=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[2, 37, 44], Operations: ['88/2=44']
Exploring Operation: 2*37=74, Resulting Numbers: [44, 74]
Generated Node #0,2,0: 59:[44, 74] Operation: 2*37=74
Exploring Operation: 2+44=46, Resulting Numbers: [37, 46]
Generated Node #0,2,1: 59:[37, 46] Operation: 2+44=46
Exploring Operation: 2+37=39, Resulting Numbers: [44, 39]
Generated Node #0,2,2: 59:[44, 39] Operation: 2+37=39
Exploring Operation: 37-2=35, Resulting Numbers: [44, 35]
Generated Node #0,2,3: 59:[44, 35] Operation: 37-2=35
Moving to Node #0,2,0
Current State: 59:[44, 74], Operations: ['88/2=44', '2*37=74']
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,59 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[44, 39], Operations: ['88/2=44', '2+37=39']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[37, 46], Operations: ['88/2=44', '2+44=46']
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,59 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[44, 35], Operations: ['88/2=44', '37-2=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,59 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,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,3
Current State: 59:[37, 2, 44], Operations: ['88/2=44']
Exploring Operation: 37-2=35, Resulting Numbers: [44, 35]
Generated Node #0,3,0: 59:[44, 35] Operation: 37-2=35
Exploring Operation: 2+44=46, Resulting Numbers: [37, 46]
Generated Node #0,3,1: 59:[37, 46] Operation: 2+44=46
Exploring Operation: 37+2=39, Resulting Numbers: [44, 39]
Generated Node #0,3,2: 59:[44, 39] Operation: 37+2=39
Exploring Operation: 37*2=74, Resulting Numbers: [44, 74]
Generated Node #0,3,3: 59:[44, 74] Operation: 37*2=74
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[44, 74], Operations: ['88/2=44', '37*2=74']
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,59 unequal: No Solution
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[37, 46], Operations: ['88/2=44', '2+44=46']
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,59 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[44, 39], Operations: ['88/2=44', '37+2=39']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[44, 35], Operations: ['88/2=44', '37-2=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,59 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[2, 88, 74], Operations: ['2*37=74']
Exploring Operation: 88/2=44, Resulting Numbers: [74, 44]
Generated Node #0,0,0: 59:[74, 44] Operation: 88/2=44
Exploring Operation: 2+88=90, Resulting Numbers: [74, 90]
Generated Node #0,0,1: 59:[74, 90] Operation: 2+88=90
Exploring Operation: 74-2=72, Resulting Numbers: [88, 72]
Generated Node #0,0,2: 59:[88, 72] Operation: 74-2=72
Exploring Operation: 88-2=86, Resulting Numbers: [74, 86]
Generated Node #0,0,3: 59:[74, 86] Operation: 88-2=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[74, 44], Operations: ['2*37=74', '88/2=44']
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,59 unequal: No Solution
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[88, 72], Operations: ['2*37=74', '74-2=72']
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,59 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,59 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[74, 86], Operations: ['2*37=74', '88-2=86']
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,59 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[74, 90], Operations: ['2*37=74', '2+88=90']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,59 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[2, 88, 74], Operations: ['37*2=74']
Exploring Operation: 74-2=72, Resulting Numbers: [88, 72]
Generated Node #0,1,0: 59:[88, 72] Operation: 74-2=72
Exploring Operation: 88/2=44, Resulting Numbers: [74, 44]
Generated Node #0,1,1: 59:[74, 44] Operation: 88/2=44
Exploring Operation: 2+88=90, Resulting Numbers: [74, 90]
Generated Node #0,1,2: 59:[74, 90] Operation: 2+88=90
Exploring Operation: 88-2=86, Resulting Numbers: [74, 86]
Generated Node #0,1,3: 59:[74, 86] Operation: 88-2=86
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[74, 44], Operations: ['37*2=74', '88/2=44']
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[88, 72], Operations: ['37*2=74', '74-2=72']
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,59 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,59 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[74, 86], Operations: ['37*2=74', '88-2=86']
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,59 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[74, 90], Operations: ['37*2=74', '2+88=90']
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,59 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
70,
24,
38,
35
] | 26 |
[
"70/35=2",
"24/2=12",
"38-12=26"
] |
Current State: 26:[70, 24, 38, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [24, 38, 2]
Generated Node #2: [24, 38, 2] from Operation: 70/35=2
Current State: 26:[24, 38, 2], Operations: ['70/35=2']
Exploring Operation: 24/2=12, Resulting Numbers: [38, 12]
Generated Node #3: [38, 12] from Operation: 24/2=12
Current State: 26:[38, 12], Operations: ['70/35=2', '24/2=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[70, 24, 38, 35], Operations: []
Exploring Operation: 70-38=32, Resulting Numbers: [24, 35, 32]
Generated Node #0,0: 26:[24, 35, 32] Operation: 70-38=32
Exploring Operation: 70/35=2, Resulting Numbers: [24, 38, 2]
Generated Node #0,1: 26:[24, 38, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 26:[24, 38, 2], Operations: ['70/35=2']
Exploring Operation: 38/2=19, Resulting Numbers: [24, 19]
Generated Node #0,1,0: 26:[24, 19] Operation: 38/2=19
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 26:[2, 14] Operation: 38-24=14
Moving to Node #0,0
Current State: 26:[24, 35, 32], Operations: ['70-38=32']
Exploring Operation: 35-24=11, Resulting Numbers: [32, 11]
Generated Node #0,0,0: 26:[32, 11] Operation: 35-24=11
Exploring Operation: 35-32=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 26:[24, 3] Operation: 35-32=3
Moving to Node #0,1,1
Current State: 26:[2, 14], Operations: ['70/35=2', '38-24=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[24, 3], Operations: ['70-38=32', '35-32=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[24, 19], Operations: ['70/35=2', '38/2=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[32, 11], Operations: ['70-38=32', '35-24=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,26 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
76,
10,
21,
3
] | 85 |
[
"76-21=55",
"10*3=30",
"55+30=85"
] |
Current State: 85:[76, 10, 21, 3], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [10, 3, 55]
Generated Node #2: [10, 3, 55] from Operation: 76-21=55
Current State: 85:[10, 3, 55], Operations: ['76-21=55']
Exploring Operation: 10*3=30, Resulting Numbers: [55, 30]
Generated Node #3: [55, 30] from Operation: 10*3=30
Current State: 85:[55, 30], Operations: ['76-21=55', '10*3=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[76, 10, 21, 3], Operations: []
Exploring Operation: 76+10=86, Resulting Numbers: [21, 3, 86]
Generated Node #0,0: 85:[21, 3, 86] Operation: 76+10=86
Moving to Node #0,0
Current State: 85:[21, 3, 86], Operations: ['76+10=86']
Exploring Operation: 21-3=18, Resulting Numbers: [86, 18]
Generated Node #0,0,0: 85:[86, 18] Operation: 21-3=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[86, 18], Operations: ['76+10=86', '21-3=18']
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
77,
46,
47,
4
] | 80 |
[
"77+46=123",
"47-4=43",
"123-43=80"
] |
Current State: 80:[77, 46, 47, 4], Operations: []
Exploring Operation: 77+46=123, Resulting Numbers: [47, 4, 123]
Generated Node #2: [47, 4, 123] from Operation: 77+46=123
Current State: 80:[47, 4, 123], Operations: ['77+46=123']
Exploring Operation: 47-4=43, Resulting Numbers: [123, 43]
Generated Node #3: [123, 43] from Operation: 47-4=43
Current State: 80:[123, 43], Operations: ['77+46=123', '47-4=43']
Exploring Operation: 123-43=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[77, 46, 47, 4], Operations: []
Exploring Operation: 46-4=42, Resulting Numbers: [77, 47, 42]
Generated Node #0,0: 80:[77, 47, 42] Operation: 46-4=42
Exploring Operation: 47-46=1, Resulting Numbers: [77, 4, 1]
Generated Node #0,1: 80:[77, 4, 1] Operation: 47-46=1
Exploring Operation: 77+4=81, Resulting Numbers: [46, 47, 81]
Generated Node #0,2: 80:[46, 47, 81] Operation: 77+4=81
Exploring Operation: 47-4=43, Resulting Numbers: [77, 46, 43]
Generated Node #0,3: 80:[77, 46, 43] Operation: 47-4=43
Moving to Node #0,1
Current State: 80:[77, 4, 1], Operations: ['47-46=1']
Exploring Operation: 77/1=77, Resulting Numbers: [4, 77]
Generated Node #0,1,0: 80:[4, 77] Operation: 77/1=77
Exploring Operation: 77*1=77, Resulting Numbers: [4, 77]
Generated Node #0,1,1: 80:[4, 77] Operation: 77*1=77
Exploring Operation: 77+4=81, Resulting Numbers: [1, 81]
Generated Node #0,1,2: 80:[1, 81] Operation: 77+4=81
Exploring Operation: 77+1=78, Resulting Numbers: [4, 78]
Generated Node #0,1,3: 80:[4, 78] Operation: 77+1=78
Moving to Node #0,3
Current State: 80:[77, 46, 43], Operations: ['47-4=43']
Exploring Operation: 77-43=34, Resulting Numbers: [46, 34]
Generated Node #0,3,0: 80:[46, 34] Operation: 77-43=34
Exploring Operation: 46-43=3, Resulting Numbers: [77, 3]
Generated Node #0,3,1: 80:[77, 3] Operation: 46-43=3
Exploring Operation: 77-46=31, Resulting Numbers: [43, 31]
Generated Node #0,3,2: 80:[43, 31] Operation: 77-46=31
Exploring Operation: 46+43=89, Resulting Numbers: [77, 89]
Generated Node #0,3,3: 80:[77, 89] Operation: 46+43=89
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[77, 3], Operations: ['47-4=43', '46-43=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[77, 46, 47, 4], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [77, 46, 43]
Generated Node #0,3: 80:[77, 46, 43] Operation: 47-4=43
Moving to Node #0,3
Current State: 80:[77, 46, 43], Operations: ['47-4=43']
Exploring Operation: 46-43=3, Resulting Numbers: [77, 3]
Generated Node #0,3,1: 80:[77, 3] Operation: 46-43=3
Moving to Node #0,3,1
Current State: 80:[77, 3], Operations: ['47-4=43', '46-43=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_4
|
sum_heuristic
|
[
44,
34,
8,
4
] | 40 |
[
"44-34=10",
"8-4=4",
"10*4=40"
] |
Current State: 40:[44, 34, 8, 4], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [8, 4, 10]
Generated Node #2: [8, 4, 10] from Operation: 44-34=10
Current State: 40:[8, 4, 10], Operations: ['44-34=10']
Exploring Operation: 8-4=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 8-4=4
Current State: 40:[10, 4], Operations: ['44-34=10', '8-4=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[44, 34, 8, 4], Operations: []
Exploring Operation: 44-4=40, Resulting Numbers: [34, 8, 40]
Generated Node #0,0: 40:[34, 8, 40] Operation: 44-4=40
Exploring Operation: 44-34=10, Resulting Numbers: [8, 4, 10]
Generated Node #0,1: 40:[8, 4, 10] Operation: 44-34=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[8, 4, 10], Operations: ['44-34=10']
Exploring Operation: 8-4=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 40:[10, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [10, 2]
Generated Node #0,1,1: 40:[10, 2] Operation: 8/4=2
Moving to Node #0,1,0
Current State: 40:[10, 4], Operations: ['44-34=10', '8-4=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[44, 34, 8, 4], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [8, 4, 10]
Generated Node #0,1: 40:[8, 4, 10] Operation: 44-34=10
Moving to Node #0,1
Current State: 40:[8, 4, 10], Operations: ['44-34=10']
Exploring Operation: 8-4=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 40:[10, 4] Operation: 8-4=4
Moving to Node #0,1,0
Current State: 40:[10, 4], Operations: ['44-34=10', '8-4=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
2,
9,
47,
94
] | 76 |
[
"9+47=56",
"94-56=38",
"2*38=76"
] |
Current State: 76:[2, 9, 47, 94], Operations: []
Exploring Operation: 9+47=56, Resulting Numbers: [2, 94, 56]
Generated Node #2: [2, 94, 56] from Operation: 9+47=56
Current State: 76:[2, 94, 56], Operations: ['9+47=56']
Exploring Operation: 94-56=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 94-56=38
Current State: 76:[2, 38], Operations: ['9+47=56', '94-56=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[2, 9, 47, 94], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [2, 9, 47]
Generated Node #0,0: 76:[2, 9, 47] Operation: 94-47=47
Exploring Operation: 94/47=2, Resulting Numbers: [2, 9, 2]
Generated Node #0,1: 76:[2, 9, 2] Operation: 94/47=2
Moving to Node #0,1
Current State: 76:[2, 9, 2], Operations: ['94/47=2']
Exploring Operation: 2*9=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 76:[2, 18] Operation: 2*9=18
Exploring Operation: 9*2=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 76:[2, 18] Operation: 9*2=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[2, 18], Operations: ['94/47=2', '2*9=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[2, 18], Operations: ['94/47=2', '9*2=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,76 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: 76:[2, 9, 47], Operations: ['94-47=47']
Exploring Operation: 47-9=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 76:[2, 38] Operation: 47-9=38
Exploring Operation: 2*9=18, Resulting Numbers: [47, 18]
Generated Node #0,0,1: 76:[47, 18] Operation: 2*9=18
Moving to Node #0,0,0
Current State: 76:[2, 38], Operations: ['94-47=47', '47-9=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[2, 9, 47, 94], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [2, 9, 47]
Generated Node #0,0: 76:[2, 9, 47] Operation: 94-47=47
Moving to Node #0,0
Current State: 76:[2, 9, 47], Operations: ['94-47=47']
Exploring Operation: 47-9=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 76:[2, 38] Operation: 47-9=38
Moving to Node #0,0,0
Current State: 76:[2, 38], Operations: ['94-47=47', '47-9=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.986979 |
hs_2
|
mult_heuristic
|
[
99,
39,
95,
71
] | 85 |
[
"99-95=4",
"39*4=156",
"156-71=85"
] |
Current State: 85:[99, 39, 95, 71], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [39, 71, 4]
Generated Node #2: [39, 71, 4] from Operation: 99-95=4
Current State: 85:[39, 71, 4], Operations: ['99-95=4']
Exploring Operation: 39*4=156, Resulting Numbers: [71, 156]
Generated Node #3: [71, 156] from Operation: 39*4=156
Current State: 85:[71, 156], Operations: ['99-95=4', '39*4=156']
Exploring Operation: 156-71=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[99, 39, 95, 71], Operations: []
Exploring Operation: 71-39=32, Resulting Numbers: [99, 95, 32]
Generated Node #0,0: 85:[99, 95, 32] Operation: 71-39=32
Exploring Operation: 99-95=4, Resulting Numbers: [39, 71, 4]
Generated Node #0,1: 85:[39, 71, 4] Operation: 99-95=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[39, 71, 4], Operations: ['99-95=4']
Exploring Operation: 39+71=110, Resulting Numbers: [4, 110]
Generated Node #0,1,0: 85:[4, 110] Operation: 39+71=110
Exploring Operation: 71-39=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 85:[4, 32] Operation: 71-39=32
Moving to Node #0,1,1
Current State: 85:[4, 32], Operations: ['99-95=4', '71-39=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[4, 110], Operations: ['99-95=4', '39+71=110']
Exploring Operation: 110-4=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 4+110=114, Resulting Numbers: [114]
114,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[99, 95, 32], Operations: ['71-39=32']
Exploring Operation: 99-95=4, Resulting Numbers: [32, 4]
Generated Node #0,0,0: 85:[32, 4] Operation: 99-95=4
Exploring Operation: 99-32=67, Resulting Numbers: [95, 67]
Generated Node #0,0,1: 85:[95, 67] Operation: 99-32=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[32, 4], Operations: ['71-39=32', '99-95=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[95, 67], Operations: ['71-39=32', '99-32=67']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
59,
38,
67,
48
] | 44 |
[
"67-59=8",
"48/8=6",
"38+6=44"
] |
Current State: 44:[59, 38, 67, 48], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [38, 48, 8]
Generated Node #2: [38, 48, 8] from Operation: 67-59=8
Current State: 44:[38, 48, 8], Operations: ['67-59=8']
Exploring Operation: 48/8=6, Resulting Numbers: [38, 6]
Generated Node #3: [38, 6] from Operation: 48/8=6
Current State: 44:[38, 6], Operations: ['67-59=8', '48/8=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[59, 38, 67, 48], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [59, 38, 19]
Generated Node #0,0: 44:[59, 38, 19] Operation: 67-48=19
Exploring Operation: 67-38=29, Resulting Numbers: [59, 48, 29]
Generated Node #0,1: 44:[59, 48, 29] Operation: 67-38=29
Exploring Operation: 67-59=8, Resulting Numbers: [38, 48, 8]
Generated Node #0,2: 44:[38, 48, 8] Operation: 67-59=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[38, 48, 8], Operations: ['67-59=8']
Exploring Operation: 48-38=10, Resulting Numbers: [8, 10]
Generated Node #0,2,0: 44:[8, 10] Operation: 48-38=10
Exploring Operation: 38+8=46, Resulting Numbers: [48, 46]
Generated Node #0,2,1: 44:[48, 46] Operation: 38+8=46
Exploring Operation: 48/8=6, Resulting Numbers: [38, 6]
Generated Node #0,2,2: 44:[38, 6] Operation: 48/8=6
Moving to Node #0,2,0
Current State: 44:[8, 10], Operations: ['67-59=8', '48-38=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[48, 46], Operations: ['67-59=8', '38+8=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,44 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[38, 6], Operations: ['67-59=8', '48/8=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,44 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[59, 38, 67, 48], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [38, 48, 8]
Generated Node #0,2: 44:[38, 48, 8] Operation: 67-59=8
Moving to Node #0,2
Current State: 44:[38, 48, 8], Operations: ['67-59=8']
Exploring Operation: 48/8=6, Resulting Numbers: [38, 6]
Generated Node #0,2,2: 44:[38, 6] Operation: 48/8=6
Moving to Node #0,2,2
Current State: 44:[38, 6], Operations: ['67-59=8', '48/8=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
mult_heuristic
|
[
16,
17,
50,
43
] | 40 |
[
"16+17=33",
"50-43=7",
"33+7=40"
] |
Current State: 40:[16, 17, 50, 43], Operations: []
Exploring Operation: 16+17=33, Resulting Numbers: [50, 43, 33]
Generated Node #2: [50, 43, 33] from Operation: 16+17=33
Current State: 40:[50, 43, 33], Operations: ['16+17=33']
Exploring Operation: 50-43=7, Resulting Numbers: [33, 7]
Generated Node #3: [33, 7] from Operation: 50-43=7
Current State: 40:[33, 7], Operations: ['16+17=33', '50-43=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[16, 17, 50, 43], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [16, 17, 7]
Generated Node #0,0: 40:[16, 17, 7] Operation: 50-43=7
Exploring Operation: 17-16=1, Resulting Numbers: [50, 43, 1]
Generated Node #0,1: 40:[50, 43, 1] Operation: 17-16=1
Exploring Operation: 50-17=33, Resulting Numbers: [16, 43, 33]
Generated Node #0,2: 40:[16, 43, 33] Operation: 50-17=33
Exploring Operation: 50-16=34, Resulting Numbers: [17, 43, 34]
Generated Node #0,3: 40:[17, 43, 34] Operation: 50-16=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[16, 17, 7], Operations: ['50-43=7']
Exploring Operation: 17-16=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 40:[7, 1] Operation: 17-16=1
Exploring Operation: 16+7=23, Resulting Numbers: [17, 23]
Generated Node #0,0,1: 40:[17, 23] Operation: 16+7=23
Exploring Operation: 16-7=9, Resulting Numbers: [17, 9]
Generated Node #0,0,2: 40:[17, 9] Operation: 16-7=9
Exploring Operation: 17-7=10, Resulting Numbers: [16, 10]
Generated Node #0,0,3: 40:[16, 10] Operation: 17-7=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[7, 1], Operations: ['50-43=7', '17-16=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[17, 9], Operations: ['50-43=7', '16-7=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[16, 10], Operations: ['50-43=7', '17-7=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,40 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[17, 23], Operations: ['50-43=7', '16+7=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[16, 17, 50, 43], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [16, 17, 7]
Generated Node #0,0: 40:[16, 17, 7] Operation: 50-43=7
Moving to Node #0,0
Current State: 40:[16, 17, 7], Operations: ['50-43=7']
Exploring Operation: 16+7=23, Resulting Numbers: [17, 23]
Generated Node #0,0,1: 40:[17, 23] Operation: 16+7=23
Moving to Node #0,0,1
Current State: 40:[17, 23], Operations: ['50-43=7', '16+7=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 |
hs_4
|
sum_heuristic
|
[
77,
13,
15,
90
] | 96 |
[
"77+13=90",
"90/15=6",
"90+6=96"
] |
Current State: 96:[77, 13, 15, 90], Operations: []
Exploring Operation: 77+13=90, Resulting Numbers: [15, 90, 90]
Generated Node #2: [15, 90, 90] from Operation: 77+13=90
Current State: 96:[15, 90, 90], Operations: ['77+13=90']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,96 equal: Goal Reached
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[77, 13, 15, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [77, 13, 6]
Generated Node #0,0: 96:[77, 13, 6] Operation: 90/15=6
Exploring Operation: 77+15=92, Resulting Numbers: [13, 90, 92]
Generated Node #0,1: 96:[13, 90, 92] Operation: 77+15=92
Exploring Operation: 77+13=90, Resulting Numbers: [15, 90, 90]
Generated Node #0,2: 96:[15, 90, 90] Operation: 77+13=90
Exploring Operation: 90-77=13, Resulting Numbers: [13, 15, 13]
Generated Node #0,3: 96:[13, 15, 13] Operation: 90-77=13
Moving to Node #0,3
Current State: 96:[13, 15, 13], Operations: ['90-77=13']
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,3,0: 96:[13, 2] Operation: 15-13=2
Exploring Operation: 13+13=26, Resulting Numbers: [15, 26]
Generated Node #0,3,1: 96:[15, 26] Operation: 13+13=26
Exploring Operation: 13/13=1, Resulting Numbers: [15, 1]
Generated Node #0,3,2: 96:[15, 1] Operation: 13/13=1
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,3,3: 96:[13, 2] Operation: 15-13=2
Moving to Node #0,1
Current State: 96:[13, 90, 92], Operations: ['77+15=92']
Exploring Operation: 13+92=105, Resulting Numbers: [90, 105]
Generated Node #0,1,0: 96:[90, 105] Operation: 13+92=105
Exploring Operation: 92-90=2, Resulting Numbers: [13, 2]
Generated Node #0,1,1: 96:[13, 2] Operation: 92-90=2
Exploring Operation: 13+90=103, Resulting Numbers: [92, 103]
Generated Node #0,1,2: 96:[92, 103] Operation: 13+90=103
Exploring Operation: 90-13=77, Resulting Numbers: [92, 77]
Generated Node #0,1,3: 96:[92, 77] Operation: 90-13=77
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[13, 2], Operations: ['77+15=92', '92-90=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[92, 103], Operations: ['77+15=92', '13+90=103']
Exploring Operation: 103-92=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 92*103=9476, Resulting Numbers: [9476]
9476,96 unequal: No Solution
Exploring Operation: 92+103=195, Resulting Numbers: [195]
195,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[90, 105], Operations: ['77+15=92', '13+92=105']
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,96 unequal: No Solution
Exploring Operation: 90*105=9450, Resulting Numbers: [9450]
9450,96 unequal: No Solution
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[92, 77], Operations: ['77+15=92', '90-13=77']
Exploring Operation: 92+77=169, Resulting Numbers: [169]
169,96 unequal: No Solution
Exploring Operation: 92*77=7084, Resulting Numbers: [7084]
7084,96 unequal: No Solution
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 96:[15, 90, 90], Operations: ['77+13=90']
Exploring Operation: 90/15=6, Resulting Numbers: [90, 6]
Generated Node #0,2,0: 96:[90, 6] Operation: 90/15=6
Exploring Operation: 90-90=0, Resulting Numbers: [15, 0]
Generated Node #0,2,1: 96:[15, 0] Operation: 90-90=0
Exploring Operation: 90/15=6, Resulting Numbers: [90, 6]
Generated Node #0,2,2: 96:[90, 6] Operation: 90/15=6
Exploring Operation: 90/90=1, Resulting Numbers: [15, 1]
Generated Node #0,2,3: 96:[15, 1] Operation: 90/90=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[15, 1], Operations: ['77+13=90', '90/90=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[15, 0], Operations: ['77+13=90', '90-90=0']
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[90, 6], Operations: ['77+13=90', '90/15=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,96 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[77, 13, 15, 90], Operations: []
Exploring Operation: 77+13=90, Resulting Numbers: [15, 90, 90]
Generated Node #0,2: 96:[15, 90, 90] Operation: 77+13=90
Moving to Node #0,2
Current State: 96:[15, 90, 90], Operations: ['77+13=90']
Exploring Operation: 90/15=6, Resulting Numbers: [90, 6]
Generated Node #0,2,0: 96:[90, 6] Operation: 90/15=6
Moving to Node #0,2,0
Current State: 96:[90, 6], Operations: ['77+13=90', '90/15=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 |
hs_4
|
sum_heuristic
|
[
88,
5,
98,
79
] | 81 |
[
"98-88=10",
"10/5=2",
"79+2=81"
] |
Current State: 81:[88, 5, 98, 79], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [5, 79, 10]
Generated Node #2: [5, 79, 10] from Operation: 98-88=10
Current State: 81:[5, 79, 10], Operations: ['98-88=10']
Exploring Operation: 10/5=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 10/5=2
Current State: 81:[79, 2], Operations: ['98-88=10', '10/5=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[88, 5, 98, 79], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [5, 98, 9]
Generated Node #0,0: 81:[5, 98, 9] Operation: 88-79=9
Exploring Operation: 98-88=10, Resulting Numbers: [5, 79, 10]
Generated Node #0,1: 81:[5, 79, 10] Operation: 98-88=10
Exploring Operation: 98-79=19, Resulting Numbers: [88, 5, 19]
Generated Node #0,2: 81:[88, 5, 19] Operation: 98-79=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[5, 79, 10], Operations: ['98-88=10']
Exploring Operation: 10/5=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 81:[79, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [79, 5]
Generated Node #0,1,1: 81:[79, 5] Operation: 10-5=5
Exploring Operation: 5+79=84, Resulting Numbers: [10, 84]
Generated Node #0,1,2: 81:[10, 84] Operation: 5+79=84
Moving to Node #0,1,0
Current State: 81:[79, 2], Operations: ['98-88=10', '10/5=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[88, 5, 98, 79], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [5, 79, 10]
Generated Node #0,1: 81:[5, 79, 10] Operation: 98-88=10
Moving to Node #0,1
Current State: 81:[5, 79, 10], Operations: ['98-88=10']
Exploring Operation: 10/5=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 81:[79, 2] Operation: 10/5=2
Moving to Node #0,1,0
Current State: 81:[79, 2], Operations: ['98-88=10', '10/5=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
17,
61,
2,
12
] | 68 |
[
"17+61=78",
"12-2=10",
"78-10=68"
] |
Current State: 68:[17, 61, 2, 12], Operations: []
Exploring Operation: 17+61=78, Resulting Numbers: [2, 12, 78]
Generated Node #2: [2, 12, 78] from Operation: 17+61=78
Current State: 68:[2, 12, 78], Operations: ['17+61=78']
Exploring Operation: 12-2=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 12-2=10
Current State: 68:[78, 10], Operations: ['17+61=78', '12-2=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[17, 61, 2, 12], Operations: []
Exploring Operation: 61+12=73, Resulting Numbers: [17, 2, 73]
Generated Node #0,0: 68:[17, 2, 73] Operation: 61+12=73
Moving to Node #0,0
Current State: 68:[17, 2, 73], Operations: ['61+12=73']
Exploring Operation: 73-2=71, Resulting Numbers: [17, 71]
Generated Node #0,0,0: 68:[17, 71] Operation: 73-2=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[17, 71], Operations: ['61+12=73', '73-2=71']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
70,
24,
33,
6
] | 77 |
[
"70*33=2310",
"24+6=30",
"2310/30=77"
] |
Current State: 77:[70, 24, 33, 6], Operations: []
Exploring Operation: 70*33=2310, Resulting Numbers: [24, 6, 2310]
Generated Node #2: [24, 6, 2310] from Operation: 70*33=2310
Current State: 77:[24, 6, 2310], Operations: ['70*33=2310']
Exploring Operation: 24+6=30, Resulting Numbers: [2310, 30]
Generated Node #3: [2310, 30] from Operation: 24+6=30
Current State: 77:[2310, 30], Operations: ['70*33=2310', '24+6=30']
Exploring Operation: 2310/30=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[70, 24, 33, 6], Operations: []
Exploring Operation: 70+6=76, Resulting Numbers: [24, 33, 76]
Generated Node #0,0: 77:[24, 33, 76] Operation: 70+6=76
Exploring Operation: 24+33=57, Resulting Numbers: [70, 6, 57]
Generated Node #0,1: 77:[70, 6, 57] Operation: 24+33=57
Exploring Operation: 33-24=9, Resulting Numbers: [70, 6, 9]
Generated Node #0,2: 77:[70, 6, 9] Operation: 33-24=9
Exploring Operation: 24/6=4, Resulting Numbers: [70, 33, 4]
Generated Node #0,3: 77:[70, 33, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[70, 6, 9], Operations: ['33-24=9']
Exploring Operation: 70+6=76, Resulting Numbers: [9, 76]
Generated Node #0,2,0: 77:[9, 76] Operation: 70+6=76
Exploring Operation: 6+9=15, Resulting Numbers: [70, 15]
Generated Node #0,2,1: 77:[70, 15] Operation: 6+9=15
Exploring Operation: 70+9=79, Resulting Numbers: [6, 79]
Generated Node #0,2,2: 77:[6, 79] Operation: 70+9=79
Exploring Operation: 9-6=3, Resulting Numbers: [70, 3]
Generated Node #0,2,3: 77:[70, 3] Operation: 9-6=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[9, 76], Operations: ['33-24=9', '70+6=76']
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,77 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,77 unequal: No Solution
No 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: 77:[6, 79], Operations: ['33-24=9', '70+9=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,77 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,77 unequal: No Solution
No 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: 77:[70, 15], Operations: ['33-24=9', '6+9=15']
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,77 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,77 unequal: No Solution
No 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: 77:[70, 3], Operations: ['33-24=9', '9-6=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,77 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,77 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: 77:[70, 6, 57], Operations: ['24+33=57']
Exploring Operation: 70-57=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 77:[6, 13] Operation: 70-57=13
Exploring Operation: 70+6=76, Resulting Numbers: [57, 76]
Generated Node #0,1,1: 77:[57, 76] Operation: 70+6=76
Exploring Operation: 6+57=63, Resulting Numbers: [70, 63]
Generated Node #0,1,2: 77:[70, 63] Operation: 6+57=63
Exploring Operation: 70-6=64, Resulting Numbers: [57, 64]
Generated Node #0,1,3: 77:[57, 64] Operation: 70-6=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[6, 13], Operations: ['24+33=57', '70-57=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,77 unequal: No Solution
No 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: 77:[57, 76], Operations: ['24+33=57', '70+6=76']
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,77 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,77 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,77 unequal: No Solution
No 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: 77:[70, 63], Operations: ['24+33=57', '6+57=63']
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,77 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,77 unequal: No Solution
No 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: 77:[57, 64], Operations: ['24+33=57', '70-6=64']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 57*64=3648, Resulting Numbers: [3648]
3648,77 unequal: No Solution
Exploring Operation: 57+64=121, Resulting Numbers: [121]
121,77 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: 77:[70, 33, 4], Operations: ['24/6=4']
Exploring Operation: 33-4=29, Resulting Numbers: [70, 29]
Generated Node #0,3,0: 77:[70, 29] Operation: 33-4=29
Exploring Operation: 70-33=37, Resulting Numbers: [4, 37]
Generated Node #0,3,1: 77:[4, 37] Operation: 70-33=37
Exploring Operation: 70+33=103, Resulting Numbers: [4, 103]
Generated Node #0,3,2: 77:[4, 103] Operation: 70+33=103
Exploring Operation: 70+4=74, Resulting Numbers: [33, 74]
Generated Node #0,3,3: 77:[33, 74] Operation: 70+4=74
Moving to Node #0,3,0
Current State: 77:[70, 29], Operations: ['24/6=4', '33-4=29']
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,77 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[33, 74], Operations: ['24/6=4', '70+4=74']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,77 unequal: No Solution
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[4, 103], Operations: ['24/6=4', '70+33=103']
Exploring Operation: 4+103=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 4*103=412, Resulting Numbers: [412]
412,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[4, 37], Operations: ['24/6=4', '70-33=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[24, 33, 76], Operations: ['70+6=76']
Exploring Operation: 24+33=57, Resulting Numbers: [76, 57]
Generated Node #0,0,0: 77:[76, 57] Operation: 24+33=57
Exploring Operation: 33+76=109, Resulting Numbers: [24, 109]
Generated Node #0,0,1: 77:[24, 109] Operation: 33+76=109
Exploring Operation: 24+76=100, Resulting Numbers: [33, 100]
Generated Node #0,0,2: 77:[33, 100] Operation: 24+76=100
Exploring Operation: 33-24=9, Resulting Numbers: [76, 9]
Generated Node #0,0,3: 77:[76, 9] Operation: 33-24=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[76, 9], Operations: ['70+6=76', '33-24=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,77 unequal: No Solution
No 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: 77:[76, 57], Operations: ['70+6=76', '24+33=57']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,77 unequal: No Solution
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,77 unequal: No Solution
No 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: 77:[24, 109], Operations: ['70+6=76', '33+76=109']
Exploring Operation: 109-24=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 24+109=133, Resulting Numbers: [133]
133,77 unequal: No Solution
Exploring Operation: 24*109=2616, Resulting Numbers: [2616]
2616,77 unequal: No Solution
No 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: 77:[33, 100], Operations: ['70+6=76', '24+76=100']
Exploring Operation: 33*100=3300, Resulting Numbers: [3300]
3300,77 unequal: No Solution
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 33+100=133, Resulting Numbers: [133]
133,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
82,
31,
87,
49
] | 23 |
[
"82+31=113",
"87+49=136",
"136-113=23"
] |
Current State: 23:[82, 31, 87, 49], Operations: []
Exploring Operation: 82+31=113, Resulting Numbers: [87, 49, 113]
Generated Node #2: [87, 49, 113] from Operation: 82+31=113
Current State: 23:[87, 49, 113], Operations: ['82+31=113']
Exploring Operation: 87+49=136, Resulting Numbers: [113, 136]
Generated Node #3: [113, 136] from Operation: 87+49=136
Current State: 23:[113, 136], Operations: ['82+31=113', '87+49=136']
Exploring Operation: 136-113=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[82, 31, 87, 49], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [87, 49, 51]
Generated Node #0,0: 23:[87, 49, 51] Operation: 82-31=51
Exploring Operation: 87-31=56, Resulting Numbers: [82, 49, 56]
Generated Node #0,1: 23:[82, 49, 56] Operation: 87-31=56
Exploring Operation: 87-49=38, Resulting Numbers: [82, 31, 38]
Generated Node #0,2: 23:[82, 31, 38] Operation: 87-49=38
Exploring Operation: 82-49=33, Resulting Numbers: [31, 87, 33]
Generated Node #0,3: 23:[31, 87, 33] Operation: 82-49=33
Exploring Operation: 87-82=5, Resulting Numbers: [31, 49, 5]
Generated Node #0,4: 23:[31, 49, 5] Operation: 87-82=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[31, 49, 5], Operations: ['87-82=5']
Exploring Operation: 49-31=18, Resulting Numbers: [5, 18]
Generated Node #0,4,0: 23:[5, 18] Operation: 49-31=18
Exploring Operation: 49+5=54, Resulting Numbers: [31, 54]
Generated Node #0,4,1: 23:[31, 54] Operation: 49+5=54
Exploring Operation: 31+5=36, Resulting Numbers: [49, 36]
Generated Node #0,4,2: 23:[49, 36] Operation: 31+5=36
Exploring Operation: 49-5=44, Resulting Numbers: [31, 44]
Generated Node #0,4,3: 23:[31, 44] Operation: 49-5=44
Exploring Operation: 31-5=26, Resulting Numbers: [49, 26]
Generated Node #0,4,4: 23:[49, 26] Operation: 31-5=26
Moving to Node #0,4,0
Current State: 23:[5, 18], Operations: ['87-82=5', '49-31=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[82, 31, 87, 49], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [31, 49, 5]
Generated Node #0,4: 23:[31, 49, 5] Operation: 87-82=5
Moving to Node #0,4
Current State: 23:[31, 49, 5], Operations: ['87-82=5']
Exploring Operation: 49-31=18, Resulting Numbers: [5, 18]
Generated Node #0,4,0: 23:[5, 18] Operation: 49-31=18
Moving to Node #0,4,0
Current State: 23:[5, 18], Operations: ['87-82=5', '49-31=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
95,
6,
89,
75
] | 74 |
[
"95-6=89",
"89/89=1",
"75-1=74"
] |
Current State: 74:[95, 6, 89, 75], Operations: []
Exploring Operation: 95-6=89, Resulting Numbers: [89, 75, 89]
Generated Node #2: [89, 75, 89] from Operation: 95-6=89
Current State: 74:[89, 75, 89], Operations: ['95-6=89']
Exploring Operation: 89/89=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 89/89=1
Current State: 74:[75, 1], Operations: ['95-6=89', '89/89=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[95, 6, 89, 75], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [6, 75, 6]
Generated Node #0,0: 74:[6, 75, 6] Operation: 95-89=6
Exploring Operation: 89-6=83, Resulting Numbers: [95, 75, 83]
Generated Node #0,1: 74:[95, 75, 83] Operation: 89-6=83
Exploring Operation: 95-6=89, Resulting Numbers: [89, 75, 89]
Generated Node #0,2: 74:[89, 75, 89] Operation: 95-6=89
Moving to Node #0,0
Current State: 74:[6, 75, 6], Operations: ['95-89=6']
Exploring Operation: 6/6=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 6/6=1
Exploring Operation: 6*6=36, Resulting Numbers: [75, 36]
Generated Node #0,0,1: 74:[75, 36] Operation: 6*6=36
Exploring Operation: 6-6=0, Resulting Numbers: [75, 0]
Generated Node #0,0,2: 74:[75, 0] Operation: 6-6=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['95-89=6', '6/6=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[95, 6, 89, 75], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [6, 75, 6]
Generated Node #0,0: 74:[6, 75, 6] Operation: 95-89=6
Moving to Node #0,0
Current State: 74:[6, 75, 6], Operations: ['95-89=6']
Exploring Operation: 6/6=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 6/6=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['95-89=6', '6/6=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
7,
11,
41,
8
] | 82 |
[
"11-7=4",
"41*8=328",
"328/4=82"
] |
Current State: 82:[7, 11, 41, 8], Operations: []
Exploring Operation: 11-7=4, Resulting Numbers: [41, 8, 4]
Generated Node #2: [41, 8, 4] from Operation: 11-7=4
Current State: 82:[41, 8, 4], Operations: ['11-7=4']
Exploring Operation: 41*8=328, Resulting Numbers: [4, 328]
Generated Node #3: [4, 328] from Operation: 41*8=328
Current State: 82:[4, 328], Operations: ['11-7=4', '41*8=328']
Exploring Operation: 328/4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[7, 11, 41, 8], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [7, 41, 3]
Generated Node #0,0: 82:[7, 41, 3] Operation: 11-8=3
Exploring Operation: 8-7=1, Resulting Numbers: [11, 41, 1]
Generated Node #0,1: 82:[11, 41, 1] Operation: 8-7=1
Exploring Operation: 11-7=4, Resulting Numbers: [41, 8, 4]
Generated Node #0,2: 82:[41, 8, 4] Operation: 11-7=4
Moving to Node #0,0
Current State: 82:[7, 41, 3], Operations: ['11-8=3']
Exploring Operation: 41-7=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 82:[3, 34] Operation: 41-7=34
Exploring Operation: 7-3=4, Resulting Numbers: [41, 4]
Generated Node #0,0,1: 82:[41, 4] Operation: 7-3=4
Exploring Operation: 7+41=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 82:[3, 48] Operation: 7+41=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[41, 4], Operations: ['11-8=3', '7-3=4']
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,82 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,82 unequal: No Solution
No 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: 82:[3, 34], Operations: ['11-8=3', '41-7=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,82 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No 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: 82:[3, 48], Operations: ['11-8=3', '7+41=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,82 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: 82:[41, 8, 4], Operations: ['11-7=4']
Exploring Operation: 8*4=32, Resulting Numbers: [41, 32]
Generated Node #0,2,0: 82:[41, 32] Operation: 8*4=32
Exploring Operation: 8/4=2, Resulting Numbers: [41, 2]
Generated Node #0,2,1: 82:[41, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [41, 4]
Generated Node #0,2,2: 82:[41, 4] Operation: 8-4=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[41, 2], Operations: ['11-7=4', '8/4=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[7, 11, 41, 8], Operations: []
Exploring Operation: 11-7=4, Resulting Numbers: [41, 8, 4]
Generated Node #0,2: 82:[41, 8, 4] Operation: 11-7=4
Moving to Node #0,2
Current State: 82:[41, 8, 4], Operations: ['11-7=4']
Exploring Operation: 8/4=2, Resulting Numbers: [41, 2]
Generated Node #0,2,1: 82:[41, 2] Operation: 8/4=2
Moving to Node #0,2,1
Current State: 82:[41, 2], Operations: ['11-7=4', '8/4=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 |
hs_3
|
mult_heuristic
|
[
52,
43,
41,
28
] | 40 |
[
"52+28=80",
"43-41=2",
"80/2=40"
] |
Current State: 40:[52, 43, 41, 28], Operations: []
Exploring Operation: 52+28=80, Resulting Numbers: [43, 41, 80]
Generated Node #2: [43, 41, 80] from Operation: 52+28=80
Current State: 40:[43, 41, 80], Operations: ['52+28=80']
Exploring Operation: 43-41=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 43-41=2
Current State: 40:[80, 2], Operations: ['52+28=80', '43-41=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[52, 43, 41, 28], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [43, 28, 11]
Generated Node #0,0: 40:[43, 28, 11] Operation: 52-41=11
Exploring Operation: 43-28=15, Resulting Numbers: [52, 41, 15]
Generated Node #0,1: 40:[52, 41, 15] Operation: 43-28=15
Exploring Operation: 52-43=9, Resulting Numbers: [41, 28, 9]
Generated Node #0,2: 40:[41, 28, 9] Operation: 52-43=9
Exploring Operation: 52-28=24, Resulting Numbers: [43, 41, 24]
Generated Node #0,3: 40:[43, 41, 24] Operation: 52-28=24
Moving to Node #0,3
Current State: 40:[43, 41, 24], Operations: ['52-28=24']
Exploring Operation: 43-24=19, Resulting Numbers: [41, 19]
Generated Node #0,3,0: 40:[41, 19] Operation: 43-24=19
Exploring Operation: 43-41=2, Resulting Numbers: [24, 2]
Generated Node #0,3,1: 40:[24, 2] Operation: 43-41=2
Exploring Operation: 43+24=67, Resulting Numbers: [41, 67]
Generated Node #0,3,2: 40:[41, 67] Operation: 43+24=67
Exploring Operation: 41-24=17, Resulting Numbers: [43, 17]
Generated Node #0,3,3: 40:[43, 17] Operation: 41-24=17
Moving to Node #0,2
Current State: 40:[41, 28, 9], Operations: ['52-43=9']
Exploring Operation: 41-28=13, Resulting Numbers: [9, 13]
Generated Node #0,2,0: 40:[9, 13] Operation: 41-28=13
Exploring Operation: 41-9=32, Resulting Numbers: [28, 32]
Generated Node #0,2,1: 40:[28, 32] Operation: 41-9=32
Exploring Operation: 28+9=37, Resulting Numbers: [41, 37]
Generated Node #0,2,2: 40:[41, 37] Operation: 28+9=37
Exploring Operation: 28-9=19, Resulting Numbers: [41, 19]
Generated Node #0,2,3: 40:[41, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[41, 19], Operations: ['52-43=9', '28-9=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,40 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[9, 13], Operations: ['52-43=9', '41-28=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[41, 37], Operations: ['52-43=9', '28+9=37']
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[28, 32], Operations: ['52-43=9', '41-9=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,40 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,40 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: 40:[43, 28, 11], Operations: ['52-41=11']
Exploring Operation: 43-11=32, Resulting Numbers: [28, 32]
Generated Node #0,0,0: 40:[28, 32] Operation: 43-11=32
Exploring Operation: 28-11=17, Resulting Numbers: [43, 17]
Generated Node #0,0,1: 40:[43, 17] Operation: 28-11=17
Exploring Operation: 28+11=39, Resulting Numbers: [43, 39]
Generated Node #0,0,2: 40:[43, 39] Operation: 28+11=39
Exploring Operation: 43-28=15, Resulting Numbers: [11, 15]
Generated Node #0,0,3: 40:[11, 15] Operation: 43-28=15
Moving to Node #0,1
Current State: 40:[52, 41, 15], Operations: ['43-28=15']
Exploring Operation: 41-15=26, Resulting Numbers: [52, 26]
Generated Node #0,1,0: 40:[52, 26] Operation: 41-15=26
Exploring Operation: 52-15=37, Resulting Numbers: [41, 37]
Generated Node #0,1,1: 40:[41, 37] Operation: 52-15=37
Exploring Operation: 52-41=11, Resulting Numbers: [15, 11]
Generated Node #0,1,2: 40:[15, 11] Operation: 52-41=11
Exploring Operation: 52+15=67, Resulting Numbers: [41, 67]
Generated Node #0,1,3: 40:[41, 67] Operation: 52+15=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[41, 37], Operations: ['43-28=15', '52-15=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,40 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[15, 11], Operations: ['43-28=15', '52-41=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,40 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[52, 26], Operations: ['43-28=15', '41-15=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[41, 67], Operations: ['43-28=15', '52+15=67']
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,40 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,40 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 40:[41, 19], Operations: ['52-28=24', '43-24=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,40 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[24, 2], Operations: ['52-28=24', '43-41=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[43, 39], Operations: ['52-41=11', '28+11=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,40 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[43, 17], Operations: ['52-28=24', '41-24=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,40 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[43, 17], Operations: ['52-41=11', '28-11=17']
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[11, 15], Operations: ['52-41=11', '43-28=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[28, 32], Operations: ['52-41=11', '43-11=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[41, 67], Operations: ['52-28=24', '43+24=67']
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,40 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,40 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,40 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
13,
72,
28,
76
] | 91 |
[
"13*28=364",
"76-72=4",
"364/4=91"
] |
Current State: 91:[13, 72, 28, 76], Operations: []
Exploring Operation: 13*28=364, Resulting Numbers: [72, 76, 364]
Generated Node #2: [72, 76, 364] from Operation: 13*28=364
Current State: 91:[72, 76, 364], Operations: ['13*28=364']
Exploring Operation: 76-72=4, Resulting Numbers: [364, 4]
Generated Node #3: [364, 4] from Operation: 76-72=4
Current State: 91:[364, 4], Operations: ['13*28=364', '76-72=4']
Exploring Operation: 364/4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[13, 72, 28, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [13, 28, 4]
Generated Node #0,0: 91:[13, 28, 4] Operation: 76-72=4
Moving to Node #0,0
Current State: 91:[13, 28, 4], Operations: ['76-72=4']
Exploring Operation: 28/4=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 91:[13, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[13, 7], Operations: ['76-72=4', '28/4=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[13, 72, 28, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [13, 28, 4]
Generated Node #0,0: 91:[13, 28, 4] Operation: 76-72=4
Moving to Node #0,0
Current State: 91:[13, 28, 4], Operations: ['76-72=4']
Exploring Operation: 28/4=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 91:[13, 7] Operation: 28/4=7
Moving to Node #0,0,0
Current State: 91:[13, 7], Operations: ['76-72=4', '28/4=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.