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 |
---|---|---|---|---|---|---|---|---|
[
22,
29,
71,
24
] | 58 |
[
"71*24=1704",
"1704-22=1682",
"1682/29=58"
] |
Current State: 58:[22, 29, 71, 24], Operations: []
Exploring Operation: 71*24=1704, Resulting Numbers: [22, 29, 1704]
Generated Node #2: [22, 29, 1704] from Operation: 71*24=1704
Current State: 58:[22, 29, 1704], Operations: ['71*24=1704']
Exploring Operation: 1704-22=1682, Resulting Numbers: [29, 1682]
Generated Node #3: [29, 1682] from Operation: 1704-22=1682
Current State: 58:[29, 1682], Operations: ['71*24=1704', '1704-22=1682']
Exploring Operation: 1682/29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[22, 29, 71, 24], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [29, 71, 2]
Generated Node #0,0: 58:[29, 71, 2] Operation: 24-22=2
Exploring Operation: 71-22=49, Resulting Numbers: [29, 24, 49]
Generated Node #0,1: 58:[29, 24, 49] Operation: 71-22=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[29, 71, 2], Operations: ['24-22=2']
Exploring Operation: 71-29=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 58:[2, 42] Operation: 71-29=42
Exploring Operation: 71-2=69, Resulting Numbers: [29, 69]
Generated Node #0,0,1: 58:[29, 69] Operation: 71-2=69
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[29, 69], Operations: ['24-22=2', '71-2=69']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[2, 42], Operations: ['24-22=2', '71-29=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[29, 24, 49], Operations: ['71-22=49']
Exploring Operation: 29-24=5, Resulting Numbers: [49, 5]
Generated Node #0,1,0: 58:[49, 5] Operation: 29-24=5
Exploring Operation: 49-24=25, Resulting Numbers: [29, 25]
Generated Node #0,1,1: 58:[29, 25] Operation: 49-24=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[29, 25], Operations: ['71-22=49', '49-24=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[49, 5], Operations: ['71-22=49', '29-24=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
31,
6,
58,
31
] | 20 |
[
"31+58=89",
"31+89=120",
"120/6=20"
] |
Current State: 20:[31, 6, 58, 31], Operations: []
Exploring Operation: 31+58=89, Resulting Numbers: [6, 89]
Generated Node #2: [6, 89] from Operation: 31+58=89
Current State: 20:[6, 89], Operations: ['31+58=89']
Exploring Operation: 31+89=120, Resulting Numbers: [6, 120]
Generated Node #3: [6, 120] from Operation: 31+89=120
Current State: 20:[6, 120], Operations: ['31+58=89', '31+89=120']
Exploring Operation: 120/6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[31, 6, 58, 31], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [6, 31, 27]
Generated Node #0,0: 20:[6, 31, 27] Operation: 58-31=27
Exploring Operation: 31/31=1, Resulting Numbers: [6, 58, 1]
Generated Node #0,1: 20:[6, 58, 1] Operation: 31/31=1
Exploring Operation: 58-31=27, Resulting Numbers: [31, 6, 27]
Generated Node #0,2: 20:[31, 6, 27] Operation: 58-31=27
Moving to Node #0,0
Current State: 20:[6, 31, 27], Operations: ['58-31=27']
Exploring Operation: 31-27=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 20:[6, 4] Operation: 31-27=4
Exploring Operation: 31-6=25, Resulting Numbers: [27, 25]
Generated Node #0,0,1: 20:[27, 25] Operation: 31-6=25
Exploring Operation: 27-6=21, Resulting Numbers: [31, 21]
Generated Node #0,0,2: 20:[31, 21] Operation: 27-6=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[6, 4], Operations: ['58-31=27', '31-27=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,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,0,1
Current State: 20:[27, 25], Operations: ['58-31=27', '31-6=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,20 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,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,0,2
Current State: 20:[31, 21], Operations: ['58-31=27', '27-6=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,20 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: 20:[31, 6, 27], Operations: ['58-31=27']
Exploring Operation: 31-27=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 20:[6, 4] Operation: 31-27=4
Exploring Operation: 31-6=25, Resulting Numbers: [27, 25]
Generated Node #0,2,1: 20:[27, 25] Operation: 31-6=25
Exploring Operation: 27-6=21, Resulting Numbers: [31, 21]
Generated Node #0,2,2: 20:[31, 21] Operation: 27-6=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[6, 4], Operations: ['58-31=27', '31-27=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,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,1
Current State: 20:[27, 25], Operations: ['58-31=27', '31-6=25']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,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,2
Current State: 20:[31, 21], Operations: ['58-31=27', '27-6=21']
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,20 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,20 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: 20:[6, 58, 1], Operations: ['31/31=1']
Exploring Operation: 58-1=57, Resulting Numbers: [6, 57]
Generated Node #0,1,0: 20:[6, 57] Operation: 58-1=57
Exploring Operation: 6-1=5, Resulting Numbers: [58, 5]
Generated Node #0,1,1: 20:[58, 5] Operation: 6-1=5
Exploring Operation: 58-6=52, Resulting Numbers: [1, 52]
Generated Node #0,1,2: 20:[1, 52] Operation: 58-6=52
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[1, 52], Operations: ['31/31=1', '58-6=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[6, 57], Operations: ['31/31=1', '58-1=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[58, 5], Operations: ['31/31=1', '6-1=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,20 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,20 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
|
[
2,
79,
21,
78
] | 44 |
[
"79+21=100",
"100-78=22",
"2*22=44"
] |
Current State: 44:[2, 79, 21, 78], Operations: []
Exploring Operation: 79+21=100, Resulting Numbers: [2, 78, 100]
Generated Node #2: [2, 78, 100] from Operation: 79+21=100
Current State: 44:[2, 78, 100], Operations: ['79+21=100']
Exploring Operation: 100-78=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 100-78=22
Current State: 44:[2, 22], Operations: ['79+21=100', '100-78=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[2, 79, 21, 78], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [2, 21, 1]
Generated Node #0,0: 44:[2, 21, 1] Operation: 79-78=1
Exploring Operation: 78/2=39, Resulting Numbers: [79, 21, 39]
Generated Node #0,1: 44:[79, 21, 39] Operation: 78/2=39
Moving to Node #0,0
Current State: 44:[2, 21, 1], Operations: ['79-78=1']
Exploring Operation: 21+1=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 44:[2, 22] Operation: 21+1=22
Exploring Operation: 2*1=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 44:[21, 2] Operation: 2*1=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[2, 22], Operations: ['79-78=1', '21+1=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[2, 79, 21, 78], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [2, 21, 1]
Generated Node #0,0: 44:[2, 21, 1] Operation: 79-78=1
Moving to Node #0,0
Current State: 44:[2, 21, 1], Operations: ['79-78=1']
Exploring Operation: 21+1=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 44:[2, 22] Operation: 21+1=22
Moving to Node #0,0,0
Current State: 44:[2, 22], Operations: ['79-78=1', '21+1=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
23,
13,
2,
17
] | 80 |
[
"23-17=6",
"13*6=78",
"2+78=80"
] |
Current State: 80:[23, 13, 2, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [13, 2, 6]
Generated Node #2: [13, 2, 6] from Operation: 23-17=6
Current State: 80:[13, 2, 6], Operations: ['23-17=6']
Exploring Operation: 13*6=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 13*6=78
Current State: 80:[2, 78], Operations: ['23-17=6', '13*6=78']
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[23, 13, 2, 17], Operations: []
Exploring Operation: 23-13=10, Resulting Numbers: [2, 17, 10]
Generated Node #0,0: 80:[2, 17, 10] Operation: 23-13=10
Exploring Operation: 23+17=40, Resulting Numbers: [13, 2, 40]
Generated Node #0,1: 80:[13, 2, 40] Operation: 23+17=40
Moving to Node #0,0
Current State: 80:[2, 17, 10], Operations: ['23-13=10']
Exploring Operation: 2+17=19, Resulting Numbers: [10, 19]
Generated Node #0,0,0: 80:[10, 19] Operation: 2+17=19
Exploring Operation: 17-2=15, Resulting Numbers: [10, 15]
Generated Node #0,0,1: 80:[10, 15] Operation: 17-2=15
Moving to Node #0,1
Current State: 80:[13, 2, 40], Operations: ['23+17=40']
Exploring Operation: 13-2=11, Resulting Numbers: [40, 11]
Generated Node #0,1,0: 80:[40, 11] Operation: 13-2=11
Exploring Operation: 13+2=15, Resulting Numbers: [40, 15]
Generated Node #0,1,1: 80:[40, 15] Operation: 13+2=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[40, 11], Operations: ['23+17=40', '13-2=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,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,1
Current State: 80:[40, 15], Operations: ['23+17=40', '13+2=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 80:[10, 19], Operations: ['23-13=10', '2+17=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[10, 15], Operations: ['23-13=10', '17-2=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,80 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
65,
23,
75,
8
] | 86 |
[
"65+23=88",
"88/8=11",
"75+11=86"
] |
Current State: 86:[65, 23, 75, 8], Operations: []
Exploring Operation: 65+23=88, Resulting Numbers: [75, 8, 88]
Generated Node #2: [75, 8, 88] from Operation: 65+23=88
Current State: 86:[75, 8, 88], Operations: ['65+23=88']
Exploring Operation: 88/8=11, Resulting Numbers: [75, 11]
Generated Node #3: [75, 11] from Operation: 88/8=11
Current State: 86:[75, 11], Operations: ['65+23=88', '88/8=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[65, 23, 75, 8], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [65, 8, 52]
Generated Node #0,0: 86:[65, 8, 52] Operation: 75-23=52
Exploring Operation: 65-23=42, Resulting Numbers: [75, 8, 42]
Generated Node #0,1: 86:[75, 8, 42] Operation: 65-23=42
Exploring Operation: 75-65=10, Resulting Numbers: [23, 8, 10]
Generated Node #0,2: 86:[23, 8, 10] Operation: 75-65=10
Exploring Operation: 65+23=88, Resulting Numbers: [75, 8, 88]
Generated Node #0,3: 86:[75, 8, 88] Operation: 65+23=88
Moving to Node #0,1
Current State: 86:[75, 8, 42], Operations: ['65-23=42']
Exploring Operation: 8+42=50, Resulting Numbers: [75, 50]
Generated Node #0,1,0: 86:[75, 50] Operation: 8+42=50
Exploring Operation: 75-8=67, Resulting Numbers: [42, 67]
Generated Node #0,1,1: 86:[42, 67] Operation: 75-8=67
Exploring Operation: 75-42=33, Resulting Numbers: [8, 33]
Generated Node #0,1,2: 86:[8, 33] Operation: 75-42=33
Exploring Operation: 75+8=83, Resulting Numbers: [42, 83]
Generated Node #0,1,3: 86:[42, 83] Operation: 75+8=83
Moving to Node #0,3
Current State: 86:[75, 8, 88], Operations: ['65+23=88']
Exploring Operation: 88-75=13, Resulting Numbers: [8, 13]
Generated Node #0,3,0: 86:[8, 13] Operation: 88-75=13
Exploring Operation: 88-8=80, Resulting Numbers: [75, 80]
Generated Node #0,3,1: 86:[75, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [75, 11]
Generated Node #0,3,2: 86:[75, 11] Operation: 88/8=11
Exploring Operation: 75+8=83, Resulting Numbers: [88, 83]
Generated Node #0,3,3: 86:[88, 83] Operation: 75+8=83
Moving to Node #0,2
Current State: 86:[23, 8, 10], Operations: ['75-65=10']
Exploring Operation: 10-8=2, Resulting Numbers: [23, 2]
Generated Node #0,2,0: 86:[23, 2] Operation: 10-8=2
Exploring Operation: 23+10=33, Resulting Numbers: [8, 33]
Generated Node #0,2,1: 86:[8, 33] Operation: 23+10=33
Exploring Operation: 23+8=31, Resulting Numbers: [10, 31]
Generated Node #0,2,2: 86:[10, 31] Operation: 23+8=31
Exploring Operation: 23-10=13, Resulting Numbers: [8, 13]
Generated Node #0,2,3: 86:[8, 13] Operation: 23-10=13
Moving to Node #0,0
Current State: 86:[65, 8, 52], Operations: ['75-23=52']
Exploring Operation: 52-8=44, Resulting Numbers: [65, 44]
Generated Node #0,0,0: 86:[65, 44] Operation: 52-8=44
Exploring Operation: 65-8=57, Resulting Numbers: [52, 57]
Generated Node #0,0,1: 86:[52, 57] Operation: 65-8=57
Exploring Operation: 65-52=13, Resulting Numbers: [8, 13]
Generated Node #0,0,2: 86:[8, 13] Operation: 65-52=13
Exploring Operation: 65+8=73, Resulting Numbers: [52, 73]
Generated Node #0,0,3: 86:[52, 73] Operation: 65+8=73
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[8, 13], Operations: ['75-23=52', '65-52=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[65, 44], Operations: ['75-23=52', '52-8=44']
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,86 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[52, 73], Operations: ['75-23=52', '65+8=73']
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[52, 57], Operations: ['75-23=52', '65-8=57']
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,86 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 86:[42, 83], Operations: ['65-23=42', '75+8=83']
Exploring Operation: 42*83=3486, Resulting Numbers: [3486]
3486,86 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 42+83=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[88, 83], Operations: ['65+23=88', '75+8=83']
Exploring Operation: 88*83=7304, Resulting Numbers: [7304]
7304,86 unequal: No Solution
Exploring Operation: 88+83=171, Resulting Numbers: [171]
171,86 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[8, 33], Operations: ['65-23=42', '75-42=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,86 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[8, 33], Operations: ['75-65=10', '23+10=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[8, 13], Operations: ['65+23=88', '88-75=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[75, 80], Operations: ['65+23=88', '88-8=80']
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[8, 13], Operations: ['75-65=10', '23-10=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[75, 50], Operations: ['65-23=42', '8+42=50']
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,86 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[75, 11], Operations: ['65+23=88', '88/8=11']
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,86 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[65, 23, 75, 8], Operations: []
Exploring Operation: 65+23=88, Resulting Numbers: [75, 8, 88]
Generated Node #0,3: 86:[75, 8, 88] Operation: 65+23=88
Moving to Node #0,3
Current State: 86:[75, 8, 88], Operations: ['65+23=88']
Exploring Operation: 88/8=11, Resulting Numbers: [75, 11]
Generated Node #0,3,2: 86:[75, 11] Operation: 88/8=11
Moving to Node #0,3,2
Current State: 86:[75, 11], Operations: ['65+23=88', '88/8=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.946181 |
hs_4
|
sum_heuristic
|
[
67,
8,
70,
37
] | 87 |
[
"70-67=3",
"37-8=29",
"3*29=87"
] |
Current State: 87:[67, 8, 70, 37], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [8, 37, 3]
Generated Node #2: [8, 37, 3] from Operation: 70-67=3
Current State: 87:[8, 37, 3], Operations: ['70-67=3']
Exploring Operation: 37-8=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 37-8=29
Current State: 87:[3, 29], Operations: ['70-67=3', '37-8=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[67, 8, 70, 37], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [8, 37, 3]
Generated Node #0,0: 87:[8, 37, 3] Operation: 70-67=3
Moving to Node #0,0
Current State: 87:[8, 37, 3], Operations: ['70-67=3']
Exploring Operation: 37-8=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 87:[3, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[3, 29], Operations: ['70-67=3', '37-8=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[67, 8, 70, 37], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [8, 37, 3]
Generated Node #0,0: 87:[8, 37, 3] Operation: 70-67=3
Moving to Node #0,0
Current State: 87:[8, 37, 3], Operations: ['70-67=3']
Exploring Operation: 37-8=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 87:[3, 29] Operation: 37-8=29
Moving to Node #0,0,0
Current State: 87:[3, 29], Operations: ['70-67=3', '37-8=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
75,
69,
5,
31
] | 32 |
[
"75-69=6",
"31-5=26",
"6+26=32"
] |
Current State: 32:[75, 69, 5, 31], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [5, 31, 6]
Generated Node #2: [5, 31, 6] from Operation: 75-69=6
Current State: 32:[5, 31, 6], Operations: ['75-69=6']
Exploring Operation: 31-5=26, Resulting Numbers: [6, 26]
Generated Node #3: [6, 26] from Operation: 31-5=26
Current State: 32:[6, 26], Operations: ['75-69=6', '31-5=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[75, 69, 5, 31], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [69, 31, 15]
Generated Node #0,0: 32:[69, 31, 15] Operation: 75/5=15
Exploring Operation: 75-31=44, Resulting Numbers: [69, 5, 44]
Generated Node #0,1: 32:[69, 5, 44] Operation: 75-31=44
Exploring Operation: 75-5=70, Resulting Numbers: [69, 31, 70]
Generated Node #0,2: 32:[69, 31, 70] Operation: 75-5=70
Exploring Operation: 75-69=6, Resulting Numbers: [5, 31, 6]
Generated Node #0,3: 32:[5, 31, 6] Operation: 75-69=6
Exploring Operation: 69-31=38, Resulting Numbers: [75, 5, 38]
Generated Node #0,4: 32:[75, 5, 38] Operation: 69-31=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[5, 31, 6], Operations: ['75-69=6']
Exploring Operation: 6-5=1, Resulting Numbers: [31, 1]
Generated Node #0,3,0: 32:[31, 1] Operation: 6-5=1
Exploring Operation: 5+6=11, Resulting Numbers: [31, 11]
Generated Node #0,3,1: 32:[31, 11] Operation: 5+6=11
Exploring Operation: 5*6=30, Resulting Numbers: [31, 30]
Generated Node #0,3,2: 32:[31, 30] Operation: 5*6=30
Exploring Operation: 5+31=36, Resulting Numbers: [6, 36]
Generated Node #0,3,3: 32:[6, 36] Operation: 5+31=36
Exploring Operation: 31+6=37, Resulting Numbers: [5, 37]
Generated Node #0,3,4: 32:[5, 37] Operation: 31+6=37
Moving to Node #0,3,0
Current State: 32:[31, 1], Operations: ['75-69=6', '6-5=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[75, 69, 5, 31], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [5, 31, 6]
Generated Node #0,3: 32:[5, 31, 6] Operation: 75-69=6
Moving to Node #0,3
Current State: 32:[5, 31, 6], Operations: ['75-69=6']
Exploring Operation: 6-5=1, Resulting Numbers: [31, 1]
Generated Node #0,3,0: 32:[31, 1] Operation: 6-5=1
Moving to Node #0,3,0
Current State: 32:[31, 1], Operations: ['75-69=6', '6-5=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
27,
84,
40,
42
] | 55 |
[
"84-27=57",
"42-40=2",
"57-2=55"
] |
Current State: 55:[27, 84, 40, 42], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [40, 42, 57]
Generated Node #2: [40, 42, 57] from Operation: 84-27=57
Current State: 55:[40, 42, 57], Operations: ['84-27=57']
Exploring Operation: 42-40=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 42-40=2
Current State: 55:[57, 2], Operations: ['84-27=57', '42-40=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[27, 84, 40, 42], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [40, 42, 57]
Generated Node #0,0: 55:[40, 42, 57] Operation: 84-27=57
Exploring Operation: 84/42=2, Resulting Numbers: [27, 40, 2]
Generated Node #0,1: 55:[27, 40, 2] Operation: 84/42=2
Moving to Node #0,0
Current State: 55:[40, 42, 57], Operations: ['84-27=57']
Exploring Operation: 57-40=17, Resulting Numbers: [42, 17]
Generated Node #0,0,0: 55:[42, 17] Operation: 57-40=17
Exploring Operation: 42-40=2, Resulting Numbers: [57, 2]
Generated Node #0,0,1: 55:[57, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[57, 2], Operations: ['84-27=57', '42-40=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,55 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[27, 84, 40, 42], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [40, 42, 57]
Generated Node #0,0: 55:[40, 42, 57] Operation: 84-27=57
Moving to Node #0,0
Current State: 55:[40, 42, 57], Operations: ['84-27=57']
Exploring Operation: 42-40=2, Resulting Numbers: [57, 2]
Generated Node #0,0,1: 55:[57, 2] Operation: 42-40=2
Moving to Node #0,0,1
Current State: 55:[57, 2], Operations: ['84-27=57', '42-40=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
96,
44,
9,
58
] | 15 |
[
"96-44=52",
"9+58=67",
"67-52=15"
] |
Current State: 15:[96, 44, 9, 58], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [9, 58, 52]
Generated Node #2: [9, 58, 52] from Operation: 96-44=52
Current State: 15:[9, 58, 52], Operations: ['96-44=52']
Exploring Operation: 9+58=67, Resulting Numbers: [52, 67]
Generated Node #3: [52, 67] from Operation: 9+58=67
Current State: 15:[52, 67], Operations: ['96-44=52', '9+58=67']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[96, 44, 9, 58], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [44, 9, 38]
Generated Node #0,0: 15:[44, 9, 38] Operation: 96-58=38
Moving to Node #0,0
Current State: 15:[44, 9, 38], Operations: ['96-58=38']
Exploring Operation: 44-38=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 15:[9, 6] Operation: 44-38=6
Moving to Node #0,0,0
Current State: 15:[9, 6], Operations: ['96-58=38', '44-38=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[96, 44, 9, 58], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [44, 9, 38]
Generated Node #0,0: 15:[44, 9, 38] Operation: 96-58=38
Moving to Node #0,0
Current State: 15:[44, 9, 38], Operations: ['96-58=38']
Exploring Operation: 44-38=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 15:[9, 6] Operation: 44-38=6
Moving to Node #0,0,0
Current State: 15:[9, 6], Operations: ['96-58=38', '44-38=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
21,
7,
25,
44
] | 31 |
[
"21/7=3",
"25*3=75",
"75-44=31"
] |
Current State: 31:[21, 7, 25, 44], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [25, 44, 3]
Generated Node #2: [25, 44, 3] from Operation: 21/7=3
Current State: 31:[25, 44, 3], Operations: ['21/7=3']
Exploring Operation: 25*3=75, Resulting Numbers: [44, 75]
Generated Node #3: [44, 75] from Operation: 25*3=75
Current State: 31:[44, 75], Operations: ['21/7=3', '25*3=75']
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[21, 7, 25, 44], Operations: []
Exploring Operation: 44-7=37, Resulting Numbers: [21, 25, 37]
Generated Node #0,0: 31:[21, 25, 37] Operation: 44-7=37
Exploring Operation: 21-7=14, Resulting Numbers: [25, 44, 14]
Generated Node #0,1: 31:[25, 44, 14] Operation: 21-7=14
Exploring Operation: 7+25=32, Resulting Numbers: [21, 44, 32]
Generated Node #0,2: 31:[21, 44, 32] Operation: 7+25=32
Exploring Operation: 21+7=28, Resulting Numbers: [25, 44, 28]
Generated Node #0,3: 31:[25, 44, 28] Operation: 21+7=28
Moving to Node #0,0
Current State: 31:[21, 25, 37], Operations: ['44-7=37']
Exploring Operation: 25-21=4, Resulting Numbers: [37, 4]
Generated Node #0,0,0: 31:[37, 4] Operation: 25-21=4
Exploring Operation: 37-25=12, Resulting Numbers: [21, 12]
Generated Node #0,0,1: 31:[21, 12] Operation: 37-25=12
Exploring Operation: 21+25=46, Resulting Numbers: [37, 46]
Generated Node #0,0,2: 31:[37, 46] Operation: 21+25=46
Exploring Operation: 37-21=16, Resulting Numbers: [25, 16]
Generated Node #0,0,3: 31:[25, 16] Operation: 37-21=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[37, 46], Operations: ['44-7=37', '21+25=46']
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,31 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,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:[25, 16], Operations: ['44-7=37', '37-21=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,31 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,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:[21, 12], Operations: ['44-7=37', '37-25=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[37, 4], Operations: ['44-7=37', '25-21=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,31 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 31:[25, 44, 28], Operations: ['21+7=28']
Exploring Operation: 25+44=69, Resulting Numbers: [28, 69]
Generated Node #0,3,0: 31:[28, 69] Operation: 25+44=69
Exploring Operation: 44-28=16, Resulting Numbers: [25, 16]
Generated Node #0,3,1: 31:[25, 16] Operation: 44-28=16
Exploring Operation: 44-25=19, Resulting Numbers: [28, 19]
Generated Node #0,3,2: 31:[28, 19] Operation: 44-25=19
Exploring Operation: 25+28=53, Resulting Numbers: [44, 53]
Generated Node #0,3,3: 31:[44, 53] Operation: 25+28=53
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[28, 19], Operations: ['21+7=28', '44-25=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,31 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[25, 16], Operations: ['21+7=28', '44-28=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,31 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,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:[44, 53], Operations: ['21+7=28', '25+28=53']
Exploring Operation: 44*53=2332, Resulting Numbers: [2332]
2332,31 unequal: No Solution
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,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:[28, 69], Operations: ['21+7=28', '25+44=69']
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,31 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,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:[21, 44, 32], Operations: ['7+25=32']
Exploring Operation: 21+44=65, Resulting Numbers: [32, 65]
Generated Node #0,2,0: 31:[32, 65] Operation: 21+44=65
Exploring Operation: 44-32=12, Resulting Numbers: [21, 12]
Generated Node #0,2,1: 31:[21, 12] Operation: 44-32=12
Exploring Operation: 32-21=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 31:[44, 11] Operation: 32-21=11
Exploring Operation: 44-21=23, Resulting Numbers: [32, 23]
Generated Node #0,2,3: 31:[32, 23] Operation: 44-21=23
Moving to Node #0,1
Current State: 31:[25, 44, 14], Operations: ['21-7=14']
Exploring Operation: 44-25=19, Resulting Numbers: [14, 19]
Generated Node #0,1,0: 31:[14, 19] Operation: 44-25=19
Exploring Operation: 25-14=11, Resulting Numbers: [44, 11]
Generated Node #0,1,1: 31:[44, 11] Operation: 25-14=11
Exploring Operation: 44-14=30, Resulting Numbers: [25, 30]
Generated Node #0,1,2: 31:[25, 30] Operation: 44-14=30
Exploring Operation: 25+14=39, Resulting Numbers: [44, 39]
Generated Node #0,1,3: 31:[44, 39] Operation: 25+14=39
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[25, 30], Operations: ['21-7=14', '44-14=30']
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,31 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,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,1,3
Current State: 31:[44, 39], Operations: ['21-7=14', '25+14=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,31 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,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,1,0
Current State: 31:[14, 19], Operations: ['21-7=14', '44-25=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,31 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,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,1,1
Current State: 31:[44, 11], Operations: ['21-7=14', '25-14=11']
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,31 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 31:[32, 23], Operations: ['7+25=32', '44-21=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[21, 12], Operations: ['7+25=32', '44-32=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[44, 11], Operations: ['7+25=32', '32-21=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,31 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[32, 65], Operations: ['7+25=32', '21+44=65']
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,31 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,31 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
32,
14,
78,
54
] | 86 |
[
"32+14=46",
"78+54=132",
"132-46=86"
] |
Current State: 86:[32, 14, 78, 54], Operations: []
Exploring Operation: 32+14=46, Resulting Numbers: [78, 54, 46]
Generated Node #2: [78, 54, 46] from Operation: 32+14=46
Current State: 86:[78, 54, 46], Operations: ['32+14=46']
Exploring Operation: 78+54=132, Resulting Numbers: [46, 132]
Generated Node #3: [46, 132] from Operation: 78+54=132
Current State: 86:[46, 132], Operations: ['32+14=46', '78+54=132']
Exploring Operation: 132-46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[32, 14, 78, 54], Operations: []
Exploring Operation: 32+54=86, Resulting Numbers: [14, 78, 86]
Generated Node #0,0: 86:[14, 78, 86] Operation: 32+54=86
Exploring Operation: 54-14=40, Resulting Numbers: [32, 78, 40]
Generated Node #0,1: 86:[32, 78, 40] Operation: 54-14=40
Exploring Operation: 32+14=46, Resulting Numbers: [78, 54, 46]
Generated Node #0,2: 86:[78, 54, 46] Operation: 32+14=46
Moving to Node #0,0
Current State: 86:[14, 78, 86], Operations: ['32+54=86']
Exploring Operation: 86-78=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 86:[14, 8] Operation: 86-78=8
Exploring Operation: 78-14=64, Resulting Numbers: [86, 64]
Generated Node #0,0,1: 86:[86, 64] Operation: 78-14=64
Exploring Operation: 14+78=92, Resulting Numbers: [86, 92]
Generated Node #0,0,2: 86:[86, 92] Operation: 14+78=92
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[86, 92], Operations: ['32+54=86', '14+78=92']
Exploring Operation: 86*92=7912, Resulting Numbers: [7912]
7912,86 unequal: No Solution
Exploring Operation: 86+92=178, Resulting Numbers: [178]
178,86 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[14, 8], Operations: ['32+54=86', '86-78=8']
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[86, 64], Operations: ['32+54=86', '78-14=64']
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,86 unequal: No Solution
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,86 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: 86:[32, 78, 40], Operations: ['54-14=40']
Exploring Operation: 78-32=46, Resulting Numbers: [40, 46]
Generated Node #0,1,0: 86:[40, 46] Operation: 78-32=46
Exploring Operation: 78-40=38, Resulting Numbers: [32, 38]
Generated Node #0,1,1: 86:[32, 38] Operation: 78-40=38
Exploring Operation: 40-32=8, Resulting Numbers: [78, 8]
Generated Node #0,1,2: 86:[78, 8] Operation: 40-32=8
Moving to Node #0,2
Current State: 86:[78, 54, 46], Operations: ['32+14=46']
Exploring Operation: 54-46=8, Resulting Numbers: [78, 8]
Generated Node #0,2,0: 86:[78, 8] Operation: 54-46=8
Exploring Operation: 78-54=24, Resulting Numbers: [46, 24]
Generated Node #0,2,1: 86:[46, 24] Operation: 78-54=24
Exploring Operation: 78-46=32, Resulting Numbers: [54, 32]
Generated Node #0,2,2: 86:[54, 32] Operation: 78-46=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[78, 8], Operations: ['32+14=46', '54-46=8']
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,86 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[32, 14, 78, 54], Operations: []
Exploring Operation: 32+14=46, Resulting Numbers: [78, 54, 46]
Generated Node #0,2: 86:[78, 54, 46] Operation: 32+14=46
Moving to Node #0,2
Current State: 86:[78, 54, 46], Operations: ['32+14=46']
Exploring Operation: 54-46=8, Resulting Numbers: [78, 8]
Generated Node #0,2,0: 86:[78, 8] Operation: 54-46=8
Moving to Node #0,2,0
Current State: 86:[78, 8], Operations: ['32+14=46', '54-46=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_3
|
mult_heuristic
|
[
27,
30,
92,
24
] | 88 |
[
"30*92=2760",
"2760/24=115",
"115-27=88"
] |
Current State: 88:[27, 30, 92, 24], Operations: []
Exploring Operation: 30*92=2760, Resulting Numbers: [27, 24, 2760]
Generated Node #2: [27, 24, 2760] from Operation: 30*92=2760
Current State: 88:[27, 24, 2760], Operations: ['30*92=2760']
Exploring Operation: 2760/24=115, Resulting Numbers: [27, 115]
Generated Node #3: [27, 115] from Operation: 2760/24=115
Current State: 88:[27, 115], Operations: ['30*92=2760', '2760/24=115']
Exploring Operation: 115-27=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[27, 30, 92, 24], Operations: []
Exploring Operation: 27+30=57, Resulting Numbers: [92, 24, 57]
Generated Node #0,0: 88:[92, 24, 57] Operation: 27+30=57
Exploring Operation: 30-24=6, Resulting Numbers: [27, 92, 6]
Generated Node #0,1: 88:[27, 92, 6] Operation: 30-24=6
Exploring Operation: 30-27=3, Resulting Numbers: [92, 24, 3]
Generated Node #0,2: 88:[92, 24, 3] Operation: 30-27=3
Exploring Operation: 27+24=51, Resulting Numbers: [30, 92, 51]
Generated Node #0,3: 88:[30, 92, 51] Operation: 27+24=51
Exploring Operation: 27-24=3, Resulting Numbers: [30, 92, 3]
Generated Node #0,4: 88:[30, 92, 3] Operation: 27-24=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[92, 24, 3], Operations: ['30-27=3']
Exploring Operation: 24+3=27, Resulting Numbers: [92, 27]
Generated Node #0,2,0: 88:[92, 27] Operation: 24+3=27
Exploring Operation: 92+3=95, Resulting Numbers: [24, 95]
Generated Node #0,2,1: 88:[24, 95] Operation: 92+3=95
Exploring Operation: 24-3=21, Resulting Numbers: [92, 21]
Generated Node #0,2,2: 88:[92, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [92, 8]
Generated Node #0,2,3: 88:[92, 8] Operation: 24/3=8
Exploring Operation: 92-3=89, Resulting Numbers: [24, 89]
Generated Node #0,2,4: 88:[24, 89] Operation: 92-3=89
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 88:[24, 89], Operations: ['30-27=3', '92-3=89']
Exploring Operation: 24*89=2136, Resulting Numbers: [2136]
2136,88 unequal: No Solution
Exploring Operation: 24+89=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,88 unequal: No Solution
No 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: 88:[92, 8], Operations: ['30-27=3', '24/3=8']
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,88 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,88 unequal: No Solution
No 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: 88:[92, 21], Operations: ['30-27=3', '24-3=21']
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,88 unequal: No Solution
No 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: 88:[92, 27], Operations: ['30-27=3', '24+3=27']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,88 unequal: No Solution
No 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: 88:[24, 95], Operations: ['30-27=3', '92+3=95']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 24+95=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 24*95=2280, Resulting Numbers: [2280]
2280,88 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: 88:[27, 92, 6], Operations: ['30-24=6']
Exploring Operation: 27+6=33, Resulting Numbers: [92, 33]
Generated Node #0,1,0: 88:[92, 33] Operation: 27+6=33
Exploring Operation: 92+6=98, Resulting Numbers: [27, 98]
Generated Node #0,1,1: 88:[27, 98] Operation: 92+6=98
Exploring Operation: 92-6=86, Resulting Numbers: [27, 86]
Generated Node #0,1,2: 88:[27, 86] Operation: 92-6=86
Exploring Operation: 27-6=21, Resulting Numbers: [92, 21]
Generated Node #0,1,3: 88:[92, 21] Operation: 27-6=21
Exploring Operation: 92-27=65, Resulting Numbers: [6, 65]
Generated Node #0,1,4: 88:[6, 65] Operation: 92-27=65
Moving to Node #0,1,3
Current State: 88:[92, 21], Operations: ['30-24=6', '27-6=21']
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[27, 86], Operations: ['30-24=6', '92-6=86']
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[92, 33], Operations: ['30-24=6', '27+6=33']
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[27, 98], Operations: ['30-24=6', '92+6=98']
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 27*98=2646, Resulting Numbers: [2646]
2646,88 unequal: No Solution
Exploring Operation: 27+98=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[6, 65], Operations: ['30-24=6', '92-27=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[30, 92, 3], Operations: ['27-24=3']
Exploring Operation: 30-3=27, Resulting Numbers: [92, 27]
Generated Node #0,4,0: 88:[92, 27] Operation: 30-3=27
Exploring Operation: 30*3=90, Resulting Numbers: [92, 90]
Generated Node #0,4,1: 88:[92, 90] Operation: 30*3=90
Exploring Operation: 92-3=89, Resulting Numbers: [30, 89]
Generated Node #0,4,2: 88:[30, 89] Operation: 92-3=89
Exploring Operation: 30/3=10, Resulting Numbers: [92, 10]
Generated Node #0,4,3: 88:[92, 10] Operation: 30/3=10
Exploring Operation: 30+3=33, Resulting Numbers: [92, 33]
Generated Node #0,4,4: 88:[92, 33] Operation: 30+3=33
Moving to Node #0,4,3
Current State: 88:[92, 10], Operations: ['27-24=3', '30/3=10']
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,88 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[92, 90], Operations: ['27-24=3', '30*3=90']
Exploring Operation: 92*90=8280, Resulting Numbers: [8280]
8280,88 unequal: No Solution
Exploring Operation: 92+90=182, Resulting Numbers: [182]
182,88 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[92, 27], Operations: ['27-24=3', '30-3=27']
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[30, 89], Operations: ['27-24=3', '92-3=89']
Exploring Operation: 30*89=2670, Resulting Numbers: [2670]
2670,88 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 30+89=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[92, 33], Operations: ['27-24=3', '30+3=33']
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[92, 24, 57], Operations: ['27+30=57']
Exploring Operation: 92-24=68, Resulting Numbers: [57, 68]
Generated Node #0,0,0: 88:[57, 68] Operation: 92-24=68
Exploring Operation: 57-24=33, Resulting Numbers: [92, 33]
Generated Node #0,0,1: 88:[92, 33] Operation: 57-24=33
Exploring Operation: 92+24=116, Resulting Numbers: [57, 116]
Generated Node #0,0,2: 88:[57, 116] Operation: 92+24=116
Exploring Operation: 92-57=35, Resulting Numbers: [24, 35]
Generated Node #0,0,3: 88:[24, 35] Operation: 92-57=35
Exploring Operation: 24+57=81, Resulting Numbers: [92, 81]
Generated Node #0,0,4: 88:[92, 81] Operation: 24+57=81
Moving to Node #0,0,3
Current State: 88:[24, 35], Operations: ['27+30=57', '92-57=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[92, 81], Operations: ['27+30=57', '24+57=81']
Exploring Operation: 92*81=7452, Resulting Numbers: [7452]
7452,88 unequal: No Solution
Exploring Operation: 92+81=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[92, 33], Operations: ['27+30=57', '57-24=33']
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,88 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[57, 68], Operations: ['27+30=57', '92-24=68']
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,88 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[57, 116], Operations: ['27+30=57', '92+24=116']
Exploring Operation: 57+116=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 57*116=6612, Resulting Numbers: [6612]
6612,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[30, 92, 51], Operations: ['27+24=51']
Exploring Operation: 30+92=122, Resulting Numbers: [51, 122]
Generated Node #0,3,0: 88:[51, 122] Operation: 30+92=122
Exploring Operation: 30+51=81, Resulting Numbers: [92, 81]
Generated Node #0,3,1: 88:[92, 81] Operation: 30+51=81
Exploring Operation: 51-30=21, Resulting Numbers: [92, 21]
Generated Node #0,3,2: 88:[92, 21] Operation: 51-30=21
Exploring Operation: 92-30=62, Resulting Numbers: [51, 62]
Generated Node #0,3,3: 88:[51, 62] Operation: 92-30=62
Exploring Operation: 92-51=41, Resulting Numbers: [30, 41]
Generated Node #0,3,4: 88:[30, 41] Operation: 92-51=41
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[92, 21], Operations: ['27+24=51', '51-30=21']
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,88 unequal: No Solution
No 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: 88:[92, 81], Operations: ['27+24=51', '30+51=81']
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 92*81=7452, Resulting Numbers: [7452]
7452,88 unequal: No Solution
Exploring Operation: 92+81=173, Resulting Numbers: [173]
173,88 unequal: No Solution
No 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: 88:[30, 41], Operations: ['27+24=51', '92-51=41']
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,88 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No 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: 88:[51, 62], Operations: ['27+24=51', '92-30=62']
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,88 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,88 unequal: No Solution
No 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: 88:[51, 122], Operations: ['27+24=51', '30+92=122']
Exploring Operation: 51+122=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 122-51=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 51*122=6222, Resulting Numbers: [6222]
6222,88 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
|
[
49,
92,
93,
16
] | 33 |
[
"49-16=33",
"93-92=1",
"33*1=33"
] |
Current State: 33:[49, 92, 93, 16], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [92, 93, 33]
Generated Node #2: [92, 93, 33] from Operation: 49-16=33
Current State: 33:[92, 93, 33], Operations: ['49-16=33']
Exploring Operation: 93-92=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 93-92=1
Current State: 33:[33, 1], Operations: ['49-16=33', '93-92=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[49, 92, 93, 16], Operations: []
Exploring Operation: 93-49=44, Resulting Numbers: [92, 16, 44]
Generated Node #0,0: 33:[92, 16, 44] Operation: 93-49=44
Exploring Operation: 49-16=33, Resulting Numbers: [92, 93, 33]
Generated Node #0,1: 33:[92, 93, 33] Operation: 49-16=33
Exploring Operation: 92-16=76, Resulting Numbers: [49, 93, 76]
Generated Node #0,2: 33:[49, 93, 76] Operation: 92-16=76
Exploring Operation: 93-92=1, Resulting Numbers: [49, 16, 1]
Generated Node #0,3: 33:[49, 16, 1] Operation: 93-92=1
Exploring Operation: 92-49=43, Resulting Numbers: [93, 16, 43]
Generated Node #0,4: 33:[93, 16, 43] Operation: 92-49=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[49, 16, 1], Operations: ['93-92=1']
Exploring Operation: 49/1=49, Resulting Numbers: [16, 49]
Generated Node #0,3,0: 33:[16, 49] Operation: 49/1=49
Exploring Operation: 49-16=33, Resulting Numbers: [1, 33]
Generated Node #0,3,1: 33:[1, 33] Operation: 49-16=33
Exploring Operation: 16-1=15, Resulting Numbers: [49, 15]
Generated Node #0,3,2: 33:[49, 15] Operation: 16-1=15
Exploring Operation: 49-1=48, Resulting Numbers: [16, 48]
Generated Node #0,3,3: 33:[16, 48] Operation: 49-1=48
Exploring Operation: 49*1=49, Resulting Numbers: [16, 49]
Generated Node #0,3,4: 33:[16, 49] Operation: 49*1=49
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[1, 33], Operations: ['93-92=1', '49-16=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[49, 92, 93, 16], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [49, 16, 1]
Generated Node #0,3: 33:[49, 16, 1] Operation: 93-92=1
Moving to Node #0,3
Current State: 33:[49, 16, 1], Operations: ['93-92=1']
Exploring Operation: 49-16=33, Resulting Numbers: [1, 33]
Generated Node #0,3,1: 33:[1, 33] Operation: 49-16=33
Moving to Node #0,3,1
Current State: 33:[1, 33], Operations: ['93-92=1', '49-16=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
22,
10,
63,
78
] | 27 |
[
"22-10=12",
"78-63=15",
"12+15=27"
] |
Current State: 27:[22, 10, 63, 78], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [63, 78, 12]
Generated Node #2: [63, 78, 12] from Operation: 22-10=12
Current State: 27:[63, 78, 12], Operations: ['22-10=12']
Exploring Operation: 78-63=15, Resulting Numbers: [12, 15]
Generated Node #3: [12, 15] from Operation: 78-63=15
Current State: 27:[12, 15], Operations: ['22-10=12', '78-63=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[22, 10, 63, 78], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [22, 10, 15]
Generated Node #0,0: 27:[22, 10, 15] Operation: 78-63=15
Moving to Node #0,0
Current State: 27:[22, 10, 15], Operations: ['78-63=15']
Exploring Operation: 22-15=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 27:[10, 7] Operation: 22-15=7
Moving to Node #0,0,0
Current State: 27:[10, 7], Operations: ['78-63=15', '22-15=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
55,
24,
54,
84
] | 53 |
[
"24+84=108",
"108/54=2",
"55-2=53"
] |
Current State: 53:[55, 24, 54, 84], Operations: []
Exploring Operation: 24+84=108, Resulting Numbers: [55, 54, 108]
Generated Node #2: [55, 54, 108] from Operation: 24+84=108
Current State: 53:[55, 54, 108], Operations: ['24+84=108']
Exploring Operation: 108/54=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 108/54=2
Current State: 53:[55, 2], Operations: ['24+84=108', '108/54=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[55, 24, 54, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [24, 54, 29]
Generated Node #0,0: 53:[24, 54, 29] Operation: 84-55=29
Exploring Operation: 55-24=31, Resulting Numbers: [54, 84, 31]
Generated Node #0,1: 53:[54, 84, 31] Operation: 55-24=31
Exploring Operation: 84-24=60, Resulting Numbers: [55, 54, 60]
Generated Node #0,2: 53:[55, 54, 60] Operation: 84-24=60
Exploring Operation: 54-24=30, Resulting Numbers: [55, 84, 30]
Generated Node #0,3: 53:[55, 84, 30] Operation: 54-24=30
Exploring Operation: 84-54=30, Resulting Numbers: [55, 24, 30]
Generated Node #0,4: 53:[55, 24, 30] Operation: 84-54=30
Moving to Node #0,2
Current State: 53:[55, 54, 60], Operations: ['84-24=60']
Exploring Operation: 55-54=1, Resulting Numbers: [60, 1]
Generated Node #0,2,0: 53:[60, 1] Operation: 55-54=1
Exploring Operation: 55+54=109, Resulting Numbers: [60, 109]
Generated Node #0,2,1: 53:[60, 109] Operation: 55+54=109
Exploring Operation: 60-55=5, Resulting Numbers: [54, 5]
Generated Node #0,2,2: 53:[54, 5] Operation: 60-55=5
Exploring Operation: 60-54=6, Resulting Numbers: [55, 6]
Generated Node #0,2,3: 53:[55, 6] Operation: 60-54=6
Exploring Operation: 55+60=115, Resulting Numbers: [54, 115]
Generated Node #0,2,4: 53:[54, 115] Operation: 55+60=115
Moving to Node #0,1
Current State: 53:[54, 84, 31], Operations: ['55-24=31']
Exploring Operation: 84-54=30, Resulting Numbers: [31, 30]
Generated Node #0,1,0: 53:[31, 30] Operation: 84-54=30
Exploring Operation: 84+31=115, Resulting Numbers: [54, 115]
Generated Node #0,1,1: 53:[54, 115] Operation: 84+31=115
Exploring Operation: 54-31=23, Resulting Numbers: [84, 23]
Generated Node #0,1,2: 53:[84, 23] Operation: 54-31=23
Exploring Operation: 54+31=85, Resulting Numbers: [84, 85]
Generated Node #0,1,3: 53:[84, 85] Operation: 54+31=85
Exploring Operation: 84-31=53, Resulting Numbers: [54, 53]
Generated Node #0,1,4: 53:[54, 53] Operation: 84-31=53
Moving to Node #0,0
Current State: 53:[24, 54, 29], Operations: ['84-55=29']
Exploring Operation: 24+54=78, Resulting Numbers: [29, 78]
Generated Node #0,0,0: 53:[29, 78] Operation: 24+54=78
Exploring Operation: 54-29=25, Resulting Numbers: [24, 25]
Generated Node #0,0,1: 53:[24, 25] Operation: 54-29=25
Exploring Operation: 54-24=30, Resulting Numbers: [29, 30]
Generated Node #0,0,2: 53:[29, 30] Operation: 54-24=30
Exploring Operation: 24+29=53, Resulting Numbers: [54, 53]
Generated Node #0,0,3: 53:[54, 53] Operation: 24+29=53
Exploring Operation: 29-24=5, Resulting Numbers: [54, 5]
Generated Node #0,0,4: 53:[54, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[54, 53], Operations: ['84-55=29', '24+29=53']
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[29, 30], Operations: ['84-55=29', '54-24=30']
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,53 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[29, 78], Operations: ['84-55=29', '24+54=78']
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 29*78=2262, Resulting Numbers: [2262]
2262,53 unequal: No Solution
Exploring Operation: 29+78=107, Resulting Numbers: [107]
107,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 53:[54, 5], Operations: ['84-55=29', '29-24=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,53 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[24, 25], Operations: ['84-55=29', '54-29=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,53 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,53 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: 53:[55, 24, 30], Operations: ['84-54=30']
Exploring Operation: 55+24=79, Resulting Numbers: [30, 79]
Generated Node #0,4,0: 53:[30, 79] Operation: 55+24=79
Exploring Operation: 30-24=6, Resulting Numbers: [55, 6]
Generated Node #0,4,1: 53:[55, 6] Operation: 30-24=6
Exploring Operation: 24+30=54, Resulting Numbers: [55, 54]
Generated Node #0,4,2: 53:[55, 54] Operation: 24+30=54
Exploring Operation: 55-24=31, Resulting Numbers: [30, 31]
Generated Node #0,4,3: 53:[30, 31] Operation: 55-24=31
Exploring Operation: 55-30=25, Resulting Numbers: [24, 25]
Generated Node #0,4,4: 53:[24, 25] Operation: 55-30=25
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[55, 54], Operations: ['84-54=30', '24+30=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,53 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[30, 31], Operations: ['84-54=30', '55-24=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[30, 79], Operations: ['84-54=30', '55+24=79']
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,53 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[55, 6], Operations: ['84-54=30', '30-24=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,53 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[24, 25], Operations: ['84-54=30', '55-30=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,53 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 53:[55, 84, 30], Operations: ['54-24=30']
Exploring Operation: 84-30=54, Resulting Numbers: [55, 54]
Generated Node #0,3,0: 53:[55, 54] Operation: 84-30=54
Exploring Operation: 55+30=85, Resulting Numbers: [84, 85]
Generated Node #0,3,1: 53:[84, 85] Operation: 55+30=85
Exploring Operation: 84+30=114, Resulting Numbers: [55, 114]
Generated Node #0,3,2: 53:[55, 114] Operation: 84+30=114
Exploring Operation: 55-30=25, Resulting Numbers: [84, 25]
Generated Node #0,3,3: 53:[84, 25] Operation: 55-30=25
Exploring Operation: 84-55=29, Resulting Numbers: [30, 29]
Generated Node #0,3,4: 53:[30, 29] Operation: 84-55=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[55, 54], Operations: ['54-24=30', '84-30=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,53 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 53:[30, 29], Operations: ['54-24=30', '84-55=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,53 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[84, 25], Operations: ['54-24=30', '55-30=25']
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,53 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[84, 85], Operations: ['54-24=30', '55+30=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[55, 114], Operations: ['54-24=30', '84+30=114']
Exploring Operation: 55+114=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 55*114=6270, Resulting Numbers: [6270]
6270,53 unequal: No Solution
Exploring Operation: 114-55=59, Resulting Numbers: [59]
59,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 53:[54, 53], Operations: ['55-24=31', '84-31=53']
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,53 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[31, 30], Operations: ['55-24=31', '84-54=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,53 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[54, 5], Operations: ['84-24=60', '60-55=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[55, 6], Operations: ['84-24=60', '60-54=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[60, 1], Operations: ['84-24=60', '55-54=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[84, 23], Operations: ['55-24=31', '54-31=23']
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,53 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[54, 115], Operations: ['55-24=31', '84+31=115']
Exploring Operation: 54+115=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 54*115=6210, Resulting Numbers: [6210]
6210,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[84, 85], Operations: ['55-24=31', '54+31=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,53 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[54, 115], Operations: ['84-24=60', '55+60=115']
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 54+115=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 54*115=6210, Resulting Numbers: [6210]
6210,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[60, 109], Operations: ['84-24=60', '55+54=109']
Exploring Operation: 109-60=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 60+109=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 60*109=6540, Resulting Numbers: [6540]
6540,53 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
33,
68,
8,
6
] | 67 |
[
"8-6=2",
"68/2=34",
"33+34=67"
] |
Current State: 67:[33, 68, 8, 6], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [33, 68, 2]
Generated Node #2: [33, 68, 2] from Operation: 8-6=2
Current State: 67:[33, 68, 2], Operations: ['8-6=2']
Exploring Operation: 68/2=34, Resulting Numbers: [33, 34]
Generated Node #3: [33, 34] from Operation: 68/2=34
Current State: 67:[33, 34], Operations: ['8-6=2', '68/2=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[33, 68, 8, 6], Operations: []
Exploring Operation: 33+8=41, Resulting Numbers: [68, 6, 41]
Generated Node #0,0: 67:[68, 6, 41] Operation: 33+8=41
Exploring Operation: 33+6=39, Resulting Numbers: [68, 8, 39]
Generated Node #0,1: 67:[68, 8, 39] Operation: 33+6=39
Exploring Operation: 8*6=48, Resulting Numbers: [33, 68, 48]
Generated Node #0,2: 67:[33, 68, 48] Operation: 8*6=48
Moving to Node #0,2
Current State: 67:[33, 68, 48], Operations: ['8*6=48']
Exploring Operation: 33+48=81, Resulting Numbers: [68, 81]
Generated Node #0,2,0: 67:[68, 81] Operation: 33+48=81
Exploring Operation: 33+68=101, Resulting Numbers: [48, 101]
Generated Node #0,2,1: 67:[48, 101] Operation: 33+68=101
Exploring Operation: 68-33=35, Resulting Numbers: [48, 35]
Generated Node #0,2,2: 67:[48, 35] Operation: 68-33=35
Moving to Node #0,0
Current State: 67:[68, 6, 41], Operations: ['33+8=41']
Exploring Operation: 68-6=62, Resulting Numbers: [41, 62]
Generated Node #0,0,0: 67:[41, 62] Operation: 68-6=62
Exploring Operation: 6+41=47, Resulting Numbers: [68, 47]
Generated Node #0,0,1: 67:[68, 47] Operation: 6+41=47
Exploring Operation: 68+6=74, Resulting Numbers: [41, 74]
Generated Node #0,0,2: 67:[41, 74] Operation: 68+6=74
Moving to Node #0,1
Current State: 67:[68, 8, 39], Operations: ['33+6=39']
Exploring Operation: 8+39=47, Resulting Numbers: [68, 47]
Generated Node #0,1,0: 67:[68, 47] Operation: 8+39=47
Exploring Operation: 68+8=76, Resulting Numbers: [39, 76]
Generated Node #0,1,1: 67:[39, 76] Operation: 68+8=76
Exploring Operation: 68-8=60, Resulting Numbers: [39, 60]
Generated Node #0,1,2: 67:[39, 60] Operation: 68-8=60
Moving to Node #0,2,0
Current State: 67:[68, 81], Operations: ['8*6=48', '33+48=81']
Exploring Operation: 68*81=5508, Resulting Numbers: [5508]
5508,67 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 68+81=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[68, 47], Operations: ['33+6=39', '8+39=47']
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[68, 47], Operations: ['33+8=41', '6+41=47']
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,67 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[41, 62], Operations: ['33+8=41', '68-6=62']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,67 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[41, 74], Operations: ['33+8=41', '68+6=74']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 41*74=3034, Resulting Numbers: [3034]
3034,67 unequal: No Solution
Exploring Operation: 41+74=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[39, 60], Operations: ['33+6=39', '68-8=60']
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,67 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[39, 76], Operations: ['33+6=39', '68+8=76']
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,67 unequal: No Solution
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[48, 35], Operations: ['8*6=48', '68-33=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[48, 101], Operations: ['8*6=48', '33+68=101']
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,67 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,67 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
82,
44,
36,
5
] | 88 |
[
"82*44=3608",
"36+5=41",
"3608/41=88"
] |
Current State: 88:[82, 44, 36, 5], Operations: []
Exploring Operation: 82*44=3608, Resulting Numbers: [36, 5, 3608]
Generated Node #2: [36, 5, 3608] from Operation: 82*44=3608
Current State: 88:[36, 5, 3608], Operations: ['82*44=3608']
Exploring Operation: 36+5=41, Resulting Numbers: [3608, 41]
Generated Node #3: [3608, 41] from Operation: 36+5=41
Current State: 88:[3608, 41], Operations: ['82*44=3608', '36+5=41']
Exploring Operation: 3608/41=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[82, 44, 36, 5], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [82, 5, 8]
Generated Node #0,0: 88:[82, 5, 8] Operation: 44-36=8
Exploring Operation: 82-44=38, Resulting Numbers: [36, 5, 38]
Generated Node #0,1: 88:[36, 5, 38] Operation: 82-44=38
Exploring Operation: 36+5=41, Resulting Numbers: [82, 44, 41]
Generated Node #0,2: 88:[82, 44, 41] Operation: 36+5=41
Exploring Operation: 82-36=46, Resulting Numbers: [44, 5, 46]
Generated Node #0,3: 88:[44, 5, 46] Operation: 82-36=46
Exploring Operation: 82+5=87, Resulting Numbers: [44, 36, 87]
Generated Node #0,4: 88:[44, 36, 87] Operation: 82+5=87
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[44, 5, 46], Operations: ['82-36=46']
Exploring Operation: 46-44=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 88:[5, 2] Operation: 46-44=2
Exploring Operation: 44-5=39, Resulting Numbers: [46, 39]
Generated Node #0,3,1: 88:[46, 39] Operation: 44-5=39
Exploring Operation: 44+5=49, Resulting Numbers: [46, 49]
Generated Node #0,3,2: 88:[46, 49] Operation: 44+5=49
Exploring Operation: 46-5=41, Resulting Numbers: [44, 41]
Generated Node #0,3,3: 88:[44, 41] Operation: 46-5=41
Exploring Operation: 44+46=90, Resulting Numbers: [5, 90]
Generated Node #0,3,4: 88:[5, 90] Operation: 44+46=90
Moving to Node #0,3,0
Current State: 88:[5, 2], Operations: ['82-36=46', '46-44=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[5, 90], Operations: ['82-36=46', '44+46=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,88 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[44, 41], Operations: ['82-36=46', '46-5=41']
Exploring Operation: 44+41=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 44*41=1804, Resulting Numbers: [1804]
1804,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[46, 39], Operations: ['82-36=46', '44-5=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[46, 49], Operations: ['82-36=46', '44+5=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,88 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[82, 5, 8], Operations: ['44-36=8']
Exploring Operation: 5+8=13, Resulting Numbers: [82, 13]
Generated Node #0,0,0: 88:[82, 13] Operation: 5+8=13
Exploring Operation: 5*8=40, Resulting Numbers: [82, 40]
Generated Node #0,0,1: 88:[82, 40] Operation: 5*8=40
Exploring Operation: 8-5=3, Resulting Numbers: [82, 3]
Generated Node #0,0,2: 88:[82, 3] Operation: 8-5=3
Exploring Operation: 82+8=90, Resulting Numbers: [5, 90]
Generated Node #0,0,3: 88:[5, 90] Operation: 82+8=90
Exploring Operation: 82+5=87, Resulting Numbers: [8, 87]
Generated Node #0,0,4: 88:[8, 87] Operation: 82+5=87
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 88:[8, 87], Operations: ['44-36=8', '82+5=87']
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 8*87=696, Resulting Numbers: [696]
696,88 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,88 unequal: No Solution
No 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: 88:[5, 90], Operations: ['44-36=8', '82+8=90']
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,88 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,88 unequal: No Solution
No 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: 88:[82, 3], Operations: ['44-36=8', '8-5=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,88 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,88 unequal: No Solution
No 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: 88:[82, 13], Operations: ['44-36=8', '5+8=13']
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,88 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,88 unequal: No Solution
No 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: 88:[82, 40], Operations: ['44-36=8', '5*8=40']
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,88 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: 88:[82, 44, 41], Operations: ['36+5=41']
Exploring Operation: 44-41=3, Resulting Numbers: [82, 3]
Generated Node #0,2,0: 88:[82, 3] Operation: 44-41=3
Exploring Operation: 82-44=38, Resulting Numbers: [41, 38]
Generated Node #0,2,1: 88:[41, 38] Operation: 82-44=38
Exploring Operation: 82/41=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 88:[44, 2] Operation: 82/41=2
Exploring Operation: 82-41=41, Resulting Numbers: [44, 41]
Generated Node #0,2,3: 88:[44, 41] Operation: 82-41=41
Exploring Operation: 44+41=85, Resulting Numbers: [82, 85]
Generated Node #0,2,4: 88:[82, 85] Operation: 44+41=85
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[44, 2], Operations: ['36+5=41', '82/41=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[82, 44, 36, 5], Operations: []
Exploring Operation: 36+5=41, Resulting Numbers: [82, 44, 41]
Generated Node #0,2: 88:[82, 44, 41] Operation: 36+5=41
Moving to Node #0,2
Current State: 88:[82, 44, 41], Operations: ['36+5=41']
Exploring Operation: 82/41=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 88:[44, 2] Operation: 82/41=2
Moving to Node #0,2,2
Current State: 88:[44, 2], Operations: ['36+5=41', '82/41=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 |
hs_5
|
mult_heuristic
|
[
56,
74,
19,
81
] | 80 |
[
"74-56=18",
"81-19=62",
"18+62=80"
] |
Current State: 80:[56, 74, 19, 81], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [19, 81, 18]
Generated Node #2: [19, 81, 18] from Operation: 74-56=18
Current State: 80:[19, 81, 18], Operations: ['74-56=18']
Exploring Operation: 81-19=62, Resulting Numbers: [18, 62]
Generated Node #3: [18, 62] from Operation: 81-19=62
Current State: 80:[18, 62], Operations: ['74-56=18', '81-19=62']
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[56, 74, 19, 81], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [56, 19, 7]
Generated Node #0,0: 80:[56, 19, 7] Operation: 81-74=7
Exploring Operation: 56-19=37, Resulting Numbers: [74, 81, 37]
Generated Node #0,1: 80:[74, 81, 37] Operation: 56-19=37
Exploring Operation: 74-56=18, Resulting Numbers: [19, 81, 18]
Generated Node #0,2: 80:[19, 81, 18] Operation: 74-56=18
Exploring Operation: 81-56=25, Resulting Numbers: [74, 19, 25]
Generated Node #0,3: 80:[74, 19, 25] Operation: 81-56=25
Exploring Operation: 56+19=75, Resulting Numbers: [74, 81, 75]
Generated Node #0,4: 80:[74, 81, 75] Operation: 56+19=75
Moving to Node #0,2
Current State: 80:[19, 81, 18], Operations: ['74-56=18']
Exploring Operation: 81-18=63, Resulting Numbers: [19, 63]
Generated Node #0,2,0: 80:[19, 63] Operation: 81-18=63
Exploring Operation: 81+18=99, Resulting Numbers: [19, 99]
Generated Node #0,2,1: 80:[19, 99] Operation: 81+18=99
Exploring Operation: 19-18=1, Resulting Numbers: [81, 1]
Generated Node #0,2,2: 80:[81, 1] Operation: 19-18=1
Exploring Operation: 19+18=37, Resulting Numbers: [81, 37]
Generated Node #0,2,3: 80:[81, 37] Operation: 19+18=37
Exploring Operation: 81-19=62, Resulting Numbers: [18, 62]
Generated Node #0,2,4: 80:[18, 62] Operation: 81-19=62
Moving to Node #0,1
Current State: 80:[74, 81, 37], Operations: ['56-19=37']
Exploring Operation: 74+37=111, Resulting Numbers: [81, 111]
Generated Node #0,1,0: 80:[81, 111] Operation: 74+37=111
Exploring Operation: 74/37=2, Resulting Numbers: [81, 2]
Generated Node #0,1,1: 80:[81, 2] Operation: 74/37=2
Exploring Operation: 81-37=44, Resulting Numbers: [74, 44]
Generated Node #0,1,2: 80:[74, 44] Operation: 81-37=44
Exploring Operation: 81-74=7, Resulting Numbers: [37, 7]
Generated Node #0,1,3: 80:[37, 7] Operation: 81-74=7
Exploring Operation: 74-37=37, Resulting Numbers: [81, 37]
Generated Node #0,1,4: 80:[81, 37] Operation: 74-37=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[81, 2], Operations: ['56-19=37', '74/37=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,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,3
Current State: 80:[37, 7], Operations: ['56-19=37', '81-74=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,80 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,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,4
Current State: 80:[81, 37], Operations: ['56-19=37', '74-37=37']
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,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,2
Current State: 80:[74, 44], Operations: ['56-19=37', '81-37=44']
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,80 unequal: No Solution
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[81, 111], Operations: ['56-19=37', '74+37=111']
Exploring Operation: 81*111=8991, Resulting Numbers: [8991]
8991,80 unequal: No Solution
Exploring Operation: 81+111=192, Resulting Numbers: [192]
192,80 unequal: No Solution
Exploring Operation: 111-81=30, Resulting Numbers: [30]
30,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 80:[74, 19, 25], Operations: ['81-56=25']
Exploring Operation: 19+25=44, Resulting Numbers: [74, 44]
Generated Node #0,3,0: 80:[74, 44] Operation: 19+25=44
Exploring Operation: 25-19=6, Resulting Numbers: [74, 6]
Generated Node #0,3,1: 80:[74, 6] Operation: 25-19=6
Exploring Operation: 74+19=93, Resulting Numbers: [25, 93]
Generated Node #0,3,2: 80:[25, 93] Operation: 74+19=93
Exploring Operation: 74-25=49, Resulting Numbers: [19, 49]
Generated Node #0,3,3: 80:[19, 49] Operation: 74-25=49
Exploring Operation: 74-19=55, Resulting Numbers: [25, 55]
Generated Node #0,3,4: 80:[25, 55] Operation: 74-19=55
Moving to Node #0,4
Current State: 80:[74, 81, 75], Operations: ['56+19=75']
Exploring Operation: 74+81=155, Resulting Numbers: [75, 155]
Generated Node #0,4,0: 80:[75, 155] Operation: 74+81=155
Exploring Operation: 75-74=1, Resulting Numbers: [81, 1]
Generated Node #0,4,1: 80:[81, 1] Operation: 75-74=1
Exploring Operation: 81-74=7, Resulting Numbers: [75, 7]
Generated Node #0,4,2: 80:[75, 7] Operation: 81-74=7
Exploring Operation: 81-75=6, Resulting Numbers: [74, 6]
Generated Node #0,4,3: 80:[74, 6] Operation: 81-75=6
Exploring Operation: 74+75=149, Resulting Numbers: [81, 149]
Generated Node #0,4,4: 80:[81, 149] Operation: 74+75=149
Moving to Node #0,0
Current State: 80:[56, 19, 7], Operations: ['81-74=7']
Exploring Operation: 56/7=8, Resulting Numbers: [19, 8]
Generated Node #0,0,0: 80:[19, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [19, 49]
Generated Node #0,0,1: 80:[19, 49] Operation: 56-7=49
Exploring Operation: 56-19=37, Resulting Numbers: [7, 37]
Generated Node #0,0,2: 80:[7, 37] Operation: 56-19=37
Exploring Operation: 56+7=63, Resulting Numbers: [19, 63]
Generated Node #0,0,3: 80:[19, 63] Operation: 56+7=63
Exploring Operation: 56+19=75, Resulting Numbers: [7, 75]
Generated Node #0,0,4: 80:[7, 75] Operation: 56+19=75
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[19, 8], Operations: ['81-74=7', '56/7=8']
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,80 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,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,0,2
Current State: 80:[7, 37], Operations: ['81-74=7', '56-19=37']
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,80 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,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,0,4
Current State: 80:[7, 75], Operations: ['81-74=7', '56+19=75']
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,80 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,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,0,1
Current State: 80:[19, 49], Operations: ['81-74=7', '56-7=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,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,0,3
Current State: 80:[19, 63], Operations: ['81-74=7', '56+7=63']
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,80 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,80 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: 80:[81, 1], Operations: ['74-56=18', '19-18=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[56, 74, 19, 81], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [19, 81, 18]
Generated Node #0,2: 80:[19, 81, 18] Operation: 74-56=18
Moving to Node #0,2
Current State: 80:[19, 81, 18], Operations: ['74-56=18']
Exploring Operation: 19-18=1, Resulting Numbers: [81, 1]
Generated Node #0,2,2: 80:[81, 1] Operation: 19-18=1
Moving to Node #0,2,2
Current State: 80:[81, 1], Operations: ['74-56=18', '19-18=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.940972 |
hs_5
|
mult_heuristic
|
[
31,
14,
39,
55
] | 49 |
[
"31+14=45",
"39+55=94",
"94-45=49"
] |
Current State: 49:[31, 14, 39, 55], Operations: []
Exploring Operation: 31+14=45, Resulting Numbers: [39, 55, 45]
Generated Node #2: [39, 55, 45] from Operation: 31+14=45
Current State: 49:[39, 55, 45], Operations: ['31+14=45']
Exploring Operation: 39+55=94, Resulting Numbers: [45, 94]
Generated Node #3: [45, 94] from Operation: 39+55=94
Current State: 49:[45, 94], Operations: ['31+14=45', '39+55=94']
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[31, 14, 39, 55], Operations: []
Exploring Operation: 31+14=45, Resulting Numbers: [39, 55, 45]
Generated Node #0,0: 49:[39, 55, 45] Operation: 31+14=45
Exploring Operation: 39-31=8, Resulting Numbers: [14, 55, 8]
Generated Node #0,1: 49:[14, 55, 8] Operation: 39-31=8
Exploring Operation: 14+39=53, Resulting Numbers: [31, 55, 53]
Generated Node #0,2: 49:[31, 55, 53] Operation: 14+39=53
Exploring Operation: 31-14=17, Resulting Numbers: [39, 55, 17]
Generated Node #0,3: 49:[39, 55, 17] Operation: 31-14=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[14, 55, 8], Operations: ['39-31=8']
Exploring Operation: 14+55=69, Resulting Numbers: [8, 69]
Generated Node #0,1,0: 49:[8, 69] Operation: 14+55=69
Exploring Operation: 55-8=47, Resulting Numbers: [14, 47]
Generated Node #0,1,1: 49:[14, 47] Operation: 55-8=47
Exploring Operation: 55-14=41, Resulting Numbers: [8, 41]
Generated Node #0,1,2: 49:[8, 41] Operation: 55-14=41
Exploring Operation: 14-8=6, Resulting Numbers: [55, 6]
Generated Node #0,1,3: 49:[55, 6] Operation: 14-8=6
Moving to Node #0,1,3
Current State: 49:[55, 6], Operations: ['39-31=8', '14-8=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[31, 14, 39, 55], Operations: []
Exploring Operation: 39-31=8, Resulting Numbers: [14, 55, 8]
Generated Node #0,1: 49:[14, 55, 8] Operation: 39-31=8
Moving to Node #0,1
Current State: 49:[14, 55, 8], Operations: ['39-31=8']
Exploring Operation: 14-8=6, Resulting Numbers: [55, 6]
Generated Node #0,1,3: 49:[55, 6] Operation: 14-8=6
Moving to Node #0,1,3
Current State: 49:[55, 6], Operations: ['39-31=8', '14-8=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
mult_heuristic
|
[
51,
47,
70,
5
] | 50 |
[
"51-47=4",
"5*4=20",
"70-20=50"
] |
Current State: 50:[51, 47, 70, 5], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [70, 5, 4]
Generated Node #2: [70, 5, 4] from Operation: 51-47=4
Current State: 50:[70, 5, 4], Operations: ['51-47=4']
Exploring Operation: 5*4=20, Resulting Numbers: [70, 20]
Generated Node #3: [70, 20] from Operation: 5*4=20
Current State: 50:[70, 20], Operations: ['51-47=4', '5*4=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[51, 47, 70, 5], Operations: []
Exploring Operation: 70-47=23, Resulting Numbers: [51, 5, 23]
Generated Node #0,0: 50:[51, 5, 23] Operation: 70-47=23
Exploring Operation: 70-51=19, Resulting Numbers: [47, 5, 19]
Generated Node #0,1: 50:[47, 5, 19] Operation: 70-51=19
Exploring Operation: 70-5=65, Resulting Numbers: [51, 47, 65]
Generated Node #0,2: 50:[51, 47, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [51, 47, 14]
Generated Node #0,3: 50:[51, 47, 14] Operation: 70/5=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[51, 5, 23], Operations: ['70-47=23']
Exploring Operation: 51-23=28, Resulting Numbers: [5, 28]
Generated Node #0,0,0: 50:[5, 28] Operation: 51-23=28
Exploring Operation: 5+23=28, Resulting Numbers: [51, 28]
Generated Node #0,0,1: 50:[51, 28] Operation: 5+23=28
Exploring Operation: 51+5=56, Resulting Numbers: [23, 56]
Generated Node #0,0,2: 50:[23, 56] Operation: 51+5=56
Exploring Operation: 51-5=46, Resulting Numbers: [23, 46]
Generated Node #0,0,3: 50:[23, 46] Operation: 51-5=46
Moving to Node #0,0,0
Current State: 50:[5, 28], Operations: ['70-47=23', '51-23=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,50 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[51, 28], Operations: ['70-47=23', '5+23=28']
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,50 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[23, 46], Operations: ['70-47=23', '51-5=46']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[23, 56], Operations: ['70-47=23', '51+5=56']
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,50 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[51, 47, 14], Operations: ['70/5=14']
Exploring Operation: 51-47=4, Resulting Numbers: [14, 4]
Generated Node #0,3,0: 50:[14, 4] Operation: 51-47=4
Exploring Operation: 47+14=61, Resulting Numbers: [51, 61]
Generated Node #0,3,1: 50:[51, 61] Operation: 47+14=61
Exploring Operation: 47-14=33, Resulting Numbers: [51, 33]
Generated Node #0,3,2: 50:[51, 33] Operation: 47-14=33
Exploring Operation: 51-14=37, Resulting Numbers: [47, 37]
Generated Node #0,3,3: 50:[47, 37] Operation: 51-14=37
Moving to Node #0,3,0
Current State: 50:[14, 4], Operations: ['70/5=14', '51-47=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[51, 33], Operations: ['70/5=14', '47-14=33']
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,50 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[51, 61], Operations: ['70/5=14', '47+14=61']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 51+61=112, Resulting Numbers: [112]
112,50 unequal: No Solution
Exploring Operation: 51*61=3111, Resulting Numbers: [3111]
3111,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[47, 37], Operations: ['70/5=14', '51-14=37']
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,50 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[47, 5, 19], Operations: ['70-51=19']
Exploring Operation: 47+5=52, Resulting Numbers: [19, 52]
Generated Node #0,1,0: 50:[19, 52] Operation: 47+5=52
Exploring Operation: 5+19=24, Resulting Numbers: [47, 24]
Generated Node #0,1,1: 50:[47, 24] Operation: 5+19=24
Exploring Operation: 19-5=14, Resulting Numbers: [47, 14]
Generated Node #0,1,2: 50:[47, 14] Operation: 19-5=14
Exploring Operation: 47-19=28, Resulting Numbers: [5, 28]
Generated Node #0,1,3: 50:[5, 28] Operation: 47-19=28
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[5, 28], Operations: ['70-51=19', '47-19=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,50 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,50 unequal: No Solution
No 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: 50:[47, 24], Operations: ['70-51=19', '5+19=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,50 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,50 unequal: No Solution
No 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: 50:[47, 14], Operations: ['70-51=19', '19-5=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,50 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,50 unequal: No Solution
No 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: 50:[19, 52], Operations: ['70-51=19', '47+5=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,50 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: 50:[51, 47, 65], Operations: ['70-5=65']
Exploring Operation: 65-47=18, Resulting Numbers: [51, 18]
Generated Node #0,2,0: 50:[51, 18] Operation: 65-47=18
Exploring Operation: 51+47=98, Resulting Numbers: [65, 98]
Generated Node #0,2,1: 50:[65, 98] Operation: 51+47=98
Exploring Operation: 65-51=14, Resulting Numbers: [47, 14]
Generated Node #0,2,2: 50:[47, 14] Operation: 65-51=14
Exploring Operation: 51-47=4, Resulting Numbers: [65, 4]
Generated Node #0,2,3: 50:[65, 4] Operation: 51-47=4
Moving to Node #0,2,2
Current State: 50:[47, 14], Operations: ['70-5=65', '65-51=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,50 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[51, 18], Operations: ['70-5=65', '65-47=18']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,50 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[65, 4], Operations: ['70-5=65', '51-47=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,50 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[65, 98], Operations: ['70-5=65', '51+47=98']
Exploring Operation: 65+98=163, Resulting Numbers: [163]
163,50 unequal: No Solution
Exploring Operation: 65*98=6370, Resulting Numbers: [6370]
6370,50 unequal: No Solution
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
15,
10,
56,
15
] | 47 |
[
"15/15=1",
"56-10=46",
"1+46=47"
] |
Current State: 47:[15, 10, 56, 15], Operations: []
Exploring Operation: 15/15=1, Resulting Numbers: [10, 56, 1]
Generated Node #2: [10, 56, 1] from Operation: 15/15=1
Current State: 47:[10, 56, 1], Operations: ['15/15=1']
Exploring Operation: 56-10=46, Resulting Numbers: [1, 46]
Generated Node #3: [1, 46] from Operation: 56-10=46
Current State: 47:[1, 46], Operations: ['15/15=1', '56-10=46']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[15, 10, 56, 15], Operations: []
Exploring Operation: 15+15=30, Resulting Numbers: [10, 56, 30]
Generated Node #0,0: 47:[10, 56, 30] Operation: 15+15=30
Exploring Operation: 10+15=25, Resulting Numbers: [15, 56, 25]
Generated Node #0,1: 47:[15, 56, 25] Operation: 10+15=25
Exploring Operation: 15+10=25, Resulting Numbers: [56, 15, 25]
Generated Node #0,2: 47:[56, 15, 25] Operation: 15+10=25
Exploring Operation: 56-10=46, Resulting Numbers: [15, 15, 46]
Generated Node #0,3: 47:[15, 15, 46] Operation: 56-10=46
Exploring Operation: 56-15=41, Resulting Numbers: [10, 15, 41]
Generated Node #0,4: 47:[10, 15, 41] Operation: 56-15=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[10, 56, 30], Operations: ['15+15=30']
Exploring Operation: 56-10=46, Resulting Numbers: [30, 46]
Generated Node #0,0,0: 47:[30, 46] Operation: 56-10=46
Exploring Operation: 30/10=3, Resulting Numbers: [56, 3]
Generated Node #0,0,1: 47:[56, 3] Operation: 30/10=3
Exploring Operation: 10+56=66, Resulting Numbers: [30, 66]
Generated Node #0,0,2: 47:[30, 66] Operation: 10+56=66
Exploring Operation: 30-10=20, Resulting Numbers: [56, 20]
Generated Node #0,0,3: 47:[56, 20] Operation: 30-10=20
Exploring Operation: 10+30=40, Resulting Numbers: [56, 40]
Generated Node #0,0,4: 47:[56, 40] Operation: 10+30=40
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[56, 40], Operations: ['15+15=30', '10+30=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,47 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[30, 46], Operations: ['15+15=30', '56-10=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,47 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[30, 66], Operations: ['15+15=30', '10+56=66']
Exploring Operation: 30+66=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 30*66=1980, Resulting Numbers: [1980]
1980,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[56, 20], Operations: ['15+15=30', '30-10=20']
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,47 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[56, 3], Operations: ['15+15=30', '30/10=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[15, 56, 25], Operations: ['10+15=25']
Exploring Operation: 56-25=31, Resulting Numbers: [15, 31]
Generated Node #0,1,0: 47:[15, 31] Operation: 56-25=31
Exploring Operation: 15+25=40, Resulting Numbers: [56, 40]
Generated Node #0,1,1: 47:[56, 40] Operation: 15+25=40
Exploring Operation: 25-15=10, Resulting Numbers: [56, 10]
Generated Node #0,1,2: 47:[56, 10] Operation: 25-15=10
Exploring Operation: 15+56=71, Resulting Numbers: [25, 71]
Generated Node #0,1,3: 47:[25, 71] Operation: 15+56=71
Exploring Operation: 56-15=41, Resulting Numbers: [25, 41]
Generated Node #0,1,4: 47:[25, 41] Operation: 56-15=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[56, 40], Operations: ['10+15=25', '15+25=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 47:[25, 41], Operations: ['10+15=25', '56-15=41']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,47 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[56, 10], Operations: ['10+15=25', '25-15=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,47 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[25, 71], Operations: ['10+15=25', '15+56=71']
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,47 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[15, 31], Operations: ['10+15=25', '56-25=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,47 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[56, 15, 25], Operations: ['15+10=25']
Exploring Operation: 25-15=10, Resulting Numbers: [56, 10]
Generated Node #0,2,0: 47:[56, 10] Operation: 25-15=10
Exploring Operation: 56+15=71, Resulting Numbers: [25, 71]
Generated Node #0,2,1: 47:[25, 71] Operation: 56+15=71
Exploring Operation: 15+25=40, Resulting Numbers: [56, 40]
Generated Node #0,2,2: 47:[56, 40] Operation: 15+25=40
Exploring Operation: 56-15=41, Resulting Numbers: [25, 41]
Generated Node #0,2,3: 47:[25, 41] Operation: 56-15=41
Exploring Operation: 56-25=31, Resulting Numbers: [15, 31]
Generated Node #0,2,4: 47:[15, 31] Operation: 56-25=31
Moving to Node #0,2,2
Current State: 47:[56, 40], Operations: ['15+10=25', '15+25=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[25, 41], Operations: ['15+10=25', '56-15=41']
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,47 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[56, 10], Operations: ['15+10=25', '25-15=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[25, 71], Operations: ['15+10=25', '56+15=71']
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,47 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[15, 31], Operations: ['15+10=25', '56-25=31']
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,47 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,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,3
Current State: 47:[15, 15, 46], Operations: ['56-10=46']
Exploring Operation: 15/15=1, Resulting Numbers: [46, 1]
Generated Node #0,3,0: 47:[46, 1] Operation: 15/15=1
Exploring Operation: 15+46=61, Resulting Numbers: [15, 61]
Generated Node #0,3,1: 47:[15, 61] Operation: 15+46=61
Exploring Operation: 15-15=0, Resulting Numbers: [46, 0]
Generated Node #0,3,2: 47:[46, 0] Operation: 15-15=0
Exploring Operation: 15+15=30, Resulting Numbers: [46, 30]
Generated Node #0,3,3: 47:[46, 30] Operation: 15+15=30
Exploring Operation: 15+46=61, Resulting Numbers: [15, 61]
Generated Node #0,3,4: 47:[15, 61] Operation: 15+46=61
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[46, 30], Operations: ['56-10=46', '15+15=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,47 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[15, 61], Operations: ['56-10=46', '15+46=61']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,47 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 47:[15, 61], Operations: ['56-10=46', '15+46=61']
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[46, 1], Operations: ['56-10=46', '15/15=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[15, 10, 56, 15], Operations: []
Exploring Operation: 56-10=46, Resulting Numbers: [15, 15, 46]
Generated Node #0,3: 47:[15, 15, 46] Operation: 56-10=46
Moving to Node #0,3
Current State: 47:[15, 15, 46], Operations: ['56-10=46']
Exploring Operation: 15/15=1, Resulting Numbers: [46, 1]
Generated Node #0,3,0: 47:[46, 1] Operation: 15/15=1
Moving to Node #0,3,0
Current State: 47:[46, 1], Operations: ['56-10=46', '15/15=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.925347 |
hs_5
|
mult_heuristic
|
[
35,
76,
73,
43
] | 94 |
[
"76-73=3",
"43*3=129",
"129-35=94"
] |
Current State: 94:[35, 76, 73, 43], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [35, 43, 3]
Generated Node #2: [35, 43, 3] from Operation: 76-73=3
Current State: 94:[35, 43, 3], Operations: ['76-73=3']
Exploring Operation: 43*3=129, Resulting Numbers: [35, 129]
Generated Node #3: [35, 129] from Operation: 43*3=129
Current State: 94:[35, 129], Operations: ['76-73=3', '43*3=129']
Exploring Operation: 129-35=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[35, 76, 73, 43], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [35, 43, 3]
Generated Node #0,0: 94:[35, 43, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[35, 43, 3], Operations: ['76-73=3']
Exploring Operation: 43-35=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 94:[3, 8] Operation: 43-35=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[3, 8], Operations: ['76-73=3', '43-35=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
69,
5,
88,
3
] | 81 |
[
"69*5=345",
"88*3=264",
"345-264=81"
] |
Current State: 81:[69, 5, 88, 3], Operations: []
Exploring Operation: 69*5=345, Resulting Numbers: [88, 3, 345]
Generated Node #2: [88, 3, 345] from Operation: 69*5=345
Current State: 81:[88, 3, 345], Operations: ['69*5=345']
Exploring Operation: 88*3=264, Resulting Numbers: [345, 264]
Generated Node #3: [345, 264] from Operation: 88*3=264
Current State: 81:[345, 264], Operations: ['69*5=345', '88*3=264']
Exploring Operation: 345-264=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[69, 5, 88, 3], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [5, 3, 19]
Generated Node #0,0: 81:[5, 3, 19] Operation: 88-69=19
Moving to Node #0,0
Current State: 81:[5, 3, 19], Operations: ['88-69=19']
Exploring Operation: 5+19=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 81:[3, 24] Operation: 5+19=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[3, 24], Operations: ['88-69=19', '5+19=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
74,
43,
3,
4
] | 50 |
[
"74*3=222",
"43*4=172",
"222-172=50"
] |
Current State: 50:[74, 43, 3, 4], Operations: []
Exploring Operation: 74*3=222, Resulting Numbers: [43, 4, 222]
Generated Node #2: [43, 4, 222] from Operation: 74*3=222
Current State: 50:[43, 4, 222], Operations: ['74*3=222']
Exploring Operation: 43*4=172, Resulting Numbers: [222, 172]
Generated Node #3: [222, 172] from Operation: 43*4=172
Current State: 50:[222, 172], Operations: ['74*3=222', '43*4=172']
Exploring Operation: 222-172=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[74, 43, 3, 4], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [3, 4, 31]
Generated Node #0,0: 50:[3, 4, 31] Operation: 74-43=31
Exploring Operation: 74-4=70, Resulting Numbers: [43, 3, 70]
Generated Node #0,1: 50:[43, 3, 70] Operation: 74-4=70
Moving to Node #0,0
Current State: 50:[3, 4, 31], Operations: ['74-43=31']
Exploring Operation: 31-4=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 50:[3, 27] Operation: 31-4=27
Exploring Operation: 31-3=28, Resulting Numbers: [4, 28]
Generated Node #0,0,1: 50:[4, 28] Operation: 31-3=28
Moving to Node #0,1
Current State: 50:[43, 3, 70], Operations: ['74-4=70']
Exploring Operation: 70-43=27, Resulting Numbers: [3, 27]
Generated Node #0,1,0: 50:[3, 27] Operation: 70-43=27
Exploring Operation: 43+3=46, Resulting Numbers: [70, 46]
Generated Node #0,1,1: 50:[70, 46] Operation: 43+3=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[3, 27], Operations: ['74-4=70', '70-43=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[70, 46], Operations: ['74-4=70', '43+3=46']
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 50:[3, 27], Operations: ['74-43=31', '31-4=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[4, 28], Operations: ['74-43=31', '31-3=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,50 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
36,
18,
98,
47
] | 96 |
[
"36/18=2",
"98/2=49",
"47+49=96"
] |
Current State: 96:[36, 18, 98, 47], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [98, 47, 2]
Generated Node #2: [98, 47, 2] from Operation: 36/18=2
Current State: 96:[98, 47, 2], Operations: ['36/18=2']
Exploring Operation: 98/2=49, Resulting Numbers: [47, 49]
Generated Node #3: [47, 49] from Operation: 98/2=49
Current State: 96:[47, 49], Operations: ['36/18=2', '98/2=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[36, 18, 98, 47], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [98, 47, 2]
Generated Node #0,0: 96:[98, 47, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [98, 47, 18]
Generated Node #0,1: 96:[98, 47, 18] Operation: 36-18=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[98, 47, 2], Operations: ['36/18=2']
Exploring Operation: 98-2=96, Resulting Numbers: [47, 96]
Generated Node #0,0,0: 96:[47, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [47, 49]
Generated Node #0,0,1: 96:[47, 49] Operation: 98/2=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[47, 96], Operations: ['36/18=2', '98-2=96']
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 47+96=143, Resulting Numbers: [143]
143,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[47, 49], Operations: ['36/18=2', '98/2=49']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[36, 18, 98, 47], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [98, 47, 2]
Generated Node #0,0: 96:[98, 47, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 96:[98, 47, 2], Operations: ['36/18=2']
Exploring Operation: 98/2=49, Resulting Numbers: [47, 49]
Generated Node #0,0,1: 96:[47, 49] Operation: 98/2=49
Moving to Node #0,0,1
Current State: 96:[47, 49], Operations: ['36/18=2', '98/2=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
83,
38,
13,
75
] | 66 |
[
"83-75=8",
"13*8=104",
"104-38=66"
] |
Current State: 66:[83, 38, 13, 75], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [38, 13, 8]
Generated Node #2: [38, 13, 8] from Operation: 83-75=8
Current State: 66:[38, 13, 8], Operations: ['83-75=8']
Exploring Operation: 13*8=104, Resulting Numbers: [38, 104]
Generated Node #3: [38, 104] from Operation: 13*8=104
Current State: 66:[38, 104], Operations: ['83-75=8', '13*8=104']
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[83, 38, 13, 75], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [38, 75, 70]
Generated Node #0,0: 66:[38, 75, 70] Operation: 83-13=70
Exploring Operation: 83-75=8, Resulting Numbers: [38, 13, 8]
Generated Node #0,1: 66:[38, 13, 8] Operation: 83-75=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[38, 13, 8], Operations: ['83-75=8']
Exploring Operation: 38-8=30, Resulting Numbers: [13, 30]
Generated Node #0,1,0: 66:[13, 30] Operation: 38-8=30
Exploring Operation: 38-13=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 66:[8, 25] Operation: 38-13=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[13, 30], Operations: ['83-75=8', '38-8=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[8, 25], Operations: ['83-75=8', '38-13=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[38, 75, 70], Operations: ['83-13=70']
Exploring Operation: 75-70=5, Resulting Numbers: [38, 5]
Generated Node #0,0,0: 66:[38, 5] Operation: 75-70=5
Exploring Operation: 75-38=37, Resulting Numbers: [70, 37]
Generated Node #0,0,1: 66:[70, 37] Operation: 75-38=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[38, 5], Operations: ['83-13=70', '75-70=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[70, 37], Operations: ['83-13=70', '75-38=37']
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
63,
50,
35,
33
] | 21 |
[
"63-33=30",
"35*30=1050",
"1050/50=21"
] |
Current State: 21:[63, 50, 35, 33], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [50, 35, 30]
Generated Node #2: [50, 35, 30] from Operation: 63-33=30
Current State: 21:[50, 35, 30], Operations: ['63-33=30']
Exploring Operation: 35*30=1050, Resulting Numbers: [50, 1050]
Generated Node #3: [50, 1050] from Operation: 35*30=1050
Current State: 21:[50, 1050], Operations: ['63-33=30', '35*30=1050']
Exploring Operation: 1050/50=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[63, 50, 35, 33], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [50, 35, 30]
Generated Node #0,0: 21:[50, 35, 30] Operation: 63-33=30
Exploring Operation: 63-50=13, Resulting Numbers: [35, 33, 13]
Generated Node #0,1: 21:[35, 33, 13] Operation: 63-50=13
Exploring Operation: 63-35=28, Resulting Numbers: [50, 33, 28]
Generated Node #0,2: 21:[50, 33, 28] Operation: 63-35=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[35, 33, 13], Operations: ['63-50=13']
Exploring Operation: 33-13=20, Resulting Numbers: [35, 20]
Generated Node #0,1,0: 21:[35, 20] Operation: 33-13=20
Exploring Operation: 35-13=22, Resulting Numbers: [33, 22]
Generated Node #0,1,1: 21:[33, 22] Operation: 35-13=22
Exploring Operation: 35-33=2, Resulting Numbers: [13, 2]
Generated Node #0,1,2: 21:[13, 2] Operation: 35-33=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[13, 2], Operations: ['63-50=13', '35-33=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[33, 22], Operations: ['63-50=13', '35-13=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[35, 20], Operations: ['63-50=13', '33-13=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,21 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[50, 33, 28], Operations: ['63-35=28']
Exploring Operation: 50-33=17, Resulting Numbers: [28, 17]
Generated Node #0,2,0: 21:[28, 17] Operation: 50-33=17
Exploring Operation: 50-28=22, Resulting Numbers: [33, 22]
Generated Node #0,2,1: 21:[33, 22] Operation: 50-28=22
Exploring Operation: 33-28=5, Resulting Numbers: [50, 5]
Generated Node #0,2,2: 21:[50, 5] Operation: 33-28=5
Moving to Node #0,2,0
Current State: 21:[28, 17], Operations: ['63-35=28', '50-33=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[33, 22], Operations: ['63-35=28', '50-28=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,21 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[50, 5], Operations: ['63-35=28', '33-28=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[50, 35, 30], Operations: ['63-33=30']
Exploring Operation: 50-35=15, Resulting Numbers: [30, 15]
Generated Node #0,0,0: 21:[30, 15] Operation: 50-35=15
Exploring Operation: 35-30=5, Resulting Numbers: [50, 5]
Generated Node #0,0,1: 21:[50, 5] Operation: 35-30=5
Exploring Operation: 50-30=20, Resulting Numbers: [35, 20]
Generated Node #0,0,2: 21:[35, 20] Operation: 50-30=20
Moving to Node #0,0,0
Current State: 21:[30, 15], Operations: ['63-33=30', '50-35=15']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[35, 20], Operations: ['63-33=30', '50-30=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,21 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[50, 5], Operations: ['63-33=30', '35-30=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,21 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
|
[
68,
66,
6,
75
] | 53 |
[
"68+66=134",
"6+75=81",
"134-81=53"
] |
Current State: 53:[68, 66, 6, 75], Operations: []
Exploring Operation: 68+66=134, Resulting Numbers: [6, 75, 134]
Generated Node #2: [6, 75, 134] from Operation: 68+66=134
Current State: 53:[6, 75, 134], Operations: ['68+66=134']
Exploring Operation: 6+75=81, Resulting Numbers: [134, 81]
Generated Node #3: [134, 81] from Operation: 6+75=81
Current State: 53:[134, 81], Operations: ['68+66=134', '6+75=81']
Exploring Operation: 134-81=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[68, 66, 6, 75], Operations: []
Exploring Operation: 66-6=60, Resulting Numbers: [68, 75, 60]
Generated Node #0,0: 53:[68, 75, 60] Operation: 66-6=60
Exploring Operation: 75-6=69, Resulting Numbers: [68, 66, 69]
Generated Node #0,1: 53:[68, 66, 69] Operation: 75-6=69
Exploring Operation: 68-6=62, Resulting Numbers: [66, 75, 62]
Generated Node #0,2: 53:[66, 75, 62] Operation: 68-6=62
Moving to Node #0,0
Current State: 53:[68, 75, 60], Operations: ['66-6=60']
Exploring Operation: 75-60=15, Resulting Numbers: [68, 15]
Generated Node #0,0,0: 53:[68, 15] Operation: 75-60=15
Exploring Operation: 68-60=8, Resulting Numbers: [75, 8]
Generated Node #0,0,1: 53:[75, 8] Operation: 68-60=8
Exploring Operation: 75-68=7, Resulting Numbers: [60, 7]
Generated Node #0,0,2: 53:[60, 7] Operation: 75-68=7
Moving to Node #0,1
Current State: 53:[68, 66, 69], Operations: ['75-6=69']
Exploring Operation: 69-68=1, Resulting Numbers: [66, 1]
Generated Node #0,1,0: 53:[66, 1] Operation: 69-68=1
Exploring Operation: 69-66=3, Resulting Numbers: [68, 3]
Generated Node #0,1,1: 53:[68, 3] Operation: 69-66=3
Exploring Operation: 68-66=2, Resulting Numbers: [69, 2]
Generated Node #0,1,2: 53:[69, 2] Operation: 68-66=2
Moving to Node #0,2
Current State: 53:[66, 75, 62], Operations: ['68-6=62']
Exploring Operation: 66-62=4, Resulting Numbers: [75, 4]
Generated Node #0,2,0: 53:[75, 4] Operation: 66-62=4
Exploring Operation: 75-66=9, Resulting Numbers: [62, 9]
Generated Node #0,2,1: 53:[62, 9] Operation: 75-66=9
Exploring Operation: 75-62=13, Resulting Numbers: [66, 13]
Generated Node #0,2,2: 53:[66, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[62, 9], Operations: ['68-6=62', '75-66=9']
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,53 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[68, 66, 6, 75], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [66, 75, 62]
Generated Node #0,2: 53:[66, 75, 62] Operation: 68-6=62
Moving to Node #0,2
Current State: 53:[66, 75, 62], Operations: ['68-6=62']
Exploring Operation: 75-66=9, Resulting Numbers: [62, 9]
Generated Node #0,2,1: 53:[62, 9] Operation: 75-66=9
Moving to Node #0,2,1
Current State: 53:[62, 9], Operations: ['68-6=62', '75-66=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
mult_heuristic
|
[
29,
27,
43,
9
] | 17 |
[
"29-27=2",
"43-9=34",
"34/2=17"
] |
Current State: 17:[29, 27, 43, 9], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [43, 9, 2]
Generated Node #2: [43, 9, 2] from Operation: 29-27=2
Current State: 17:[43, 9, 2], Operations: ['29-27=2']
Exploring Operation: 43-9=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 43-9=34
Current State: 17:[2, 34], Operations: ['29-27=2', '43-9=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[29, 27, 43, 9], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [29, 9, 16]
Generated Node #0,0: 17:[29, 9, 16] Operation: 43-27=16
Exploring Operation: 43-29=14, Resulting Numbers: [27, 9, 14]
Generated Node #0,1: 17:[27, 9, 14] Operation: 43-29=14
Moving to Node #0,0
Current State: 17:[29, 9, 16], Operations: ['43-27=16']
Exploring Operation: 29-9=20, Resulting Numbers: [16, 20]
Generated Node #0,0,0: 17:[16, 20] Operation: 29-9=20
Exploring Operation: 29-16=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 17:[9, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[16, 20], Operations: ['43-27=16', '29-9=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[9, 13], Operations: ['43-27=16', '29-16=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,17 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: 17:[27, 9, 14], Operations: ['43-29=14']
Exploring Operation: 27-9=18, Resulting Numbers: [14, 18]
Generated Node #0,1,0: 17:[14, 18] Operation: 27-9=18
Exploring Operation: 27-14=13, Resulting Numbers: [9, 13]
Generated Node #0,1,1: 17:[9, 13] Operation: 27-14=13
Moving to Node #0,1,0
Current State: 17:[14, 18], Operations: ['43-29=14', '27-9=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[9, 13], Operations: ['43-29=14', '27-14=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,17 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
25,
17,
53,
12
] | 48 |
[
"17-12=5",
"25/5=5",
"53-5=48"
] |
Current State: 48:[25, 17, 53, 12], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [25, 53, 5]
Generated Node #2: [25, 53, 5] from Operation: 17-12=5
Current State: 48:[25, 53, 5], Operations: ['17-12=5']
Exploring Operation: 25/5=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 25/5=5
Current State: 48:[53, 5], Operations: ['17-12=5', '25/5=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[25, 17, 53, 12], Operations: []
Exploring Operation: 53-25=28, Resulting Numbers: [17, 12, 28]
Generated Node #0,0: 48:[17, 12, 28] Operation: 53-25=28
Exploring Operation: 25-17=8, Resulting Numbers: [53, 12, 8]
Generated Node #0,1: 48:[53, 12, 8] Operation: 25-17=8
Exploring Operation: 25-12=13, Resulting Numbers: [17, 53, 13]
Generated Node #0,2: 48:[17, 53, 13] Operation: 25-12=13
Moving to Node #0,0
Current State: 48:[17, 12, 28], Operations: ['53-25=28']
Exploring Operation: 28-17=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 48:[12, 11] Operation: 28-17=11
Exploring Operation: 28-12=16, Resulting Numbers: [17, 16]
Generated Node #0,0,1: 48:[17, 16] Operation: 28-12=16
Exploring Operation: 17+28=45, Resulting Numbers: [12, 45]
Generated Node #0,0,2: 48:[12, 45] Operation: 17+28=45
Moving to Node #0,1
Current State: 48:[53, 12, 8], Operations: ['25-17=8']
Exploring Operation: 53-12=41, Resulting Numbers: [8, 41]
Generated Node #0,1,0: 48:[8, 41] Operation: 53-12=41
Exploring Operation: 12-8=4, Resulting Numbers: [53, 4]
Generated Node #0,1,1: 48:[53, 4] Operation: 12-8=4
Exploring Operation: 53-8=45, Resulting Numbers: [12, 45]
Generated Node #0,1,2: 48:[12, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[12, 45], Operations: ['25-17=8', '53-8=45']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,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,1,1
Current State: 48:[53, 4], Operations: ['25-17=8', '12-8=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,48 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,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,1,0
Current State: 48:[8, 41], Operations: ['25-17=8', '53-12=41']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,48 unequal: No Solution
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,48 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: 48:[17, 53, 13], Operations: ['25-12=13']
Exploring Operation: 17-13=4, Resulting Numbers: [53, 4]
Generated Node #0,2,0: 48:[53, 4] Operation: 17-13=4
Exploring Operation: 17+13=30, Resulting Numbers: [53, 30]
Generated Node #0,2,1: 48:[53, 30] Operation: 17+13=30
Exploring Operation: 53-13=40, Resulting Numbers: [17, 40]
Generated Node #0,2,2: 48:[17, 40] Operation: 53-13=40
Moving to Node #0,0,0
Current State: 48:[12, 11], Operations: ['53-25=28', '28-17=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[17, 16], Operations: ['53-25=28', '28-12=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[12, 45], Operations: ['53-25=28', '17+28=45']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[53, 4], Operations: ['25-12=13', '17-13=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[17, 40], Operations: ['25-12=13', '53-13=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,48 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[53, 30], Operations: ['25-12=13', '17+13=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,48 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,48 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
86,
12,
80,
3
] | 75 |
[
"86-80=6",
"12*6=72",
"3+72=75"
] |
Current State: 75:[86, 12, 80, 3], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [12, 3, 6]
Generated Node #2: [12, 3, 6] from Operation: 86-80=6
Current State: 75:[12, 3, 6], Operations: ['86-80=6']
Exploring Operation: 12*6=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 12*6=72
Current State: 75:[3, 72], Operations: ['86-80=6', '12*6=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[86, 12, 80, 3], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [12, 3, 6]
Generated Node #0,0: 75:[12, 3, 6] Operation: 86-80=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[12, 3, 6], Operations: ['86-80=6']
Exploring Operation: 12+3=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 75:[6, 15] Operation: 12+3=15
Moving to Node #0,0,0
Current State: 75:[6, 15], Operations: ['86-80=6', '12+3=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
91,
6,
96,
96
] | 95 |
[
"91+6=97",
"96+96=192",
"192-97=95"
] |
Current State: 95:[91, 6, 96, 96], Operations: []
Exploring Operation: 91+6=97, Resulting Numbers: [96, 96, 97]
Generated Node #2: [96, 96, 97] from Operation: 91+6=97
Current State: 95:[96, 96, 97], Operations: ['91+6=97']
Exploring Operation: 96+96=192, Resulting Numbers: [97, 192]
Generated Node #3: [97, 192] from Operation: 96+96=192
Current State: 95:[97, 192], Operations: ['91+6=97', '96+96=192']
Exploring Operation: 192-97=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[91, 6, 96, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [6, 96, 5]
Generated Node #0,0: 95:[6, 96, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[6, 96, 5], Operations: ['96-91=5']
Exploring Operation: 96/6=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 95:[5, 16] Operation: 96/6=16
Moving to Node #0,0,0
Current State: 95:[5, 16], Operations: ['96-91=5', '96/6=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,95 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,
48,
76,
48
] | 20 |
[
"48/6=8",
"76-48=28",
"28-8=20"
] |
Current State: 20:[6, 48, 76, 48], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [76, 8]
Generated Node #2: [76, 8] from Operation: 48/6=8
Current State: 20:[76, 8], Operations: ['48/6=8']
Exploring Operation: 76-48=28, Resulting Numbers: [8, 28]
Generated Node #3: [8, 28] from Operation: 76-48=28
Current State: 20:[8, 28], Operations: ['48/6=8', '76-48=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[6, 48, 76, 48], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [6, 48, 28]
Generated Node #0,0: 20:[6, 48, 28] Operation: 76-48=28
Exploring Operation: 76-48=28, Resulting Numbers: [6, 48, 28]
Generated Node #0,1: 20:[6, 48, 28] Operation: 76-48=28
Exploring Operation: 48/48=1, Resulting Numbers: [6, 76, 1]
Generated Node #0,2: 20:[6, 76, 1] Operation: 48/48=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[6, 48, 28], Operations: ['76-48=28']
Exploring Operation: 48-6=42, Resulting Numbers: [28, 42]
Generated Node #0,0,0: 20:[28, 42] Operation: 48-6=42
Exploring Operation: 48/6=8, Resulting Numbers: [28, 8]
Generated Node #0,0,1: 20:[28, 8] Operation: 48/6=8
Exploring Operation: 48-28=20, Resulting Numbers: [6, 20]
Generated Node #0,0,2: 20:[6, 20] Operation: 48-28=20
Moving to Node #0,0,2
Current State: 20:[6, 20], Operations: ['76-48=28', '48-28=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[28, 8], Operations: ['76-48=28', '48/6=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,20 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[6, 48, 76, 48], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [6, 48, 28]
Generated Node #0,0: 20:[6, 48, 28] Operation: 76-48=28
Moving to Node #0,0
Current State: 20:[6, 48, 28], Operations: ['76-48=28']
Exploring Operation: 48/6=8, Resulting Numbers: [28, 8]
Generated Node #0,0,1: 20:[28, 8] Operation: 48/6=8
Moving to Node #0,0,1
Current State: 20:[28, 8], Operations: ['76-48=28', '48/6=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
61,
35,
93,
1
] | 67 |
[
"61-35=26",
"93*1=93",
"93-26=67"
] |
Current State: 67:[61, 35, 93, 1], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [93, 1, 26]
Generated Node #2: [93, 1, 26] from Operation: 61-35=26
Current State: 67:[93, 1, 26], Operations: ['61-35=26']
Exploring Operation: 93*1=93, Resulting Numbers: [26, 93]
Generated Node #3: [26, 93] from Operation: 93*1=93
Current State: 67:[26, 93], Operations: ['61-35=26', '93*1=93']
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[61, 35, 93, 1], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [61, 93, 36]
Generated Node #0,0: 67:[61, 93, 36] Operation: 35+1=36
Exploring Operation: 93-1=92, Resulting Numbers: [61, 35, 92]
Generated Node #0,1: 67:[61, 35, 92] Operation: 93-1=92
Exploring Operation: 61+1=62, Resulting Numbers: [35, 93, 62]
Generated Node #0,2: 67:[35, 93, 62] Operation: 61+1=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[61, 93, 36], Operations: ['35+1=36']
Exploring Operation: 61+36=97, Resulting Numbers: [93, 97]
Generated Node #0,0,0: 67:[93, 97] Operation: 61+36=97
Exploring Operation: 93-61=32, Resulting Numbers: [36, 32]
Generated Node #0,0,1: 67:[36, 32] Operation: 93-61=32
Exploring Operation: 93-36=57, Resulting Numbers: [61, 57]
Generated Node #0,0,2: 67:[61, 57] Operation: 93-36=57
Moving to Node #0,0,2
Current State: 67:[61, 57], Operations: ['35+1=36', '93-36=57']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[93, 97], Operations: ['35+1=36', '61+36=97']
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,67 unequal: No Solution
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,67 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[36, 32], Operations: ['35+1=36', '93-61=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,67 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[61, 35, 92], Operations: ['93-1=92']
Exploring Operation: 61+35=96, Resulting Numbers: [92, 96]
Generated Node #0,1,0: 67:[92, 96] Operation: 61+35=96
Exploring Operation: 61-35=26, Resulting Numbers: [92, 26]
Generated Node #0,1,1: 67:[92, 26] Operation: 61-35=26
Exploring Operation: 92-35=57, Resulting Numbers: [61, 57]
Generated Node #0,1,2: 67:[61, 57] Operation: 92-35=57
Moving to Node #0,1,2
Current State: 67:[61, 57], Operations: ['93-1=92', '92-35=57']
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,67 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[92, 96], Operations: ['93-1=92', '61+35=96']
Exploring Operation: 92+96=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 92*96=8832, Resulting Numbers: [8832]
8832,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[92, 26], Operations: ['93-1=92', '61-35=26']
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,67 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[35, 93, 62], Operations: ['61+1=62']
Exploring Operation: 93-35=58, Resulting Numbers: [62, 58]
Generated Node #0,2,0: 67:[62, 58] Operation: 93-35=58
Exploring Operation: 35+62=97, Resulting Numbers: [93, 97]
Generated Node #0,2,1: 67:[93, 97] Operation: 35+62=97
Exploring Operation: 35+93=128, Resulting Numbers: [62, 128]
Generated Node #0,2,2: 67:[62, 128] Operation: 35+93=128
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[62, 58], Operations: ['61+1=62', '93-35=58']
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,67 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[93, 97], Operations: ['61+1=62', '35+62=97']
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,67 unequal: No Solution
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[62, 128], Operations: ['61+1=62', '35+93=128']
Exploring Operation: 62+128=190, Resulting Numbers: [190]
190,67 unequal: No Solution
Exploring Operation: 62*128=7936, Resulting Numbers: [7936]
7936,67 unequal: No Solution
Exploring Operation: 128-62=66, Resulting Numbers: [66]
66,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_3
|
sum_heuristic
|
[
14,
86,
37,
90
] | 93 |
[
"90-86=4",
"14*4=56",
"37+56=93"
] |
Current State: 93:[14, 86, 37, 90], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [14, 37, 4]
Generated Node #2: [14, 37, 4] from Operation: 90-86=4
Current State: 93:[14, 37, 4], Operations: ['90-86=4']
Exploring Operation: 14*4=56, Resulting Numbers: [37, 56]
Generated Node #3: [37, 56] from Operation: 14*4=56
Current State: 93:[37, 56], Operations: ['90-86=4', '14*4=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[14, 86, 37, 90], Operations: []
Exploring Operation: 14+86=100, Resulting Numbers: [37, 90, 100]
Generated Node #0,0: 93:[37, 90, 100] Operation: 14+86=100
Exploring Operation: 37-14=23, Resulting Numbers: [86, 90, 23]
Generated Node #0,1: 93:[86, 90, 23] Operation: 37-14=23
Moving to Node #0,0
Current State: 93:[37, 90, 100], Operations: ['14+86=100']
Exploring Operation: 100-90=10, Resulting Numbers: [37, 10]
Generated Node #0,0,0: 93:[37, 10] Operation: 100-90=10
Exploring Operation: 90-37=53, Resulting Numbers: [100, 53]
Generated Node #0,0,1: 93:[100, 53] Operation: 90-37=53
Moving to Node #0,1
Current State: 93:[86, 90, 23], Operations: ['37-14=23']
Exploring Operation: 86+23=109, Resulting Numbers: [90, 109]
Generated Node #0,1,0: 93:[90, 109] Operation: 86+23=109
Exploring Operation: 90-86=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 93:[23, 4] Operation: 90-86=4
Moving to Node #0,1,1
Current State: 93:[23, 4], Operations: ['37-14=23', '90-86=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[37, 10], Operations: ['14+86=100', '100-90=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[90, 109], Operations: ['37-14=23', '86+23=109']
Exploring Operation: 109-90=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 90+109=199, Resulting Numbers: [199]
199,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[100, 53], Operations: ['14+86=100', '90-37=53']
Exploring Operation: 100-53=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 100+53=153, Resulting Numbers: [153]
153,93 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
15,
41,
20,
5
] | 63 |
[
"15/5=3",
"41-20=21",
"3*21=63"
] |
Current State: 63:[15, 41, 20, 5], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [41, 20, 3]
Generated Node #2: [41, 20, 3] from Operation: 15/5=3
Current State: 63:[41, 20, 3], Operations: ['15/5=3']
Exploring Operation: 41-20=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 41-20=21
Current State: 63:[3, 21], Operations: ['15/5=3', '41-20=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[15, 41, 20, 5], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [20, 5, 26]
Generated Node #0,0: 63:[20, 5, 26] Operation: 41-15=26
Moving to Node #0,0
Current State: 63:[20, 5, 26], Operations: ['41-15=26']
Exploring Operation: 26-5=21, Resulting Numbers: [20, 21]
Generated Node #0,0,0: 63:[20, 21] Operation: 26-5=21
Moving to Node #0,0,0
Current State: 63:[20, 21], Operations: ['41-15=26', '26-5=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
15,
25,
75,
21
] | 75 |
[
"21-15=6",
"25*6=150",
"150-75=75"
] |
Current State: 75:[15, 25, 75, 21], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [25, 75, 6]
Generated Node #2: [25, 75, 6] from Operation: 21-15=6
Current State: 75:[25, 75, 6], Operations: ['21-15=6']
Exploring Operation: 25*6=150, Resulting Numbers: [75, 150]
Generated Node #3: [75, 150] from Operation: 25*6=150
Current State: 75:[75, 150], Operations: ['21-15=6', '25*6=150']
Exploring Operation: 150-75=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[15, 25, 75, 21], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [15, 75, 4]
Generated Node #0,0: 75:[15, 75, 4] Operation: 25-21=4
Exploring Operation: 21-15=6, Resulting Numbers: [25, 75, 6]
Generated Node #0,1: 75:[25, 75, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[15, 75, 4], Operations: ['25-21=4']
Exploring Operation: 75/15=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 75:[4, 5] Operation: 75/15=5
Exploring Operation: 15+4=19, Resulting Numbers: [75, 19]
Generated Node #0,0,1: 75:[75, 19] Operation: 15+4=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[4, 5], Operations: ['25-21=4', '75/15=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[75, 19], Operations: ['25-21=4', '15+4=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[25, 75, 6], Operations: ['21-15=6']
Exploring Operation: 25-6=19, Resulting Numbers: [75, 19]
Generated Node #0,1,0: 75:[75, 19] Operation: 25-6=19
Exploring Operation: 75/25=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 75:[6, 3] Operation: 75/25=3
Moving to Node #0,1,1
Current State: 75:[6, 3], Operations: ['21-15=6', '75/25=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[75, 19], Operations: ['21-15=6', '25-6=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,75 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
|
[
33,
88,
7,
39
] | 75 |
[
"33+88=121",
"7+39=46",
"121-46=75"
] |
Current State: 75:[33, 88, 7, 39], Operations: []
Exploring Operation: 33+88=121, Resulting Numbers: [7, 39, 121]
Generated Node #2: [7, 39, 121] from Operation: 33+88=121
Current State: 75:[7, 39, 121], Operations: ['33+88=121']
Exploring Operation: 7+39=46, Resulting Numbers: [121, 46]
Generated Node #3: [121, 46] from Operation: 7+39=46
Current State: 75:[121, 46], Operations: ['33+88=121', '7+39=46']
Exploring Operation: 121-46=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[33, 88, 7, 39], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [88, 7, 6]
Generated Node #0,0: 75:[88, 7, 6] Operation: 39-33=6
Exploring Operation: 33+39=72, Resulting Numbers: [88, 7, 72]
Generated Node #0,1: 75:[88, 7, 72] Operation: 33+39=72
Moving to Node #0,0
Current State: 75:[88, 7, 6], Operations: ['39-33=6']
Exploring Operation: 88-6=82, Resulting Numbers: [7, 82]
Generated Node #0,0,0: 75:[7, 82] Operation: 88-6=82
Exploring Operation: 88-7=81, Resulting Numbers: [6, 81]
Generated Node #0,0,1: 75:[6, 81] Operation: 88-7=81
Moving to Node #0,1
Current State: 75:[88, 7, 72], Operations: ['33+39=72']
Exploring Operation: 88-72=16, Resulting Numbers: [7, 16]
Generated Node #0,1,0: 75:[7, 16] Operation: 88-72=16
Exploring Operation: 88-7=81, Resulting Numbers: [72, 81]
Generated Node #0,1,1: 75:[72, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[7, 16], Operations: ['33+39=72', '88-72=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[72, 81], Operations: ['33+39=72', '88-7=81']
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 75:[6, 81], Operations: ['39-33=6', '88-7=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,75 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[33, 88, 7, 39], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [88, 7, 6]
Generated Node #0,0: 75:[88, 7, 6] Operation: 39-33=6
Moving to Node #0,0
Current State: 75:[88, 7, 6], Operations: ['39-33=6']
Exploring Operation: 88-7=81, Resulting Numbers: [6, 81]
Generated Node #0,0,1: 75:[6, 81] Operation: 88-7=81
Moving to Node #0,0,1
Current State: 75:[6, 81], Operations: ['39-33=6', '88-7=81']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.986111 |
hs_2
|
mult_heuristic
|
[
89,
68,
34,
72
] | 19 |
[
"89-72=17",
"68/34=2",
"17+2=19"
] |
Current State: 19:[89, 68, 34, 72], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [68, 34, 17]
Generated Node #2: [68, 34, 17] from Operation: 89-72=17
Current State: 19:[68, 34, 17], Operations: ['89-72=17']
Exploring Operation: 68/34=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 68/34=2
Current State: 19:[17, 2], Operations: ['89-72=17', '68/34=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[89, 68, 34, 72], Operations: []
Exploring Operation: 89-68=21, Resulting Numbers: [34, 72, 21]
Generated Node #0,0: 19:[34, 72, 21] Operation: 89-68=21
Exploring Operation: 89-72=17, Resulting Numbers: [68, 34, 17]
Generated Node #0,1: 19:[68, 34, 17] Operation: 89-72=17
Exploring Operation: 72-68=4, Resulting Numbers: [89, 34, 4]
Generated Node #0,2: 19:[89, 34, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[68, 34, 17], Operations: ['89-72=17']
Exploring Operation: 68-34=34, Resulting Numbers: [17, 34]
Generated Node #0,1,0: 19:[17, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [17, 2]
Generated Node #0,1,1: 19:[17, 2] Operation: 68/34=2
Exploring Operation: 68/17=4, Resulting Numbers: [34, 4]
Generated Node #0,1,2: 19:[34, 4] Operation: 68/17=4
Moving to Node #0,1,0
Current State: 19:[17, 34], Operations: ['89-72=17', '68-34=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[17, 2], Operations: ['89-72=17', '68/34=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[89, 68, 34, 72], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [68, 34, 17]
Generated Node #0,1: 19:[68, 34, 17] Operation: 89-72=17
Moving to Node #0,1
Current State: 19:[68, 34, 17], Operations: ['89-72=17']
Exploring Operation: 68/34=2, Resulting Numbers: [17, 2]
Generated Node #0,1,1: 19:[17, 2] Operation: 68/34=2
Moving to Node #0,1,1
Current State: 19:[17, 2], Operations: ['89-72=17', '68/34=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
sum_heuristic
|
[
46,
62,
64,
75
] | 79 |
[
"62-46=16",
"64/16=4",
"75+4=79"
] |
Current State: 79:[46, 62, 64, 75], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [64, 75, 16]
Generated Node #2: [64, 75, 16] from Operation: 62-46=16
Current State: 79:[64, 75, 16], Operations: ['62-46=16']
Exploring Operation: 64/16=4, Resulting Numbers: [75, 4]
Generated Node #3: [75, 4] from Operation: 64/16=4
Current State: 79:[75, 4], Operations: ['62-46=16', '64/16=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[46, 62, 64, 75], Operations: []
Exploring Operation: 46+75=121, Resulting Numbers: [62, 64, 121]
Generated Node #0,0: 79:[62, 64, 121] Operation: 46+75=121
Exploring Operation: 46+62=108, Resulting Numbers: [64, 75, 108]
Generated Node #0,1: 79:[64, 75, 108] Operation: 46+62=108
Exploring Operation: 62-46=16, Resulting Numbers: [64, 75, 16]
Generated Node #0,2: 79:[64, 75, 16] Operation: 62-46=16
Exploring Operation: 46+64=110, Resulting Numbers: [62, 75, 110]
Generated Node #0,3: 79:[62, 75, 110] Operation: 46+64=110
Exploring Operation: 64-46=18, Resulting Numbers: [62, 75, 18]
Generated Node #0,4: 79:[62, 75, 18] Operation: 64-46=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[64, 75, 108], Operations: ['46+62=108']
Exploring Operation: 64+75=139, Resulting Numbers: [108, 139]
Generated Node #0,1,0: 79:[108, 139] Operation: 64+75=139
Exploring Operation: 64+108=172, Resulting Numbers: [75, 172]
Generated Node #0,1,1: 79:[75, 172] Operation: 64+108=172
Exploring Operation: 75-64=11, Resulting Numbers: [108, 11]
Generated Node #0,1,2: 79:[108, 11] Operation: 75-64=11
Exploring Operation: 108-64=44, Resulting Numbers: [75, 44]
Generated Node #0,1,3: 79:[75, 44] Operation: 108-64=44
Exploring Operation: 108-75=33, Resulting Numbers: [64, 33]
Generated Node #0,1,4: 79:[64, 33] Operation: 108-75=33
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[75, 44], Operations: ['46+62=108', '108-64=44']
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 75*44=3300, Resulting Numbers: [3300]
3300,79 unequal: No Solution
Exploring Operation: 75+44=119, Resulting Numbers: [119]
119,79 unequal: No Solution
No 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: 79:[64, 33], Operations: ['46+62=108', '108-75=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,79 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,79 unequal: No Solution
No 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: 79:[108, 139], Operations: ['46+62=108', '64+75=139']
Exploring Operation: 108*139=15012, Resulting Numbers: [15012]
15012,79 unequal: No Solution
Exploring Operation: 108+139=247, Resulting Numbers: [247]
247,79 unequal: No Solution
Exploring Operation: 139-108=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No 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: 79:[75, 172], Operations: ['46+62=108', '64+108=172']
Exploring Operation: 75*172=12900, Resulting Numbers: [12900]
12900,79 unequal: No Solution
Exploring Operation: 75+172=247, Resulting Numbers: [247]
247,79 unequal: No Solution
Exploring Operation: 172-75=97, Resulting Numbers: [97]
97,79 unequal: No Solution
No 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: 79:[108, 11], Operations: ['46+62=108', '75-64=11']
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 108*11=1188, Resulting Numbers: [1188]
1188,79 unequal: No Solution
Exploring Operation: 108+11=119, Resulting Numbers: [119]
119,79 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: 79:[62, 75, 110], Operations: ['46+64=110']
Exploring Operation: 110-75=35, Resulting Numbers: [62, 35]
Generated Node #0,3,0: 79:[62, 35] Operation: 110-75=35
Exploring Operation: 75-62=13, Resulting Numbers: [110, 13]
Generated Node #0,3,1: 79:[110, 13] Operation: 75-62=13
Exploring Operation: 62+110=172, Resulting Numbers: [75, 172]
Generated Node #0,3,2: 79:[75, 172] Operation: 62+110=172
Exploring Operation: 62+75=137, Resulting Numbers: [110, 137]
Generated Node #0,3,3: 79:[110, 137] Operation: 62+75=137
Exploring Operation: 110-62=48, Resulting Numbers: [75, 48]
Generated Node #0,3,4: 79:[75, 48] Operation: 110-62=48
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 79:[75, 48], Operations: ['46+64=110', '110-62=48']
Exploring Operation: 75+48=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 75*48=3600, Resulting Numbers: [3600]
3600,79 unequal: No Solution
No 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: 79:[62, 35], Operations: ['46+64=110', '110-75=35']
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 62*35=2170, Resulting Numbers: [2170]
2170,79 unequal: No Solution
No 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: 79:[110, 137], Operations: ['46+64=110', '62+75=137']
Exploring Operation: 110+137=247, Resulting Numbers: [247]
247,79 unequal: No Solution
Exploring Operation: 110*137=15070, Resulting Numbers: [15070]
15070,79 unequal: No Solution
Exploring Operation: 137-110=27, Resulting Numbers: [27]
27,79 unequal: No Solution
No 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: 79:[110, 13], Operations: ['46+64=110', '75-62=13']
Exploring Operation: 110+13=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 110*13=1430, Resulting Numbers: [1430]
1430,79 unequal: No Solution
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,79 unequal: No Solution
No 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: 79:[75, 172], Operations: ['46+64=110', '62+110=172']
Exploring Operation: 75+172=247, Resulting Numbers: [247]
247,79 unequal: No Solution
Exploring Operation: 172-75=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 75*172=12900, Resulting Numbers: [12900]
12900,79 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: 79:[62, 64, 121], Operations: ['46+75=121']
Exploring Operation: 62+121=183, Resulting Numbers: [64, 183]
Generated Node #0,0,0: 79:[64, 183] Operation: 62+121=183
Exploring Operation: 64-62=2, Resulting Numbers: [121, 2]
Generated Node #0,0,1: 79:[121, 2] Operation: 64-62=2
Exploring Operation: 121-62=59, Resulting Numbers: [64, 59]
Generated Node #0,0,2: 79:[64, 59] Operation: 121-62=59
Exploring Operation: 121-64=57, Resulting Numbers: [62, 57]
Generated Node #0,0,3: 79:[62, 57] Operation: 121-64=57
Exploring Operation: 62+64=126, Resulting Numbers: [121, 126]
Generated Node #0,0,4: 79:[121, 126] Operation: 62+64=126
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[64, 59], Operations: ['46+75=121', '121-62=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,79 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No 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: 79:[62, 57], Operations: ['46+75=121', '121-64=57']
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,79 unequal: No Solution
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No 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: 79:[121, 126], Operations: ['46+75=121', '62+64=126']
Exploring Operation: 121*126=15246, Resulting Numbers: [15246]
15246,79 unequal: No Solution
Exploring Operation: 121+126=247, Resulting Numbers: [247]
247,79 unequal: No Solution
Exploring Operation: 126-121=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No 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: 79:[64, 183], Operations: ['46+75=121', '62+121=183']
Exploring Operation: 64*183=11712, Resulting Numbers: [11712]
11712,79 unequal: No Solution
Exploring Operation: 64+183=247, Resulting Numbers: [247]
247,79 unequal: No Solution
Exploring Operation: 183-64=119, Resulting Numbers: [119]
119,79 unequal: No Solution
No 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: 79:[121, 2], Operations: ['46+75=121', '64-62=2']
Exploring Operation: 121+2=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 121*2=242, Resulting Numbers: [242]
242,79 unequal: No Solution
Exploring Operation: 121-2=119, Resulting Numbers: [119]
119,79 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: 79:[64, 75, 16], Operations: ['62-46=16']
Exploring Operation: 64+16=80, Resulting Numbers: [75, 80]
Generated Node #0,2,0: 79:[75, 80] Operation: 64+16=80
Exploring Operation: 64/16=4, Resulting Numbers: [75, 4]
Generated Node #0,2,1: 79:[75, 4] Operation: 64/16=4
Exploring Operation: 64-16=48, Resulting Numbers: [75, 48]
Generated Node #0,2,2: 79:[75, 48] Operation: 64-16=48
Exploring Operation: 75-16=59, Resulting Numbers: [64, 59]
Generated Node #0,2,3: 79:[64, 59] Operation: 75-16=59
Exploring Operation: 75+16=91, Resulting Numbers: [64, 91]
Generated Node #0,2,4: 79:[64, 91] Operation: 75+16=91
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[75, 80], Operations: ['62-46=16', '64+16=80']
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,79 unequal: No Solution
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,79 unequal: No Solution
No 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: 79:[64, 91], Operations: ['62-46=16', '75+16=91']
Exploring Operation: 64*91=5824, Resulting Numbers: [5824]
5824,79 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 64+91=155, Resulting Numbers: [155]
155,79 unequal: No Solution
No 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: 79:[75, 48], Operations: ['62-46=16', '64-16=48']
Exploring Operation: 75+48=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 75*48=3600, Resulting Numbers: [3600]
3600,79 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,79 unequal: No Solution
No 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: 79:[64, 59], Operations: ['62-46=16', '75-16=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,79 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,79 unequal: No Solution
No 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: 79:[75, 4], Operations: ['62-46=16', '64/16=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[46, 62, 64, 75], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [64, 75, 16]
Generated Node #0,2: 79:[64, 75, 16] Operation: 62-46=16
Moving to Node #0,2
Current State: 79:[64, 75, 16], Operations: ['62-46=16']
Exploring Operation: 64/16=4, Resulting Numbers: [75, 4]
Generated Node #0,2,1: 79:[75, 4] Operation: 64/16=4
Moving to Node #0,2,1
Current State: 79:[75, 4], Operations: ['62-46=16', '64/16=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.923611 |
hs_5
|
sum_heuristic
|
[
7,
31,
48,
3
] | 40 |
[
"31-7=24",
"48/3=16",
"24+16=40"
] |
Current State: 40:[7, 31, 48, 3], Operations: []
Exploring Operation: 31-7=24, Resulting Numbers: [48, 3, 24]
Generated Node #2: [48, 3, 24] from Operation: 31-7=24
Current State: 40:[48, 3, 24], Operations: ['31-7=24']
Exploring Operation: 48/3=16, Resulting Numbers: [24, 16]
Generated Node #3: [24, 16] from Operation: 48/3=16
Current State: 40:[24, 16], Operations: ['31-7=24', '48/3=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[7, 31, 48, 3], Operations: []
Exploring Operation: 48-31=17, Resulting Numbers: [7, 3, 17]
Generated Node #0,0: 40:[7, 3, 17] Operation: 48-31=17
Exploring Operation: 31-7=24, Resulting Numbers: [48, 3, 24]
Generated Node #0,1: 40:[48, 3, 24] Operation: 31-7=24
Exploring Operation: 48/3=16, Resulting Numbers: [7, 31, 16]
Generated Node #0,2: 40:[7, 31, 16] Operation: 48/3=16
Exploring Operation: 7+31=38, Resulting Numbers: [48, 3, 38]
Generated Node #0,3: 40:[48, 3, 38] Operation: 7+31=38
Exploring Operation: 48-7=41, Resulting Numbers: [31, 3, 41]
Generated Node #0,4: 40:[31, 3, 41] Operation: 48-7=41
Moving to Node #0,0
Current State: 40:[7, 3, 17], Operations: ['48-31=17']
Exploring Operation: 7+3=10, Resulting Numbers: [17, 10]
Generated Node #0,0,0: 40:[17, 10] Operation: 7+3=10
Exploring Operation: 17-7=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 40:[3, 10] Operation: 17-7=10
Exploring Operation: 3+17=20, Resulting Numbers: [7, 20]
Generated Node #0,0,2: 40:[7, 20] Operation: 3+17=20
Exploring Operation: 7-3=4, Resulting Numbers: [17, 4]
Generated Node #0,0,3: 40:[17, 4] Operation: 7-3=4
Exploring Operation: 7*3=21, Resulting Numbers: [17, 21]
Generated Node #0,0,4: 40:[17, 21] Operation: 7*3=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[3, 10], Operations: ['48-31=17', '17-7=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,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:[7, 20], Operations: ['48-31=17', '3+17=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,40 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,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,0
Current State: 40:[17, 10], Operations: ['48-31=17', '7+3=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,40 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,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:[17, 4], Operations: ['48-31=17', '7-3=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,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:[17, 21], Operations: ['48-31=17', '7*3=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 40:[31, 3, 41], Operations: ['48-7=41']
Exploring Operation: 31+3=34, Resulting Numbers: [41, 34]
Generated Node #0,4,0: 40:[41, 34] Operation: 31+3=34
Exploring Operation: 41-3=38, Resulting Numbers: [31, 38]
Generated Node #0,4,1: 40:[31, 38] Operation: 41-3=38
Exploring Operation: 31-3=28, Resulting Numbers: [41, 28]
Generated Node #0,4,2: 40:[41, 28] Operation: 31-3=28
Exploring Operation: 41-31=10, Resulting Numbers: [3, 10]
Generated Node #0,4,3: 40:[3, 10] Operation: 41-31=10
Exploring Operation: 3+41=44, Resulting Numbers: [31, 44]
Generated Node #0,4,4: 40:[31, 44] Operation: 3+41=44
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[3, 10], Operations: ['48-7=41', '41-31=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,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,4,0
Current State: 40:[41, 34], Operations: ['48-7=41', '31+3=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,40 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,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,4,2
Current State: 40:[41, 28], Operations: ['48-7=41', '31-3=28']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,40 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,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,4,1
Current State: 40:[31, 38], Operations: ['48-7=41', '41-3=38']
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,40 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,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,4,4
Current State: 40:[31, 44], Operations: ['48-7=41', '3+41=44']
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,40 unequal: No Solution
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 40:[48, 3, 38], Operations: ['7+31=38']
Exploring Operation: 48-38=10, Resulting Numbers: [3, 10]
Generated Node #0,3,0: 40:[3, 10] Operation: 48-38=10
Exploring Operation: 48-3=45, Resulting Numbers: [38, 45]
Generated Node #0,3,1: 40:[38, 45] Operation: 48-3=45
Exploring Operation: 48+3=51, Resulting Numbers: [38, 51]
Generated Node #0,3,2: 40:[38, 51] Operation: 48+3=51
Exploring Operation: 3+38=41, Resulting Numbers: [48, 41]
Generated Node #0,3,3: 40:[48, 41] Operation: 3+38=41
Exploring Operation: 48/3=16, Resulting Numbers: [38, 16]
Generated Node #0,3,4: 40:[38, 16] Operation: 48/3=16
Moving to Node #0,1
Current State: 40:[48, 3, 24], Operations: ['31-7=24']
Exploring Operation: 48-24=24, Resulting Numbers: [3, 24]
Generated Node #0,1,0: 40:[3, 24] Operation: 48-24=24
Exploring Operation: 24/3=8, Resulting Numbers: [48, 8]
Generated Node #0,1,1: 40:[48, 8] Operation: 24/3=8
Exploring Operation: 48/24=2, Resulting Numbers: [3, 2]
Generated Node #0,1,2: 40:[3, 2] Operation: 48/24=2
Exploring Operation: 48-3=45, Resulting Numbers: [24, 45]
Generated Node #0,1,3: 40:[24, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [24, 16]
Generated Node #0,1,4: 40:[24, 16] Operation: 48/3=16
Moving to Node #0,2
Current State: 40:[7, 31, 16], Operations: ['48/3=16']
Exploring Operation: 31-7=24, Resulting Numbers: [16, 24]
Generated Node #0,2,0: 40:[16, 24] Operation: 31-7=24
Exploring Operation: 7+31=38, Resulting Numbers: [16, 38]
Generated Node #0,2,1: 40:[16, 38] Operation: 7+31=38
Exploring Operation: 16-7=9, Resulting Numbers: [31, 9]
Generated Node #0,2,2: 40:[31, 9] Operation: 16-7=9
Exploring Operation: 31-16=15, Resulting Numbers: [7, 15]
Generated Node #0,2,3: 40:[7, 15] Operation: 31-16=15
Exploring Operation: 31+16=47, Resulting Numbers: [7, 47]
Generated Node #0,2,4: 40:[7, 47] Operation: 31+16=47
Moving to Node #0,3,0
Current State: 40:[3, 10], Operations: ['7+31=38', '48-38=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[3, 2], Operations: ['31-7=24', '48/24=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[3, 24], Operations: ['31-7=24', '48-24=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[7, 15], Operations: ['48/3=16', '31-16=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,40 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Moving to Node #0,3,4
Current State: 40:[38, 16], Operations: ['7+31=38', '48/3=16']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[16, 38], Operations: ['48/3=16', '7+31=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[38, 45], Operations: ['7+31=38', '48-3=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,40 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[7, 47], Operations: ['48/3=16', '31+16=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,40 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[7, 31, 48, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [7, 31, 16]
Generated Node #0,2: 40:[7, 31, 16] Operation: 48/3=16
Moving to Node #0,2
Current State: 40:[7, 31, 16], Operations: ['48/3=16']
Exploring Operation: 31+16=47, Resulting Numbers: [7, 47]
Generated Node #0,2,4: 40:[7, 47] Operation: 31+16=47
Moving to Node #0,2,4
Current State: 40:[7, 47], Operations: ['48/3=16', '31+16=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.922743 |
hs_5
|
sum_heuristic
|
[
16,
17,
8,
84
] | 75 |
[
"17-16=1",
"84-8=76",
"76-1=75"
] |
Current State: 75:[16, 17, 8, 84], Operations: []
Exploring Operation: 17-16=1, Resulting Numbers: [8, 84, 1]
Generated Node #2: [8, 84, 1] from Operation: 17-16=1
Current State: 75:[8, 84, 1], Operations: ['17-16=1']
Exploring Operation: 84-8=76, Resulting Numbers: [1, 76]
Generated Node #3: [1, 76] from Operation: 84-8=76
Current State: 75:[1, 76], Operations: ['17-16=1', '84-8=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[16, 17, 8, 84], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [16, 17, 76]
Generated Node #0,0: 75:[16, 17, 76] Operation: 84-8=76
Exploring Operation: 17+8=25, Resulting Numbers: [16, 84, 25]
Generated Node #0,1: 75:[16, 84, 25] Operation: 17+8=25
Moving to Node #0,0
Current State: 75:[16, 17, 76], Operations: ['84-8=76']
Exploring Operation: 16+17=33, Resulting Numbers: [76, 33]
Generated Node #0,0,0: 75:[76, 33] Operation: 16+17=33
Exploring Operation: 17-16=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 75:[76, 1] Operation: 17-16=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[76, 1], Operations: ['84-8=76', '17-16=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[16, 17, 8, 84], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [16, 17, 76]
Generated Node #0,0: 75:[16, 17, 76] Operation: 84-8=76
Moving to Node #0,0
Current State: 75:[16, 17, 76], Operations: ['84-8=76']
Exploring Operation: 17-16=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 75:[76, 1] Operation: 17-16=1
Moving to Node #0,0,1
Current State: 75:[76, 1], Operations: ['84-8=76', '17-16=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
22,
53,
49,
71
] | 89 |
[
"53-22=31",
"49+71=120",
"120-31=89"
] |
Current State: 89:[22, 53, 49, 71], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [49, 71, 31]
Generated Node #2: [49, 71, 31] from Operation: 53-22=31
Current State: 89:[49, 71, 31], Operations: ['53-22=31']
Exploring Operation: 49+71=120, Resulting Numbers: [31, 120]
Generated Node #3: [31, 120] from Operation: 49+71=120
Current State: 89:[31, 120], Operations: ['53-22=31', '49+71=120']
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[22, 53, 49, 71], Operations: []
Exploring Operation: 22+49=71, Resulting Numbers: [53, 71, 71]
Generated Node #0,0: 89:[53, 71, 71] Operation: 22+49=71
Exploring Operation: 22+71=93, Resulting Numbers: [53, 49, 93]
Generated Node #0,1: 89:[53, 49, 93] Operation: 22+71=93
Exploring Operation: 22+53=75, Resulting Numbers: [49, 71, 75]
Generated Node #0,2: 89:[49, 71, 75] Operation: 22+53=75
Moving to Node #0,0
Current State: 89:[53, 71, 71], Operations: ['22+49=71']
Exploring Operation: 53+71=124, Resulting Numbers: [71, 124]
Generated Node #0,0,0: 89:[71, 124] Operation: 53+71=124
Exploring Operation: 71-53=18, Resulting Numbers: [71, 18]
Generated Node #0,0,1: 89:[71, 18] Operation: 71-53=18
Exploring Operation: 53+71=124, Resulting Numbers: [71, 124]
Generated Node #0,0,2: 89:[71, 124] Operation: 53+71=124
Moving to Node #0,2
Current State: 89:[49, 71, 75], Operations: ['22+53=75']
Exploring Operation: 49+75=124, Resulting Numbers: [71, 124]
Generated Node #0,2,0: 89:[71, 124] Operation: 49+75=124
Exploring Operation: 49+71=120, Resulting Numbers: [75, 120]
Generated Node #0,2,1: 89:[75, 120] Operation: 49+71=120
Exploring Operation: 71-49=22, Resulting Numbers: [75, 22]
Generated Node #0,2,2: 89:[75, 22] Operation: 71-49=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[75, 120], Operations: ['22+53=75', '49+71=120']
Exploring Operation: 75*120=9000, Resulting Numbers: [9000]
9000,89 unequal: No Solution
Exploring Operation: 120-75=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 75+120=195, Resulting Numbers: [195]
195,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[71, 124], Operations: ['22+53=75', '49+75=124']
Exploring Operation: 71*124=8804, Resulting Numbers: [8804]
8804,89 unequal: No Solution
Exploring Operation: 71+124=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 124-71=53, Resulting Numbers: [53]
53,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[75, 22], Operations: ['22+53=75', '71-49=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,89 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[53, 49, 93], Operations: ['22+71=93']
Exploring Operation: 93-49=44, Resulting Numbers: [53, 44]
Generated Node #0,1,0: 89:[53, 44] Operation: 93-49=44
Exploring Operation: 53+49=102, Resulting Numbers: [93, 102]
Generated Node #0,1,1: 89:[93, 102] Operation: 53+49=102
Exploring Operation: 53-49=4, Resulting Numbers: [93, 4]
Generated Node #0,1,2: 89:[93, 4] Operation: 53-49=4
Moving to Node #0,1,1
Current State: 89:[93, 102], Operations: ['22+71=93', '53+49=102']
Exploring Operation: 102-93=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 93+102=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 93*102=9486, Resulting Numbers: [9486]
9486,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[71, 124], Operations: ['22+49=71', '53+71=124']
Exploring Operation: 71+124=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 124-71=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 71*124=8804, Resulting Numbers: [8804]
8804,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[71, 124], Operations: ['22+49=71', '53+71=124']
Exploring Operation: 71*124=8804, Resulting Numbers: [8804]
8804,89 unequal: No Solution
Exploring Operation: 124-71=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 71+124=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[53, 44], Operations: ['22+71=93', '93-49=44']
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[93, 4], Operations: ['22+71=93', '53-49=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[22, 53, 49, 71], Operations: []
Exploring Operation: 22+71=93, Resulting Numbers: [53, 49, 93]
Generated Node #0,1: 89:[53, 49, 93] Operation: 22+71=93
Moving to Node #0,1
Current State: 89:[53, 49, 93], Operations: ['22+71=93']
Exploring Operation: 53-49=4, Resulting Numbers: [93, 4]
Generated Node #0,1,2: 89:[93, 4] Operation: 53-49=4
Moving to Node #0,1,2
Current State: 89:[93, 4], Operations: ['22+71=93', '53-49=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.967014 |
hs_3
|
sum_heuristic
|
[
92,
43,
19,
90
] | 64 |
[
"92+43=135",
"90-19=71",
"135-71=64"
] |
Current State: 64:[92, 43, 19, 90], Operations: []
Exploring Operation: 92+43=135, Resulting Numbers: [19, 90, 135]
Generated Node #2: [19, 90, 135] from Operation: 92+43=135
Current State: 64:[19, 90, 135], Operations: ['92+43=135']
Exploring Operation: 90-19=71, Resulting Numbers: [135, 71]
Generated Node #3: [135, 71] from Operation: 90-19=71
Current State: 64:[135, 71], Operations: ['92+43=135', '90-19=71']
Exploring Operation: 135-71=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[92, 43, 19, 90], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [92, 43, 71]
Generated Node #0,0: 64:[92, 43, 71] Operation: 90-19=71
Exploring Operation: 92-19=73, Resulting Numbers: [43, 90, 73]
Generated Node #0,1: 64:[43, 90, 73] Operation: 92-19=73
Exploring Operation: 92-43=49, Resulting Numbers: [19, 90, 49]
Generated Node #0,2: 64:[19, 90, 49] Operation: 92-43=49
Exploring Operation: 92-90=2, Resulting Numbers: [43, 19, 2]
Generated Node #0,3: 64:[43, 19, 2] Operation: 92-90=2
Exploring Operation: 90-43=47, Resulting Numbers: [92, 19, 47]
Generated Node #0,4: 64:[92, 19, 47] Operation: 90-43=47
Moving to Node #0,3
Current State: 64:[43, 19, 2], Operations: ['92-90=2']
Exploring Operation: 43+19=62, Resulting Numbers: [2, 62]
Generated Node #0,3,0: 64:[2, 62] Operation: 43+19=62
Exploring Operation: 43+2=45, Resulting Numbers: [19, 45]
Generated Node #0,3,1: 64:[19, 45] Operation: 43+2=45
Exploring Operation: 19-2=17, Resulting Numbers: [43, 17]
Generated Node #0,3,2: 64:[43, 17] Operation: 19-2=17
Exploring Operation: 43-19=24, Resulting Numbers: [2, 24]
Generated Node #0,3,3: 64:[2, 24] Operation: 43-19=24
Exploring Operation: 43-2=41, Resulting Numbers: [19, 41]
Generated Node #0,3,4: 64:[19, 41] Operation: 43-2=41
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[2, 62], Operations: ['92-90=2', '43+19=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[92, 43, 19, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [43, 19, 2]
Generated Node #0,3: 64:[43, 19, 2] Operation: 92-90=2
Moving to Node #0,3
Current State: 64:[43, 19, 2], Operations: ['92-90=2']
Exploring Operation: 43+19=62, Resulting Numbers: [2, 62]
Generated Node #0,3,0: 64:[2, 62] Operation: 43+19=62
Moving to Node #0,3,0
Current State: 64:[2, 62], Operations: ['92-90=2', '43+19=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
sum_heuristic
|
[
71,
24,
8,
89
] | 15 |
[
"89-71=18",
"24/8=3",
"18-3=15"
] |
Current State: 15:[71, 24, 8, 89], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [24, 8, 18]
Generated Node #2: [24, 8, 18] from Operation: 89-71=18
Current State: 15:[24, 8, 18], Operations: ['89-71=18']
Exploring Operation: 24/8=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 24/8=3
Current State: 15:[18, 3], Operations: ['89-71=18', '24/8=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[71, 24, 8, 89], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [24, 8, 18]
Generated Node #0,0: 15:[24, 8, 18] Operation: 89-71=18
Exploring Operation: 89-24=65, Resulting Numbers: [71, 8, 65]
Generated Node #0,1: 15:[71, 8, 65] Operation: 89-24=65
Exploring Operation: 71-24=47, Resulting Numbers: [8, 89, 47]
Generated Node #0,2: 15:[8, 89, 47] Operation: 71-24=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[24, 8, 18], Operations: ['89-71=18']
Exploring Operation: 24-8=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 15:[18, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 15:[18, 3] Operation: 24/8=3
Exploring Operation: 24-18=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 15:[8, 6] Operation: 24-18=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[18, 3], Operations: ['89-71=18', '24/8=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[71, 24, 8, 89], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [24, 8, 18]
Generated Node #0,0: 15:[24, 8, 18] Operation: 89-71=18
Moving to Node #0,0
Current State: 15:[24, 8, 18], Operations: ['89-71=18']
Exploring Operation: 24/8=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 15:[18, 3] Operation: 24/8=3
Moving to Node #0,0,1
Current State: 15:[18, 3], Operations: ['89-71=18', '24/8=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
58,
79,
77,
49
] | 11 |
[
"58+79=137",
"77+49=126",
"137-126=11"
] |
Current State: 11:[58, 79, 77, 49], Operations: []
Exploring Operation: 58+79=137, Resulting Numbers: [77, 49, 137]
Generated Node #2: [77, 49, 137] from Operation: 58+79=137
Current State: 11:[77, 49, 137], Operations: ['58+79=137']
Exploring Operation: 77+49=126, Resulting Numbers: [137, 126]
Generated Node #3: [137, 126] from Operation: 77+49=126
Current State: 11:[137, 126], Operations: ['58+79=137', '77+49=126']
Exploring Operation: 137-126=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[58, 79, 77, 49], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [77, 49, 21]
Generated Node #0,0: 11:[77, 49, 21] Operation: 79-58=21
Exploring Operation: 79-77=2, Resulting Numbers: [58, 49, 2]
Generated Node #0,1: 11:[58, 49, 2] Operation: 79-77=2
Exploring Operation: 79-49=30, Resulting Numbers: [58, 77, 30]
Generated Node #0,2: 11:[58, 77, 30] Operation: 79-49=30
Exploring Operation: 77-58=19, Resulting Numbers: [79, 49, 19]
Generated Node #0,3: 11:[79, 49, 19] Operation: 77-58=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[58, 49, 2], Operations: ['79-77=2']
Exploring Operation: 58-49=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 11:[2, 9] Operation: 58-49=9
Exploring Operation: 58/2=29, Resulting Numbers: [49, 29]
Generated Node #0,1,1: 11:[49, 29] Operation: 58/2=29
Exploring Operation: 49-2=47, Resulting Numbers: [58, 47]
Generated Node #0,1,2: 11:[58, 47] Operation: 49-2=47
Exploring Operation: 58-2=56, Resulting Numbers: [49, 56]
Generated Node #0,1,3: 11:[49, 56] Operation: 58-2=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[2, 9], Operations: ['79-77=2', '58-49=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[58, 79, 77, 49], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [58, 49, 2]
Generated Node #0,1: 11:[58, 49, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 11:[58, 49, 2], Operations: ['79-77=2']
Exploring Operation: 58-49=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 11:[2, 9] Operation: 58-49=9
Moving to Node #0,1,0
Current State: 11:[2, 9], Operations: ['79-77=2', '58-49=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
51,
63,
59,
77
] | 30 |
[
"63-51=12",
"77-59=18",
"12+18=30"
] |
Current State: 30:[51, 63, 59, 77], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [59, 77, 12]
Generated Node #2: [59, 77, 12] from Operation: 63-51=12
Current State: 30:[59, 77, 12], Operations: ['63-51=12']
Exploring Operation: 77-59=18, Resulting Numbers: [12, 18]
Generated Node #3: [12, 18] from Operation: 77-59=18
Current State: 30:[12, 18], Operations: ['63-51=12', '77-59=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[51, 63, 59, 77], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [51, 59, 14]
Generated Node #0,0: 30:[51, 59, 14] Operation: 77-63=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[51, 59, 14], Operations: ['77-63=14']
Exploring Operation: 59-51=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 30:[14, 8] Operation: 59-51=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[14, 8], Operations: ['77-63=14', '59-51=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,30 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
|
[
79,
84,
93,
72
] | 78 |
[
"93-79=14",
"84/14=6",
"72+6=78"
] |
Current State: 78:[79, 84, 93, 72], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [84, 72, 14]
Generated Node #2: [84, 72, 14] from Operation: 93-79=14
Current State: 78:[84, 72, 14], Operations: ['93-79=14']
Exploring Operation: 84/14=6, Resulting Numbers: [72, 6]
Generated Node #3: [72, 6] from Operation: 84/14=6
Current State: 78:[72, 6], Operations: ['93-79=14', '84/14=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[79, 84, 93, 72], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [84, 72, 14]
Generated Node #0,0: 78:[84, 72, 14] Operation: 93-79=14
Exploring Operation: 93-84=9, Resulting Numbers: [79, 72, 9]
Generated Node #0,1: 78:[79, 72, 9] Operation: 93-84=9
Exploring Operation: 93-72=21, Resulting Numbers: [79, 84, 21]
Generated Node #0,2: 78:[79, 84, 21] Operation: 93-72=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[79, 72, 9], Operations: ['93-84=9']
Exploring Operation: 72+9=81, Resulting Numbers: [79, 81]
Generated Node #0,1,0: 78:[79, 81] Operation: 72+9=81
Exploring Operation: 79-72=7, Resulting Numbers: [9, 7]
Generated Node #0,1,1: 78:[9, 7] Operation: 79-72=7
Exploring Operation: 72/9=8, Resulting Numbers: [79, 8]
Generated Node #0,1,2: 78:[79, 8] Operation: 72/9=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[79, 8], Operations: ['93-84=9', '72/9=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,78 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,78 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,78 unequal: No Solution
No 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: 78:[79, 81], Operations: ['93-84=9', '72+9=81']
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,78 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No 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: 78:[9, 7], Operations: ['93-84=9', '79-72=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,78 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[79, 84, 21], Operations: ['93-72=21']
Exploring Operation: 84-79=5, Resulting Numbers: [21, 5]
Generated Node #0,2,0: 78:[21, 5] Operation: 84-79=5
Exploring Operation: 84/21=4, Resulting Numbers: [79, 4]
Generated Node #0,2,1: 78:[79, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [79, 63]
Generated Node #0,2,2: 78:[79, 63] Operation: 84-21=63
Moving to Node #0,2,1
Current State: 78:[79, 4], Operations: ['93-72=21', '84/21=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[21, 5], Operations: ['93-72=21', '84-79=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[79, 63], Operations: ['93-72=21', '84-21=63']
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,78 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,78 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,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,0
Current State: 78:[84, 72, 14], Operations: ['93-79=14']
Exploring Operation: 84-14=70, Resulting Numbers: [72, 70]
Generated Node #0,0,0: 78:[72, 70] Operation: 84-14=70
Exploring Operation: 84/14=6, Resulting Numbers: [72, 6]
Generated Node #0,0,1: 78:[72, 6] Operation: 84/14=6
Exploring Operation: 84-72=12, Resulting Numbers: [14, 12]
Generated Node #0,0,2: 78:[14, 12] Operation: 84-72=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[14, 12], Operations: ['93-79=14', '84-72=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,78 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,78 unequal: No Solution
No 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: 78:[72, 6], Operations: ['93-79=14', '84/14=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[79, 84, 93, 72], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [84, 72, 14]
Generated Node #0,0: 78:[84, 72, 14] Operation: 93-79=14
Moving to Node #0,0
Current State: 78:[84, 72, 14], Operations: ['93-79=14']
Exploring Operation: 84/14=6, Resulting Numbers: [72, 6]
Generated Node #0,0,1: 78:[72, 6] Operation: 84/14=6
Moving to Node #0,0,1
Current State: 78:[72, 6], Operations: ['93-79=14', '84/14=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 |
hs_3
|
mult_heuristic
|
[
43,
53,
65,
72
] | 41 |
[
"43+53=96",
"65+72=137",
"137-96=41"
] |
Current State: 41:[43, 53, 65, 72], Operations: []
Exploring Operation: 43+53=96, Resulting Numbers: [65, 72, 96]
Generated Node #2: [65, 72, 96] from Operation: 43+53=96
Current State: 41:[65, 72, 96], Operations: ['43+53=96']
Exploring Operation: 65+72=137, Resulting Numbers: [96, 137]
Generated Node #3: [96, 137] from Operation: 65+72=137
Current State: 41:[96, 137], Operations: ['43+53=96', '65+72=137']
Exploring Operation: 137-96=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[43, 53, 65, 72], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [43, 53, 7]
Generated Node #0,0: 41:[43, 53, 7] Operation: 72-65=7
Exploring Operation: 72-53=19, Resulting Numbers: [43, 65, 19]
Generated Node #0,1: 41:[43, 65, 19] Operation: 72-53=19
Exploring Operation: 72-43=29, Resulting Numbers: [53, 65, 29]
Generated Node #0,2: 41:[53, 65, 29] Operation: 72-43=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[43, 53, 7], Operations: ['72-65=7']
Exploring Operation: 43-7=36, Resulting Numbers: [53, 36]
Generated Node #0,0,0: 41:[53, 36] Operation: 43-7=36
Exploring Operation: 53-7=46, Resulting Numbers: [43, 46]
Generated Node #0,0,1: 41:[43, 46] Operation: 53-7=46
Exploring Operation: 43+7=50, Resulting Numbers: [53, 50]
Generated Node #0,0,2: 41:[53, 50] Operation: 43+7=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[43, 46], Operations: ['72-65=7', '53-7=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,41 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[53, 36], Operations: ['72-65=7', '43-7=36']
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,41 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[53, 50], Operations: ['72-65=7', '43+7=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,41 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[43, 65, 19], Operations: ['72-53=19']
Exploring Operation: 65-19=46, Resulting Numbers: [43, 46]
Generated Node #0,1,0: 41:[43, 46] Operation: 65-19=46
Exploring Operation: 65-43=22, Resulting Numbers: [19, 22]
Generated Node #0,1,1: 41:[19, 22] Operation: 65-43=22
Exploring Operation: 43-19=24, Resulting Numbers: [65, 24]
Generated Node #0,1,2: 41:[65, 24] Operation: 43-19=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[43, 46], Operations: ['72-53=19', '65-19=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[19, 22], Operations: ['72-53=19', '65-43=22']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[43, 53, 65, 72], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [43, 65, 19]
Generated Node #0,1: 41:[43, 65, 19] Operation: 72-53=19
Moving to Node #0,1
Current State: 41:[43, 65, 19], Operations: ['72-53=19']
Exploring Operation: 65-43=22, Resulting Numbers: [19, 22]
Generated Node #0,1,1: 41:[19, 22] Operation: 65-43=22
Moving to Node #0,1,1
Current State: 41:[19, 22], Operations: ['72-53=19', '65-43=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 |
hs_3
|
mult_heuristic
|
[
12,
25,
17,
70
] | 20 |
[
"12*70=840",
"25+17=42",
"840/42=20"
] |
Current State: 20:[12, 25, 17, 70], Operations: []
Exploring Operation: 12*70=840, Resulting Numbers: [25, 17, 840]
Generated Node #2: [25, 17, 840] from Operation: 12*70=840
Current State: 20:[25, 17, 840], Operations: ['12*70=840']
Exploring Operation: 25+17=42, Resulting Numbers: [840, 42]
Generated Node #3: [840, 42] from Operation: 25+17=42
Current State: 20:[840, 42], Operations: ['12*70=840', '25+17=42']
Exploring Operation: 840/42=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[12, 25, 17, 70], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [12, 17, 45]
Generated Node #0,0: 20:[12, 17, 45] Operation: 70-25=45
Exploring Operation: 70-12=58, Resulting Numbers: [25, 17, 58]
Generated Node #0,1: 20:[25, 17, 58] Operation: 70-12=58
Exploring Operation: 70-17=53, Resulting Numbers: [12, 25, 53]
Generated Node #0,2: 20:[12, 25, 53] Operation: 70-17=53
Exploring Operation: 25-17=8, Resulting Numbers: [12, 70, 8]
Generated Node #0,3: 20:[12, 70, 8] Operation: 25-17=8
Exploring Operation: 17-12=5, Resulting Numbers: [25, 70, 5]
Generated Node #0,4: 20:[25, 70, 5] Operation: 17-12=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[12, 17, 45], Operations: ['70-25=45']
Exploring Operation: 12+45=57, Resulting Numbers: [17, 57]
Generated Node #0,0,0: 20:[17, 57] Operation: 12+45=57
Exploring Operation: 45-17=28, Resulting Numbers: [12, 28]
Generated Node #0,0,1: 20:[12, 28] Operation: 45-17=28
Exploring Operation: 12+17=29, Resulting Numbers: [45, 29]
Generated Node #0,0,2: 20:[45, 29] Operation: 12+17=29
Exploring Operation: 45-12=33, Resulting Numbers: [17, 33]
Generated Node #0,0,3: 20:[17, 33] Operation: 45-12=33
Exploring Operation: 17-12=5, Resulting Numbers: [45, 5]
Generated Node #0,0,4: 20:[45, 5] Operation: 17-12=5
Moving to Node #0,0,1
Current State: 20:[12, 28], Operations: ['70-25=45', '45-17=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[17, 33], Operations: ['70-25=45', '45-12=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,20 unequal: No Solution
Moving to Node #0,0,4
Current State: 20:[45, 5], Operations: ['70-25=45', '17-12=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,20 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[45, 29], Operations: ['70-25=45', '12+17=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,20 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[17, 57], Operations: ['70-25=45', '12+45=57']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,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:[12, 25, 53], Operations: ['70-17=53']
Exploring Operation: 53-25=28, Resulting Numbers: [12, 28]
Generated Node #0,2,0: 20:[12, 28] Operation: 53-25=28
Exploring Operation: 53-12=41, Resulting Numbers: [25, 41]
Generated Node #0,2,1: 20:[25, 41] Operation: 53-12=41
Exploring Operation: 12+53=65, Resulting Numbers: [25, 65]
Generated Node #0,2,2: 20:[25, 65] Operation: 12+53=65
Exploring Operation: 25-12=13, Resulting Numbers: [53, 13]
Generated Node #0,2,3: 20:[53, 13] Operation: 25-12=13
Exploring Operation: 12+25=37, Resulting Numbers: [53, 37]
Generated Node #0,2,4: 20:[53, 37] Operation: 12+25=37
Moving to Node #0,2,0
Current State: 20:[12, 28], Operations: ['70-17=53', '53-25=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[25, 41], Operations: ['70-17=53', '53-12=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,20 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[53, 13], Operations: ['70-17=53', '25-12=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 53*13=689, Resulting Numbers: [689]
689,20 unequal: No Solution
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[25, 65], Operations: ['70-17=53', '12+53=65']
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 25+65=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 25*65=1625, Resulting Numbers: [1625]
1625,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[53, 37], Operations: ['70-17=53', '12+25=37']
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[25, 17, 58], Operations: ['70-12=58']
Exploring Operation: 58-17=41, Resulting Numbers: [25, 41]
Generated Node #0,1,0: 20:[25, 41] Operation: 58-17=41
Exploring Operation: 25+17=42, Resulting Numbers: [58, 42]
Generated Node #0,1,1: 20:[58, 42] Operation: 25+17=42
Exploring Operation: 17+58=75, Resulting Numbers: [25, 75]
Generated Node #0,1,2: 20:[25, 75] Operation: 17+58=75
Exploring Operation: 58-25=33, Resulting Numbers: [17, 33]
Generated Node #0,1,3: 20:[17, 33] Operation: 58-25=33
Exploring Operation: 25-17=8, Resulting Numbers: [58, 8]
Generated Node #0,1,4: 20:[58, 8] Operation: 25-17=8
Moving to Node #0,1,3
Current State: 20:[17, 33], Operations: ['70-12=58', '58-25=33']
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,20 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[25, 41], Operations: ['70-12=58', '58-17=41']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,20 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[58, 8], Operations: ['70-12=58', '25-17=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[58, 42], Operations: ['70-12=58', '25+17=42']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,20 unequal: No Solution
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[25, 75], Operations: ['70-12=58', '17+58=75']
Exploring Operation: 25+75=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 25*75=1875, Resulting Numbers: [1875]
1875,20 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,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:[12, 70, 8], Operations: ['25-17=8']
Exploring Operation: 12-8=4, Resulting Numbers: [70, 4]
Generated Node #0,3,0: 20:[70, 4] Operation: 12-8=4
Exploring Operation: 70-8=62, Resulting Numbers: [12, 62]
Generated Node #0,3,1: 20:[12, 62] Operation: 70-8=62
Exploring Operation: 12+8=20, Resulting Numbers: [70, 20]
Generated Node #0,3,2: 20:[70, 20] Operation: 12+8=20
Exploring Operation: 70+8=78, Resulting Numbers: [12, 78]
Generated Node #0,3,3: 20:[12, 78] Operation: 70+8=78
Exploring Operation: 70-12=58, Resulting Numbers: [8, 58]
Generated Node #0,3,4: 20:[8, 58] Operation: 70-12=58
Moving to Node #0,3,4
Current State: 20:[8, 58], Operations: ['25-17=8', '70-12=58']
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,20 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[12, 62], Operations: ['25-17=8', '70-8=62']
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,20 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[70, 4], Operations: ['25-17=8', '12-8=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,20 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[70, 20], Operations: ['25-17=8', '12+8=20']
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,20 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[12, 78], Operations: ['25-17=8', '70+8=78']
Exploring Operation: 12*78=936, Resulting Numbers: [936]
936,20 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,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,4
Current State: 20:[25, 70, 5], Operations: ['17-12=5']
Exploring Operation: 70/5=14, Resulting Numbers: [25, 14]
Generated Node #0,4,0: 20:[25, 14] Operation: 70/5=14
Exploring Operation: 25/5=5, Resulting Numbers: [70, 5]
Generated Node #0,4,1: 20:[70, 5] Operation: 25/5=5
Exploring Operation: 70-25=45, Resulting Numbers: [5, 45]
Generated Node #0,4,2: 20:[5, 45] Operation: 70-25=45
Exploring Operation: 70-5=65, Resulting Numbers: [25, 65]
Generated Node #0,4,3: 20:[25, 65] Operation: 70-5=65
Exploring Operation: 25-5=20, Resulting Numbers: [70, 20]
Generated Node #0,4,4: 20:[70, 20] Operation: 25-5=20
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 20:[25, 14], Operations: ['17-12=5', '70/5=14']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,20 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,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:[5, 45], Operations: ['17-12=5', '70-25=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,20 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,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,1
Current State: 20:[70, 5], Operations: ['17-12=5', '25/5=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,20 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,20 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,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:[25, 65], Operations: ['17-12=5', '70-5=65']
Exploring Operation: 25*65=1625, Resulting Numbers: [1625]
1625,20 unequal: No Solution
Exploring Operation: 25+65=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,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:[70, 20], Operations: ['17-12=5', '25-5=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,20 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,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
|
[
35,
7,
47,
59
] | 30 |
[
"35+7=42",
"59-47=12",
"42-12=30"
] |
Current State: 30:[35, 7, 47, 59], Operations: []
Exploring Operation: 35+7=42, Resulting Numbers: [47, 59, 42]
Generated Node #2: [47, 59, 42] from Operation: 35+7=42
Current State: 30:[47, 59, 42], Operations: ['35+7=42']
Exploring Operation: 59-47=12, Resulting Numbers: [42, 12]
Generated Node #3: [42, 12] from Operation: 59-47=12
Current State: 30:[42, 12], Operations: ['35+7=42', '59-47=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[35, 7, 47, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [35, 7, 12]
Generated Node #0,0: 30:[35, 7, 12] Operation: 59-47=12
Exploring Operation: 47-35=12, Resulting Numbers: [7, 59, 12]
Generated Node #0,1: 30:[7, 59, 12] Operation: 47-35=12
Exploring Operation: 59-35=24, Resulting Numbers: [7, 47, 24]
Generated Node #0,2: 30:[7, 47, 24] Operation: 59-35=24
Exploring Operation: 59-7=52, Resulting Numbers: [35, 47, 52]
Generated Node #0,3: 30:[35, 47, 52] Operation: 59-7=52
Exploring Operation: 47-7=40, Resulting Numbers: [35, 59, 40]
Generated Node #0,4: 30:[35, 59, 40] Operation: 47-7=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[35, 7, 12], Operations: ['59-47=12']
Exploring Operation: 35-12=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 30:[7, 23] Operation: 35-12=23
Exploring Operation: 35-7=28, Resulting Numbers: [12, 28]
Generated Node #0,0,1: 30:[12, 28] Operation: 35-7=28
Exploring Operation: 7+12=19, Resulting Numbers: [35, 19]
Generated Node #0,0,2: 30:[35, 19] Operation: 7+12=19
Exploring Operation: 35/7=5, Resulting Numbers: [12, 5]
Generated Node #0,0,3: 30:[12, 5] Operation: 35/7=5
Exploring Operation: 12-7=5, Resulting Numbers: [35, 5]
Generated Node #0,0,4: 30:[35, 5] Operation: 12-7=5
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 30:[12, 5], Operations: ['59-47=12', '35/7=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[12, 28], Operations: ['59-47=12', '35-7=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,30 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 30:[35, 5], Operations: ['59-47=12', '12-7=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,30 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[35, 7, 47, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [35, 7, 12]
Generated Node #0,0: 30:[35, 7, 12] Operation: 59-47=12
Moving to Node #0,0
Current State: 30:[35, 7, 12], Operations: ['59-47=12']
Exploring Operation: 12-7=5, Resulting Numbers: [35, 5]
Generated Node #0,0,4: 30:[35, 5] Operation: 12-7=5
Moving to Node #0,0,4
Current State: 30:[35, 5], Operations: ['59-47=12', '12-7=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 |
hs_5
|
sum_heuristic
|
[
9,
64,
72,
1
] | 64 |
[
"9-1=8",
"72-64=8",
"8*8=64"
] |
Current State: 64:[9, 64, 72, 1], Operations: []
Exploring Operation: 9-1=8, Resulting Numbers: [64, 72, 8]
Generated Node #2: [64, 72, 8] from Operation: 9-1=8
Current State: 64:[64, 72, 8], Operations: ['9-1=8']
Exploring Operation: 72-64=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 72-64=8
Current State: 64:[8, 8], Operations: ['9-1=8', '72-64=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[9, 64, 72, 1], Operations: []
Exploring Operation: 72-9=63, Resulting Numbers: [64, 1, 63]
Generated Node #0,0: 64:[64, 1, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [64, 1, 8]
Generated Node #0,1: 64:[64, 1, 8] Operation: 72/9=8
Exploring Operation: 72-64=8, Resulting Numbers: [9, 1, 8]
Generated Node #0,2: 64:[9, 1, 8] Operation: 72-64=8
Moving to Node #0,1
Current State: 64:[64, 1, 8], Operations: ['72/9=8']
Exploring Operation: 64/1=64, Resulting Numbers: [8, 64]
Generated Node #0,1,0: 64:[8, 64] Operation: 64/1=64
Exploring Operation: 1*8=8, Resulting Numbers: [64, 8]
Generated Node #0,1,1: 64:[64, 8] Operation: 1*8=8
Exploring Operation: 64*1=64, Resulting Numbers: [8, 64]
Generated Node #0,1,2: 64:[8, 64] Operation: 64*1=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[8, 64], Operations: ['72/9=8', '64/1=64']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,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,1
Current State: 64:[64, 8], Operations: ['72/9=8', '1*8=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,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:[8, 64], Operations: ['72/9=8', '64*1=64']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,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:[64, 1, 63], Operations: ['72-9=63']
Exploring Operation: 64*1=64, Resulting Numbers: [63, 64]
Generated Node #0,0,0: 64:[63, 64] Operation: 64*1=64
Exploring Operation: 1+63=64, Resulting Numbers: [64, 64]
Generated Node #0,0,1: 64:[64, 64] Operation: 1+63=64
Exploring Operation: 64/1=64, Resulting Numbers: [63, 64]
Generated Node #0,0,2: 64:[63, 64] Operation: 64/1=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[64, 64], Operations: ['72-9=63', '1+63=64']
Exploring Operation: 64/64=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 64+64=128, Resulting Numbers: [128]
128,64 unequal: No Solution
Exploring Operation: 64-64=0, Resulting Numbers: [0]
0,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,0
Current State: 64:[63, 64], Operations: ['72-9=63', '64*1=64']
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,64 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,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:[63, 64], Operations: ['72-9=63', '64/1=64']
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,64 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,64 unequal: No Solution
Exploring Operation: 64-63=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
Current State: 64:[9, 1, 8], Operations: ['72-64=8']
Exploring Operation: 9/1=9, Resulting Numbers: [8, 9]
Generated Node #0,2,0: 64:[8, 9] Operation: 9/1=9
Exploring Operation: 9-1=8, Resulting Numbers: [8, 8]
Generated Node #0,2,1: 64:[8, 8] Operation: 9-1=8
Exploring Operation: 9*1=9, Resulting Numbers: [8, 9]
Generated Node #0,2,2: 64:[8, 9] Operation: 9*1=9
Moving to Node #0,2,1
Current State: 64:[8, 8], Operations: ['72-64=8', '9-1=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[9, 64, 72, 1], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [9, 1, 8]
Generated Node #0,2: 64:[9, 1, 8] Operation: 72-64=8
Moving to Node #0,2
Current State: 64:[9, 1, 8], Operations: ['72-64=8']
Exploring Operation: 9-1=8, Resulting Numbers: [8, 8]
Generated Node #0,2,1: 64:[8, 8] Operation: 9-1=8
Moving to Node #0,2,1
Current State: 64:[8, 8], Operations: ['72-64=8', '9-1=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.969618 |
hs_3
|
mult_heuristic
|
[
60,
31,
20,
47
] | 40 |
[
"60*31=1860",
"20+1860=1880",
"1880/47=40"
] |
Current State: 40:[60, 31, 20, 47], Operations: []
Exploring Operation: 60*31=1860, Resulting Numbers: [20, 47, 1860]
Generated Node #2: [20, 47, 1860] from Operation: 60*31=1860
Current State: 40:[20, 47, 1860], Operations: ['60*31=1860']
Exploring Operation: 20+1860=1880, Resulting Numbers: [47, 1880]
Generated Node #3: [47, 1880] from Operation: 20+1860=1880
Current State: 40:[47, 1880], Operations: ['60*31=1860', '20+1860=1880']
Exploring Operation: 1880/47=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[60, 31, 20, 47], Operations: []
Exploring Operation: 60-20=40, Resulting Numbers: [31, 47, 40]
Generated Node #0,0: 40:[31, 47, 40] Operation: 60-20=40
Exploring Operation: 60-47=13, Resulting Numbers: [31, 20, 13]
Generated Node #0,1: 40:[31, 20, 13] Operation: 60-47=13
Exploring Operation: 60-31=29, Resulting Numbers: [20, 47, 29]
Generated Node #0,2: 40:[20, 47, 29] Operation: 60-31=29
Exploring Operation: 60/20=3, Resulting Numbers: [31, 47, 3]
Generated Node #0,3: 40:[31, 47, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[31, 20, 13], Operations: ['60-47=13']
Exploring Operation: 20-13=7, Resulting Numbers: [31, 7]
Generated Node #0,1,0: 40:[31, 7] Operation: 20-13=7
Exploring Operation: 31-20=11, Resulting Numbers: [13, 11]
Generated Node #0,1,1: 40:[13, 11] Operation: 31-20=11
Exploring Operation: 31-13=18, Resulting Numbers: [20, 18]
Generated Node #0,1,2: 40:[20, 18] Operation: 31-13=18
Exploring Operation: 31+13=44, Resulting Numbers: [20, 44]
Generated Node #0,1,3: 40:[20, 44] Operation: 31+13=44
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[20, 18], Operations: ['60-47=13', '31-13=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,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,1,1
Current State: 40:[13, 11], Operations: ['60-47=13', '31-20=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,40 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,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,1,3
Current State: 40:[20, 44], Operations: ['60-47=13', '31+13=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,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,1,0
Current State: 40:[31, 7], Operations: ['60-47=13', '20-13=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,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,0
Current State: 40:[31, 47, 40], Operations: ['60-20=40']
Exploring Operation: 47-31=16, Resulting Numbers: [40, 16]
Generated Node #0,0,0: 40:[40, 16] Operation: 47-31=16
Exploring Operation: 40-31=9, Resulting Numbers: [47, 9]
Generated Node #0,0,1: 40:[47, 9] Operation: 40-31=9
Exploring Operation: 31+47=78, Resulting Numbers: [40, 78]
Generated Node #0,0,2: 40:[40, 78] Operation: 31+47=78
Exploring Operation: 47-40=7, Resulting Numbers: [31, 7]
Generated Node #0,0,3: 40:[31, 7] Operation: 47-40=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[40, 16], Operations: ['60-20=40', '47-31=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,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:[47, 9], Operations: ['60-20=40', '40-31=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,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:[31, 7], Operations: ['60-20=40', '47-40=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,40 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,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:[40, 78], Operations: ['60-20=40', '31+47=78']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,40 unequal: No Solution
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,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:[20, 47, 29], Operations: ['60-31=29']
Exploring Operation: 47-29=18, Resulting Numbers: [20, 18]
Generated Node #0,2,0: 40:[20, 18] Operation: 47-29=18
Exploring Operation: 47-20=27, Resulting Numbers: [29, 27]
Generated Node #0,2,1: 40:[29, 27] Operation: 47-20=27
Exploring Operation: 29-20=9, Resulting Numbers: [47, 9]
Generated Node #0,2,2: 40:[47, 9] Operation: 29-20=9
Exploring Operation: 20+29=49, Resulting Numbers: [47, 49]
Generated Node #0,2,3: 40:[47, 49] Operation: 20+29=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[20, 18], Operations: ['60-31=29', '47-29=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,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:[47, 9], Operations: ['60-31=29', '29-20=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,40 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,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:[29, 27], Operations: ['60-31=29', '47-20=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,40 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,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,3
Current State: 40:[47, 49], Operations: ['60-31=29', '20+29=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,40 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,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,3
Current State: 40:[31, 47, 3], Operations: ['60/20=3']
Exploring Operation: 47-3=44, Resulting Numbers: [31, 44]
Generated Node #0,3,0: 40:[31, 44] Operation: 47-3=44
Exploring Operation: 31-3=28, Resulting Numbers: [47, 28]
Generated Node #0,3,1: 40:[47, 28] Operation: 31-3=28
Exploring Operation: 31+3=34, Resulting Numbers: [47, 34]
Generated Node #0,3,2: 40:[47, 34] Operation: 31+3=34
Exploring Operation: 47-31=16, Resulting Numbers: [3, 16]
Generated Node #0,3,3: 40:[3, 16] Operation: 47-31=16
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 40:[3, 16], Operations: ['60/20=3', '47-31=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[31, 44], Operations: ['60/20=3', '47-3=44']
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,40 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 40:[47, 34], Operations: ['60/20=3', '31+3=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 40:[47, 28], Operations: ['60/20=3', '31-3=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,40 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,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
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
26,
82,
67,
26
] | 16 |
[
"26/26=1",
"82-67=15",
"1+15=16"
] |
Current State: 16:[26, 82, 67, 26], Operations: []
Exploring Operation: 26/26=1, Resulting Numbers: [82, 67, 1]
Generated Node #2: [82, 67, 1] from Operation: 26/26=1
Current State: 16:[82, 67, 1], Operations: ['26/26=1']
Exploring Operation: 82-67=15, Resulting Numbers: [1, 15]
Generated Node #3: [1, 15] from Operation: 82-67=15
Current State: 16:[1, 15], Operations: ['26/26=1', '82-67=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[26, 82, 67, 26], Operations: []
Exploring Operation: 67-26=41, Resulting Numbers: [82, 26, 41]
Generated Node #0,0: 16:[82, 26, 41] Operation: 67-26=41
Exploring Operation: 82-26=56, Resulting Numbers: [67, 26, 56]
Generated Node #0,1: 16:[67, 26, 56] Operation: 82-26=56
Exploring Operation: 82-67=15, Resulting Numbers: [26, 26, 15]
Generated Node #0,2: 16:[26, 26, 15] Operation: 82-67=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[26, 26, 15], Operations: ['82-67=15']
Exploring Operation: 26-15=11, Resulting Numbers: [26, 11]
Generated Node #0,2,0: 16:[26, 11] Operation: 26-15=11
Exploring Operation: 26/26=1, Resulting Numbers: [15, 1]
Generated Node #0,2,1: 16:[15, 1] Operation: 26/26=1
Exploring Operation: 26-26=0, Resulting Numbers: [15, 0]
Generated Node #0,2,2: 16:[15, 0] Operation: 26-26=0
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[15, 1], Operations: ['82-67=15', '26/26=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[26, 82, 67, 26], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [26, 26, 15]
Generated Node #0,2: 16:[26, 26, 15] Operation: 82-67=15
Moving to Node #0,2
Current State: 16:[26, 26, 15], Operations: ['82-67=15']
Exploring Operation: 26/26=1, Resulting Numbers: [15, 1]
Generated Node #0,2,1: 16:[15, 1] Operation: 26/26=1
Moving to Node #0,2,1
Current State: 16:[15, 1], Operations: ['82-67=15', '26/26=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
6,
79,
1,
58
] | 14 |
[
"79-6=73",
"1+58=59",
"73-59=14"
] |
Current State: 14:[6, 79, 1, 58], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [1, 58, 73]
Generated Node #2: [1, 58, 73] from Operation: 79-6=73
Current State: 14:[1, 58, 73], Operations: ['79-6=73']
Exploring Operation: 1+58=59, Resulting Numbers: [73, 59]
Generated Node #3: [73, 59] from Operation: 1+58=59
Current State: 14:[73, 59], Operations: ['79-6=73', '1+58=59']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[6, 79, 1, 58], Operations: []
Exploring Operation: 79-1=78, Resulting Numbers: [6, 58, 78]
Generated Node #0,0: 14:[6, 58, 78] Operation: 79-1=78
Exploring Operation: 79-6=73, Resulting Numbers: [1, 58, 73]
Generated Node #0,1: 14:[1, 58, 73] Operation: 79-6=73
Exploring Operation: 58-6=52, Resulting Numbers: [79, 1, 52]
Generated Node #0,2: 14:[79, 1, 52] Operation: 58-6=52
Exploring Operation: 79-58=21, Resulting Numbers: [6, 1, 21]
Generated Node #0,3: 14:[6, 1, 21] Operation: 79-58=21
Exploring Operation: 6+1=7, Resulting Numbers: [79, 58, 7]
Generated Node #0,4: 14:[79, 58, 7] Operation: 6+1=7
Moving to Node #0,3
Current State: 14:[6, 1, 21], Operations: ['79-58=21']
Exploring Operation: 6+1=7, Resulting Numbers: [21, 7]
Generated Node #0,3,0: 14:[21, 7] Operation: 6+1=7
Exploring Operation: 21-1=20, Resulting Numbers: [6, 20]
Generated Node #0,3,1: 14:[6, 20] Operation: 21-1=20
Exploring Operation: 6*1=6, Resulting Numbers: [21, 6]
Generated Node #0,3,2: 14:[21, 6] Operation: 6*1=6
Exploring Operation: 21-6=15, Resulting Numbers: [1, 15]
Generated Node #0,3,3: 14:[1, 15] Operation: 21-6=15
Exploring Operation: 6/1=6, Resulting Numbers: [21, 6]
Generated Node #0,3,4: 14:[21, 6] Operation: 6/1=6
Moving to Node #0,2
Current State: 14:[79, 1, 52], Operations: ['58-6=52']
Exploring Operation: 79/1=79, Resulting Numbers: [52, 79]
Generated Node #0,2,0: 14:[52, 79] Operation: 79/1=79
Exploring Operation: 79-1=78, Resulting Numbers: [52, 78]
Generated Node #0,2,1: 14:[52, 78] Operation: 79-1=78
Exploring Operation: 79-52=27, Resulting Numbers: [1, 27]
Generated Node #0,2,2: 14:[1, 27] Operation: 79-52=27
Exploring Operation: 79*1=79, Resulting Numbers: [52, 79]
Generated Node #0,2,3: 14:[52, 79] Operation: 79*1=79
Exploring Operation: 52-1=51, Resulting Numbers: [79, 51]
Generated Node #0,2,4: 14:[79, 51] Operation: 52-1=51
Moving to Node #0,1
Current State: 14:[1, 58, 73], Operations: ['79-6=73']
Exploring Operation: 1*58=58, Resulting Numbers: [73, 58]
Generated Node #0,1,0: 14:[73, 58] Operation: 1*58=58
Exploring Operation: 73-58=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 14:[1, 15] Operation: 73-58=15
Exploring Operation: 73-1=72, Resulting Numbers: [58, 72]
Generated Node #0,1,2: 14:[58, 72] Operation: 73-1=72
Exploring Operation: 58-1=57, Resulting Numbers: [73, 57]
Generated Node #0,1,3: 14:[73, 57] Operation: 58-1=57
Exploring Operation: 58/1=58, Resulting Numbers: [73, 58]
Generated Node #0,1,4: 14:[73, 58] Operation: 58/1=58
Moving to Node #0,0
Current State: 14:[6, 58, 78], Operations: ['79-1=78']
Exploring Operation: 78/6=13, Resulting Numbers: [58, 13]
Generated Node #0,0,0: 14:[58, 13] Operation: 78/6=13
Exploring Operation: 78-58=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 14:[6, 20] Operation: 78-58=20
Exploring Operation: 6+58=64, Resulting Numbers: [78, 64]
Generated Node #0,0,2: 14:[78, 64] Operation: 6+58=64
Exploring Operation: 78-6=72, Resulting Numbers: [58, 72]
Generated Node #0,0,3: 14:[58, 72] Operation: 78-6=72
Exploring Operation: 58-6=52, Resulting Numbers: [78, 52]
Generated Node #0,0,4: 14:[78, 52] Operation: 58-6=52
Moving to Node #0,4
Current State: 14:[79, 58, 7], Operations: ['6+1=7']
Exploring Operation: 79-58=21, Resulting Numbers: [7, 21]
Generated Node #0,4,0: 14:[7, 21] Operation: 79-58=21
Exploring Operation: 79+7=86, Resulting Numbers: [58, 86]
Generated Node #0,4,1: 14:[58, 86] Operation: 79+7=86
Exploring Operation: 58-7=51, Resulting Numbers: [79, 51]
Generated Node #0,4,2: 14:[79, 51] Operation: 58-7=51
Exploring Operation: 58+7=65, Resulting Numbers: [79, 65]
Generated Node #0,4,3: 14:[79, 65] Operation: 58+7=65
Exploring Operation: 79-7=72, Resulting Numbers: [58, 72]
Generated Node #0,4,4: 14:[58, 72] Operation: 79-7=72
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[7, 21], Operations: ['6+1=7', '79-58=21']
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[6, 79, 1, 58], Operations: []
Exploring Operation: 6+1=7, Resulting Numbers: [79, 58, 7]
Generated Node #0,4: 14:[79, 58, 7] Operation: 6+1=7
Moving to Node #0,4
Current State: 14:[79, 58, 7], Operations: ['6+1=7']
Exploring Operation: 79-58=21, Resulting Numbers: [7, 21]
Generated Node #0,4,0: 14:[7, 21] Operation: 79-58=21
Moving to Node #0,4,0
Current State: 14:[7, 21], Operations: ['6+1=7', '79-58=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 |
hs_5
|
mult_heuristic
|
[
27,
82,
6,
63
] | 87 |
[
"82-63=19",
"6*19=114",
"114-27=87"
] |
Current State: 87:[27, 82, 6, 63], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [27, 6, 19]
Generated Node #2: [27, 6, 19] from Operation: 82-63=19
Current State: 87:[27, 6, 19], Operations: ['82-63=19']
Exploring Operation: 6*19=114, Resulting Numbers: [27, 114]
Generated Node #3: [27, 114] from Operation: 6*19=114
Current State: 87:[27, 114], Operations: ['82-63=19', '6*19=114']
Exploring Operation: 114-27=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[27, 82, 6, 63], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [27, 6, 19]
Generated Node #0,0: 87:[27, 6, 19] Operation: 82-63=19
Exploring Operation: 63-27=36, Resulting Numbers: [82, 6, 36]
Generated Node #0,1: 87:[82, 6, 36] Operation: 63-27=36
Exploring Operation: 27+63=90, Resulting Numbers: [82, 6, 90]
Generated Node #0,2: 87:[82, 6, 90] Operation: 27+63=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[82, 6, 90], Operations: ['27+63=90']
Exploring Operation: 82+6=88, Resulting Numbers: [90, 88]
Generated Node #0,2,0: 87:[90, 88] Operation: 82+6=88
Exploring Operation: 90-82=8, Resulting Numbers: [6, 8]
Generated Node #0,2,1: 87:[6, 8] Operation: 90-82=8
Exploring Operation: 90-6=84, Resulting Numbers: [82, 84]
Generated Node #0,2,2: 87:[82, 84] Operation: 90-6=84
Moving to Node #0,2,0
Current State: 87:[90, 88], Operations: ['27+63=90', '82+6=88']
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,87 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[6, 8], Operations: ['27+63=90', '90-82=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[82, 84], Operations: ['27+63=90', '90-6=84']
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,87 unequal: No Solution
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[27, 6, 19], Operations: ['82-63=19']
Exploring Operation: 27-19=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 87:[6, 8] Operation: 27-19=8
Exploring Operation: 6+19=25, Resulting Numbers: [27, 25]
Generated Node #0,0,1: 87:[27, 25] Operation: 6+19=25
Exploring Operation: 19-6=13, Resulting Numbers: [27, 13]
Generated Node #0,0,2: 87:[27, 13] Operation: 19-6=13
Moving to Node #0,0,1
Current State: 87:[27, 25], Operations: ['82-63=19', '6+19=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,87 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[6, 8], Operations: ['82-63=19', '27-19=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[27, 13], Operations: ['82-63=19', '19-6=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[82, 6, 36], Operations: ['63-27=36']
Exploring Operation: 36/6=6, Resulting Numbers: [82, 6]
Generated Node #0,1,0: 87:[82, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [82, 30]
Generated Node #0,1,1: 87:[82, 30] Operation: 36-6=30
Exploring Operation: 82+6=88, Resulting Numbers: [36, 88]
Generated Node #0,1,2: 87:[36, 88] Operation: 82+6=88
Moving to Node #0,1,1
Current State: 87:[82, 30], Operations: ['63-27=36', '36-6=30']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,87 unequal: No Solution
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[82, 6], Operations: ['63-27=36', '36/6=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,87 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[36, 88], Operations: ['63-27=36', '82+6=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,87 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,87 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,87 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
|
[
4,
2,
1,
49
] | 91 |
[
"49-4=45",
"2*45=90",
"1+90=91"
] |
Current State: 91:[4, 2, 1, 49], Operations: []
Exploring Operation: 49-4=45, Resulting Numbers: [2, 1, 45]
Generated Node #2: [2, 1, 45] from Operation: 49-4=45
Current State: 91:[2, 1, 45], Operations: ['49-4=45']
Exploring Operation: 2*45=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 2*45=90
Current State: 91:[1, 90], Operations: ['49-4=45', '2*45=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[4, 2, 1, 49], Operations: []
Exploring Operation: 4+2=6, Resulting Numbers: [1, 49, 6]
Generated Node #0,0: 91:[1, 49, 6] Operation: 4+2=6
Exploring Operation: 2*49=98, Resulting Numbers: [4, 1, 98]
Generated Node #0,1: 91:[4, 1, 98] Operation: 2*49=98
Exploring Operation: 49-4=45, Resulting Numbers: [2, 1, 45]
Generated Node #0,2: 91:[2, 1, 45] Operation: 49-4=45
Exploring Operation: 4*2=8, Resulting Numbers: [1, 49, 8]
Generated Node #0,3: 91:[1, 49, 8] Operation: 4*2=8
Exploring Operation: 4+1=5, Resulting Numbers: [2, 49, 5]
Generated Node #0,4: 91:[2, 49, 5] Operation: 4+1=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[4, 1, 98], Operations: ['2*49=98']
Exploring Operation: 4*1=4, Resulting Numbers: [98, 4]
Generated Node #0,1,0: 91:[98, 4] Operation: 4*1=4
Exploring Operation: 98-1=97, Resulting Numbers: [4, 97]
Generated Node #0,1,1: 91:[4, 97] Operation: 98-1=97
Exploring Operation: 4+1=5, Resulting Numbers: [98, 5]
Generated Node #0,1,2: 91:[98, 5] Operation: 4+1=5
Exploring Operation: 4/1=4, Resulting Numbers: [98, 4]
Generated Node #0,1,3: 91:[98, 4] Operation: 4/1=4
Exploring Operation: 98-4=94, Resulting Numbers: [1, 94]
Generated Node #0,1,4: 91:[1, 94] Operation: 98-4=94
Moving to Node #0,1,1
Current State: 91:[4, 97], Operations: ['2*49=98', '98-1=97']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 4*97=388, Resulting Numbers: [388]
388,91 unequal: No Solution
Exploring Operation: 4+97=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[1, 94], Operations: ['2*49=98', '98-4=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[98, 5], Operations: ['2*49=98', '4+1=5']
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,91 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[98, 4], Operations: ['2*49=98', '4*1=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,91 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[98, 4], Operations: ['2*49=98', '4/1=4']
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[1, 49, 6], Operations: ['4+2=6']
Exploring Operation: 49/1=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 91:[6, 49] Operation: 49/1=49
Exploring Operation: 49-1=48, Resulting Numbers: [6, 48]
Generated Node #0,0,1: 91:[6, 48] Operation: 49-1=48
Exploring Operation: 1+6=7, Resulting Numbers: [49, 7]
Generated Node #0,0,2: 91:[49, 7] Operation: 1+6=7
Exploring Operation: 1*49=49, Resulting Numbers: [6, 49]
Generated Node #0,0,3: 91:[6, 49] Operation: 1*49=49
Exploring Operation: 49-6=43, Resulting Numbers: [1, 43]
Generated Node #0,0,4: 91:[1, 43] Operation: 49-6=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[6, 48], Operations: ['4+2=6', '49-1=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[49, 7], Operations: ['4+2=6', '1+6=7']
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,91 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 91:[1, 43], Operations: ['4+2=6', '49-6=43']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,91 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[6, 49], Operations: ['4+2=6', '49/1=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,91 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[6, 49], Operations: ['4+2=6', '1*49=49']
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,91 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,91 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[2, 1, 45], Operations: ['49-4=45']
Exploring Operation: 2+1=3, Resulting Numbers: [45, 3]
Generated Node #0,2,0: 91:[45, 3] Operation: 2+1=3
Exploring Operation: 2*1=2, Resulting Numbers: [45, 2]
Generated Node #0,2,1: 91:[45, 2] Operation: 2*1=2
Exploring Operation: 2*45=90, Resulting Numbers: [1, 90]
Generated Node #0,2,2: 91:[1, 90] Operation: 2*45=90
Exploring Operation: 45-2=43, Resulting Numbers: [1, 43]
Generated Node #0,2,3: 91:[1, 43] Operation: 45-2=43
Exploring Operation: 45-1=44, Resulting Numbers: [2, 44]
Generated Node #0,2,4: 91:[2, 44] Operation: 45-1=44
Moving to Node #0,2,2
Current State: 91:[1, 90], Operations: ['49-4=45', '2*45=90']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[4, 2, 1, 49], Operations: []
Exploring Operation: 49-4=45, Resulting Numbers: [2, 1, 45]
Generated Node #0,2: 91:[2, 1, 45] Operation: 49-4=45
Moving to Node #0,2
Current State: 91:[2, 1, 45], Operations: ['49-4=45']
Exploring Operation: 2*45=90, Resulting Numbers: [1, 90]
Generated Node #0,2,2: 91:[1, 90] Operation: 2*45=90
Moving to Node #0,2,2
Current State: 91:[1, 90], Operations: ['49-4=45', '2*45=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 |
hs_5
|
sum_heuristic
|
[
61,
96,
87,
87
] | 34 |
[
"96-61=35",
"87/87=1",
"35-1=34"
] |
Current State: 34:[61, 96, 87, 87], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [87, 87, 35]
Generated Node #2: [87, 87, 35] from Operation: 96-61=35
Current State: 34:[87, 87, 35], Operations: ['96-61=35']
Exploring Operation: 87/87=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 87/87=1
Current State: 34:[35, 1], Operations: ['96-61=35', '87/87=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[61, 96, 87, 87], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [87, 87, 35]
Generated Node #0,0: 34:[87, 87, 35] Operation: 96-61=35
Exploring Operation: 87/87=1, Resulting Numbers: [61, 96, 1]
Generated Node #0,1: 34:[61, 96, 1] Operation: 87/87=1
Exploring Operation: 87-87=0, Resulting Numbers: [61, 96, 0]
Generated Node #0,2: 34:[61, 96, 0] Operation: 87-87=0
Exploring Operation: 96-87=9, Resulting Numbers: [61, 87, 9]
Generated Node #0,3: 34:[61, 87, 9] Operation: 96-87=9
Exploring Operation: 96-87=9, Resulting Numbers: [61, 87, 9]
Generated Node #0,4: 34:[61, 87, 9] Operation: 96-87=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[61, 87, 9], Operations: ['96-87=9']
Exploring Operation: 87-9=78, Resulting Numbers: [61, 78]
Generated Node #0,3,0: 34:[61, 78] Operation: 87-9=78
Exploring Operation: 87-61=26, Resulting Numbers: [9, 26]
Generated Node #0,3,1: 34:[9, 26] Operation: 87-61=26
Exploring Operation: 87+9=96, Resulting Numbers: [61, 96]
Generated Node #0,3,2: 34:[61, 96] Operation: 87+9=96
Exploring Operation: 61+9=70, Resulting Numbers: [87, 70]
Generated Node #0,3,3: 34:[87, 70] Operation: 61+9=70
Exploring Operation: 61-9=52, Resulting Numbers: [87, 52]
Generated Node #0,3,4: 34:[87, 52] Operation: 61-9=52
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[9, 26], Operations: ['96-87=9', '87-61=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,34 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[61, 78], Operations: ['96-87=9', '87-9=78']
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,34 unequal: No Solution
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 34:[87, 52], Operations: ['96-87=9', '61-9=52']
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 87+52=139, Resulting Numbers: [139]
139,34 unequal: No Solution
Exploring Operation: 87*52=4524, Resulting Numbers: [4524]
4524,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[61, 96], Operations: ['96-87=9', '87+9=96']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 61*96=5856, Resulting Numbers: [5856]
5856,34 unequal: No Solution
Exploring Operation: 61+96=157, Resulting Numbers: [157]
157,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[87, 70], Operations: ['96-87=9', '61+9=70']
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,34 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[61, 87, 9], Operations: ['96-87=9']
Exploring Operation: 87-61=26, Resulting Numbers: [9, 26]
Generated Node #0,4,0: 34:[9, 26] Operation: 87-61=26
Exploring Operation: 61-9=52, Resulting Numbers: [87, 52]
Generated Node #0,4,1: 34:[87, 52] Operation: 61-9=52
Exploring Operation: 87+9=96, Resulting Numbers: [61, 96]
Generated Node #0,4,2: 34:[61, 96] Operation: 87+9=96
Exploring Operation: 61+9=70, Resulting Numbers: [87, 70]
Generated Node #0,4,3: 34:[87, 70] Operation: 61+9=70
Exploring Operation: 87-9=78, Resulting Numbers: [61, 78]
Generated Node #0,4,4: 34:[61, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 34:[9, 26], Operations: ['96-87=9', '87-61=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,34 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 34:[87, 52], Operations: ['96-87=9', '61-9=52']
Exploring Operation: 87*52=4524, Resulting Numbers: [4524]
4524,34 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 87+52=139, Resulting Numbers: [139]
139,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 34:[61, 78], Operations: ['96-87=9', '87-9=78']
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,34 unequal: No Solution
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 34:[61, 96], Operations: ['96-87=9', '87+9=96']
Exploring Operation: 61*96=5856, Resulting Numbers: [5856]
5856,34 unequal: No Solution
Exploring Operation: 61+96=157, Resulting Numbers: [157]
157,34 unequal: No Solution
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 34:[87, 70], Operations: ['96-87=9', '61+9=70']
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,34 unequal: No Solution
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[61, 96, 1], Operations: ['87/87=1']
Exploring Operation: 96-61=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 34:[1, 35] Operation: 96-61=35
Exploring Operation: 96-1=95, Resulting Numbers: [61, 95]
Generated Node #0,1,1: 34:[61, 95] Operation: 96-1=95
Exploring Operation: 61/1=61, Resulting Numbers: [96, 61]
Generated Node #0,1,2: 34:[96, 61] Operation: 61/1=61
Exploring Operation: 61-1=60, Resulting Numbers: [96, 60]
Generated Node #0,1,3: 34:[96, 60] Operation: 61-1=60
Exploring Operation: 61*1=61, Resulting Numbers: [96, 61]
Generated Node #0,1,4: 34:[96, 61] Operation: 61*1=61
Moving to Node #0,1,0
Current State: 34:[1, 35], Operations: ['87/87=1', '96-61=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[61, 96, 87, 87], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [61, 96, 1]
Generated Node #0,1: 34:[61, 96, 1] Operation: 87/87=1
Moving to Node #0,1
Current State: 34:[61, 96, 1], Operations: ['87/87=1']
Exploring Operation: 96-61=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 34:[1, 35] Operation: 96-61=35
Moving to Node #0,1,0
Current State: 34:[1, 35], Operations: ['87/87=1', '96-61=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 |
hs_5
|
sum_heuristic
|
[
31,
14,
79,
20
] | 75 |
[
"31-20=11",
"14*11=154",
"154-79=75"
] |
Current State: 75:[31, 14, 79, 20], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [14, 79, 11]
Generated Node #2: [14, 79, 11] from Operation: 31-20=11
Current State: 75:[14, 79, 11], Operations: ['31-20=11']
Exploring Operation: 14*11=154, Resulting Numbers: [79, 154]
Generated Node #3: [79, 154] from Operation: 14*11=154
Current State: 75:[79, 154], Operations: ['31-20=11', '14*11=154']
Exploring Operation: 154-79=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[31, 14, 79, 20], Operations: []
Exploring Operation: 20-14=6, Resulting Numbers: [31, 79, 6]
Generated Node #0,0: 75:[31, 79, 6] Operation: 20-14=6
Exploring Operation: 31-20=11, Resulting Numbers: [14, 79, 11]
Generated Node #0,1: 75:[14, 79, 11] Operation: 31-20=11
Exploring Operation: 31-14=17, Resulting Numbers: [79, 20, 17]
Generated Node #0,2: 75:[79, 20, 17] Operation: 31-14=17
Exploring Operation: 14+20=34, Resulting Numbers: [31, 79, 34]
Generated Node #0,3: 75:[31, 79, 34] Operation: 14+20=34
Exploring Operation: 79-14=65, Resulting Numbers: [31, 20, 65]
Generated Node #0,4: 75:[31, 20, 65] Operation: 79-14=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[14, 79, 11], Operations: ['31-20=11']
Exploring Operation: 79-14=65, Resulting Numbers: [11, 65]
Generated Node #0,1,0: 75:[11, 65] Operation: 79-14=65
Exploring Operation: 79+11=90, Resulting Numbers: [14, 90]
Generated Node #0,1,1: 75:[14, 90] Operation: 79+11=90
Exploring Operation: 79-11=68, Resulting Numbers: [14, 68]
Generated Node #0,1,2: 75:[14, 68] Operation: 79-11=68
Exploring Operation: 14+11=25, Resulting Numbers: [79, 25]
Generated Node #0,1,3: 75:[79, 25] Operation: 14+11=25
Exploring Operation: 14-11=3, Resulting Numbers: [79, 3]
Generated Node #0,1,4: 75:[79, 3] Operation: 14-11=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[79, 25], Operations: ['31-20=11', '14+11=25']
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,75 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[79, 3], Operations: ['31-20=11', '14-11=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[14, 68], Operations: ['31-20=11', '79-11=68']
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 14*68=952, Resulting Numbers: [952]
952,75 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[11, 65], Operations: ['31-20=11', '79-14=65']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[14, 90], Operations: ['31-20=11', '79+11=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[31, 79, 6], Operations: ['20-14=6']
Exploring Operation: 79-6=73, Resulting Numbers: [31, 73]
Generated Node #0,0,0: 75:[31, 73] Operation: 79-6=73
Exploring Operation: 31-6=25, Resulting Numbers: [79, 25]
Generated Node #0,0,1: 75:[79, 25] Operation: 31-6=25
Exploring Operation: 31+6=37, Resulting Numbers: [79, 37]
Generated Node #0,0,2: 75:[79, 37] Operation: 31+6=37
Exploring Operation: 79-31=48, Resulting Numbers: [6, 48]
Generated Node #0,0,3: 75:[6, 48] Operation: 79-31=48
Exploring Operation: 79+6=85, Resulting Numbers: [31, 85]
Generated Node #0,0,4: 75:[31, 85] Operation: 79+6=85
Moving to Node #0,0,1
Current State: 75:[79, 25], Operations: ['20-14=6', '31-6=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,75 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[31, 73], Operations: ['20-14=6', '79-6=73']
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,75 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[79, 37], Operations: ['20-14=6', '31+6=37']
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,75 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[31, 85], Operations: ['20-14=6', '79+6=85']
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[6, 48], Operations: ['20-14=6', '79-31=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,75 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[79, 20, 17], Operations: ['31-14=17']
Exploring Operation: 20+17=37, Resulting Numbers: [79, 37]
Generated Node #0,2,0: 75:[79, 37] Operation: 20+17=37
Exploring Operation: 79-17=62, Resulting Numbers: [20, 62]
Generated Node #0,2,1: 75:[20, 62] Operation: 79-17=62
Exploring Operation: 79-20=59, Resulting Numbers: [17, 59]
Generated Node #0,2,2: 75:[17, 59] Operation: 79-20=59
Exploring Operation: 20-17=3, Resulting Numbers: [79, 3]
Generated Node #0,2,3: 75:[79, 3] Operation: 20-17=3
Exploring Operation: 79+20=99, Resulting Numbers: [17, 99]
Generated Node #0,2,4: 75:[17, 99] Operation: 79+20=99
Moving to Node #0,2,3
Current State: 75:[79, 3], Operations: ['31-14=17', '20-17=3']
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,75 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[79, 37], Operations: ['31-14=17', '20+17=37']
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,75 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[20, 62], Operations: ['31-14=17', '79-17=62']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[17, 59], Operations: ['31-14=17', '79-20=59']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,75 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[17, 99], Operations: ['31-14=17', '79+20=99']
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,75 unequal: No Solution
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[31, 79, 34], Operations: ['14+20=34']
Exploring Operation: 79-31=48, Resulting Numbers: [34, 48]
Generated Node #0,3,0: 75:[34, 48] Operation: 79-31=48
Exploring Operation: 31+79=110, Resulting Numbers: [34, 110]
Generated Node #0,3,1: 75:[34, 110] Operation: 31+79=110
Exploring Operation: 79-34=45, Resulting Numbers: [31, 45]
Generated Node #0,3,2: 75:[31, 45] Operation: 79-34=45
Exploring Operation: 31+34=65, Resulting Numbers: [79, 65]
Generated Node #0,3,3: 75:[79, 65] Operation: 31+34=65
Exploring Operation: 34-31=3, Resulting Numbers: [79, 3]
Generated Node #0,3,4: 75:[79, 3] Operation: 34-31=3
Moving to Node #0,3,4
Current State: 75:[79, 3], Operations: ['14+20=34', '34-31=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,75 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[79, 65], Operations: ['14+20=34', '31+34=65']
Exploring Operation: 79+65=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 79*65=5135, Resulting Numbers: [5135]
5135,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[31, 45], Operations: ['14+20=34', '79-34=45']
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,75 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[34, 48], Operations: ['14+20=34', '79-31=48']
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,75 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[34, 110], Operations: ['14+20=34', '31+79=110']
Exploring Operation: 34*110=3740, Resulting Numbers: [3740]
3740,75 unequal: No Solution
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 34+110=144, Resulting Numbers: [144]
144,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[31, 20, 65], Operations: ['79-14=65']
Exploring Operation: 31+65=96, Resulting Numbers: [20, 96]
Generated Node #0,4,0: 75:[20, 96] Operation: 31+65=96
Exploring Operation: 31-20=11, Resulting Numbers: [65, 11]
Generated Node #0,4,1: 75:[65, 11] Operation: 31-20=11
Exploring Operation: 20+65=85, Resulting Numbers: [31, 85]
Generated Node #0,4,2: 75:[31, 85] Operation: 20+65=85
Exploring Operation: 65-20=45, Resulting Numbers: [31, 45]
Generated Node #0,4,3: 75:[31, 45] Operation: 65-20=45
Exploring Operation: 65-31=34, Resulting Numbers: [20, 34]
Generated Node #0,4,4: 75:[20, 34] Operation: 65-31=34
Moving to Node #0,4,1
Current State: 75:[65, 11], Operations: ['79-14=65', '31-20=11']
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,75 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[20, 34], Operations: ['79-14=65', '65-31=34']
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,75 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[31, 85], Operations: ['79-14=65', '20+65=85']
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,75 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[20, 96], Operations: ['79-14=65', '31+65=96']
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,75 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[31, 45], Operations: ['79-14=65', '65-20=45']
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,75 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
4,
10,
3,
21
] | 30 |
[
"10-4=6",
"3+21=24",
"6+24=30"
] |
Current State: 30:[4, 10, 3, 21], Operations: []
Exploring Operation: 10-4=6, Resulting Numbers: [3, 21, 6]
Generated Node #2: [3, 21, 6] from Operation: 10-4=6
Current State: 30:[3, 21, 6], Operations: ['10-4=6']
Exploring Operation: 3+21=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 3+21=24
Current State: 30:[6, 24], Operations: ['10-4=6', '3+21=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[4, 10, 3, 21], Operations: []
Exploring Operation: 21-4=17, Resulting Numbers: [10, 3, 17]
Generated Node #0,0: 30:[10, 3, 17] Operation: 21-4=17
Moving to Node #0,0
Current State: 30:[10, 3, 17], Operations: ['21-4=17']
Exploring Operation: 17-10=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 30:[3, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[3, 7], Operations: ['21-4=17', '17-10=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
30,
54,
14,
2
] | 72 |
[
"30+54=84",
"14-2=12",
"84-12=72"
] |
Current State: 72:[30, 54, 14, 2], Operations: []
Exploring Operation: 30+54=84, Resulting Numbers: [14, 2, 84]
Generated Node #2: [14, 2, 84] from Operation: 30+54=84
Current State: 72:[14, 2, 84], Operations: ['30+54=84']
Exploring Operation: 14-2=12, Resulting Numbers: [84, 12]
Generated Node #3: [84, 12] from Operation: 14-2=12
Current State: 72:[84, 12], Operations: ['30+54=84', '14-2=12']
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[30, 54, 14, 2], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [14, 2, 24]
Generated Node #0,0: 72:[14, 2, 24] Operation: 54-30=24
Exploring Operation: 54/2=27, Resulting Numbers: [30, 14, 27]
Generated Node #0,1: 72:[30, 14, 27] Operation: 54/2=27
Exploring Operation: 54-14=40, Resulting Numbers: [30, 2, 40]
Generated Node #0,2: 72:[30, 2, 40] Operation: 54-14=40
Exploring Operation: 54+14=68, Resulting Numbers: [30, 2, 68]
Generated Node #0,3: 72:[30, 2, 68] Operation: 54+14=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[14, 2, 24], Operations: ['54-30=24']
Exploring Operation: 14+2=16, Resulting Numbers: [24, 16]
Generated Node #0,0,0: 72:[24, 16] Operation: 14+2=16
Exploring Operation: 14/2=7, Resulting Numbers: [24, 7]
Generated Node #0,0,1: 72:[24, 7] Operation: 14/2=7
Exploring Operation: 24-14=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 72:[2, 10] Operation: 24-14=10
Exploring Operation: 14-2=12, Resulting Numbers: [24, 12]
Generated Node #0,0,3: 72:[24, 12] Operation: 14-2=12
Moving to Node #0,0,3
Current State: 72:[24, 12], Operations: ['54-30=24', '14-2=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[2, 10], Operations: ['54-30=24', '24-14=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[24, 7], Operations: ['54-30=24', '14/2=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[24, 16], Operations: ['54-30=24', '14+2=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[30, 2, 40], Operations: ['54-14=40']
Exploring Operation: 30/2=15, Resulting Numbers: [40, 15]
Generated Node #0,2,0: 72:[40, 15] Operation: 30/2=15
Exploring Operation: 40-30=10, Resulting Numbers: [2, 10]
Generated Node #0,2,1: 72:[2, 10] Operation: 40-30=10
Exploring Operation: 30+2=32, Resulting Numbers: [40, 32]
Generated Node #0,2,2: 72:[40, 32] Operation: 30+2=32
Exploring Operation: 30+40=70, Resulting Numbers: [2, 70]
Generated Node #0,2,3: 72:[2, 70] Operation: 30+40=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[2, 10], Operations: ['54-14=40', '40-30=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,72 unequal: No Solution
No 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: 72:[2, 70], Operations: ['54-14=40', '30+40=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[30, 54, 14, 2], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [30, 2, 40]
Generated Node #0,2: 72:[30, 2, 40] Operation: 54-14=40
Moving to Node #0,2
Current State: 72:[30, 2, 40], Operations: ['54-14=40']
Exploring Operation: 30+40=70, Resulting Numbers: [2, 70]
Generated Node #0,2,3: 72:[2, 70] Operation: 30+40=70
Moving to Node #0,2,3
Current State: 72:[2, 70], Operations: ['54-14=40', '30+40=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 |
hs_4
|
mult_heuristic
|
[
49,
27,
68,
19
] | 26 |
[
"68-49=19",
"19/19=1",
"27-1=26"
] |
Current State: 26:[49, 27, 68, 19], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [27, 19, 19]
Generated Node #2: [27, 19, 19] from Operation: 68-49=19
Current State: 26:[27, 19, 19], Operations: ['68-49=19']
Exploring Operation: 19/19=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 19/19=1
Current State: 26:[27, 1], Operations: ['68-49=19', '19/19=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[49, 27, 68, 19], Operations: []
Exploring Operation: 68-19=49, Resulting Numbers: [49, 27, 49]
Generated Node #0,0: 26:[49, 27, 49] Operation: 68-19=49
Exploring Operation: 49-19=30, Resulting Numbers: [27, 68, 30]
Generated Node #0,1: 26:[27, 68, 30] Operation: 49-19=30
Exploring Operation: 68-49=19, Resulting Numbers: [27, 19, 19]
Generated Node #0,2: 26:[27, 19, 19] Operation: 68-49=19
Exploring Operation: 68-27=41, Resulting Numbers: [49, 19, 41]
Generated Node #0,3: 26:[49, 19, 41] Operation: 68-27=41
Exploring Operation: 49-27=22, Resulting Numbers: [68, 19, 22]
Generated Node #0,4: 26:[68, 19, 22] Operation: 49-27=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[27, 19, 19], Operations: ['68-49=19']
Exploring Operation: 27-19=8, Resulting Numbers: [19, 8]
Generated Node #0,2,0: 26:[19, 8] Operation: 27-19=8
Exploring Operation: 19+19=38, Resulting Numbers: [27, 38]
Generated Node #0,2,1: 26:[27, 38] Operation: 19+19=38
Exploring Operation: 19-19=0, Resulting Numbers: [27, 0]
Generated Node #0,2,2: 26:[27, 0] Operation: 19-19=0
Exploring Operation: 27-19=8, Resulting Numbers: [19, 8]
Generated Node #0,2,3: 26:[19, 8] Operation: 27-19=8
Exploring Operation: 19/19=1, Resulting Numbers: [27, 1]
Generated Node #0,2,4: 26:[27, 1] Operation: 19/19=1
Moving to Node #0,2,4
Current State: 26:[27, 1], Operations: ['68-49=19', '19/19=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[49, 27, 68, 19], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [27, 19, 19]
Generated Node #0,2: 26:[27, 19, 19] Operation: 68-49=19
Moving to Node #0,2
Current State: 26:[27, 19, 19], Operations: ['68-49=19']
Exploring Operation: 19/19=1, Resulting Numbers: [27, 1]
Generated Node #0,2,4: 26:[27, 1] Operation: 19/19=1
Moving to Node #0,2,4
Current State: 26:[27, 1], Operations: ['68-49=19', '19/19=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
3,
82,
64,
63
] | 57 |
[
"82-64=18",
"18/3=6",
"63-6=57"
] |
Current State: 57:[3, 82, 64, 63], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [3, 63, 18]
Generated Node #2: [3, 63, 18] from Operation: 82-64=18
Current State: 57:[3, 63, 18], Operations: ['82-64=18']
Exploring Operation: 18/3=6, Resulting Numbers: [63, 6]
Generated Node #3: [63, 6] from Operation: 18/3=6
Current State: 57:[63, 6], Operations: ['82-64=18', '18/3=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[3, 82, 64, 63], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [3, 64, 19]
Generated Node #0,0: 57:[3, 64, 19] Operation: 82-63=19
Exploring Operation: 82-64=18, Resulting Numbers: [3, 63, 18]
Generated Node #0,1: 57:[3, 63, 18] Operation: 82-64=18
Moving to Node #0,0
Current State: 57:[3, 64, 19], Operations: ['82-63=19']
Exploring Operation: 64-3=61, Resulting Numbers: [19, 61]
Generated Node #0,0,0: 57:[19, 61] Operation: 64-3=61
Exploring Operation: 3*19=57, Resulting Numbers: [64, 57]
Generated Node #0,0,1: 57:[64, 57] Operation: 3*19=57
Moving to Node #0,1
Current State: 57:[3, 63, 18], Operations: ['82-64=18']
Exploring Operation: 63/3=21, Resulting Numbers: [18, 21]
Generated Node #0,1,0: 57:[18, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [18, 60]
Generated Node #0,1,1: 57:[18, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[18, 21], Operations: ['82-64=18', '63/3=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[18, 60], Operations: ['82-64=18', '63-3=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 57:[19, 61], Operations: ['82-63=19', '64-3=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[64, 57], Operations: ['82-63=19', '3*19=57']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,57 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
79,
43,
41,
6
] | 87 |
[
"79+43=122",
"41-6=35",
"122-35=87"
] |
Current State: 87:[79, 43, 41, 6], Operations: []
Exploring Operation: 79+43=122, Resulting Numbers: [41, 6, 122]
Generated Node #2: [41, 6, 122] from Operation: 79+43=122
Current State: 87:[41, 6, 122], Operations: ['79+43=122']
Exploring Operation: 41-6=35, Resulting Numbers: [122, 35]
Generated Node #3: [122, 35] from Operation: 41-6=35
Current State: 87:[122, 35], Operations: ['79+43=122', '41-6=35']
Exploring Operation: 122-35=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[79, 43, 41, 6], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [79, 6, 2]
Generated Node #0,0: 87:[79, 6, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 87:[79, 6, 2], Operations: ['43-41=2']
Exploring Operation: 79+6=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 87:[2, 85] Operation: 79+6=85
Moving to Node #0,0,0
Current State: 87:[2, 85], Operations: ['43-41=2', '79+6=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[79, 43, 41, 6], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [79, 6, 2]
Generated Node #0,0: 87:[79, 6, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 87:[79, 6, 2], Operations: ['43-41=2']
Exploring Operation: 79+6=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 87:[2, 85] Operation: 79+6=85
Moving to Node #0,0,0
Current State: 87:[2, 85], Operations: ['43-41=2', '79+6=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
2,
66,
36,
40
] | 77 |
[
"2+40=42",
"66*42=2772",
"2772/36=77"
] |
Current State: 77:[2, 66, 36, 40], Operations: []
Exploring Operation: 2+40=42, Resulting Numbers: [66, 36, 42]
Generated Node #2: [66, 36, 42] from Operation: 2+40=42
Current State: 77:[66, 36, 42], Operations: ['2+40=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [36, 2772]
Generated Node #3: [36, 2772] from Operation: 66*42=2772
Current State: 77:[36, 2772], Operations: ['2+40=42', '66*42=2772']
Exploring Operation: 2772/36=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[2, 66, 36, 40], Operations: []
Exploring Operation: 36+40=76, Resulting Numbers: [2, 66, 76]
Generated Node #0,0: 77:[2, 66, 76] Operation: 36+40=76
Moving to Node #0,0
Current State: 77:[2, 66, 76], Operations: ['36+40=76']
Exploring Operation: 76-66=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 77:[2, 10] Operation: 76-66=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[2, 10], Operations: ['36+40=76', '76-66=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,77 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
|
[
39,
42,
78,
2
] | 42 |
[
"39+42=81",
"78/2=39",
"81-39=42"
] |
Current State: 42:[39, 42, 78, 2], Operations: []
Exploring Operation: 39+42=81, Resulting Numbers: [78, 2, 81]
Generated Node #2: [78, 2, 81] from Operation: 39+42=81
Current State: 42:[78, 2, 81], Operations: ['39+42=81']
Exploring Operation: 78/2=39, Resulting Numbers: [81, 39]
Generated Node #3: [81, 39] from Operation: 78/2=39
Current State: 42:[81, 39], Operations: ['39+42=81', '78/2=39']
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[39, 42, 78, 2], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [39, 2, 36]
Generated Node #0,0: 42:[39, 2, 36] Operation: 78-42=36
Exploring Operation: 78-39=39, Resulting Numbers: [42, 2, 39]
Generated Node #0,1: 42:[42, 2, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [42, 2, 2]
Generated Node #0,2: 42:[42, 2, 2] Operation: 78/39=2
Exploring Operation: 78/2=39, Resulting Numbers: [39, 42, 39]
Generated Node #0,3: 42:[39, 42, 39] Operation: 78/2=39
Moving to Node #0,2
Current State: 42:[42, 2, 2], Operations: ['78/39=2']
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,2,0: 42:[2, 21] Operation: 42/2=21
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,2,1: 42:[2, 21] Operation: 42/2=21
Exploring Operation: 2*2=4, Resulting Numbers: [42, 4]
Generated Node #0,2,2: 42:[42, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [42, 4]
Generated Node #0,2,3: 42:[42, 4] Operation: 2+2=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[2, 21], Operations: ['78/39=2', '42/2=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[39, 42, 78, 2], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [42, 2, 2]
Generated Node #0,2: 42:[42, 2, 2] Operation: 78/39=2
Moving to Node #0,2
Current State: 42:[42, 2, 2], Operations: ['78/39=2']
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,2,0: 42:[2, 21] Operation: 42/2=21
Moving to Node #0,2,0
Current State: 42:[2, 21], Operations: ['78/39=2', '42/2=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
70,
55,
70,
80
] | 25 |
[
"70+55=125",
"70+80=150",
"150-125=25"
] |
Current State: 25:[70, 55, 70, 80], Operations: []
Exploring Operation: 70+55=125, Resulting Numbers: [80, 125]
Generated Node #2: [80, 125] from Operation: 70+55=125
Current State: 25:[80, 125], Operations: ['70+55=125']
Exploring Operation: 70+80=150, Resulting Numbers: [125, 150]
Generated Node #3: [125, 150] from Operation: 70+80=150
Current State: 25:[125, 150], Operations: ['70+55=125', '70+80=150']
Exploring Operation: 150-125=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[70, 55, 70, 80], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [55, 70, 10]
Generated Node #0,0: 25:[55, 70, 10] Operation: 80-70=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[55, 70, 10], Operations: ['80-70=10']
Exploring Operation: 70-55=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 25:[10, 15] Operation: 70-55=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[10, 15], Operations: ['80-70=10', '70-55=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[70, 55, 70, 80], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [55, 70, 10]
Generated Node #0,0: 25:[55, 70, 10] Operation: 80-70=10
Moving to Node #0,0
Current State: 25:[55, 70, 10], Operations: ['80-70=10']
Exploring Operation: 70-55=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 25:[10, 15] Operation: 70-55=15
Moving to Node #0,0,0
Current State: 25:[10, 15], Operations: ['80-70=10', '70-55=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
67,
56,
3,
13
] | 90 |
[
"56+13=69",
"69/3=23",
"67+23=90"
] |
Current State: 90:[67, 56, 3, 13], Operations: []
Exploring Operation: 56+13=69, Resulting Numbers: [67, 3, 69]
Generated Node #2: [67, 3, 69] from Operation: 56+13=69
Current State: 90:[67, 3, 69], Operations: ['56+13=69']
Exploring Operation: 69/3=23, Resulting Numbers: [67, 23]
Generated Node #3: [67, 23] from Operation: 69/3=23
Current State: 90:[67, 23], Operations: ['56+13=69', '69/3=23']
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[67, 56, 3, 13], Operations: []
Exploring Operation: 67-13=54, Resulting Numbers: [56, 3, 54]
Generated Node #0,0: 90:[56, 3, 54] Operation: 67-13=54
Exploring Operation: 67-56=11, Resulting Numbers: [3, 13, 11]
Generated Node #0,1: 90:[3, 13, 11] Operation: 67-56=11
Moving to Node #0,1
Current State: 90:[3, 13, 11], Operations: ['67-56=11']
Exploring Operation: 13-3=10, Resulting Numbers: [11, 10]
Generated Node #0,1,0: 90:[11, 10] Operation: 13-3=10
Exploring Operation: 13-11=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 90:[3, 2] Operation: 13-11=2
Moving to Node #0,0
Current State: 90:[56, 3, 54], Operations: ['67-13=54']
Exploring Operation: 56-54=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 90:[3, 2] Operation: 56-54=2
Exploring Operation: 54/3=18, Resulting Numbers: [56, 18]
Generated Node #0,0,1: 90:[56, 18] Operation: 54/3=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[3, 2], Operations: ['67-13=54', '56-54=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[56, 18], Operations: ['67-13=54', '54/3=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,90 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: 90:[3, 2], Operations: ['67-56=11', '13-11=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[11, 10], Operations: ['67-56=11', '13-3=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
33,
33,
29,
34
] | 64 |
[
"33/33=1",
"29+34=63",
"1+63=64"
] |
Current State: 64:[33, 33, 29, 34], Operations: []
Exploring Operation: 33/33=1, Resulting Numbers: [29, 34, 1]
Generated Node #2: [29, 34, 1] from Operation: 33/33=1
Current State: 64:[29, 34, 1], Operations: ['33/33=1']
Exploring Operation: 29+34=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 29+34=63
Current State: 64:[1, 63], Operations: ['33/33=1', '29+34=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[33, 33, 29, 34], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [33, 34, 4]
Generated Node #0,0: 64:[33, 34, 4] Operation: 33-29=4
Exploring Operation: 33-29=4, Resulting Numbers: [33, 34, 4]
Generated Node #0,1: 64:[33, 34, 4] Operation: 33-29=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[33, 34, 4], Operations: ['33-29=4']
Exploring Operation: 34-33=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 64:[4, 1] Operation: 34-33=1
Exploring Operation: 33+34=67, Resulting Numbers: [4, 67]
Generated Node #0,0,1: 64:[4, 67] Operation: 33+34=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[4, 1], Operations: ['33-29=4', '34-33=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[4, 67], Operations: ['33-29=4', '33+34=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[33, 34, 4], Operations: ['33-29=4']
Exploring Operation: 34-33=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 64:[4, 1] Operation: 34-33=1
Exploring Operation: 33+34=67, Resulting Numbers: [4, 67]
Generated Node #0,1,1: 64:[4, 67] Operation: 33+34=67
Moving to Node #0,1,0
Current State: 64:[4, 1], Operations: ['33-29=4', '34-33=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[4, 67], Operations: ['33-29=4', '33+34=67']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,64 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
|
[
85,
55,
43,
76
] | 77 |
[
"43+76=119",
"55*119=6545",
"6545/85=77"
] |
Current State: 77:[85, 55, 43, 76], Operations: []
Exploring Operation: 43+76=119, Resulting Numbers: [85, 55, 119]
Generated Node #2: [85, 55, 119] from Operation: 43+76=119
Current State: 77:[85, 55, 119], Operations: ['43+76=119']
Exploring Operation: 55*119=6545, Resulting Numbers: [85, 6545]
Generated Node #3: [85, 6545] from Operation: 55*119=6545
Current State: 77:[85, 6545], Operations: ['43+76=119', '55*119=6545']
Exploring Operation: 6545/85=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[85, 55, 43, 76], Operations: []
Exploring Operation: 55+43=98, Resulting Numbers: [85, 76, 98]
Generated Node #0,0: 77:[85, 76, 98] Operation: 55+43=98
Exploring Operation: 55-43=12, Resulting Numbers: [85, 76, 12]
Generated Node #0,1: 77:[85, 76, 12] Operation: 55-43=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[85, 76, 12], Operations: ['55-43=12']
Exploring Operation: 85-12=73, Resulting Numbers: [76, 73]
Generated Node #0,1,0: 77:[76, 73] Operation: 85-12=73
Exploring Operation: 85-76=9, Resulting Numbers: [12, 9]
Generated Node #0,1,1: 77:[12, 9] Operation: 85-76=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[12, 9], Operations: ['55-43=12', '85-76=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,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:[76, 73], Operations: ['55-43=12', '85-12=73']
Exploring Operation: 76+73=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,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,0
Current State: 77:[85, 76, 98], Operations: ['55+43=98']
Exploring Operation: 98-76=22, Resulting Numbers: [85, 22]
Generated Node #0,0,0: 77:[85, 22] Operation: 98-76=22
Exploring Operation: 98-85=13, Resulting Numbers: [76, 13]
Generated Node #0,0,1: 77:[76, 13] Operation: 98-85=13
Moving to Node #0,0,1
Current State: 77:[76, 13], Operations: ['55+43=98', '98-85=13']
Exploring Operation: 76+13=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[85, 22], Operations: ['55+43=98', '98-76=22']
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
67,
76,
94,
48
] | 37 |
[
"76-67=9",
"94-48=46",
"46-9=37"
] |
Current State: 37:[67, 76, 94, 48], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [94, 48, 9]
Generated Node #2: [94, 48, 9] from Operation: 76-67=9
Current State: 37:[94, 48, 9], Operations: ['76-67=9']
Exploring Operation: 94-48=46, Resulting Numbers: [9, 46]
Generated Node #3: [9, 46] from Operation: 94-48=46
Current State: 37:[9, 46], Operations: ['76-67=9', '94-48=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[67, 76, 94, 48], Operations: []
Exploring Operation: 94-76=18, Resulting Numbers: [67, 48, 18]
Generated Node #0,0: 37:[67, 48, 18] Operation: 94-76=18
Exploring Operation: 94-67=27, Resulting Numbers: [76, 48, 27]
Generated Node #0,1: 37:[76, 48, 27] Operation: 94-67=27
Moving to Node #0,0
Current State: 37:[67, 48, 18], Operations: ['94-76=18']
Exploring Operation: 67-48=19, Resulting Numbers: [18, 19]
Generated Node #0,0,0: 37:[18, 19] Operation: 67-48=19
Exploring Operation: 67-18=49, Resulting Numbers: [48, 49]
Generated Node #0,0,1: 37:[48, 49] Operation: 67-18=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[48, 49], Operations: ['94-76=18', '67-18=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,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:[18, 19], Operations: ['94-76=18', '67-48=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[67, 76, 94, 48], Operations: []
Exploring Operation: 94-76=18, Resulting Numbers: [67, 48, 18]
Generated Node #0,0: 37:[67, 48, 18] Operation: 94-76=18
Moving to Node #0,0
Current State: 37:[67, 48, 18], Operations: ['94-76=18']
Exploring Operation: 67-48=19, Resulting Numbers: [18, 19]
Generated Node #0,0,0: 37:[18, 19] Operation: 67-48=19
Moving to Node #0,0,0
Current State: 37:[18, 19], Operations: ['94-76=18', '67-48=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
mult_heuristic
|
[
62,
56,
42,
84
] | 68 |
[
"62*84=5208",
"5208/42=124",
"124-56=68"
] |
Current State: 68:[62, 56, 42, 84], Operations: []
Exploring Operation: 62*84=5208, Resulting Numbers: [56, 42, 5208]
Generated Node #2: [56, 42, 5208] from Operation: 62*84=5208
Current State: 68:[56, 42, 5208], Operations: ['62*84=5208']
Exploring Operation: 5208/42=124, Resulting Numbers: [56, 124]
Generated Node #3: [56, 124] from Operation: 5208/42=124
Current State: 68:[56, 124], Operations: ['62*84=5208', '5208/42=124']
Exploring Operation: 124-56=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[62, 56, 42, 84], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [62, 42, 28]
Generated Node #0,0: 68:[62, 42, 28] Operation: 84-56=28
Exploring Operation: 56-42=14, Resulting Numbers: [62, 84, 14]
Generated Node #0,1: 68:[62, 84, 14] Operation: 56-42=14
Exploring Operation: 62-56=6, Resulting Numbers: [42, 84, 6]
Generated Node #0,2: 68:[42, 84, 6] Operation: 62-56=6
Exploring Operation: 84-62=22, Resulting Numbers: [56, 42, 22]
Generated Node #0,3: 68:[56, 42, 22] Operation: 84-62=22
Exploring Operation: 84/42=2, Resulting Numbers: [62, 56, 2]
Generated Node #0,4: 68:[62, 56, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 68:[62, 56, 2], Operations: ['84/42=2']
Exploring Operation: 62-56=6, Resulting Numbers: [2, 6]
Generated Node #0,4,0: 68:[2, 6] Operation: 62-56=6
Exploring Operation: 56/2=28, Resulting Numbers: [62, 28]
Generated Node #0,4,1: 68:[62, 28] Operation: 56/2=28
Exploring Operation: 62/2=31, Resulting Numbers: [56, 31]
Generated Node #0,4,2: 68:[56, 31] Operation: 62/2=31
Exploring Operation: 62+2=64, Resulting Numbers: [56, 64]
Generated Node #0,4,3: 68:[56, 64] Operation: 62+2=64
Exploring Operation: 56+2=58, Resulting Numbers: [62, 58]
Generated Node #0,4,4: 68:[62, 58] Operation: 56+2=58
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 68:[2, 6], Operations: ['84/42=2', '62-56=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 68:[62, 28], Operations: ['84/42=2', '56/2=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,68 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 68:[56, 31], Operations: ['84/42=2', '62/2=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,68 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 68:[56, 64], Operations: ['84/42=2', '62+2=64']
Exploring Operation: 56*64=3584, Resulting Numbers: [3584]
3584,68 unequal: No Solution
Exploring Operation: 56+64=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 68:[62, 58], Operations: ['84/42=2', '56+2=58']
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[62, 42, 28], Operations: ['84-56=28']
Exploring Operation: 62-28=34, Resulting Numbers: [42, 34]
Generated Node #0,0,0: 68:[42, 34] Operation: 62-28=34
Exploring Operation: 62-42=20, Resulting Numbers: [28, 20]
Generated Node #0,0,1: 68:[28, 20] Operation: 62-42=20
Exploring Operation: 42+28=70, Resulting Numbers: [62, 70]
Generated Node #0,0,2: 68:[62, 70] Operation: 42+28=70
Exploring Operation: 42-28=14, Resulting Numbers: [62, 14]
Generated Node #0,0,3: 68:[62, 14] Operation: 42-28=14
Exploring Operation: 62+28=90, Resulting Numbers: [42, 90]
Generated Node #0,0,4: 68:[42, 90] Operation: 62+28=90
Moving to Node #0,0,0
Current State: 68:[42, 34], Operations: ['84-56=28', '62-28=34']
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,68 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[62, 70], Operations: ['84-56=28', '42+28=70']
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,68 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[28, 20], Operations: ['84-56=28', '62-42=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[62, 14], Operations: ['84-56=28', '42-28=14']
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,68 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[42, 90], Operations: ['84-56=28', '62+28=90']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,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
Current State: 68:[62, 84, 14], Operations: ['56-42=14']
Exploring Operation: 84/14=6, Resulting Numbers: [62, 6]
Generated Node #0,1,0: 68:[62, 6] Operation: 84/14=6
Exploring Operation: 62-14=48, Resulting Numbers: [84, 48]
Generated Node #0,1,1: 68:[84, 48] Operation: 62-14=48
Exploring Operation: 62+14=76, Resulting Numbers: [84, 76]
Generated Node #0,1,2: 68:[84, 76] Operation: 62+14=76
Exploring Operation: 84-62=22, Resulting Numbers: [14, 22]
Generated Node #0,1,3: 68:[14, 22] Operation: 84-62=22
Exploring Operation: 84-14=70, Resulting Numbers: [62, 70]
Generated Node #0,1,4: 68:[62, 70] Operation: 84-14=70
Moving to Node #0,1,0
Current State: 68:[62, 6], Operations: ['56-42=14', '84/14=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,68 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[62, 56, 42, 84], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [62, 84, 14]
Generated Node #0,1: 68:[62, 84, 14] Operation: 56-42=14
Moving to Node #0,1
Current State: 68:[62, 84, 14], Operations: ['56-42=14']
Exploring Operation: 84/14=6, Resulting Numbers: [62, 6]
Generated Node #0,1,0: 68:[62, 6] Operation: 84/14=6
Moving to Node #0,1,0
Current State: 68:[62, 6], Operations: ['56-42=14', '84/14=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 |
hs_5
|
mult_heuristic
|
[
13,
28,
92,
90
] | 86 |
[
"28-13=15",
"90/15=6",
"92-6=86"
] |
Current State: 86:[13, 28, 92, 90], Operations: []
Exploring Operation: 28-13=15, Resulting Numbers: [92, 90, 15]
Generated Node #2: [92, 90, 15] from Operation: 28-13=15
Current State: 86:[92, 90, 15], Operations: ['28-13=15']
Exploring Operation: 90/15=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 90/15=6
Current State: 86:[92, 6], Operations: ['28-13=15', '90/15=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[13, 28, 92, 90], Operations: []
Exploring Operation: 28-13=15, Resulting Numbers: [92, 90, 15]
Generated Node #0,0: 86:[92, 90, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [92, 90, 41]
Generated Node #0,1: 86:[92, 90, 41] Operation: 13+28=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[92, 90, 41], Operations: ['13+28=41']
Exploring Operation: 92-90=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 86:[41, 2] Operation: 92-90=2
Exploring Operation: 92-41=51, Resulting Numbers: [90, 51]
Generated Node #0,1,1: 86:[90, 51] Operation: 92-41=51
Moving to Node #0,1,0
Current State: 86:[41, 2], Operations: ['13+28=41', '92-90=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[90, 51], Operations: ['13+28=41', '92-41=51']
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,86 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[92, 90, 15], Operations: ['28-13=15']
Exploring Operation: 92-90=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 86:[15, 2] Operation: 92-90=2
Exploring Operation: 90/15=6, Resulting Numbers: [92, 6]
Generated Node #0,0,1: 86:[92, 6] Operation: 90/15=6
Moving to Node #0,0,1
Current State: 86:[92, 6], Operations: ['28-13=15', '90/15=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[13, 28, 92, 90], Operations: []
Exploring Operation: 28-13=15, Resulting Numbers: [92, 90, 15]
Generated Node #0,0: 86:[92, 90, 15] Operation: 28-13=15
Moving to Node #0,0
Current State: 86:[92, 90, 15], Operations: ['28-13=15']
Exploring Operation: 90/15=6, Resulting Numbers: [92, 6]
Generated Node #0,0,1: 86:[92, 6] Operation: 90/15=6
Moving to Node #0,0,1
Current State: 86:[92, 6], Operations: ['28-13=15', '90/15=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_2
|
mult_heuristic
|
[
48,
82,
62,
94
] | 26 |
[
"48+82=130",
"62+94=156",
"156-130=26"
] |
Current State: 26:[48, 82, 62, 94], Operations: []
Exploring Operation: 48+82=130, Resulting Numbers: [62, 94, 130]
Generated Node #2: [62, 94, 130] from Operation: 48+82=130
Current State: 26:[62, 94, 130], Operations: ['48+82=130']
Exploring Operation: 62+94=156, Resulting Numbers: [130, 156]
Generated Node #3: [130, 156] from Operation: 62+94=156
Current State: 26:[130, 156], Operations: ['48+82=130', '62+94=156']
Exploring Operation: 156-130=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[48, 82, 62, 94], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [48, 62, 12]
Generated Node #0,0: 26:[48, 62, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 26:[48, 62, 12], Operations: ['94-82=12']
Exploring Operation: 62-48=14, Resulting Numbers: [12, 14]
Generated Node #0,0,0: 26:[12, 14] Operation: 62-48=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[12, 14], Operations: ['94-82=12', '62-48=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[48, 82, 62, 94], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [48, 62, 12]
Generated Node #0,0: 26:[48, 62, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 26:[48, 62, 12], Operations: ['94-82=12']
Exploring Operation: 62-48=14, Resulting Numbers: [12, 14]
Generated Node #0,0,0: 26:[12, 14] Operation: 62-48=14
Moving to Node #0,0,0
Current State: 26:[12, 14], Operations: ['94-82=12', '62-48=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
14,
82,
51,
80
] | 60 |
[
"82-14=68",
"51*80=4080",
"4080/68=60"
] |
Current State: 60:[14, 82, 51, 80], Operations: []
Exploring Operation: 82-14=68, Resulting Numbers: [51, 80, 68]
Generated Node #2: [51, 80, 68] from Operation: 82-14=68
Current State: 60:[51, 80, 68], Operations: ['82-14=68']
Exploring Operation: 51*80=4080, Resulting Numbers: [68, 4080]
Generated Node #3: [68, 4080] from Operation: 51*80=4080
Current State: 60:[68, 4080], Operations: ['82-14=68', '51*80=4080']
Exploring Operation: 4080/68=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[14, 82, 51, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [14, 82, 29]
Generated Node #0,0: 60:[14, 82, 29] Operation: 80-51=29
Exploring Operation: 82-51=31, Resulting Numbers: [14, 80, 31]
Generated Node #0,1: 60:[14, 80, 31] Operation: 82-51=31
Exploring Operation: 82-14=68, Resulting Numbers: [51, 80, 68]
Generated Node #0,2: 60:[51, 80, 68] Operation: 82-14=68
Exploring Operation: 82-80=2, Resulting Numbers: [14, 51, 2]
Generated Node #0,3: 60:[14, 51, 2] Operation: 82-80=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[14, 51, 2], Operations: ['82-80=2']
Exploring Operation: 51-14=37, Resulting Numbers: [2, 37]
Generated Node #0,3,0: 60:[2, 37] Operation: 51-14=37
Exploring Operation: 14+51=65, Resulting Numbers: [2, 65]
Generated Node #0,3,1: 60:[2, 65] Operation: 14+51=65
Exploring Operation: 51+2=53, Resulting Numbers: [14, 53]
Generated Node #0,3,2: 60:[14, 53] Operation: 51+2=53
Exploring Operation: 14-2=12, Resulting Numbers: [51, 12]
Generated Node #0,3,3: 60:[51, 12] Operation: 14-2=12
Moving to Node #0,3,1
Current State: 60:[2, 65], Operations: ['82-80=2', '14+51=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[2, 37], Operations: ['82-80=2', '51-14=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[14, 53], Operations: ['82-80=2', '51+2=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[51, 12], Operations: ['82-80=2', '14-2=12']
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,60 unequal: No Solution
No 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:[14, 80, 31], Operations: ['82-51=31']
Exploring Operation: 80-14=66, Resulting Numbers: [31, 66]
Generated Node #0,1,0: 60:[31, 66] Operation: 80-14=66
Exploring Operation: 80-31=49, Resulting Numbers: [14, 49]
Generated Node #0,1,1: 60:[14, 49] Operation: 80-31=49
Exploring Operation: 14+80=94, Resulting Numbers: [31, 94]
Generated Node #0,1,2: 60:[31, 94] Operation: 14+80=94
Exploring Operation: 31-14=17, Resulting Numbers: [80, 17]
Generated Node #0,1,3: 60:[80, 17] Operation: 31-14=17
Moving to Node #0,1,0
Current State: 60:[31, 66], Operations: ['82-51=31', '80-14=66']
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[14, 49], Operations: ['82-51=31', '80-31=49']
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,60 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[80, 17], Operations: ['82-51=31', '31-14=17']
Exploring Operation: 80*17=1360, Resulting Numbers: [1360]
1360,60 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[31, 94], Operations: ['82-51=31', '14+80=94']
Exploring Operation: 31*94=2914, Resulting Numbers: [2914]
2914,60 unequal: No Solution
Exploring Operation: 31+94=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,60 unequal: No Solution
No 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: 60:[14, 82, 29], Operations: ['80-51=29']
Exploring Operation: 82-29=53, Resulting Numbers: [14, 53]
Generated Node #0,0,0: 60:[14, 53] Operation: 82-29=53
Exploring Operation: 29-14=15, Resulting Numbers: [82, 15]
Generated Node #0,0,1: 60:[82, 15] Operation: 29-14=15
Exploring Operation: 14+29=43, Resulting Numbers: [82, 43]
Generated Node #0,0,2: 60:[82, 43] Operation: 14+29=43
Exploring Operation: 82-14=68, Resulting Numbers: [29, 68]
Generated Node #0,0,3: 60:[29, 68] Operation: 82-14=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[14, 53], Operations: ['80-51=29', '82-29=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,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,3
Current State: 60:[29, 68], Operations: ['80-51=29', '82-14=68']
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,60 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,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:[82, 15], Operations: ['80-51=29', '29-14=15']
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,60 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,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:[82, 43], Operations: ['80-51=29', '14+29=43']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,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:[51, 80, 68], Operations: ['82-14=68']
Exploring Operation: 51+80=131, Resulting Numbers: [68, 131]
Generated Node #0,2,0: 60:[68, 131] Operation: 51+80=131
Exploring Operation: 68-51=17, Resulting Numbers: [80, 17]
Generated Node #0,2,1: 60:[80, 17] Operation: 68-51=17
Exploring Operation: 80-68=12, Resulting Numbers: [51, 12]
Generated Node #0,2,2: 60:[51, 12] Operation: 80-68=12
Exploring Operation: 80-51=29, Resulting Numbers: [68, 29]
Generated Node #0,2,3: 60:[68, 29] Operation: 80-51=29
Moving to Node #0,2,2
Current State: 60:[51, 12], Operations: ['82-14=68', '80-68=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,60 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[68, 29], Operations: ['82-14=68', '80-51=29']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,60 unequal: No Solution
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[80, 17], Operations: ['82-14=68', '68-51=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 80*17=1360, Resulting Numbers: [1360]
1360,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[68, 131], Operations: ['82-14=68', '51+80=131']
Exploring Operation: 68+131=199, Resulting Numbers: [199]
199,60 unequal: No Solution
Exploring Operation: 68*131=8908, Resulting Numbers: [8908]
8908,60 unequal: No Solution
Exploring Operation: 131-68=63, Resulting Numbers: [63]
63,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
29,
72,
33,
90
] | 22 |
[
"29+72=101",
"33+90=123",
"123-101=22"
] |
Current State: 22:[29, 72, 33, 90], Operations: []
Exploring Operation: 29+72=101, Resulting Numbers: [33, 90, 101]
Generated Node #2: [33, 90, 101] from Operation: 29+72=101
Current State: 22:[33, 90, 101], Operations: ['29+72=101']
Exploring Operation: 33+90=123, Resulting Numbers: [101, 123]
Generated Node #3: [101, 123] from Operation: 33+90=123
Current State: 22:[101, 123], Operations: ['29+72=101', '33+90=123']
Exploring Operation: 123-101=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[29, 72, 33, 90], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [29, 72, 57]
Generated Node #0,0: 22:[29, 72, 57] Operation: 90-33=57
Exploring Operation: 90-72=18, Resulting Numbers: [29, 33, 18]
Generated Node #0,1: 22:[29, 33, 18] Operation: 90-72=18
Exploring Operation: 72-33=39, Resulting Numbers: [29, 90, 39]
Generated Node #0,2: 22:[29, 90, 39] Operation: 72-33=39
Moving to Node #0,1
Current State: 22:[29, 33, 18], Operations: ['90-72=18']
Exploring Operation: 29-18=11, Resulting Numbers: [33, 11]
Generated Node #0,1,0: 22:[33, 11] Operation: 29-18=11
Exploring Operation: 33-29=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 22:[18, 4] Operation: 33-29=4
Exploring Operation: 33-18=15, Resulting Numbers: [29, 15]
Generated Node #0,1,2: 22:[29, 15] Operation: 33-18=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[18, 4], Operations: ['90-72=18', '33-29=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[29, 72, 33, 90], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [29, 33, 18]
Generated Node #0,1: 22:[29, 33, 18] Operation: 90-72=18
Moving to Node #0,1
Current State: 22:[29, 33, 18], Operations: ['90-72=18']
Exploring Operation: 33-29=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 22:[18, 4] Operation: 33-29=4
Moving to Node #0,1,1
Current State: 22:[18, 4], Operations: ['90-72=18', '33-29=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
61,
40,
75,
71
] | 84 |
[
"61-40=21",
"75-71=4",
"21*4=84"
] |
Current State: 84:[61, 40, 75, 71], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [75, 71, 21]
Generated Node #2: [75, 71, 21] from Operation: 61-40=21
Current State: 84:[75, 71, 21], Operations: ['61-40=21']
Exploring Operation: 75-71=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 75-71=4
Current State: 84:[21, 4], Operations: ['61-40=21', '75-71=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[61, 40, 75, 71], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [40, 75, 10]
Generated Node #0,0: 84:[40, 75, 10] Operation: 71-61=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[40, 75, 10], Operations: ['71-61=10']
Exploring Operation: 75+10=85, Resulting Numbers: [40, 85]
Generated Node #0,0,0: 84:[40, 85] Operation: 75+10=85
Moving to Node #0,0,0
Current State: 84:[40, 85], Operations: ['71-61=10', '75+10=85']
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,84 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
|
[
43,
8,
8,
39
] | 39 |
[
"8-8=0",
"43*0=0",
"39+0=39"
] |
Current State: 39:[43, 8, 8, 39], Operations: []
Exploring Operation: 8-8=0, Resulting Numbers: [43, 39, 0]
Generated Node #2: [43, 39, 0] from Operation: 8-8=0
Current State: 39:[43, 39, 0], Operations: ['8-8=0']
Exploring Operation: 43*0=0, Resulting Numbers: [39, 0]
Generated Node #3: [39, 0] from Operation: 43*0=0
Current State: 39:[39, 0], Operations: ['8-8=0', '43*0=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[43, 8, 8, 39], Operations: []
Exploring Operation: 8+8=16, Resulting Numbers: [43, 39, 16]
Generated Node #0,0: 39:[43, 39, 16] Operation: 8+8=16
Exploring Operation: 43-8=35, Resulting Numbers: [8, 39, 35]
Generated Node #0,1: 39:[8, 39, 35] Operation: 43-8=35
Exploring Operation: 8/8=1, Resulting Numbers: [43, 39, 1]
Generated Node #0,2: 39:[43, 39, 1] Operation: 8/8=1
Exploring Operation: 8-8=0, Resulting Numbers: [43, 39, 0]
Generated Node #0,3: 39:[43, 39, 0] Operation: 8-8=0
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[43, 39, 1], Operations: ['8/8=1']
Exploring Operation: 43/1=43, Resulting Numbers: [39, 43]
Generated Node #0,2,0: 39:[39, 43] Operation: 43/1=43
Exploring Operation: 43-1=42, Resulting Numbers: [39, 42]
Generated Node #0,2,1: 39:[39, 42] Operation: 43-1=42
Exploring Operation: 43*1=43, Resulting Numbers: [39, 43]
Generated Node #0,2,2: 39:[39, 43] Operation: 43*1=43
Exploring Operation: 43-39=4, Resulting Numbers: [1, 4]
Generated Node #0,2,3: 39:[1, 4] Operation: 43-39=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[39, 42], Operations: ['8/8=1', '43-1=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,39 unequal: No Solution
No 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: 39:[1, 4], Operations: ['8/8=1', '43-39=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No 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: 39:[39, 43], Operations: ['8/8=1', '43/1=43']
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,39 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No 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: 39:[39, 43], Operations: ['8/8=1', '43*1=43']
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,39 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: 39:[43, 39, 16], Operations: ['8+8=16']
Exploring Operation: 43-16=27, Resulting Numbers: [39, 27]
Generated Node #0,0,0: 39:[39, 27] Operation: 43-16=27
Exploring Operation: 43+16=59, Resulting Numbers: [39, 59]
Generated Node #0,0,1: 39:[39, 59] Operation: 43+16=59
Exploring Operation: 43-39=4, Resulting Numbers: [16, 4]
Generated Node #0,0,2: 39:[16, 4] Operation: 43-39=4
Exploring Operation: 39-16=23, Resulting Numbers: [43, 23]
Generated Node #0,0,3: 39:[43, 23] Operation: 39-16=23
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[16, 4], Operations: ['8+8=16', '43-39=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No 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: 39:[39, 27], Operations: ['8+8=16', '43-16=27']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,39 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,39 unequal: No Solution
No 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: 39:[43, 23], Operations: ['8+8=16', '39-16=23']
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,39 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No 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: 39:[39, 59], Operations: ['8+8=16', '43+16=59']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,39 unequal: No Solution
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,39 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: 39:[43, 39, 0], Operations: ['8-8=0']
Exploring Operation: 43-0=43, Resulting Numbers: [39, 43]
Generated Node #0,3,0: 39:[39, 43] Operation: 43-0=43
Exploring Operation: 43+0=43, Resulting Numbers: [39, 43]
Generated Node #0,3,1: 39:[39, 43] Operation: 43+0=43
Exploring Operation: 43*0=0, Resulting Numbers: [39, 0]
Generated Node #0,3,2: 39:[39, 0] Operation: 43*0=0
Exploring Operation: 43-39=4, Resulting Numbers: [0, 4]
Generated Node #0,3,3: 39:[0, 4] Operation: 43-39=4
Moving to Node #0,3,2
Current State: 39:[39, 0], Operations: ['8-8=0', '43*0=0']
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[43, 8, 8, 39], Operations: []
Exploring Operation: 8-8=0, Resulting Numbers: [43, 39, 0]
Generated Node #0,3: 39:[43, 39, 0] Operation: 8-8=0
Moving to Node #0,3
Current State: 39:[43, 39, 0], Operations: ['8-8=0']
Exploring Operation: 43*0=0, Resulting Numbers: [39, 0]
Generated Node #0,3,2: 39:[39, 0] Operation: 43*0=0
Moving to Node #0,3,2
Current State: 39:[39, 0], Operations: ['8-8=0', '43*0=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 |
hs_4
|
sum_heuristic
|
[
4,
49,
31,
78
] | 64 |
[
"49-4=45",
"31+78=109",
"109-45=64"
] |
Current State: 64:[4, 49, 31, 78], Operations: []
Exploring Operation: 49-4=45, Resulting Numbers: [31, 78, 45]
Generated Node #2: [31, 78, 45] from Operation: 49-4=45
Current State: 64:[31, 78, 45], Operations: ['49-4=45']
Exploring Operation: 31+78=109, Resulting Numbers: [45, 109]
Generated Node #3: [45, 109] from Operation: 31+78=109
Current State: 64:[45, 109], Operations: ['49-4=45', '31+78=109']
Exploring Operation: 109-45=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[4, 49, 31, 78], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [4, 78, 18]
Generated Node #0,0: 64:[4, 78, 18] Operation: 49-31=18
Exploring Operation: 78-49=29, Resulting Numbers: [4, 31, 29]
Generated Node #0,1: 64:[4, 31, 29] Operation: 78-49=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[4, 31, 29], Operations: ['78-49=29']
Exploring Operation: 4+29=33, Resulting Numbers: [31, 33]
Generated Node #0,1,0: 64:[31, 33] Operation: 4+29=33
Exploring Operation: 31-29=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 64:[4, 2] Operation: 31-29=2
Moving to Node #0,1,1
Current State: 64:[4, 2], Operations: ['78-49=29', '31-29=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[31, 33], Operations: ['78-49=29', '4+29=33']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[4, 49, 31, 78], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [4, 31, 29]
Generated Node #0,1: 64:[4, 31, 29] Operation: 78-49=29
Moving to Node #0,1
Current State: 64:[4, 31, 29], Operations: ['78-49=29']
Exploring Operation: 4+29=33, Resulting Numbers: [31, 33]
Generated Node #0,1,0: 64:[31, 33] Operation: 4+29=33
Moving to Node #0,1,0
Current State: 64:[31, 33], Operations: ['78-49=29', '4+29=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
sum_heuristic
|
[
43,
60,
3,
62
] | 25 |
[
"43+62=105",
"105/3=35",
"60-35=25"
] |
Current State: 25:[43, 60, 3, 62], Operations: []
Exploring Operation: 43+62=105, Resulting Numbers: [60, 3, 105]
Generated Node #2: [60, 3, 105] from Operation: 43+62=105
Current State: 25:[60, 3, 105], Operations: ['43+62=105']
Exploring Operation: 105/3=35, Resulting Numbers: [60, 35]
Generated Node #3: [60, 35] from Operation: 105/3=35
Current State: 25:[60, 35], Operations: ['43+62=105', '105/3=35']
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[43, 60, 3, 62], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [43, 3, 2]
Generated Node #0,0: 25:[43, 3, 2] Operation: 62-60=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[43, 3, 2], Operations: ['62-60=2']
Exploring Operation: 43-3=40, Resulting Numbers: [2, 40]
Generated Node #0,0,0: 25:[2, 40] Operation: 43-3=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[2, 40], Operations: ['62-60=2', '43-3=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
46,
16,
76,
44
] | 30 |
[
"46+16=62",
"76-44=32",
"62-32=30"
] |
Current State: 30:[46, 16, 76, 44], Operations: []
Exploring Operation: 46+16=62, Resulting Numbers: [76, 44, 62]
Generated Node #2: [76, 44, 62] from Operation: 46+16=62
Current State: 30:[76, 44, 62], Operations: ['46+16=62']
Exploring Operation: 76-44=32, Resulting Numbers: [62, 32]
Generated Node #3: [62, 32] from Operation: 76-44=32
Current State: 30:[62, 32], Operations: ['46+16=62', '76-44=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[46, 16, 76, 44], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [16, 76, 2]
Generated Node #0,0: 30:[16, 76, 2] Operation: 46-44=2
Exploring Operation: 76-44=32, Resulting Numbers: [46, 16, 32]
Generated Node #0,1: 30:[46, 16, 32] Operation: 76-44=32
Exploring Operation: 46-16=30, Resulting Numbers: [76, 44, 30]
Generated Node #0,2: 30:[76, 44, 30] Operation: 46-16=30
Exploring Operation: 76-46=30, Resulting Numbers: [16, 44, 30]
Generated Node #0,3: 30:[16, 44, 30] Operation: 76-46=30
Moving to Node #0,3
Current State: 30:[16, 44, 30], Operations: ['76-46=30']
Exploring Operation: 16+44=60, Resulting Numbers: [30, 60]
Generated Node #0,3,0: 30:[30, 60] Operation: 16+44=60
Exploring Operation: 30-16=14, Resulting Numbers: [44, 14]
Generated Node #0,3,1: 30:[44, 14] Operation: 30-16=14
Exploring Operation: 44-30=14, Resulting Numbers: [16, 14]
Generated Node #0,3,2: 30:[16, 14] Operation: 44-30=14
Exploring Operation: 44-16=28, Resulting Numbers: [30, 28]
Generated Node #0,3,3: 30:[30, 28] Operation: 44-16=28
Moving to Node #0,1
Current State: 30:[46, 16, 32], Operations: ['76-44=32']
Exploring Operation: 46-16=30, Resulting Numbers: [32, 30]
Generated Node #0,1,0: 30:[32, 30] Operation: 46-16=30
Exploring Operation: 32/16=2, Resulting Numbers: [46, 2]
Generated Node #0,1,1: 30:[46, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [46, 16]
Generated Node #0,1,2: 30:[46, 16] Operation: 32-16=16
Exploring Operation: 46-32=14, Resulting Numbers: [16, 14]
Generated Node #0,1,3: 30:[16, 14] Operation: 46-32=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[32, 30], Operations: ['76-44=32', '46-16=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,30 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[16, 14], Operations: ['76-44=32', '46-32=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,30 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[46, 16, 76, 44], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [46, 16, 32]
Generated Node #0,1: 30:[46, 16, 32] Operation: 76-44=32
Moving to Node #0,1
Current State: 30:[46, 16, 32], Operations: ['76-44=32']
Exploring Operation: 46-32=14, Resulting Numbers: [16, 14]
Generated Node #0,1,3: 30:[16, 14] Operation: 46-32=14
Moving to Node #0,1,3
Current State: 30:[16, 14], Operations: ['76-44=32', '46-32=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_4
|
mult_heuristic
|
[
6,
76,
24,
72
] | 72 |
[
"24-6=18",
"76-72=4",
"18*4=72"
] |
Current State: 72:[6, 76, 24, 72], Operations: []
Exploring Operation: 24-6=18, Resulting Numbers: [76, 72, 18]
Generated Node #2: [76, 72, 18] from Operation: 24-6=18
Current State: 72:[76, 72, 18], Operations: ['24-6=18']
Exploring Operation: 76-72=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 76-72=4
Current State: 72:[18, 4], Operations: ['24-6=18', '76-72=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[6, 76, 24, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [6, 24, 4]
Generated Node #0,0: 72:[6, 24, 4] Operation: 76-72=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[6, 24, 4], Operations: ['76-72=4']
Exploring Operation: 24-6=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 72:[4, 18] Operation: 24-6=18
Moving to Node #0,0,0
Current State: 72:[4, 18], Operations: ['76-72=4', '24-6=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[6, 76, 24, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [6, 24, 4]
Generated Node #0,0: 72:[6, 24, 4] Operation: 76-72=4
Moving to Node #0,0
Current State: 72:[6, 24, 4], Operations: ['76-72=4']
Exploring Operation: 24-6=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 72:[4, 18] Operation: 24-6=18
Moving to Node #0,0,0
Current State: 72:[4, 18], Operations: ['76-72=4', '24-6=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
60,
86,
71,
65
] | 96 |
[
"71-65=6",
"60/6=10",
"86+10=96"
] |
Current State: 96:[60, 86, 71, 65], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [60, 86, 6]
Generated Node #2: [60, 86, 6] from Operation: 71-65=6
Current State: 96:[60, 86, 6], Operations: ['71-65=6']
Exploring Operation: 60/6=10, Resulting Numbers: [86, 10]
Generated Node #3: [86, 10] from Operation: 60/6=10
Current State: 96:[86, 10], Operations: ['71-65=6', '60/6=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[60, 86, 71, 65], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [86, 65, 11]
Generated Node #0,0: 96:[86, 65, 11] Operation: 71-60=11
Exploring Operation: 71-65=6, Resulting Numbers: [60, 86, 6]
Generated Node #0,1: 96:[60, 86, 6] Operation: 71-65=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[60, 86, 6], Operations: ['71-65=6']
Exploring Operation: 86-60=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 96:[6, 26] Operation: 86-60=26
Exploring Operation: 60/6=10, Resulting Numbers: [86, 10]
Generated Node #0,1,1: 96:[86, 10] Operation: 60/6=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[6, 26], Operations: ['71-65=6', '86-60=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[86, 10], Operations: ['71-65=6', '60/6=10']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[60, 86, 71, 65], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [60, 86, 6]
Generated Node #0,1: 96:[60, 86, 6] Operation: 71-65=6
Moving to Node #0,1
Current State: 96:[60, 86, 6], Operations: ['71-65=6']
Exploring Operation: 60/6=10, Resulting Numbers: [86, 10]
Generated Node #0,1,1: 96:[86, 10] Operation: 60/6=10
Moving to Node #0,1,1
Current State: 96:[86, 10], Operations: ['71-65=6', '60/6=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
55,
28,
99,
67
] | 59 |
[
"55-28=27",
"99-67=32",
"27+32=59"
] |
Current State: 59:[55, 28, 99, 67], Operations: []
Exploring Operation: 55-28=27, Resulting Numbers: [99, 67, 27]
Generated Node #2: [99, 67, 27] from Operation: 55-28=27
Current State: 59:[99, 67, 27], Operations: ['55-28=27']
Exploring Operation: 99-67=32, Resulting Numbers: [27, 32]
Generated Node #3: [27, 32] from Operation: 99-67=32
Current State: 59:[27, 32], Operations: ['55-28=27', '99-67=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[55, 28, 99, 67], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [55, 99, 39]
Generated Node #0,0: 59:[55, 99, 39] Operation: 67-28=39
Exploring Operation: 99-28=71, Resulting Numbers: [55, 67, 71]
Generated Node #0,1: 59:[55, 67, 71] Operation: 99-28=71
Exploring Operation: 99-55=44, Resulting Numbers: [28, 67, 44]
Generated Node #0,2: 59:[28, 67, 44] Operation: 99-55=44
Exploring Operation: 99-67=32, Resulting Numbers: [55, 28, 32]
Generated Node #0,3: 59:[55, 28, 32] Operation: 99-67=32
Moving to Node #0,1
Current State: 59:[55, 67, 71], Operations: ['99-28=71']
Exploring Operation: 55+67=122, Resulting Numbers: [71, 122]
Generated Node #0,1,0: 59:[71, 122] Operation: 55+67=122
Exploring Operation: 67-55=12, Resulting Numbers: [71, 12]
Generated Node #0,1,1: 59:[71, 12] Operation: 67-55=12
Exploring Operation: 71-55=16, Resulting Numbers: [67, 16]
Generated Node #0,1,2: 59:[67, 16] Operation: 71-55=16
Exploring Operation: 71-67=4, Resulting Numbers: [55, 4]
Generated Node #0,1,3: 59:[55, 4] Operation: 71-67=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[67, 16], Operations: ['99-28=71', '71-55=16']
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,59 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[71, 12], Operations: ['99-28=71', '67-55=12']
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,59 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[55, 28, 99, 67], Operations: []
Exploring Operation: 99-28=71, Resulting Numbers: [55, 67, 71]
Generated Node #0,1: 59:[55, 67, 71] Operation: 99-28=71
Moving to Node #0,1
Current State: 59:[55, 67, 71], Operations: ['99-28=71']
Exploring Operation: 67-55=12, Resulting Numbers: [71, 12]
Generated Node #0,1,1: 59:[71, 12] Operation: 67-55=12
Moving to Node #0,1,1
Current State: 59:[71, 12], Operations: ['99-28=71', '67-55=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_4
|
sum_heuristic
|
[
43,
17,
82,
10
] | 98 |
[
"43-17=26",
"82-10=72",
"26+72=98"
] |
Current State: 98:[43, 17, 82, 10], Operations: []
Exploring Operation: 43-17=26, Resulting Numbers: [82, 10, 26]
Generated Node #2: [82, 10, 26] from Operation: 43-17=26
Current State: 98:[82, 10, 26], Operations: ['43-17=26']
Exploring Operation: 82-10=72, Resulting Numbers: [26, 72]
Generated Node #3: [26, 72] from Operation: 82-10=72
Current State: 98:[26, 72], Operations: ['43-17=26', '82-10=72']
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[43, 17, 82, 10], Operations: []
Exploring Operation: 17+82=99, Resulting Numbers: [43, 10, 99]
Generated Node #0,0: 98:[43, 10, 99] Operation: 17+82=99
Exploring Operation: 43+10=53, Resulting Numbers: [17, 82, 53]
Generated Node #0,1: 98:[17, 82, 53] Operation: 43+10=53
Exploring Operation: 17-10=7, Resulting Numbers: [43, 82, 7]
Generated Node #0,2: 98:[43, 82, 7] Operation: 17-10=7
Exploring Operation: 82+10=92, Resulting Numbers: [43, 17, 92]
Generated Node #0,3: 98:[43, 17, 92] Operation: 82+10=92
Exploring Operation: 82-43=39, Resulting Numbers: [17, 10, 39]
Generated Node #0,4: 98:[17, 10, 39] Operation: 82-43=39
Moving to Node #0,0
Current State: 98:[43, 10, 99], Operations: ['17+82=99']
Exploring Operation: 10+99=109, Resulting Numbers: [43, 109]
Generated Node #0,0,0: 98:[43, 109] Operation: 10+99=109
Exploring Operation: 99-10=89, Resulting Numbers: [43, 89]
Generated Node #0,0,1: 98:[43, 89] Operation: 99-10=89
Exploring Operation: 43+10=53, Resulting Numbers: [99, 53]
Generated Node #0,0,2: 98:[99, 53] Operation: 43+10=53
Exploring Operation: 99-43=56, Resulting Numbers: [10, 56]
Generated Node #0,0,3: 98:[10, 56] Operation: 99-43=56
Exploring Operation: 43-10=33, Resulting Numbers: [99, 33]
Generated Node #0,0,4: 98:[99, 33] Operation: 43-10=33
Moving to Node #0,3
Current State: 98:[43, 17, 92], Operations: ['82+10=92']
Exploring Operation: 43+17=60, Resulting Numbers: [92, 60]
Generated Node #0,3,0: 98:[92, 60] Operation: 43+17=60
Exploring Operation: 92-43=49, Resulting Numbers: [17, 49]
Generated Node #0,3,1: 98:[17, 49] Operation: 92-43=49
Exploring Operation: 17+92=109, Resulting Numbers: [43, 109]
Generated Node #0,3,2: 98:[43, 109] Operation: 17+92=109
Exploring Operation: 92-17=75, Resulting Numbers: [43, 75]
Generated Node #0,3,3: 98:[43, 75] Operation: 92-17=75
Exploring Operation: 43-17=26, Resulting Numbers: [92, 26]
Generated Node #0,3,4: 98:[92, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[17, 49], Operations: ['82+10=92', '92-43=49']
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,98 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[92, 60], Operations: ['82+10=92', '43+17=60']
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 92*60=5520, Resulting Numbers: [5520]
5520,98 unequal: No Solution
Exploring Operation: 92+60=152, Resulting Numbers: [152]
152,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[43, 109], Operations: ['82+10=92', '17+92=109']
Exploring Operation: 109-43=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 43*109=4687, Resulting Numbers: [4687]
4687,98 unequal: No Solution
Exploring Operation: 43+109=152, Resulting Numbers: [152]
152,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[92, 26], Operations: ['82+10=92', '43-17=26']
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,98 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[43, 75], Operations: ['82+10=92', '92-17=75']
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 43+75=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Exploring Operation: 43*75=3225, Resulting Numbers: [3225]
3225,98 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: 98:[17, 10, 39], Operations: ['82-43=39']
Exploring Operation: 39-17=22, Resulting Numbers: [10, 22]
Generated Node #0,4,0: 98:[10, 22] Operation: 39-17=22
Exploring Operation: 17+39=56, Resulting Numbers: [10, 56]
Generated Node #0,4,1: 98:[10, 56] Operation: 17+39=56
Exploring Operation: 39-10=29, Resulting Numbers: [17, 29]
Generated Node #0,4,2: 98:[17, 29] Operation: 39-10=29
Exploring Operation: 10+39=49, Resulting Numbers: [17, 49]
Generated Node #0,4,3: 98:[17, 49] Operation: 10+39=49
Exploring Operation: 17-10=7, Resulting Numbers: [39, 7]
Generated Node #0,4,4: 98:[39, 7] Operation: 17-10=7
Moving to Node #0,2
Current State: 98:[43, 82, 7], Operations: ['17-10=7']
Exploring Operation: 43+82=125, Resulting Numbers: [7, 125]
Generated Node #0,2,0: 98:[7, 125] Operation: 43+82=125
Exploring Operation: 43+7=50, Resulting Numbers: [82, 50]
Generated Node #0,2,1: 98:[82, 50] Operation: 43+7=50
Exploring Operation: 82+7=89, Resulting Numbers: [43, 89]
Generated Node #0,2,2: 98:[43, 89] Operation: 82+7=89
Exploring Operation: 43-7=36, Resulting Numbers: [82, 36]
Generated Node #0,2,3: 98:[82, 36] Operation: 43-7=36
Exploring Operation: 82-43=39, Resulting Numbers: [7, 39]
Generated Node #0,2,4: 98:[7, 39] Operation: 82-43=39
Moving to Node #0,1
Current State: 98:[17, 82, 53], Operations: ['43+10=53']
Exploring Operation: 53-17=36, Resulting Numbers: [82, 36]
Generated Node #0,1,0: 98:[82, 36] Operation: 53-17=36
Exploring Operation: 82-53=29, Resulting Numbers: [17, 29]
Generated Node #0,1,1: 98:[17, 29] Operation: 82-53=29
Exploring Operation: 82-17=65, Resulting Numbers: [53, 65]
Generated Node #0,1,2: 98:[53, 65] Operation: 82-17=65
Exploring Operation: 17+82=99, Resulting Numbers: [53, 99]
Generated Node #0,1,3: 98:[53, 99] Operation: 17+82=99
Exploring Operation: 17+53=70, Resulting Numbers: [82, 70]
Generated Node #0,1,4: 98:[82, 70] Operation: 17+53=70
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[53, 99], Operations: ['43+10=53', '17+82=99']
Exploring Operation: 53*99=5247, Resulting Numbers: [5247]
5247,98 unequal: No Solution
Exploring Operation: 53+99=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[17, 29], Operations: ['43+10=53', '82-53=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,98 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[53, 65], Operations: ['43+10=53', '82-17=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[82, 36], Operations: ['43+10=53', '53-17=36']
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 98:[82, 70], Operations: ['43+10=53', '17+53=70']
Exploring Operation: 82*70=5740, Resulting Numbers: [5740]
5740,98 unequal: No Solution
Exploring Operation: 82+70=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 98:[17, 49], Operations: ['82-43=39', '10+39=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,98 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[99, 53], Operations: ['17+82=99', '43+10=53']
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 99*53=5247, Resulting Numbers: [5247]
5247,98 unequal: No Solution
Exploring Operation: 99+53=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[10, 56], Operations: ['82-43=39', '17+39=56']
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,98 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[10, 56], Operations: ['17+82=99', '99-43=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,98 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[7, 39], Operations: ['17-10=7', '82-43=39']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,98 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[39, 7], Operations: ['82-43=39', '17-10=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,98 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[10, 22], Operations: ['82-43=39', '39-17=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[43, 89], Operations: ['17+82=99', '99-10=89']
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 43*89=3827, Resulting Numbers: [3827]
3827,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[43, 89], Operations: ['17-10=7', '82+7=89']
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 43*89=3827, Resulting Numbers: [3827]
3827,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[82, 50], Operations: ['17-10=7', '43+7=50']
Exploring Operation: 82*50=4100, Resulting Numbers: [4100]
4100,98 unequal: No Solution
Exploring Operation: 82+50=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[99, 33], Operations: ['17+82=99', '43-10=33']
Exploring Operation: 99*33=3267, Resulting Numbers: [3267]
3267,98 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[43, 109], Operations: ['17+82=99', '10+99=109']
Exploring Operation: 43*109=4687, Resulting Numbers: [4687]
4687,98 unequal: No Solution
Exploring Operation: 109-43=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 43+109=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[17, 29], Operations: ['82-43=39', '39-10=29']
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,98 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[7, 125], Operations: ['17-10=7', '43+82=125']
Exploring Operation: 7*125=875, Resulting Numbers: [875]
875,98 unequal: No Solution
Exploring Operation: 7+125=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 125-7=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[82, 36], Operations: ['17-10=7', '43-7=36']
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,98 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,98 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
9,
64,
61,
39
] | 16 |
[
"9+39=48",
"64-61=3",
"48/3=16"
] |
Current State: 16:[9, 64, 61, 39], Operations: []
Exploring Operation: 9+39=48, Resulting Numbers: [64, 61, 48]
Generated Node #2: [64, 61, 48] from Operation: 9+39=48
Current State: 16:[64, 61, 48], Operations: ['9+39=48']
Exploring Operation: 64-61=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 64-61=3
Current State: 16:[48, 3], Operations: ['9+39=48', '64-61=3']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[9, 64, 61, 39], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [9, 39, 3]
Generated Node #0,0: 16:[9, 39, 3] Operation: 64-61=3
Exploring Operation: 64-39=25, Resulting Numbers: [9, 61, 25]
Generated Node #0,1: 16:[9, 61, 25] Operation: 64-39=25
Moving to Node #0,0
Current State: 16:[9, 39, 3], Operations: ['64-61=3']
Exploring Operation: 39/3=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 16:[9, 13] Operation: 39/3=13
Exploring Operation: 39-9=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 16:[3, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[9, 13], Operations: ['64-61=3', '39/3=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[3, 30], Operations: ['64-61=3', '39-9=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,16 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: 16:[9, 61, 25], Operations: ['64-39=25']
Exploring Operation: 61-25=36, Resulting Numbers: [9, 36]
Generated Node #0,1,0: 16:[9, 36] Operation: 61-25=36
Exploring Operation: 61-9=52, Resulting Numbers: [25, 52]
Generated Node #0,1,1: 16:[25, 52] Operation: 61-9=52
Moving to Node #0,1,0
Current State: 16:[9, 36], Operations: ['64-39=25', '61-25=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[25, 52], Operations: ['64-39=25', '61-9=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,16 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
46,
99,
50,
48
] | 74 |
[
"48-46=2",
"50/2=25",
"99-25=74"
] |
Current State: 74:[46, 99, 50, 48], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [99, 50, 2]
Generated Node #2: [99, 50, 2] from Operation: 48-46=2
Current State: 74:[99, 50, 2], Operations: ['48-46=2']
Exploring Operation: 50/2=25, Resulting Numbers: [99, 25]
Generated Node #3: [99, 25] from Operation: 50/2=25
Current State: 74:[99, 25], Operations: ['48-46=2', '50/2=25']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[46, 99, 50, 48], Operations: []
Exploring Operation: 99-50=49, Resulting Numbers: [46, 48, 49]
Generated Node #0,0: 74:[46, 48, 49] Operation: 99-50=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[46, 48, 49], Operations: ['99-50=49']
Exploring Operation: 49-48=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 74:[46, 1] Operation: 49-48=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[46, 1], Operations: ['99-50=49', '49-48=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
60,
98,
96,
73
] | 26 |
[
"73-60=13",
"98-96=2",
"13*2=26"
] |
Current State: 26:[60, 98, 96, 73], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [98, 96, 13]
Generated Node #2: [98, 96, 13] from Operation: 73-60=13
Current State: 26:[98, 96, 13], Operations: ['73-60=13']
Exploring Operation: 98-96=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 98-96=2
Current State: 26:[13, 2], Operations: ['73-60=13', '98-96=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[60, 98, 96, 73], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [96, 73, 38]
Generated Node #0,0: 26:[96, 73, 38] Operation: 98-60=38
Exploring Operation: 98-73=25, Resulting Numbers: [60, 96, 25]
Generated Node #0,1: 26:[60, 96, 25] Operation: 98-73=25
Exploring Operation: 98-96=2, Resulting Numbers: [60, 73, 2]
Generated Node #0,2: 26:[60, 73, 2] Operation: 98-96=2
Exploring Operation: 96-73=23, Resulting Numbers: [60, 98, 23]
Generated Node #0,3: 26:[60, 98, 23] Operation: 96-73=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[60, 73, 2], Operations: ['98-96=2']
Exploring Operation: 73-2=71, Resulting Numbers: [60, 71]
Generated Node #0,2,0: 26:[60, 71] Operation: 73-2=71
Exploring Operation: 60-2=58, Resulting Numbers: [73, 58]
Generated Node #0,2,1: 26:[73, 58] Operation: 60-2=58
Exploring Operation: 60/2=30, Resulting Numbers: [73, 30]
Generated Node #0,2,2: 26:[73, 30] Operation: 60/2=30
Exploring Operation: 73-60=13, Resulting Numbers: [2, 13]
Generated Node #0,2,3: 26:[2, 13] Operation: 73-60=13
Moving to Node #0,2,3
Current State: 26:[2, 13], Operations: ['98-96=2', '73-60=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[60, 98, 96, 73], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [60, 73, 2]
Generated Node #0,2: 26:[60, 73, 2] Operation: 98-96=2
Moving to Node #0,2
Current State: 26:[60, 73, 2], Operations: ['98-96=2']
Exploring Operation: 73-60=13, Resulting Numbers: [2, 13]
Generated Node #0,2,3: 26:[2, 13] Operation: 73-60=13
Moving to Node #0,2,3
Current State: 26:[2, 13], Operations: ['98-96=2', '73-60=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
54,
78,
85,
94
] | 47 |
[
"54+78=132",
"85+94=179",
"179-132=47"
] |
Current State: 47:[54, 78, 85, 94], Operations: []
Exploring Operation: 54+78=132, Resulting Numbers: [85, 94, 132]
Generated Node #2: [85, 94, 132] from Operation: 54+78=132
Current State: 47:[85, 94, 132], Operations: ['54+78=132']
Exploring Operation: 85+94=179, Resulting Numbers: [132, 179]
Generated Node #3: [132, 179] from Operation: 85+94=179
Current State: 47:[132, 179], Operations: ['54+78=132', '85+94=179']
Exploring Operation: 179-132=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[54, 78, 85, 94], Operations: []
Exploring Operation: 94-54=40, Resulting Numbers: [78, 85, 40]
Generated Node #0,0: 47:[78, 85, 40] Operation: 94-54=40
Exploring Operation: 94-78=16, Resulting Numbers: [54, 85, 16]
Generated Node #0,1: 47:[54, 85, 16] Operation: 94-78=16
Exploring Operation: 94-85=9, Resulting Numbers: [54, 78, 9]
Generated Node #0,2: 47:[54, 78, 9] Operation: 94-85=9
Exploring Operation: 85-54=31, Resulting Numbers: [78, 94, 31]
Generated Node #0,3: 47:[78, 94, 31] Operation: 85-54=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[78, 85, 40], Operations: ['94-54=40']
Exploring Operation: 85-40=45, Resulting Numbers: [78, 45]
Generated Node #0,0,0: 47:[78, 45] Operation: 85-40=45
Exploring Operation: 78+40=118, Resulting Numbers: [85, 118]
Generated Node #0,0,1: 47:[85, 118] Operation: 78+40=118
Exploring Operation: 78-40=38, Resulting Numbers: [85, 38]
Generated Node #0,0,2: 47:[85, 38] Operation: 78-40=38
Exploring Operation: 85-78=7, Resulting Numbers: [40, 7]
Generated Node #0,0,3: 47:[40, 7] Operation: 85-78=7
Moving to Node #0,0,0
Current State: 47:[78, 45], Operations: ['94-54=40', '85-40=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,47 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[40, 7], Operations: ['94-54=40', '85-78=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[54, 78, 85, 94], Operations: []
Exploring Operation: 94-54=40, Resulting Numbers: [78, 85, 40]
Generated Node #0,0: 47:[78, 85, 40] Operation: 94-54=40
Moving to Node #0,0
Current State: 47:[78, 85, 40], Operations: ['94-54=40']
Exploring Operation: 85-78=7, Resulting Numbers: [40, 7]
Generated Node #0,0,3: 47:[40, 7] Operation: 85-78=7
Moving to Node #0,0,3
Current State: 47:[40, 7], Operations: ['94-54=40', '85-78=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_4
|
mult_heuristic
|
[
82,
30,
8,
82
] | 23 |
[
"82/82=1",
"30-8=22",
"1+22=23"
] |
Current State: 23:[82, 30, 8, 82], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [30, 8, 1]
Generated Node #2: [30, 8, 1] from Operation: 82/82=1
Current State: 23:[30, 8, 1], Operations: ['82/82=1']
Exploring Operation: 30-8=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 30-8=22
Current State: 23:[1, 22], Operations: ['82/82=1', '30-8=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[82, 30, 8, 82], Operations: []
Exploring Operation: 82-8=74, Resulting Numbers: [30, 82, 74]
Generated Node #0,0: 23:[30, 82, 74] Operation: 82-8=74
Exploring Operation: 82-30=52, Resulting Numbers: [82, 8, 52]
Generated Node #0,1: 23:[82, 8, 52] Operation: 82-30=52
Exploring Operation: 82-30=52, Resulting Numbers: [8, 82, 52]
Generated Node #0,2: 23:[8, 82, 52] Operation: 82-30=52
Exploring Operation: 82/82=1, Resulting Numbers: [30, 8, 1]
Generated Node #0,3: 23:[30, 8, 1] Operation: 82/82=1
Exploring Operation: 82-82=0, Resulting Numbers: [30, 8, 0]
Generated Node #0,4: 23:[30, 8, 0] Operation: 82-82=0
Moving to Node #0,3
Current State: 23:[30, 8, 1], Operations: ['82/82=1']
Exploring Operation: 30*1=30, Resulting Numbers: [8, 30]
Generated Node #0,3,0: 23:[8, 30] Operation: 30*1=30
Exploring Operation: 30-1=29, Resulting Numbers: [8, 29]
Generated Node #0,3,1: 23:[8, 29] Operation: 30-1=29
Exploring Operation: 30/1=30, Resulting Numbers: [8, 30]
Generated Node #0,3,2: 23:[8, 30] Operation: 30/1=30
Exploring Operation: 8*1=8, Resulting Numbers: [30, 8]
Generated Node #0,3,3: 23:[30, 8] Operation: 8*1=8
Exploring Operation: 8+1=9, Resulting Numbers: [30, 9]
Generated Node #0,3,4: 23:[30, 9] Operation: 8+1=9
Moving to Node #0,4
Current State: 23:[30, 8, 0], Operations: ['82-82=0']
Exploring Operation: 30+0=30, Resulting Numbers: [8, 30]
Generated Node #0,4,0: 23:[8, 30] Operation: 30+0=30
Exploring Operation: 8+0=8, Resulting Numbers: [30, 8]
Generated Node #0,4,1: 23:[30, 8] Operation: 8+0=8
Exploring Operation: 30-8=22, Resulting Numbers: [0, 22]
Generated Node #0,4,2: 23:[0, 22] Operation: 30-8=22
Exploring Operation: 8-0=8, Resulting Numbers: [30, 8]
Generated Node #0,4,3: 23:[30, 8] Operation: 8-0=8
Exploring Operation: 30-0=30, Resulting Numbers: [8, 30]
Generated Node #0,4,4: 23:[8, 30] Operation: 30-0=30
Moving to Node #0,1
Current State: 23:[82, 8, 52], Operations: ['82-30=52']
Exploring Operation: 52-8=44, Resulting Numbers: [82, 44]
Generated Node #0,1,0: 23:[82, 44] Operation: 52-8=44
Exploring Operation: 82+8=90, Resulting Numbers: [52, 90]
Generated Node #0,1,1: 23:[52, 90] Operation: 82+8=90
Exploring Operation: 82-8=74, Resulting Numbers: [52, 74]
Generated Node #0,1,2: 23:[52, 74] Operation: 82-8=74
Exploring Operation: 8+52=60, Resulting Numbers: [82, 60]
Generated Node #0,1,3: 23:[82, 60] Operation: 8+52=60
Exploring Operation: 82-52=30, Resulting Numbers: [8, 30]
Generated Node #0,1,4: 23:[8, 30] Operation: 82-52=30
Moving to Node #0,2
Current State: 23:[8, 82, 52], Operations: ['82-30=52']
Exploring Operation: 82-8=74, Resulting Numbers: [52, 74]
Generated Node #0,2,0: 23:[52, 74] Operation: 82-8=74
Exploring Operation: 52-8=44, Resulting Numbers: [82, 44]
Generated Node #0,2,1: 23:[82, 44] Operation: 52-8=44
Exploring Operation: 8+82=90, Resulting Numbers: [52, 90]
Generated Node #0,2,2: 23:[52, 90] Operation: 8+82=90
Exploring Operation: 82-52=30, Resulting Numbers: [8, 30]
Generated Node #0,2,3: 23:[8, 30] Operation: 82-52=30
Exploring Operation: 8+52=60, Resulting Numbers: [82, 60]
Generated Node #0,2,4: 23:[82, 60] Operation: 8+52=60
Moving to Node #0,0
Current State: 23:[30, 82, 74], Operations: ['82-8=74']
Exploring Operation: 82-74=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 23:[30, 8] Operation: 82-74=8
Exploring Operation: 30+82=112, Resulting Numbers: [74, 112]
Generated Node #0,0,1: 23:[74, 112] Operation: 30+82=112
Exploring Operation: 30+74=104, Resulting Numbers: [82, 104]
Generated Node #0,0,2: 23:[82, 104] Operation: 30+74=104
Exploring Operation: 74-30=44, Resulting Numbers: [82, 44]
Generated Node #0,0,3: 23:[82, 44] Operation: 74-30=44
Exploring Operation: 82-30=52, Resulting Numbers: [74, 52]
Generated Node #0,0,4: 23:[74, 52] Operation: 82-30=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[30, 8], Operations: ['82-8=74', '82-74=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No 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: 23:[82, 44], Operations: ['82-8=74', '74-30=44']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,23 unequal: No Solution
No 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: 23:[74, 52], Operations: ['82-8=74', '82-30=52']
Exploring Operation: 74+52=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 74*52=3848, Resulting Numbers: [3848]
3848,23 unequal: No Solution
No 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: 23:[74, 112], Operations: ['82-8=74', '30+82=112']
Exploring Operation: 74*112=8288, Resulting Numbers: [8288]
8288,23 unequal: No Solution
Exploring Operation: 74+112=186, Resulting Numbers: [186]
186,23 unequal: No Solution
Exploring Operation: 112-74=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No 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: 23:[82, 104], Operations: ['82-8=74', '30+74=104']
Exploring Operation: 82+104=186, Resulting Numbers: [186]
186,23 unequal: No Solution
Exploring Operation: 104-82=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 82*104=8528, Resulting Numbers: [8528]
8528,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 23:[8, 29], Operations: ['82/82=1', '30-1=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,23 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[30, 9], Operations: ['82/82=1', '8+1=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[8, 30], Operations: ['82/82=1', '30*1=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[30, 8], Operations: ['82-82=0', '8+0=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[8, 30], Operations: ['82-82=0', '30+0=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[30, 8], Operations: ['82/82=1', '8*1=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[8, 30], Operations: ['82-30=52', '82-52=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[8, 30], Operations: ['82-30=52', '82-52=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[8, 30], Operations: ['82/82=1', '30/1=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[8, 30], Operations: ['82-82=0', '30-0=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[30, 8], Operations: ['82-82=0', '8-0=8']
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[0, 22], Operations: ['82-82=0', '30-8=22']
Exploring Operation: 22-0=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 0+22=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 0*22=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[52, 74], Operations: ['82-30=52', '82-8=74']
Exploring Operation: 52+74=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 52*74=3848, Resulting Numbers: [3848]
3848,23 unequal: No Solution
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[82, 44], Operations: ['82-30=52', '52-8=44']
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[52, 74], Operations: ['82-30=52', '82-8=74']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 52*74=3848, Resulting Numbers: [3848]
3848,23 unequal: No Solution
Exploring Operation: 52+74=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[82, 44], Operations: ['82-30=52', '52-8=44']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,23 unequal: No Solution
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[82, 60], Operations: ['82-30=52', '8+52=60']
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,23 unequal: No Solution
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,23 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[52, 90], Operations: ['82-30=52', '82+8=90']
Exploring Operation: 52+90=142, Resulting Numbers: [142]
142,23 unequal: No Solution
Exploring Operation: 52*90=4680, Resulting Numbers: [4680]
4680,23 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[52, 90], Operations: ['82-30=52', '8+82=90']
Exploring Operation: 52+90=142, Resulting Numbers: [142]
142,23 unequal: No Solution
Exploring Operation: 52*90=4680, Resulting Numbers: [4680]
4680,23 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[82, 60], Operations: ['82-30=52', '8+52=60']
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,23 unequal: No Solution
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,23 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
55,
66,
34,
40
] | 22 |
[
"55*40=2200",
"66+34=100",
"2200/100=22"
] |
Current State: 22:[55, 66, 34, 40], Operations: []
Exploring Operation: 55*40=2200, Resulting Numbers: [66, 34, 2200]
Generated Node #2: [66, 34, 2200] from Operation: 55*40=2200
Current State: 22:[66, 34, 2200], Operations: ['55*40=2200']
Exploring Operation: 66+34=100, Resulting Numbers: [2200, 100]
Generated Node #3: [2200, 100] from Operation: 66+34=100
Current State: 22:[2200, 100], Operations: ['55*40=2200', '66+34=100']
Exploring Operation: 2200/100=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[55, 66, 34, 40], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [34, 40, 11]
Generated Node #0,0: 22:[34, 40, 11] Operation: 66-55=11
Exploring Operation: 66-40=26, Resulting Numbers: [55, 34, 26]
Generated Node #0,1: 22:[55, 34, 26] Operation: 66-40=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[34, 40, 11], Operations: ['66-55=11']
Exploring Operation: 40-34=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 22:[11, 6] Operation: 40-34=6
Exploring Operation: 34-11=23, Resulting Numbers: [40, 23]
Generated Node #0,0,1: 22:[40, 23] Operation: 34-11=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[11, 6], Operations: ['66-55=11', '40-34=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,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,0,1
Current State: 22:[40, 23], Operations: ['66-55=11', '34-11=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,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,1
Current State: 22:[55, 34, 26], Operations: ['66-40=26']
Exploring Operation: 55-34=21, Resulting Numbers: [26, 21]
Generated Node #0,1,0: 22:[26, 21] Operation: 55-34=21
Exploring Operation: 55-26=29, Resulting Numbers: [34, 29]
Generated Node #0,1,1: 22:[34, 29] Operation: 55-26=29
Moving to Node #0,1,0
Current State: 22:[26, 21], Operations: ['66-40=26', '55-34=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[34, 29], Operations: ['66-40=26', '55-26=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,22 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
|
[
14,
13,
2,
26
] | 52 |
[
"14-13=1",
"2*26=52",
"1*52=52"
] |
Current State: 52:[14, 13, 2, 26], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [2, 26, 1]
Generated Node #2: [2, 26, 1] from Operation: 14-13=1
Current State: 52:[2, 26, 1], Operations: ['14-13=1']
Exploring Operation: 2*26=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 2*26=52
Current State: 52:[1, 52], Operations: ['14-13=1', '2*26=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[14, 13, 2, 26], Operations: []
Exploring Operation: 14+13=27, Resulting Numbers: [2, 26, 27]
Generated Node #0,0: 52:[2, 26, 27] Operation: 14+13=27
Exploring Operation: 14-13=1, Resulting Numbers: [2, 26, 1]
Generated Node #0,1: 52:[2, 26, 1] Operation: 14-13=1
Exploring Operation: 14-2=12, Resulting Numbers: [13, 26, 12]
Generated Node #0,2: 52:[13, 26, 12] Operation: 14-2=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[2, 26, 27], Operations: ['14+13=27']
Exploring Operation: 27-2=25, Resulting Numbers: [26, 25]
Generated Node #0,0,0: 52:[26, 25] Operation: 27-2=25
Exploring Operation: 2*26=52, Resulting Numbers: [27, 52]
Generated Node #0,0,1: 52:[27, 52] Operation: 2*26=52
Exploring Operation: 26/2=13, Resulting Numbers: [27, 13]
Generated Node #0,0,2: 52:[27, 13] Operation: 26/2=13
Moving to Node #0,0,0
Current State: 52:[26, 25], Operations: ['14+13=27', '27-2=25']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,52 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[27, 52], Operations: ['14+13=27', '2*26=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,52 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[27, 13], Operations: ['14+13=27', '26/2=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[2, 26, 1], Operations: ['14-13=1']
Exploring Operation: 26*1=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 52:[2, 26] Operation: 26*1=26
Exploring Operation: 2*1=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 52:[26, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [26, 2]
Generated Node #0,1,2: 52:[26, 2] Operation: 2/1=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[2, 26], Operations: ['14-13=1', '26*1=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[14, 13, 2, 26], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [2, 26, 1]
Generated Node #0,1: 52:[2, 26, 1] Operation: 14-13=1
Moving to Node #0,1
Current State: 52:[2, 26, 1], Operations: ['14-13=1']
Exploring Operation: 26*1=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 52:[2, 26] Operation: 26*1=26
Moving to Node #0,1,0
Current State: 52:[2, 26], Operations: ['14-13=1', '26*1=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 |
hs_3
|
sum_heuristic
|
[
89,
14,
80,
54
] | 72 |
[
"89-80=9",
"14*9=126",
"126-54=72"
] |
Current State: 72:[89, 14, 80, 54], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [14, 54, 9]
Generated Node #2: [14, 54, 9] from Operation: 89-80=9
Current State: 72:[14, 54, 9], Operations: ['89-80=9']
Exploring Operation: 14*9=126, Resulting Numbers: [54, 126]
Generated Node #3: [54, 126] from Operation: 14*9=126
Current State: 72:[54, 126], Operations: ['89-80=9', '14*9=126']
Exploring Operation: 126-54=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[89, 14, 80, 54], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [89, 14, 26]
Generated Node #0,0: 72:[89, 14, 26] Operation: 80-54=26
Exploring Operation: 89-54=35, Resulting Numbers: [14, 80, 35]
Generated Node #0,1: 72:[14, 80, 35] Operation: 89-54=35
Exploring Operation: 89-80=9, Resulting Numbers: [14, 54, 9]
Generated Node #0,2: 72:[14, 54, 9] Operation: 89-80=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[14, 80, 35], Operations: ['89-54=35']
Exploring Operation: 80-14=66, Resulting Numbers: [35, 66]
Generated Node #0,1,0: 72:[35, 66] Operation: 80-14=66
Exploring Operation: 35-14=21, Resulting Numbers: [80, 21]
Generated Node #0,1,1: 72:[80, 21] Operation: 35-14=21
Exploring Operation: 80-35=45, Resulting Numbers: [14, 45]
Generated Node #0,1,2: 72:[14, 45] Operation: 80-35=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[35, 66], Operations: ['89-54=35', '80-14=66']
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,72 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,72 unequal: No Solution
No 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: 72:[80, 21], Operations: ['89-54=35', '35-14=21']
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,72 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,72 unequal: No Solution
No 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: 72:[14, 45], Operations: ['89-54=35', '80-35=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,72 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: 72:[14, 54, 9], Operations: ['89-80=9']
Exploring Operation: 54-14=40, Resulting Numbers: [9, 40]
Generated Node #0,2,0: 72:[9, 40] Operation: 54-14=40
Exploring Operation: 14+54=68, Resulting Numbers: [9, 68]
Generated Node #0,2,1: 72:[9, 68] Operation: 14+54=68
Exploring Operation: 54/9=6, Resulting Numbers: [14, 6]
Generated Node #0,2,2: 72:[14, 6] Operation: 54/9=6
Moving to Node #0,2,2
Current State: 72:[14, 6], Operations: ['89-80=9', '54/9=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[9, 40], Operations: ['89-80=9', '54-14=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,72 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[9, 68], Operations: ['89-80=9', '14+54=68']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,72 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[89, 14, 26], Operations: ['80-54=26']
Exploring Operation: 89-26=63, Resulting Numbers: [14, 63]
Generated Node #0,0,0: 72:[14, 63] Operation: 89-26=63
Exploring Operation: 89-14=75, Resulting Numbers: [26, 75]
Generated Node #0,0,1: 72:[26, 75] Operation: 89-14=75
Exploring Operation: 26-14=12, Resulting Numbers: [89, 12]
Generated Node #0,0,2: 72:[89, 12] Operation: 26-14=12
Moving to Node #0,0,1
Current State: 72:[26, 75], Operations: ['80-54=26', '89-14=75']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,72 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[14, 63], Operations: ['80-54=26', '89-26=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,72 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[89, 12], Operations: ['80-54=26', '26-14=12']
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,72 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,72 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,72 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
|
[
42,
43,
45,
76
] | 11 |
[
"45-42=3",
"76-43=33",
"33/3=11"
] |
Current State: 11:[42, 43, 45, 76], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [43, 76, 3]
Generated Node #2: [43, 76, 3] from Operation: 45-42=3
Current State: 11:[43, 76, 3], Operations: ['45-42=3']
Exploring Operation: 76-43=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 76-43=33
Current State: 11:[3, 33], Operations: ['45-42=3', '76-43=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[42, 43, 45, 76], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [42, 43, 31]
Generated Node #0,0: 11:[42, 43, 31] Operation: 76-45=31
Exploring Operation: 76-42=34, Resulting Numbers: [43, 45, 34]
Generated Node #0,1: 11:[43, 45, 34] Operation: 76-42=34
Exploring Operation: 76-43=33, Resulting Numbers: [42, 45, 33]
Generated Node #0,2: 11:[42, 45, 33] Operation: 76-43=33
Moving to Node #0,0
Current State: 11:[42, 43, 31], Operations: ['76-45=31']
Exploring Operation: 42-31=11, Resulting Numbers: [43, 11]
Generated Node #0,0,0: 11:[43, 11] Operation: 42-31=11
Exploring Operation: 43-31=12, Resulting Numbers: [42, 12]
Generated Node #0,0,1: 11:[42, 12] Operation: 43-31=12
Exploring Operation: 43-42=1, Resulting Numbers: [31, 1]
Generated Node #0,0,2: 11:[31, 1] Operation: 43-42=1
Moving to Node #0,2
Current State: 11:[42, 45, 33], Operations: ['76-43=33']
Exploring Operation: 45-42=3, Resulting Numbers: [33, 3]
Generated Node #0,2,0: 11:[33, 3] Operation: 45-42=3
Exploring Operation: 45-33=12, Resulting Numbers: [42, 12]
Generated Node #0,2,1: 11:[42, 12] Operation: 45-33=12
Exploring Operation: 42-33=9, Resulting Numbers: [45, 9]
Generated Node #0,2,2: 11:[45, 9] Operation: 42-33=9
Moving to Node #0,1
Current State: 11:[43, 45, 34], Operations: ['76-42=34']
Exploring Operation: 45-43=2, Resulting Numbers: [34, 2]
Generated Node #0,1,0: 11:[34, 2] Operation: 45-43=2
Exploring Operation: 43-34=9, Resulting Numbers: [45, 9]
Generated Node #0,1,1: 11:[45, 9] Operation: 43-34=9
Exploring Operation: 45-34=11, Resulting Numbers: [43, 11]
Generated Node #0,1,2: 11:[43, 11] Operation: 45-34=11
Moving to Node #0,0,2
Current State: 11:[31, 1], Operations: ['76-45=31', '43-42=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[33, 3], Operations: ['76-43=33', '45-42=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[42, 43, 45, 76], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [42, 45, 33]
Generated Node #0,2: 11:[42, 45, 33] Operation: 76-43=33
Moving to Node #0,2
Current State: 11:[42, 45, 33], Operations: ['76-43=33']
Exploring Operation: 45-42=3, Resulting Numbers: [33, 3]
Generated Node #0,2,0: 11:[33, 3] Operation: 45-42=3
Moving to Node #0,2,0
Current State: 11:[33, 3], Operations: ['76-43=33', '45-42=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.982639 |
hs_3
|
sum_heuristic
|
[
17,
21,
30,
19
] | 72 |
[
"19-17=2",
"21*2=42",
"30+42=72"
] |
Current State: 72:[17, 21, 30, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [21, 30, 2]
Generated Node #2: [21, 30, 2] from Operation: 19-17=2
Current State: 72:[21, 30, 2], Operations: ['19-17=2']
Exploring Operation: 21*2=42, Resulting Numbers: [30, 42]
Generated Node #3: [30, 42] from Operation: 21*2=42
Current State: 72:[30, 42], Operations: ['19-17=2', '21*2=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[17, 21, 30, 19], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [17, 19, 9]
Generated Node #0,0: 72:[17, 19, 9] Operation: 30-21=9
Moving to Node #0,0
Current State: 72:[17, 19, 9], Operations: ['30-21=9']
Exploring Operation: 17+19=36, Resulting Numbers: [9, 36]
Generated Node #0,0,0: 72:[9, 36] Operation: 17+19=36
Moving to Node #0,0,0
Current State: 72:[9, 36], Operations: ['30-21=9', '17+19=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,72 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
60,
5,
79,
11
] | 78 |
[
"60/5=12",
"79+11=90",
"90-12=78"
] |
Current State: 78:[60, 5, 79, 11], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [79, 11, 12]
Generated Node #2: [79, 11, 12] from Operation: 60/5=12
Current State: 78:[79, 11, 12], Operations: ['60/5=12']
Exploring Operation: 79+11=90, Resulting Numbers: [12, 90]
Generated Node #3: [12, 90] from Operation: 79+11=90
Current State: 78:[12, 90], Operations: ['60/5=12', '79+11=90']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[60, 5, 79, 11], Operations: []
Exploring Operation: 79-60=19, Resulting Numbers: [5, 11, 19]
Generated Node #0,0: 78:[5, 11, 19] Operation: 79-60=19
Exploring Operation: 60/5=12, Resulting Numbers: [79, 11, 12]
Generated Node #0,1: 78:[79, 11, 12] Operation: 60/5=12
Exploring Operation: 60-11=49, Resulting Numbers: [5, 79, 49]
Generated Node #0,2: 78:[5, 79, 49] Operation: 60-11=49
Exploring Operation: 60+11=71, Resulting Numbers: [5, 79, 71]
Generated Node #0,3: 78:[5, 79, 71] Operation: 60+11=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[79, 11, 12], Operations: ['60/5=12']
Exploring Operation: 79-11=68, Resulting Numbers: [12, 68]
Generated Node #0,1,0: 78:[12, 68] Operation: 79-11=68
Exploring Operation: 11+12=23, Resulting Numbers: [79, 23]
Generated Node #0,1,1: 78:[79, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [79, 1]
Generated Node #0,1,2: 78:[79, 1] Operation: 12-11=1
Exploring Operation: 79+11=90, Resulting Numbers: [12, 90]
Generated Node #0,1,3: 78:[12, 90] Operation: 79+11=90
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[79, 1], Operations: ['60/5=12', '12-11=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[60, 5, 79, 11], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [79, 11, 12]
Generated Node #0,1: 78:[79, 11, 12] Operation: 60/5=12
Moving to Node #0,1
Current State: 78:[79, 11, 12], Operations: ['60/5=12']
Exploring Operation: 12-11=1, Resulting Numbers: [79, 1]
Generated Node #0,1,2: 78:[79, 1] Operation: 12-11=1
Moving to Node #0,1,2
Current State: 78:[79, 1], Operations: ['60/5=12', '12-11=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
69,
47,
40,
30
] | 47 |
[
"69-40=29",
"30-29=1",
"47*1=47"
] |
Current State: 47:[69, 47, 40, 30], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [47, 30, 29]
Generated Node #2: [47, 30, 29] from Operation: 69-40=29
Current State: 47:[47, 30, 29], Operations: ['69-40=29']
Exploring Operation: 30-29=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 30-29=1
Current State: 47:[47, 1], Operations: ['69-40=29', '30-29=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[69, 47, 40, 30], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [47, 40, 39]
Generated Node #0,0: 47:[47, 40, 39] Operation: 69-30=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[47, 40, 39], Operations: ['69-30=39']
Exploring Operation: 40+39=79, Resulting Numbers: [47, 79]
Generated Node #0,0,0: 47:[47, 79] Operation: 40+39=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[47, 79], Operations: ['69-30=39', '40+39=79']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
87,
55,
21,
94
] | 41 |
[
"87-55=32",
"94-21=73",
"73-32=41"
] |
Current State: 41:[87, 55, 21, 94], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [21, 94, 32]
Generated Node #2: [21, 94, 32] from Operation: 87-55=32
Current State: 41:[21, 94, 32], Operations: ['87-55=32']
Exploring Operation: 94-21=73, Resulting Numbers: [32, 73]
Generated Node #3: [32, 73] from Operation: 94-21=73
Current State: 41:[32, 73], Operations: ['87-55=32', '94-21=73']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[87, 55, 21, 94], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [55, 21, 7]
Generated Node #0,0: 41:[55, 21, 7] Operation: 94-87=7
Moving to Node #0,0
Current State: 41:[55, 21, 7], Operations: ['94-87=7']
Exploring Operation: 55-7=48, Resulting Numbers: [21, 48]
Generated Node #0,0,0: 41:[21, 48] Operation: 55-7=48
Moving to Node #0,0,0
Current State: 41:[21, 48], Operations: ['94-87=7', '55-7=48']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
53,
56,
55,
87
] | 96 |
[
"56-53=3",
"87-55=32",
"3*32=96"
] |
Current State: 96:[53, 56, 55, 87], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [55, 87, 3]
Generated Node #2: [55, 87, 3] from Operation: 56-53=3
Current State: 96:[55, 87, 3], Operations: ['56-53=3']
Exploring Operation: 87-55=32, Resulting Numbers: [3, 32]
Generated Node #3: [3, 32] from Operation: 87-55=32
Current State: 96:[3, 32], Operations: ['56-53=3', '87-55=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[53, 56, 55, 87], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [53, 55, 31]
Generated Node #0,0: 96:[53, 55, 31] Operation: 87-56=31
Exploring Operation: 87-55=32, Resulting Numbers: [53, 56, 32]
Generated Node #0,1: 96:[53, 56, 32] Operation: 87-55=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[53, 55, 31], Operations: ['87-56=31']
Exploring Operation: 55-53=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 96:[31, 2] Operation: 55-53=2
Exploring Operation: 55-31=24, Resulting Numbers: [53, 24]
Generated Node #0,0,1: 96:[53, 24] Operation: 55-31=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[31, 2], Operations: ['87-56=31', '55-53=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[53, 24], Operations: ['87-56=31', '55-31=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[53, 56, 32], Operations: ['87-55=32']
Exploring Operation: 56-32=24, Resulting Numbers: [53, 24]
Generated Node #0,1,0: 96:[53, 24] Operation: 56-32=24
Exploring Operation: 56-53=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 96:[32, 3] Operation: 56-53=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[32, 3], Operations: ['87-55=32', '56-53=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[53, 56, 55, 87], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [53, 56, 32]
Generated Node #0,1: 96:[53, 56, 32] Operation: 87-55=32
Moving to Node #0,1
Current State: 96:[53, 56, 32], Operations: ['87-55=32']
Exploring Operation: 56-53=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 96:[32, 3] Operation: 56-53=3
Moving to Node #0,1,1
Current State: 96:[32, 3], Operations: ['87-55=32', '56-53=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
mult_heuristic
|
[
80,
37,
19,
84
] | 39 |
[
"84-80=4",
"19*4=76",
"76-37=39"
] |
Current State: 39:[80, 37, 19, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [37, 19, 4]
Generated Node #2: [37, 19, 4] from Operation: 84-80=4
Current State: 39:[37, 19, 4], Operations: ['84-80=4']
Exploring Operation: 19*4=76, Resulting Numbers: [37, 76]
Generated Node #3: [37, 76] from Operation: 19*4=76
Current State: 39:[37, 76], Operations: ['84-80=4', '19*4=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[80, 37, 19, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [37, 19, 4]
Generated Node #0,0: 39:[37, 19, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[37, 19, 4], Operations: ['84-80=4']
Exploring Operation: 19-4=15, Resulting Numbers: [37, 15]
Generated Node #0,0,0: 39:[37, 15] Operation: 19-4=15
Moving to Node #0,0,0
Current State: 39:[37, 15], Operations: ['84-80=4', '19-4=15']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.