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 |
---|---|---|---|---|---|---|---|---|
[
28,
44,
14,
48
] | 21 |
[
"28+44=72",
"14*72=1008",
"1008/48=21"
] |
Current State: 21:[28, 44, 14, 48], Operations: []
Exploring Operation: 28+44=72, Resulting Numbers: [14, 48, 72]
Generated Node #2: [14, 48, 72] from Operation: 28+44=72
Current State: 21:[14, 48, 72], Operations: ['28+44=72']
Exploring Operation: 14*72=1008, Resulting Numbers: [48, 1008]
Generated Node #3: [48, 1008] from Operation: 14*72=1008
Current State: 21:[48, 1008], Operations: ['28+44=72', '14*72=1008']
Exploring Operation: 1008/48=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[28, 44, 14, 48], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [28, 14, 4]
Generated Node #0,0: 21:[28, 14, 4] Operation: 48-44=4
Moving to Node #0,0
Current State: 21:[28, 14, 4], Operations: ['48-44=4']
Exploring Operation: 28/14=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 21:[4, 2] Operation: 28/14=2
Moving to Node #0,0,0
Current State: 21:[4, 2], Operations: ['48-44=4', '28/14=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
64,
82,
59,
72
] | 63 |
[
"82-64=18",
"72/18=4",
"59+4=63"
] |
Current State: 63:[64, 82, 59, 72], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [59, 72, 18]
Generated Node #2: [59, 72, 18] from Operation: 82-64=18
Current State: 63:[59, 72, 18], Operations: ['82-64=18']
Exploring Operation: 72/18=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 72/18=4
Current State: 63:[59, 4], Operations: ['82-64=18', '72/18=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[64, 82, 59, 72], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [64, 59, 10]
Generated Node #0,0: 63:[64, 59, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[64, 59, 10], Operations: ['82-72=10']
Exploring Operation: 64-59=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 63:[10, 5] Operation: 64-59=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[10, 5], Operations: ['82-72=10', '64-59=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
68,
12,
95,
60
] | 49 |
[
"12*95=1140",
"1140/60=19",
"68-19=49"
] |
Current State: 49:[68, 12, 95, 60], Operations: []
Exploring Operation: 12*95=1140, Resulting Numbers: [68, 60, 1140]
Generated Node #2: [68, 60, 1140] from Operation: 12*95=1140
Current State: 49:[68, 60, 1140], Operations: ['12*95=1140']
Exploring Operation: 1140/60=19, Resulting Numbers: [68, 19]
Generated Node #3: [68, 19] from Operation: 1140/60=19
Current State: 49:[68, 19], Operations: ['12*95=1140', '1140/60=19']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[68, 12, 95, 60], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [12, 95, 8]
Generated Node #0,0: 49:[12, 95, 8] Operation: 68-60=8
Exploring Operation: 95-68=27, Resulting Numbers: [12, 60, 27]
Generated Node #0,1: 49:[12, 60, 27] Operation: 95-68=27
Exploring Operation: 68-12=56, Resulting Numbers: [95, 60, 56]
Generated Node #0,2: 49:[95, 60, 56] Operation: 68-12=56
Exploring Operation: 95-60=35, Resulting Numbers: [68, 12, 35]
Generated Node #0,3: 49:[68, 12, 35] Operation: 95-60=35
Moving to Node #0,1
Current State: 49:[12, 60, 27], Operations: ['95-68=27']
Exploring Operation: 12+27=39, Resulting Numbers: [60, 39]
Generated Node #0,1,0: 49:[60, 39] Operation: 12+27=39
Exploring Operation: 27-12=15, Resulting Numbers: [60, 15]
Generated Node #0,1,1: 49:[60, 15] Operation: 27-12=15
Exploring Operation: 60-27=33, Resulting Numbers: [12, 33]
Generated Node #0,1,2: 49:[12, 33] Operation: 60-27=33
Exploring Operation: 60-12=48, Resulting Numbers: [27, 48]
Generated Node #0,1,3: 49:[27, 48] Operation: 60-12=48
Moving to Node #0,3
Current State: 49:[68, 12, 35], Operations: ['95-60=35']
Exploring Operation: 35-12=23, Resulting Numbers: [68, 23]
Generated Node #0,3,0: 49:[68, 23] Operation: 35-12=23
Exploring Operation: 12+35=47, Resulting Numbers: [68, 47]
Generated Node #0,3,1: 49:[68, 47] Operation: 12+35=47
Exploring Operation: 68-35=33, Resulting Numbers: [12, 33]
Generated Node #0,3,2: 49:[12, 33] Operation: 68-35=33
Exploring Operation: 68-12=56, Resulting Numbers: [35, 56]
Generated Node #0,3,3: 49:[35, 56] Operation: 68-12=56
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[68, 47], Operations: ['95-60=35', '12+35=47']
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,49 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[12, 33], Operations: ['95-60=35', '68-35=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[35, 56], Operations: ['95-60=35', '68-12=56']
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[68, 23], Operations: ['95-60=35', '35-12=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,49 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: 49:[12, 95, 8], Operations: ['68-60=8']
Exploring Operation: 95-8=87, Resulting Numbers: [12, 87]
Generated Node #0,0,0: 49:[12, 87] Operation: 95-8=87
Exploring Operation: 95-12=83, Resulting Numbers: [8, 83]
Generated Node #0,0,1: 49:[8, 83] Operation: 95-12=83
Exploring Operation: 12+95=107, Resulting Numbers: [8, 107]
Generated Node #0,0,2: 49:[8, 107] Operation: 12+95=107
Exploring Operation: 12-8=4, Resulting Numbers: [95, 4]
Generated Node #0,0,3: 49:[95, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[8, 83], Operations: ['68-60=8', '95-12=83']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[12, 87], Operations: ['68-60=8', '95-8=87']
Exploring Operation: 12*87=1044, Resulting Numbers: [1044]
1044,49 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 12+87=99, Resulting Numbers: [99]
99,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[95, 4], Operations: ['68-60=8', '12-8=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,49 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[8, 107], Operations: ['68-60=8', '12+95=107']
Exploring Operation: 107-8=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 8+107=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 8*107=856, Resulting Numbers: [856]
856,49 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: 49:[95, 60, 56], Operations: ['68-12=56']
Exploring Operation: 95-60=35, Resulting Numbers: [56, 35]
Generated Node #0,2,0: 49:[56, 35] Operation: 95-60=35
Exploring Operation: 95-56=39, Resulting Numbers: [60, 39]
Generated Node #0,2,1: 49:[60, 39] Operation: 95-56=39
Exploring Operation: 60-56=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 49:[95, 4] Operation: 60-56=4
Exploring Operation: 95+60=155, Resulting Numbers: [56, 155]
Generated Node #0,2,3: 49:[56, 155] Operation: 95+60=155
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[56, 35], Operations: ['68-12=56', '95-60=35']
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,49 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[60, 39], Operations: ['68-12=56', '95-56=39']
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,49 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[95, 4], Operations: ['68-12=56', '60-56=4']
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,49 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[56, 155], Operations: ['68-12=56', '95+60=155']
Exploring Operation: 155-56=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 56+155=211, Resulting Numbers: [211]
211,49 unequal: No Solution
Exploring Operation: 56*155=8680, Resulting Numbers: [8680]
8680,49 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: 49:[60, 15], Operations: ['95-68=27', '27-12=15']
Exploring Operation: 60*15=900, Resulting Numbers: [900]
900,49 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[12, 33], Operations: ['95-68=27', '60-27=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,49 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[60, 39], Operations: ['95-68=27', '12+27=39']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[27, 48], Operations: ['95-68=27', '60-12=48']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,49 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
61,
48,
55,
89
] | 75 |
[
"61+48=109",
"89-55=34",
"109-34=75"
] |
Current State: 75:[61, 48, 55, 89], Operations: []
Exploring Operation: 61+48=109, Resulting Numbers: [55, 89, 109]
Generated Node #2: [55, 89, 109] from Operation: 61+48=109
Current State: 75:[55, 89, 109], Operations: ['61+48=109']
Exploring Operation: 89-55=34, Resulting Numbers: [109, 34]
Generated Node #3: [109, 34] from Operation: 89-55=34
Current State: 75:[109, 34], Operations: ['61+48=109', '89-55=34']
Exploring Operation: 109-34=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[61, 48, 55, 89], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [61, 89, 7]
Generated Node #0,0: 75:[61, 89, 7] Operation: 55-48=7
Moving to Node #0,0
Current State: 75:[61, 89, 7], Operations: ['55-48=7']
Exploring Operation: 89-61=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 75:[7, 28] Operation: 89-61=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[7, 28], Operations: ['55-48=7', '89-61=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,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
|
sum_heuristic
|
[
7,
27,
36,
29
] | 28 |
[
"36-7=29",
"29/29=1",
"27+1=28"
] |
Current State: 28:[7, 27, 36, 29], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [27, 29, 29]
Generated Node #2: [27, 29, 29] from Operation: 36-7=29
Current State: 28:[27, 29, 29], Operations: ['36-7=29']
Exploring Operation: 29/29=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 29/29=1
Current State: 28:[27, 1], Operations: ['36-7=29', '29/29=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[7, 27, 36, 29], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [7, 27, 7]
Generated Node #0,0: 28:[7, 27, 7] Operation: 36-29=7
Exploring Operation: 36-7=29, Resulting Numbers: [27, 29, 29]
Generated Node #0,1: 28:[27, 29, 29] Operation: 36-7=29
Moving to Node #0,0
Current State: 28:[7, 27, 7], Operations: ['36-29=7']
Exploring Operation: 7+7=14, Resulting Numbers: [27, 14]
Generated Node #0,0,0: 28:[27, 14] Operation: 7+7=14
Exploring Operation: 7/7=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 28:[27, 1] Operation: 7/7=1
Moving to Node #0,1
Current State: 28:[27, 29, 29], Operations: ['36-7=29']
Exploring Operation: 29-27=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 28:[29, 2] Operation: 29-27=2
Exploring Operation: 29-27=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 28:[29, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[29, 2], Operations: ['36-7=29', '29-27=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[29, 2], Operations: ['36-7=29', '29-27=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 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: 28:[27, 14], Operations: ['36-29=7', '7+7=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[27, 1], Operations: ['36-29=7', '7/7=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[7, 27, 36, 29], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [7, 27, 7]
Generated Node #0,0: 28:[7, 27, 7] Operation: 36-29=7
Moving to Node #0,0
Current State: 28:[7, 27, 7], Operations: ['36-29=7']
Exploring Operation: 7/7=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 28:[27, 1] Operation: 7/7=1
Moving to Node #0,0,1
Current State: 28:[27, 1], Operations: ['36-29=7', '7/7=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.985243 |
hs_2
|
mult_heuristic
|
[
50,
94,
22,
70
] | 25 |
[
"94-22=72",
"72-70=2",
"50/2=25"
] |
Current State: 25:[50, 94, 22, 70], Operations: []
Exploring Operation: 94-22=72, Resulting Numbers: [50, 70, 72]
Generated Node #2: [50, 70, 72] from Operation: 94-22=72
Current State: 25:[50, 70, 72], Operations: ['94-22=72']
Exploring Operation: 72-70=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 72-70=2
Current State: 25:[50, 2], Operations: ['94-22=72', '72-70=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[50, 94, 22, 70], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [94, 22, 20]
Generated Node #0,0: 25:[94, 22, 20] Operation: 70-50=20
Exploring Operation: 50-22=28, Resulting Numbers: [94, 70, 28]
Generated Node #0,1: 25:[94, 70, 28] Operation: 50-22=28
Exploring Operation: 94-50=44, Resulting Numbers: [22, 70, 44]
Generated Node #0,2: 25:[22, 70, 44] Operation: 94-50=44
Exploring Operation: 94-22=72, Resulting Numbers: [50, 70, 72]
Generated Node #0,3: 25:[50, 70, 72] Operation: 94-22=72
Exploring Operation: 94-70=24, Resulting Numbers: [50, 22, 24]
Generated Node #0,4: 25:[50, 22, 24] Operation: 94-70=24
Moving to Node #0,4
Current State: 25:[50, 22, 24], Operations: ['94-70=24']
Exploring Operation: 50+22=72, Resulting Numbers: [24, 72]
Generated Node #0,4,0: 25:[24, 72] Operation: 50+22=72
Exploring Operation: 22+24=46, Resulting Numbers: [50, 46]
Generated Node #0,4,1: 25:[50, 46] Operation: 22+24=46
Exploring Operation: 50-22=28, Resulting Numbers: [24, 28]
Generated Node #0,4,2: 25:[24, 28] Operation: 50-22=28
Exploring Operation: 24-22=2, Resulting Numbers: [50, 2]
Generated Node #0,4,3: 25:[50, 2] Operation: 24-22=2
Exploring Operation: 50-24=26, Resulting Numbers: [22, 26]
Generated Node #0,4,4: 25:[22, 26] Operation: 50-24=26
Moving to Node #0,2
Current State: 25:[22, 70, 44], Operations: ['94-50=44']
Exploring Operation: 44/22=2, Resulting Numbers: [70, 2]
Generated Node #0,2,0: 25:[70, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [70, 22]
Generated Node #0,2,1: 25:[70, 22] Operation: 44-22=22
Exploring Operation: 22+70=92, Resulting Numbers: [44, 92]
Generated Node #0,2,2: 25:[44, 92] Operation: 22+70=92
Exploring Operation: 70-22=48, Resulting Numbers: [44, 48]
Generated Node #0,2,3: 25:[44, 48] Operation: 70-22=48
Exploring Operation: 70-44=26, Resulting Numbers: [22, 26]
Generated Node #0,2,4: 25:[22, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 25:[22, 26], Operations: ['94-50=44', '70-44=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,25 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[44, 48], Operations: ['94-50=44', '70-22=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[70, 2], Operations: ['94-50=44', '44/22=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[70, 22], Operations: ['94-50=44', '44-22=22']
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,25 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[44, 92], Operations: ['94-50=44', '22+70=92']
Exploring Operation: 44*92=4048, Resulting Numbers: [4048]
4048,25 unequal: No Solution
Exploring Operation: 44+92=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[94, 22, 20], Operations: ['70-50=20']
Exploring Operation: 94+20=114, Resulting Numbers: [22, 114]
Generated Node #0,0,0: 25:[22, 114] Operation: 94+20=114
Exploring Operation: 22+20=42, Resulting Numbers: [94, 42]
Generated Node #0,0,1: 25:[94, 42] Operation: 22+20=42
Exploring Operation: 94-22=72, Resulting Numbers: [20, 72]
Generated Node #0,0,2: 25:[20, 72] Operation: 94-22=72
Exploring Operation: 94-20=74, Resulting Numbers: [22, 74]
Generated Node #0,0,3: 25:[22, 74] Operation: 94-20=74
Exploring Operation: 22-20=2, Resulting Numbers: [94, 2]
Generated Node #0,0,4: 25:[94, 2] Operation: 22-20=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[20, 72], Operations: ['70-50=20', '94-22=72']
Exploring Operation: 20*72=1440, Resulting Numbers: [1440]
1440,25 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 20+72=92, Resulting Numbers: [92]
92,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[22, 74], Operations: ['70-50=20', '94-20=74']
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,25 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[94, 2], Operations: ['70-50=20', '22-20=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,25 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[94, 42], Operations: ['70-50=20', '22+20=42']
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,25 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[22, 114], Operations: ['70-50=20', '94+20=114']
Exploring Operation: 22+114=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 22*114=2508, Resulting Numbers: [2508]
2508,25 unequal: No Solution
Exploring Operation: 114-22=92, Resulting Numbers: [92]
92,25 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: 25:[94, 70, 28], Operations: ['50-22=28']
Exploring Operation: 94-70=24, Resulting Numbers: [28, 24]
Generated Node #0,1,0: 25:[28, 24] Operation: 94-70=24
Exploring Operation: 94-28=66, Resulting Numbers: [70, 66]
Generated Node #0,1,1: 25:[70, 66] Operation: 94-28=66
Exploring Operation: 70-28=42, Resulting Numbers: [94, 42]
Generated Node #0,1,2: 25:[94, 42] Operation: 70-28=42
Exploring Operation: 94+70=164, Resulting Numbers: [28, 164]
Generated Node #0,1,3: 25:[28, 164] Operation: 94+70=164
Exploring Operation: 94+28=122, Resulting Numbers: [70, 122]
Generated Node #0,1,4: 25:[70, 122] Operation: 94+28=122
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[28, 24], Operations: ['50-22=28', '94-70=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,25 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[70, 66], Operations: ['50-22=28', '94-28=66']
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,25 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[94, 42], Operations: ['50-22=28', '70-28=42']
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,25 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[28, 164], Operations: ['50-22=28', '94+70=164']
Exploring Operation: 164-28=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 28+164=192, Resulting Numbers: [192]
192,25 unequal: No Solution
Exploring Operation: 28*164=4592, Resulting Numbers: [4592]
4592,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[70, 122], Operations: ['50-22=28', '94+28=122']
Exploring Operation: 122-70=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 70*122=8540, Resulting Numbers: [8540]
8540,25 unequal: No Solution
Exploring Operation: 70+122=192, Resulting Numbers: [192]
192,25 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: 25:[50, 70, 72], Operations: ['94-22=72']
Exploring Operation: 72-70=2, Resulting Numbers: [50, 2]
Generated Node #0,3,0: 25:[50, 2] Operation: 72-70=2
Exploring Operation: 50+70=120, Resulting Numbers: [72, 120]
Generated Node #0,3,1: 25:[72, 120] Operation: 50+70=120
Exploring Operation: 50+72=122, Resulting Numbers: [70, 122]
Generated Node #0,3,2: 25:[70, 122] Operation: 50+72=122
Exploring Operation: 70-50=20, Resulting Numbers: [72, 20]
Generated Node #0,3,3: 25:[72, 20] Operation: 70-50=20
Exploring Operation: 72-50=22, Resulting Numbers: [70, 22]
Generated Node #0,3,4: 25:[70, 22] Operation: 72-50=22
Moving to Node #0,4,2
Current State: 25:[24, 28], Operations: ['94-70=24', '50-22=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[22, 26], Operations: ['94-70=24', '50-24=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[50, 2], Operations: ['94-70=24', '24-22=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[50, 94, 22, 70], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [50, 22, 24]
Generated Node #0,4: 25:[50, 22, 24] Operation: 94-70=24
Moving to Node #0,4
Current State: 25:[50, 22, 24], Operations: ['94-70=24']
Exploring Operation: 24-22=2, Resulting Numbers: [50, 2]
Generated Node #0,4,3: 25:[50, 2] Operation: 24-22=2
Moving to Node #0,4,3
Current State: 25:[50, 2], Operations: ['94-70=24', '24-22=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.921875 |
hs_5
|
mult_heuristic
|
[
64,
55,
78,
51
] | 62 |
[
"55-51=4",
"64/4=16",
"78-16=62"
] |
Current State: 62:[64, 55, 78, 51], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [64, 78, 4]
Generated Node #2: [64, 78, 4] from Operation: 55-51=4
Current State: 62:[64, 78, 4], Operations: ['55-51=4']
Exploring Operation: 64/4=16, Resulting Numbers: [78, 16]
Generated Node #3: [78, 16] from Operation: 64/4=16
Current State: 62:[78, 16], Operations: ['55-51=4', '64/4=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[64, 55, 78, 51], Operations: []
Exploring Operation: 78-51=27, Resulting Numbers: [64, 55, 27]
Generated Node #0,0: 62:[64, 55, 27] Operation: 78-51=27
Exploring Operation: 55-51=4, Resulting Numbers: [64, 78, 4]
Generated Node #0,1: 62:[64, 78, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 62:[64, 55, 27], Operations: ['78-51=27']
Exploring Operation: 55-27=28, Resulting Numbers: [64, 28]
Generated Node #0,0,0: 62:[64, 28] Operation: 55-27=28
Exploring Operation: 64-55=9, Resulting Numbers: [27, 9]
Generated Node #0,0,1: 62:[27, 9] Operation: 64-55=9
Moving to Node #0,1
Current State: 62:[64, 78, 4], Operations: ['55-51=4']
Exploring Operation: 78-4=74, Resulting Numbers: [64, 74]
Generated Node #0,1,0: 62:[64, 74] Operation: 78-4=74
Exploring Operation: 78-64=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 62:[4, 14] Operation: 78-64=14
Moving to Node #0,0,0
Current State: 62:[64, 28], Operations: ['78-51=27', '55-27=28']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[27, 9], Operations: ['78-51=27', '64-55=9']
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[4, 14], Operations: ['55-51=4', '78-64=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[64, 74], Operations: ['55-51=4', '78-4=74']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,62 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
13,
64,
2,
38
] | 25 |
[
"64-13=51",
"2*38=76",
"76-51=25"
] |
Current State: 25:[13, 64, 2, 38], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [2, 38, 51]
Generated Node #2: [2, 38, 51] from Operation: 64-13=51
Current State: 25:[2, 38, 51], Operations: ['64-13=51']
Exploring Operation: 2*38=76, Resulting Numbers: [51, 76]
Generated Node #3: [51, 76] from Operation: 2*38=76
Current State: 25:[51, 76], Operations: ['64-13=51', '2*38=76']
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[13, 64, 2, 38], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [13, 2, 26]
Generated Node #0,0: 25:[13, 2, 26] Operation: 64-38=26
Exploring Operation: 38-13=25, Resulting Numbers: [64, 2, 25]
Generated Node #0,1: 25:[64, 2, 25] Operation: 38-13=25
Exploring Operation: 64/2=32, Resulting Numbers: [13, 38, 32]
Generated Node #0,2: 25:[13, 38, 32] Operation: 64/2=32
Exploring Operation: 64-13=51, Resulting Numbers: [2, 38, 51]
Generated Node #0,3: 25:[2, 38, 51] Operation: 64-13=51
Exploring Operation: 13*2=26, Resulting Numbers: [64, 38, 26]
Generated Node #0,4: 25:[64, 38, 26] Operation: 13*2=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[13, 2, 26], Operations: ['64-38=26']
Exploring Operation: 26-2=24, Resulting Numbers: [13, 24]
Generated Node #0,0,0: 25:[13, 24] Operation: 26-2=24
Exploring Operation: 13+2=15, Resulting Numbers: [26, 15]
Generated Node #0,0,1: 25:[26, 15] Operation: 13+2=15
Exploring Operation: 13*2=26, Resulting Numbers: [26, 26]
Generated Node #0,0,2: 25:[26, 26] Operation: 13*2=26
Exploring Operation: 13-2=11, Resulting Numbers: [26, 11]
Generated Node #0,0,3: 25:[26, 11] Operation: 13-2=11
Exploring Operation: 26/13=2, Resulting Numbers: [2, 2]
Generated Node #0,0,4: 25:[2, 2] Operation: 26/13=2
Moving to Node #0,0,2
Current State: 25:[26, 26], Operations: ['64-38=26', '13*2=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,25 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[2, 2], Operations: ['64-38=26', '26/13=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[26, 11], Operations: ['64-38=26', '13-2=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[13, 24], Operations: ['64-38=26', '26-2=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,25 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[26, 15], Operations: ['64-38=26', '13+2=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,25 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[13, 38, 32], Operations: ['64/2=32']
Exploring Operation: 13+32=45, Resulting Numbers: [38, 45]
Generated Node #0,2,0: 25:[38, 45] Operation: 13+32=45
Exploring Operation: 38-32=6, Resulting Numbers: [13, 6]
Generated Node #0,2,1: 25:[13, 6] Operation: 38-32=6
Exploring Operation: 32-13=19, Resulting Numbers: [38, 19]
Generated Node #0,2,2: 25:[38, 19] Operation: 32-13=19
Exploring Operation: 38-13=25, Resulting Numbers: [32, 25]
Generated Node #0,2,3: 25:[32, 25] Operation: 38-13=25
Exploring Operation: 13+38=51, Resulting Numbers: [32, 51]
Generated Node #0,2,4: 25:[32, 51] Operation: 13+38=51
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 25:[32, 25], Operations: ['64/2=32', '38-13=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,25 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,25 unequal: No Solution
No 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: 25:[13, 6], Operations: ['64/2=32', '38-32=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No 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: 25:[38, 19], Operations: ['64/2=32', '32-13=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,25 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,25 unequal: No Solution
No 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: 25:[38, 45], Operations: ['64/2=32', '13+32=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,25 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,25 unequal: No Solution
No 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: 25:[32, 51], Operations: ['64/2=32', '13+38=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,25 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[64, 2, 25], Operations: ['38-13=25']
Exploring Operation: 64-25=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 25:[2, 39] Operation: 64-25=39
Exploring Operation: 64+2=66, Resulting Numbers: [25, 66]
Generated Node #0,1,1: 25:[25, 66] Operation: 64+2=66
Exploring Operation: 64-2=62, Resulting Numbers: [25, 62]
Generated Node #0,1,2: 25:[25, 62] Operation: 64-2=62
Exploring Operation: 2+25=27, Resulting Numbers: [64, 27]
Generated Node #0,1,3: 25:[64, 27] Operation: 2+25=27
Exploring Operation: 64/2=32, Resulting Numbers: [25, 32]
Generated Node #0,1,4: 25:[25, 32] Operation: 64/2=32
Moving to Node #0,1,4
Current State: 25:[25, 32], Operations: ['38-13=25', '64/2=32']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[2, 39], Operations: ['38-13=25', '64-25=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[25, 62], Operations: ['38-13=25', '64-2=62']
Exploring Operation: 25*62=1550, Resulting Numbers: [1550]
1550,25 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 25+62=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[25, 66], Operations: ['38-13=25', '64+2=66']
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,25 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[64, 27], Operations: ['38-13=25', '2+25=27']
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,25 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[2, 38, 51], Operations: ['64-13=51']
Exploring Operation: 51-2=49, Resulting Numbers: [38, 49]
Generated Node #0,3,0: 25:[38, 49] Operation: 51-2=49
Exploring Operation: 38-2=36, Resulting Numbers: [51, 36]
Generated Node #0,3,1: 25:[51, 36] Operation: 38-2=36
Exploring Operation: 51-38=13, Resulting Numbers: [2, 13]
Generated Node #0,3,2: 25:[2, 13] Operation: 51-38=13
Exploring Operation: 2+38=40, Resulting Numbers: [51, 40]
Generated Node #0,3,3: 25:[51, 40] Operation: 2+38=40
Exploring Operation: 38/2=19, Resulting Numbers: [51, 19]
Generated Node #0,3,4: 25:[51, 19] Operation: 38/2=19
Moving to Node #0,3,2
Current State: 25:[2, 13], Operations: ['64-13=51', '51-38=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[51, 19], Operations: ['64-13=51', '38/2=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,25 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[38, 49], Operations: ['64-13=51', '51-2=49']
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,25 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[51, 36], Operations: ['64-13=51', '38-2=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[51, 40], Operations: ['64-13=51', '2+38=40']
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,25 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[64, 38, 26], Operations: ['13*2=26']
Exploring Operation: 64+26=90, Resulting Numbers: [38, 90]
Generated Node #0,4,0: 25:[38, 90] Operation: 64+26=90
Exploring Operation: 38-26=12, Resulting Numbers: [64, 12]
Generated Node #0,4,1: 25:[64, 12] Operation: 38-26=12
Exploring Operation: 64-26=38, Resulting Numbers: [38, 38]
Generated Node #0,4,2: 25:[38, 38] Operation: 64-26=38
Exploring Operation: 64-38=26, Resulting Numbers: [26, 26]
Generated Node #0,4,3: 25:[26, 26] Operation: 64-38=26
Exploring Operation: 64+38=102, Resulting Numbers: [26, 102]
Generated Node #0,4,4: 25:[26, 102] Operation: 64+38=102
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 25:[26, 26], Operations: ['13*2=26', '64-38=26']
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,25 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No 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: 25:[38, 38], Operations: ['13*2=26', '64-26=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,25 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,25 unequal: No Solution
No 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: 25:[64, 12], Operations: ['13*2=26', '38-26=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[38, 90], Operations: ['13*2=26', '64+26=90']
Exploring Operation: 38+90=128, Resulting Numbers: [128]
128,25 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 38*90=3420, Resulting Numbers: [3420]
3420,25 unequal: No Solution
No 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: 25:[26, 102], Operations: ['13*2=26', '64+38=102']
Exploring Operation: 102-26=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 26+102=128, Resulting Numbers: [128]
128,25 unequal: No Solution
Exploring Operation: 26*102=2652, Resulting Numbers: [2652]
2652,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_5
|
mult_heuristic
|
[
13,
24,
93,
10
] | 66 |
[
"13+24=37",
"93+10=103",
"103-37=66"
] |
Current State: 66:[13, 24, 93, 10], Operations: []
Exploring Operation: 13+24=37, Resulting Numbers: [93, 10, 37]
Generated Node #2: [93, 10, 37] from Operation: 13+24=37
Current State: 66:[93, 10, 37], Operations: ['13+24=37']
Exploring Operation: 93+10=103, Resulting Numbers: [37, 103]
Generated Node #3: [37, 103] from Operation: 93+10=103
Current State: 66:[37, 103], Operations: ['13+24=37', '93+10=103']
Exploring Operation: 103-37=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[13, 24, 93, 10], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [13, 10, 69]
Generated Node #0,0: 66:[13, 10, 69] Operation: 93-24=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[13, 10, 69], Operations: ['93-24=69']
Exploring Operation: 13-10=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 66:[69, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[69, 3], Operations: ['93-24=69', '13-10=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[13, 24, 93, 10], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [13, 10, 69]
Generated Node #0,0: 66:[13, 10, 69] Operation: 93-24=69
Moving to Node #0,0
Current State: 66:[13, 10, 69], Operations: ['93-24=69']
Exploring Operation: 13-10=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 66:[69, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 66:[69, 3], Operations: ['93-24=69', '13-10=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
68,
50,
9,
27
] | 100 |
[
"68+50=118",
"27-9=18",
"118-18=100"
] |
Current State: 100:[68, 50, 9, 27], Operations: []
Exploring Operation: 68+50=118, Resulting Numbers: [9, 27, 118]
Generated Node #2: [9, 27, 118] from Operation: 68+50=118
Current State: 100:[9, 27, 118], Operations: ['68+50=118']
Exploring Operation: 27-9=18, Resulting Numbers: [118, 18]
Generated Node #3: [118, 18] from Operation: 27-9=18
Current State: 100:[118, 18], Operations: ['68+50=118', '27-9=18']
Exploring Operation: 118-18=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[68, 50, 9, 27], Operations: []
Exploring Operation: 68-27=41, Resulting Numbers: [50, 9, 41]
Generated Node #0,0: 100:[50, 9, 41] Operation: 68-27=41
Exploring Operation: 68+27=95, Resulting Numbers: [50, 9, 95]
Generated Node #0,1: 100:[50, 9, 95] Operation: 68+27=95
Exploring Operation: 68-9=59, Resulting Numbers: [50, 27, 59]
Generated Node #0,2: 100:[50, 27, 59] Operation: 68-9=59
Exploring Operation: 68-50=18, Resulting Numbers: [9, 27, 18]
Generated Node #0,3: 100:[9, 27, 18] Operation: 68-50=18
Moving to Node #0,3
Current State: 100:[9, 27, 18], Operations: ['68-50=18']
Exploring Operation: 18-9=9, Resulting Numbers: [27, 9]
Generated Node #0,3,0: 100:[27, 9] Operation: 18-9=9
Exploring Operation: 27/9=3, Resulting Numbers: [18, 3]
Generated Node #0,3,1: 100:[18, 3] Operation: 27/9=3
Exploring Operation: 27-18=9, Resulting Numbers: [9, 9]
Generated Node #0,3,2: 100:[9, 9] Operation: 27-18=9
Exploring Operation: 18/9=2, Resulting Numbers: [27, 2]
Generated Node #0,3,3: 100:[27, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[9, 9], Operations: ['68-50=18', '27-18=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,100 unequal: No Solution
No 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: 100:[27, 2], Operations: ['68-50=18', '18/9=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No 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: 100:[27, 9], Operations: ['68-50=18', '18-9=9']
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,100 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,100 unequal: No Solution
No 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: 100:[18, 3], Operations: ['68-50=18', '27/9=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,100 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: 100:[50, 9, 95], Operations: ['68+27=95']
Exploring Operation: 95-50=45, Resulting Numbers: [9, 45]
Generated Node #0,1,0: 100:[9, 45] Operation: 95-50=45
Exploring Operation: 50+9=59, Resulting Numbers: [95, 59]
Generated Node #0,1,1: 100:[95, 59] Operation: 50+9=59
Exploring Operation: 9+95=104, Resulting Numbers: [50, 104]
Generated Node #0,1,2: 100:[50, 104] Operation: 9+95=104
Exploring Operation: 50-9=41, Resulting Numbers: [95, 41]
Generated Node #0,1,3: 100:[95, 41] Operation: 50-9=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[50, 104], Operations: ['68+27=95', '9+95=104']
Exploring Operation: 50*104=5200, Resulting Numbers: [5200]
5200,100 unequal: No Solution
Exploring Operation: 50+104=154, Resulting Numbers: [154]
154,100 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,100 unequal: No Solution
No 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: 100:[9, 45], Operations: ['68+27=95', '95-50=45']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,100 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,100 unequal: No Solution
No 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: 100:[95, 59], Operations: ['68+27=95', '50+9=59']
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,100 unequal: No Solution
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,100 unequal: No Solution
No 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: 100:[95, 41], Operations: ['68+27=95', '50-9=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,100 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: 100:[50, 9, 41], Operations: ['68-27=41']
Exploring Operation: 50-41=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 100:[9, 9] Operation: 50-41=9
Exploring Operation: 50+41=91, Resulting Numbers: [9, 91]
Generated Node #0,0,1: 100:[9, 91] Operation: 50+41=91
Exploring Operation: 9+41=50, Resulting Numbers: [50, 50]
Generated Node #0,0,2: 100:[50, 50] Operation: 9+41=50
Exploring Operation: 41-9=32, Resulting Numbers: [50, 32]
Generated Node #0,0,3: 100:[50, 32] Operation: 41-9=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[50, 50], Operations: ['68-27=41', '9+41=50']
Exploring Operation: 50*50=2500, Resulting Numbers: [2500]
2500,100 unequal: No Solution
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[68, 50, 9, 27], Operations: []
Exploring Operation: 68-27=41, Resulting Numbers: [50, 9, 41]
Generated Node #0,0: 100:[50, 9, 41] Operation: 68-27=41
Moving to Node #0,0
Current State: 100:[50, 9, 41], Operations: ['68-27=41']
Exploring Operation: 9+41=50, Resulting Numbers: [50, 50]
Generated Node #0,0,2: 100:[50, 50] Operation: 9+41=50
Moving to Node #0,0,2
Current State: 100:[50, 50], Operations: ['68-27=41', '9+41=50']
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 |
hs_4
|
sum_heuristic
|
[
3,
67,
9,
2
] | 46 |
[
"67-3=64",
"9*2=18",
"64-18=46"
] |
Current State: 46:[3, 67, 9, 2], Operations: []
Exploring Operation: 67-3=64, Resulting Numbers: [9, 2, 64]
Generated Node #2: [9, 2, 64] from Operation: 67-3=64
Current State: 46:[9, 2, 64], Operations: ['67-3=64']
Exploring Operation: 9*2=18, Resulting Numbers: [64, 18]
Generated Node #3: [64, 18] from Operation: 9*2=18
Current State: 46:[64, 18], Operations: ['67-3=64', '9*2=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[3, 67, 9, 2], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [3, 2, 58]
Generated Node #0,0: 46:[3, 2, 58] Operation: 67-9=58
Exploring Operation: 9/3=3, Resulting Numbers: [67, 2, 3]
Generated Node #0,1: 46:[67, 2, 3] Operation: 9/3=3
Exploring Operation: 67-3=64, Resulting Numbers: [9, 2, 64]
Generated Node #0,2: 46:[9, 2, 64] Operation: 67-3=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[3, 2, 58], Operations: ['67-9=58']
Exploring Operation: 58/2=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 46:[3, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [3, 56]
Generated Node #0,0,1: 46:[3, 56] Operation: 58-2=56
Exploring Operation: 58-3=55, Resulting Numbers: [2, 55]
Generated Node #0,0,2: 46:[2, 55] Operation: 58-3=55
Moving to Node #0,0,0
Current State: 46:[3, 29], Operations: ['67-9=58', '58/2=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[2, 55], Operations: ['67-9=58', '58-3=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[3, 56], Operations: ['67-9=58', '58-2=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,46 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[67, 2, 3], Operations: ['9/3=3']
Exploring Operation: 67-3=64, Resulting Numbers: [2, 64]
Generated Node #0,1,0: 46:[2, 64] Operation: 67-3=64
Exploring Operation: 67-2=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 46:[3, 65] Operation: 67-2=65
Exploring Operation: 3-2=1, Resulting Numbers: [67, 1]
Generated Node #0,1,2: 46:[67, 1] Operation: 3-2=1
Moving to Node #0,1,0
Current State: 46:[2, 64], Operations: ['9/3=3', '67-3=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,46 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[3, 65], Operations: ['9/3=3', '67-2=65']
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,46 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[67, 1], Operations: ['9/3=3', '3-2=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[9, 2, 64], Operations: ['67-3=64']
Exploring Operation: 9*2=18, Resulting Numbers: [64, 18]
Generated Node #0,2,0: 46:[64, 18] Operation: 9*2=18
Exploring Operation: 64/2=32, Resulting Numbers: [9, 32]
Generated Node #0,2,1: 46:[9, 32] Operation: 64/2=32
Exploring Operation: 64-9=55, Resulting Numbers: [2, 55]
Generated Node #0,2,2: 46:[2, 55] Operation: 64-9=55
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[2, 55], Operations: ['67-3=64', '64-9=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,46 unequal: No Solution
No 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: 46:[9, 32], Operations: ['67-3=64', '64/2=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,46 unequal: No Solution
No 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: 46:[64, 18], Operations: ['67-3=64', '9*2=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,46 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[3, 67, 9, 2], Operations: []
Exploring Operation: 67-3=64, Resulting Numbers: [9, 2, 64]
Generated Node #0,2: 46:[9, 2, 64] Operation: 67-3=64
Moving to Node #0,2
Current State: 46:[9, 2, 64], Operations: ['67-3=64']
Exploring Operation: 9*2=18, Resulting Numbers: [64, 18]
Generated Node #0,2,0: 46:[64, 18] Operation: 9*2=18
Moving to Node #0,2,0
Current State: 46:[64, 18], Operations: ['67-3=64', '9*2=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 |
hs_3
|
sum_heuristic
|
[
15,
66,
42,
32
] | 20 |
[
"15*32=480",
"66-42=24",
"480/24=20"
] |
Current State: 20:[15, 66, 42, 32], Operations: []
Exploring Operation: 15*32=480, Resulting Numbers: [66, 42, 480]
Generated Node #2: [66, 42, 480] from Operation: 15*32=480
Current State: 20:[66, 42, 480], Operations: ['15*32=480']
Exploring Operation: 66-42=24, Resulting Numbers: [480, 24]
Generated Node #3: [480, 24] from Operation: 66-42=24
Current State: 20:[480, 24], Operations: ['15*32=480', '66-42=24']
Exploring Operation: 480/24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[15, 66, 42, 32], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [15, 32, 24]
Generated Node #0,0: 20:[15, 32, 24] Operation: 66-42=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[15, 32, 24], Operations: ['66-42=24']
Exploring Operation: 32-15=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 20:[24, 17] Operation: 32-15=17
Moving to Node #0,0,0
Current State: 20:[24, 17], Operations: ['66-42=24', '32-15=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
59,
10,
7,
18
] | 44 |
[
"59+10=69",
"7+18=25",
"69-25=44"
] |
Current State: 44:[59, 10, 7, 18], Operations: []
Exploring Operation: 59+10=69, Resulting Numbers: [7, 18, 69]
Generated Node #2: [7, 18, 69] from Operation: 59+10=69
Current State: 44:[7, 18, 69], Operations: ['59+10=69']
Exploring Operation: 7+18=25, Resulting Numbers: [69, 25]
Generated Node #3: [69, 25] from Operation: 7+18=25
Current State: 44:[69, 25], Operations: ['59+10=69', '7+18=25']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[59, 10, 7, 18], Operations: []
Exploring Operation: 59-7=52, Resulting Numbers: [10, 18, 52]
Generated Node #0,0: 44:[10, 18, 52] Operation: 59-7=52
Exploring Operation: 59-18=41, Resulting Numbers: [10, 7, 41]
Generated Node #0,1: 44:[10, 7, 41] Operation: 59-18=41
Exploring Operation: 59-10=49, Resulting Numbers: [7, 18, 49]
Generated Node #0,2: 44:[7, 18, 49] Operation: 59-10=49
Moving to Node #0,1
Current State: 44:[10, 7, 41], Operations: ['59-18=41']
Exploring Operation: 10-7=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 44:[41, 3] Operation: 10-7=3
Exploring Operation: 7+41=48, Resulting Numbers: [10, 48]
Generated Node #0,1,1: 44:[10, 48] Operation: 7+41=48
Exploring Operation: 10+7=17, Resulting Numbers: [41, 17]
Generated Node #0,1,2: 44:[41, 17] Operation: 10+7=17
Moving to Node #0,2
Current State: 44:[7, 18, 49], Operations: ['59-10=49']
Exploring Operation: 18-7=11, Resulting Numbers: [49, 11]
Generated Node #0,2,0: 44:[49, 11] Operation: 18-7=11
Exploring Operation: 49-7=42, Resulting Numbers: [18, 42]
Generated Node #0,2,1: 44:[18, 42] Operation: 49-7=42
Exploring Operation: 49/7=7, Resulting Numbers: [18, 7]
Generated Node #0,2,2: 44:[18, 7] Operation: 49/7=7
Moving to Node #0,0
Current State: 44:[10, 18, 52], Operations: ['59-7=52']
Exploring Operation: 18-10=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 44:[52, 8] Operation: 18-10=8
Exploring Operation: 52-18=34, Resulting Numbers: [10, 34]
Generated Node #0,0,1: 44:[10, 34] Operation: 52-18=34
Exploring Operation: 52-10=42, Resulting Numbers: [18, 42]
Generated Node #0,0,2: 44:[18, 42] Operation: 52-10=42
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[18, 42], Operations: ['59-7=52', '52-10=42']
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,44 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[52, 8], Operations: ['59-7=52', '18-10=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[59, 10, 7, 18], Operations: []
Exploring Operation: 59-7=52, Resulting Numbers: [10, 18, 52]
Generated Node #0,0: 44:[10, 18, 52] Operation: 59-7=52
Moving to Node #0,0
Current State: 44:[10, 18, 52], Operations: ['59-7=52']
Exploring Operation: 18-10=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 44:[52, 8] Operation: 18-10=8
Moving to Node #0,0,0
Current State: 44:[52, 8], Operations: ['59-7=52', '18-10=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_3
|
sum_heuristic
|
[
99,
71,
12,
9
] | 25 |
[
"99-71=28",
"12-9=3",
"28-3=25"
] |
Current State: 25:[99, 71, 12, 9], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [12, 9, 28]
Generated Node #2: [12, 9, 28] from Operation: 99-71=28
Current State: 25:[12, 9, 28], Operations: ['99-71=28']
Exploring Operation: 12-9=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 12-9=3
Current State: 25:[28, 3], Operations: ['99-71=28', '12-9=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[99, 71, 12, 9], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [12, 9, 28]
Generated Node #0,0: 25:[12, 9, 28] Operation: 99-71=28
Exploring Operation: 99/9=11, Resulting Numbers: [71, 12, 11]
Generated Node #0,1: 25:[71, 12, 11] Operation: 99/9=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 9, 28], Operations: ['99-71=28']
Exploring Operation: 12+9=21, Resulting Numbers: [28, 21]
Generated Node #0,0,0: 25:[28, 21] Operation: 12+9=21
Exploring Operation: 12-9=3, Resulting Numbers: [28, 3]
Generated Node #0,0,1: 25:[28, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[28, 3], Operations: ['99-71=28', '12-9=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[99, 71, 12, 9], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [12, 9, 28]
Generated Node #0,0: 25:[12, 9, 28] Operation: 99-71=28
Moving to Node #0,0
Current State: 25:[12, 9, 28], Operations: ['99-71=28']
Exploring Operation: 12-9=3, Resulting Numbers: [28, 3]
Generated Node #0,0,1: 25:[28, 3] Operation: 12-9=3
Moving to Node #0,0,1
Current State: 25:[28, 3], Operations: ['99-71=28', '12-9=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
78,
54,
63,
10
] | 97 |
[
"78-54=24",
"63+10=73",
"24+73=97"
] |
Current State: 97:[78, 54, 63, 10], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [63, 10, 24]
Generated Node #2: [63, 10, 24] from Operation: 78-54=24
Current State: 97:[63, 10, 24], Operations: ['78-54=24']
Exploring Operation: 63+10=73, Resulting Numbers: [24, 73]
Generated Node #3: [24, 73] from Operation: 63+10=73
Current State: 97:[24, 73], Operations: ['78-54=24', '63+10=73']
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[78, 54, 63, 10], Operations: []
Exploring Operation: 54+10=64, Resulting Numbers: [78, 63, 64]
Generated Node #0,0: 97:[78, 63, 64] Operation: 54+10=64
Exploring Operation: 78+10=88, Resulting Numbers: [54, 63, 88]
Generated Node #0,1: 97:[54, 63, 88] Operation: 78+10=88
Moving to Node #0,0
Current State: 97:[78, 63, 64], Operations: ['54+10=64']
Exploring Operation: 63+64=127, Resulting Numbers: [78, 127]
Generated Node #0,0,0: 97:[78, 127] Operation: 63+64=127
Exploring Operation: 78+63=141, Resulting Numbers: [64, 141]
Generated Node #0,0,1: 97:[64, 141] Operation: 78+63=141
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[78, 127], Operations: ['54+10=64', '63+64=127']
Exploring Operation: 78+127=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 127-78=49, Resulting Numbers: [49]
49,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[64, 141], Operations: ['54+10=64', '78+63=141']
Exploring Operation: 141-64=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 64+141=205, Resulting Numbers: [205]
205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[54, 63, 88], Operations: ['78+10=88']
Exploring Operation: 54+88=142, Resulting Numbers: [63, 142]
Generated Node #0,1,0: 97:[63, 142] Operation: 54+88=142
Exploring Operation: 54+63=117, Resulting Numbers: [88, 117]
Generated Node #0,1,1: 97:[88, 117] Operation: 54+63=117
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[88, 117], Operations: ['78+10=88', '54+63=117']
Exploring Operation: 88+117=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[63, 142], Operations: ['78+10=88', '54+88=142']
Exploring Operation: 63+142=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 142-63=79, Resulting Numbers: [79]
79,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
64,
58,
76,
4
] | 100 |
[
"64-58=6",
"4*6=24",
"76+24=100"
] |
Current State: 100:[64, 58, 76, 4], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [76, 4, 6]
Generated Node #2: [76, 4, 6] from Operation: 64-58=6
Current State: 100:[76, 4, 6], Operations: ['64-58=6']
Exploring Operation: 4*6=24, Resulting Numbers: [76, 24]
Generated Node #3: [76, 24] from Operation: 4*6=24
Current State: 100:[76, 24], Operations: ['64-58=6', '4*6=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[64, 58, 76, 4], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [58, 76, 16]
Generated Node #0,0: 100:[58, 76, 16] Operation: 64/4=16
Exploring Operation: 64-58=6, Resulting Numbers: [76, 4, 6]
Generated Node #0,1: 100:[76, 4, 6] Operation: 64-58=6
Exploring Operation: 76/4=19, Resulting Numbers: [64, 58, 19]
Generated Node #0,2: 100:[64, 58, 19] Operation: 76/4=19
Exploring Operation: 76-58=18, Resulting Numbers: [64, 4, 18]
Generated Node #0,3: 100:[64, 4, 18] Operation: 76-58=18
Exploring Operation: 76-64=12, Resulting Numbers: [58, 4, 12]
Generated Node #0,4: 100:[58, 4, 12] Operation: 76-64=12
Moving to Node #0,4
Current State: 100:[58, 4, 12], Operations: ['76-64=12']
Exploring Operation: 12-4=8, Resulting Numbers: [58, 8]
Generated Node #0,4,0: 100:[58, 8] Operation: 12-4=8
Exploring Operation: 4*12=48, Resulting Numbers: [58, 48]
Generated Node #0,4,1: 100:[58, 48] Operation: 4*12=48
Exploring Operation: 12/4=3, Resulting Numbers: [58, 3]
Generated Node #0,4,2: 100:[58, 3] Operation: 12/4=3
Exploring Operation: 58-12=46, Resulting Numbers: [4, 46]
Generated Node #0,4,3: 100:[4, 46] Operation: 58-12=46
Exploring Operation: 58-4=54, Resulting Numbers: [12, 54]
Generated Node #0,4,4: 100:[12, 54] Operation: 58-4=54
Moving to Node #0,3
Current State: 100:[64, 4, 18], Operations: ['76-58=18']
Exploring Operation: 64-4=60, Resulting Numbers: [18, 60]
Generated Node #0,3,0: 100:[18, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [18, 16]
Generated Node #0,3,1: 100:[18, 16] Operation: 64/4=16
Exploring Operation: 64+18=82, Resulting Numbers: [4, 82]
Generated Node #0,3,2: 100:[4, 82] Operation: 64+18=82
Exploring Operation: 4+18=22, Resulting Numbers: [64, 22]
Generated Node #0,3,3: 100:[64, 22] Operation: 4+18=22
Exploring Operation: 64-18=46, Resulting Numbers: [4, 46]
Generated Node #0,3,4: 100:[4, 46] Operation: 64-18=46
Moving to Node #0,2
Current State: 100:[64, 58, 19], Operations: ['76/4=19']
Exploring Operation: 64+58=122, Resulting Numbers: [19, 122]
Generated Node #0,2,0: 100:[19, 122] Operation: 64+58=122
Exploring Operation: 64-19=45, Resulting Numbers: [58, 45]
Generated Node #0,2,1: 100:[58, 45] Operation: 64-19=45
Exploring Operation: 58-19=39, Resulting Numbers: [64, 39]
Generated Node #0,2,2: 100:[64, 39] Operation: 58-19=39
Exploring Operation: 64-58=6, Resulting Numbers: [19, 6]
Generated Node #0,2,3: 100:[19, 6] Operation: 64-58=6
Exploring Operation: 64+19=83, Resulting Numbers: [58, 83]
Generated Node #0,2,4: 100:[58, 83] Operation: 64+19=83
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[19, 6], Operations: ['76/4=19', '64-58=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No 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: 100:[58, 45], Operations: ['76/4=19', '64-19=45']
Exploring Operation: 58+45=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 58*45=2610, Resulting Numbers: [2610]
2610,100 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,100 unequal: No Solution
No 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: 100:[19, 122], Operations: ['76/4=19', '64+58=122']
Exploring Operation: 122-19=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 19+122=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 19*122=2318, Resulting Numbers: [2318]
2318,100 unequal: No Solution
No 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: 100:[64, 39], Operations: ['76/4=19', '58-19=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,100 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 100:[58, 83], Operations: ['76/4=19', '64+19=83']
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,100 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: 100:[76, 4, 6], Operations: ['64-58=6']
Exploring Operation: 76/4=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 100:[6, 19] Operation: 76/4=19
Exploring Operation: 76-6=70, Resulting Numbers: [4, 70]
Generated Node #0,1,1: 100:[4, 70] Operation: 76-6=70
Exploring Operation: 76+4=80, Resulting Numbers: [6, 80]
Generated Node #0,1,2: 100:[6, 80] Operation: 76+4=80
Exploring Operation: 76+6=82, Resulting Numbers: [4, 82]
Generated Node #0,1,3: 100:[4, 82] Operation: 76+6=82
Exploring Operation: 76-4=72, Resulting Numbers: [6, 72]
Generated Node #0,1,4: 100:[6, 72] Operation: 76-4=72
Moving to Node #0,0
Current State: 100:[58, 76, 16], Operations: ['64/4=16']
Exploring Operation: 58-16=42, Resulting Numbers: [76, 42]
Generated Node #0,0,0: 100:[76, 42] Operation: 58-16=42
Exploring Operation: 76-16=60, Resulting Numbers: [58, 60]
Generated Node #0,0,1: 100:[58, 60] Operation: 76-16=60
Exploring Operation: 58+76=134, Resulting Numbers: [16, 134]
Generated Node #0,0,2: 100:[16, 134] Operation: 58+76=134
Exploring Operation: 76-58=18, Resulting Numbers: [16, 18]
Generated Node #0,0,3: 100:[16, 18] Operation: 76-58=18
Exploring Operation: 76+16=92, Resulting Numbers: [58, 92]
Generated Node #0,0,4: 100:[58, 92] Operation: 76+16=92
Moving to Node #0,1,0
Current State: 100:[6, 19], Operations: ['64-58=6', '76/4=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,3,4
Current State: 100:[4, 46], Operations: ['76-58=18', '64-18=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,100 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[4, 46], Operations: ['76-64=12', '58-12=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[18, 16], Operations: ['76-58=18', '64/4=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,100 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[12, 54], Operations: ['76-64=12', '58-4=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[16, 18], Operations: ['64/4=16', '76-58=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,100 unequal: No Solution
Moving to Node #0,4,2
Current State: 100:[58, 3], Operations: ['76-64=12', '12/4=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,100 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[58, 48], Operations: ['76-64=12', '4*12=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[58, 8], Operations: ['76-64=12', '12-4=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[18, 60], Operations: ['76-58=18', '64-4=60']
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,100 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[58, 92], Operations: ['64/4=16', '76+16=92']
Exploring Operation: 58*92=5336, Resulting Numbers: [5336]
5336,100 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[64, 22], Operations: ['76-58=18', '4+18=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[4, 82], Operations: ['64-58=6', '76+6=82']
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,100 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,100 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[58, 60], Operations: ['64/4=16', '76-16=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,100 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[4, 82], Operations: ['76-58=18', '64+18=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,100 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[4, 70], Operations: ['64-58=6', '76-6=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[6, 80], Operations: ['64-58=6', '76+4=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[6, 72], Operations: ['64-58=6', '76-4=72']
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,100 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,100 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[76, 42], Operations: ['64/4=16', '58-16=42']
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,100 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[16, 134], Operations: ['64/4=16', '58+76=134']
Exploring Operation: 134-16=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 16+134=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 16*134=2144, Resulting Numbers: [2144]
2144,100 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
94,
91,
83,
3
] | 92 |
[
"94-91=3",
"3*3=9",
"83+9=92"
] |
Current State: 92:[94, 91, 83, 3], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [83, 3, 3]
Generated Node #2: [83, 3, 3] from Operation: 94-91=3
Current State: 92:[83, 3, 3], Operations: ['94-91=3']
Exploring Operation: 3*3=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 3*3=9
Current State: 92:[83, 9], Operations: ['94-91=3', '3*3=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[94, 91, 83, 3], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [91, 3, 11]
Generated Node #0,0: 92:[91, 3, 11] Operation: 94-83=11
Exploring Operation: 91-83=8, Resulting Numbers: [94, 3, 8]
Generated Node #0,1: 92:[94, 3, 8] Operation: 91-83=8
Moving to Node #0,1
Current State: 92:[94, 3, 8], Operations: ['91-83=8']
Exploring Operation: 8-3=5, Resulting Numbers: [94, 5]
Generated Node #0,1,0: 92:[94, 5] Operation: 8-3=5
Exploring Operation: 3*8=24, Resulting Numbers: [94, 24]
Generated Node #0,1,1: 92:[94, 24] Operation: 3*8=24
Moving to Node #0,0
Current State: 92:[91, 3, 11], Operations: ['94-83=11']
Exploring Operation: 91+3=94, Resulting Numbers: [11, 94]
Generated Node #0,0,0: 92:[11, 94] Operation: 91+3=94
Exploring Operation: 11-3=8, Resulting Numbers: [91, 8]
Generated Node #0,0,1: 92:[91, 8] Operation: 11-3=8
Moving to Node #0,1,0
Current State: 92:[94, 5], Operations: ['91-83=8', '8-3=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[94, 24], Operations: ['91-83=8', '3*8=24']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 94+24=118, Resulting Numbers: [118]
118,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[91, 8], Operations: ['94-83=11', '11-3=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[11, 94], Operations: ['94-83=11', '91+3=94']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,92 unequal: No Solution
Exploring Operation: 11+94=105, Resulting Numbers: [105]
105,92 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
88,
58,
60,
13
] | 57 |
[
"60-58=2",
"88/2=44",
"13+44=57"
] |
Current State: 57:[88, 58, 60, 13], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [88, 13, 2]
Generated Node #2: [88, 13, 2] from Operation: 60-58=2
Current State: 57:[88, 13, 2], Operations: ['60-58=2']
Exploring Operation: 88/2=44, Resulting Numbers: [13, 44]
Generated Node #3: [13, 44] from Operation: 88/2=44
Current State: 57:[13, 44], Operations: ['60-58=2', '88/2=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[88, 58, 60, 13], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [88, 13, 2]
Generated Node #0,0: 57:[88, 13, 2] Operation: 60-58=2
Exploring Operation: 88-13=75, Resulting Numbers: [58, 60, 75]
Generated Node #0,1: 57:[58, 60, 75] Operation: 88-13=75
Exploring Operation: 88-58=30, Resulting Numbers: [60, 13, 30]
Generated Node #0,2: 57:[60, 13, 30] Operation: 88-58=30
Exploring Operation: 88-60=28, Resulting Numbers: [58, 13, 28]
Generated Node #0,3: 57:[58, 13, 28] Operation: 88-60=28
Moving to Node #0,3
Current State: 57:[58, 13, 28], Operations: ['88-60=28']
Exploring Operation: 13+28=41, Resulting Numbers: [58, 41]
Generated Node #0,3,0: 57:[58, 41] Operation: 13+28=41
Exploring Operation: 58-28=30, Resulting Numbers: [13, 30]
Generated Node #0,3,1: 57:[13, 30] Operation: 58-28=30
Exploring Operation: 28-13=15, Resulting Numbers: [58, 15]
Generated Node #0,3,2: 57:[58, 15] Operation: 28-13=15
Exploring Operation: 58-13=45, Resulting Numbers: [28, 45]
Generated Node #0,3,3: 57:[28, 45] Operation: 58-13=45
Moving to Node #0,2
Current State: 57:[60, 13, 30], Operations: ['88-58=30']
Exploring Operation: 60/30=2, Resulting Numbers: [13, 2]
Generated Node #0,2,0: 57:[13, 2] Operation: 60/30=2
Exploring Operation: 30-13=17, Resulting Numbers: [60, 17]
Generated Node #0,2,1: 57:[60, 17] Operation: 30-13=17
Exploring Operation: 60-30=30, Resulting Numbers: [13, 30]
Generated Node #0,2,2: 57:[13, 30] Operation: 60-30=30
Exploring Operation: 13+30=43, Resulting Numbers: [60, 43]
Generated Node #0,2,3: 57:[60, 43] Operation: 13+30=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[60, 17], Operations: ['88-58=30', '30-13=17']
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,57 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[13, 2], Operations: ['88-58=30', '60/30=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[13, 30], Operations: ['88-58=30', '60-30=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[60, 43], Operations: ['88-58=30', '13+30=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,57 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[58, 60, 75], Operations: ['88-13=75']
Exploring Operation: 58+60=118, Resulting Numbers: [75, 118]
Generated Node #0,1,0: 57:[75, 118] Operation: 58+60=118
Exploring Operation: 75-58=17, Resulting Numbers: [60, 17]
Generated Node #0,1,1: 57:[60, 17] Operation: 75-58=17
Exploring Operation: 60-58=2, Resulting Numbers: [75, 2]
Generated Node #0,1,2: 57:[75, 2] Operation: 60-58=2
Exploring Operation: 75-60=15, Resulting Numbers: [58, 15]
Generated Node #0,1,3: 57:[58, 15] Operation: 75-60=15
Moving to Node #0,0
Current State: 57:[88, 13, 2], Operations: ['60-58=2']
Exploring Operation: 88/2=44, Resulting Numbers: [13, 44]
Generated Node #0,0,0: 57:[13, 44] Operation: 88/2=44
Exploring Operation: 88-13=75, Resulting Numbers: [2, 75]
Generated Node #0,0,1: 57:[2, 75] Operation: 88-13=75
Exploring Operation: 13+2=15, Resulting Numbers: [88, 15]
Generated Node #0,0,2: 57:[88, 15] Operation: 13+2=15
Exploring Operation: 88-2=86, Resulting Numbers: [13, 86]
Generated Node #0,0,3: 57:[13, 86] Operation: 88-2=86
Moving to Node #0,3,2
Current State: 57:[58, 15], Operations: ['88-60=28', '28-13=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[58, 15], Operations: ['88-13=75', '75-60=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[60, 17], Operations: ['88-13=75', '75-58=17']
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[13, 30], Operations: ['88-60=28', '58-28=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[58, 41], Operations: ['88-60=28', '13+28=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,57 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[75, 2], Operations: ['88-13=75', '60-58=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[2, 75], Operations: ['60-58=2', '88-13=75']
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,57 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[13, 44], Operations: ['60-58=2', '88/2=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[88, 58, 60, 13], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [88, 13, 2]
Generated Node #0,0: 57:[88, 13, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 57:[88, 13, 2], Operations: ['60-58=2']
Exploring Operation: 88/2=44, Resulting Numbers: [13, 44]
Generated Node #0,0,0: 57:[13, 44] Operation: 88/2=44
Moving to Node #0,0,0
Current State: 57:[13, 44], Operations: ['60-58=2', '88/2=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.949653 |
hs_4
|
mult_heuristic
|
[
96,
30,
32,
3
] | 13 |
[
"96/32=3",
"30/3=10",
"3+10=13"
] |
Current State: 13:[96, 30, 32, 3], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [30, 3, 3]
Generated Node #2: [30, 3, 3] from Operation: 96/32=3
Current State: 13:[30, 3, 3], Operations: ['96/32=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,13 equal: Goal Reached
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[96, 30, 32, 3], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [30, 32, 32]
Generated Node #0,0: 13:[30, 32, 32] Operation: 96/3=32
Exploring Operation: 96/32=3, Resulting Numbers: [30, 3, 3]
Generated Node #0,1: 13:[30, 3, 3] Operation: 96/32=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[30, 3, 3], Operations: ['96/32=3']
Exploring Operation: 30/3=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 13:[3, 10] Operation: 30/3=10
Exploring Operation: 30/3=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 13:[3, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[3, 10], Operations: ['96/32=3', '30/3=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[96, 30, 32, 3], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [30, 3, 3]
Generated Node #0,1: 13:[30, 3, 3] Operation: 96/32=3
Moving to Node #0,1
Current State: 13:[30, 3, 3], Operations: ['96/32=3']
Exploring Operation: 30/3=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 13:[3, 10] Operation: 30/3=10
Moving to Node #0,1,0
Current State: 13:[3, 10], Operations: ['96/32=3', '30/3=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
30,
55,
16,
77
] | 58 |
[
"30*77=2310",
"2310/55=42",
"16+42=58"
] |
Current State: 58:[30, 55, 16, 77], Operations: []
Exploring Operation: 30*77=2310, Resulting Numbers: [55, 16, 2310]
Generated Node #2: [55, 16, 2310] from Operation: 30*77=2310
Current State: 58:[55, 16, 2310], Operations: ['30*77=2310']
Exploring Operation: 2310/55=42, Resulting Numbers: [16, 42]
Generated Node #3: [16, 42] from Operation: 2310/55=42
Current State: 58:[16, 42], Operations: ['30*77=2310', '2310/55=42']
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[30, 55, 16, 77], Operations: []
Exploring Operation: 77-16=61, Resulting Numbers: [30, 55, 61]
Generated Node #0,0: 58:[30, 55, 61] Operation: 77-16=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[30, 55, 61], Operations: ['77-16=61']
Exploring Operation: 61-30=31, Resulting Numbers: [55, 31]
Generated Node #0,0,0: 58:[55, 31] Operation: 61-30=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[55, 31], Operations: ['77-16=61', '61-30=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,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_1
|
sum_heuristic
|
[
89,
14,
72,
91
] | 65 |
[
"91-89=2",
"14/2=7",
"72-7=65"
] |
Current State: 65:[89, 14, 72, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [14, 72, 2]
Generated Node #2: [14, 72, 2] from Operation: 91-89=2
Current State: 65:[14, 72, 2], Operations: ['91-89=2']
Exploring Operation: 14/2=7, Resulting Numbers: [72, 7]
Generated Node #3: [72, 7] from Operation: 14/2=7
Current State: 65:[72, 7], Operations: ['91-89=2', '14/2=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[89, 14, 72, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [14, 72, 2]
Generated Node #0,0: 65:[14, 72, 2] Operation: 91-89=2
Exploring Operation: 89-72=17, Resulting Numbers: [14, 91, 17]
Generated Node #0,1: 65:[14, 91, 17] Operation: 89-72=17
Moving to Node #0,0
Current State: 65:[14, 72, 2], Operations: ['91-89=2']
Exploring Operation: 72-2=70, Resulting Numbers: [14, 70]
Generated Node #0,0,0: 65:[14, 70] Operation: 72-2=70
Exploring Operation: 14-2=12, Resulting Numbers: [72, 12]
Generated Node #0,0,1: 65:[72, 12] Operation: 14-2=12
Moving to Node #0,1
Current State: 65:[14, 91, 17], Operations: ['89-72=17']
Exploring Operation: 91-17=74, Resulting Numbers: [14, 74]
Generated Node #0,1,0: 65:[14, 74] Operation: 91-17=74
Exploring Operation: 91-14=77, Resulting Numbers: [17, 77]
Generated Node #0,1,1: 65:[17, 77] Operation: 91-14=77
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[14, 74], Operations: ['89-72=17', '91-17=74']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[17, 77], Operations: ['89-72=17', '91-14=77']
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 17+77=94, Resulting Numbers: [94]
94,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 65:[14, 70], Operations: ['91-89=2', '72-2=70']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[72, 12], Operations: ['91-89=2', '14-2=12']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,65 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
12,
41,
73,
71
] | 51 |
[
"12+41=53",
"73-71=2",
"53-2=51"
] |
Current State: 51:[12, 41, 73, 71], Operations: []
Exploring Operation: 12+41=53, Resulting Numbers: [73, 71, 53]
Generated Node #2: [73, 71, 53] from Operation: 12+41=53
Current State: 51:[73, 71, 53], Operations: ['12+41=53']
Exploring Operation: 73-71=2, Resulting Numbers: [53, 2]
Generated Node #3: [53, 2] from Operation: 73-71=2
Current State: 51:[53, 2], Operations: ['12+41=53', '73-71=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[12, 41, 73, 71], Operations: []
Exploring Operation: 73-41=32, Resulting Numbers: [12, 71, 32]
Generated Node #0,0: 51:[12, 71, 32] Operation: 73-41=32
Exploring Operation: 71-41=30, Resulting Numbers: [12, 73, 30]
Generated Node #0,1: 51:[12, 73, 30] Operation: 71-41=30
Exploring Operation: 73-71=2, Resulting Numbers: [12, 41, 2]
Generated Node #0,2: 51:[12, 41, 2] Operation: 73-71=2
Exploring Operation: 71-12=59, Resulting Numbers: [41, 73, 59]
Generated Node #0,3: 51:[41, 73, 59] Operation: 71-12=59
Exploring Operation: 73-12=61, Resulting Numbers: [41, 71, 61]
Generated Node #0,4: 51:[41, 71, 61] Operation: 73-12=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[12, 41, 2], Operations: ['73-71=2']
Exploring Operation: 12/2=6, Resulting Numbers: [41, 6]
Generated Node #0,2,0: 51:[41, 6] Operation: 12/2=6
Exploring Operation: 41-12=29, Resulting Numbers: [2, 29]
Generated Node #0,2,1: 51:[2, 29] Operation: 41-12=29
Exploring Operation: 12+41=53, Resulting Numbers: [2, 53]
Generated Node #0,2,2: 51:[2, 53] Operation: 12+41=53
Exploring Operation: 41+2=43, Resulting Numbers: [12, 43]
Generated Node #0,2,3: 51:[12, 43] Operation: 41+2=43
Exploring Operation: 12+2=14, Resulting Numbers: [41, 14]
Generated Node #0,2,4: 51:[41, 14] Operation: 12+2=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[2, 53], Operations: ['73-71=2', '12+41=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[12, 41, 73, 71], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [12, 41, 2]
Generated Node #0,2: 51:[12, 41, 2] Operation: 73-71=2
Moving to Node #0,2
Current State: 51:[12, 41, 2], Operations: ['73-71=2']
Exploring Operation: 12+41=53, Resulting Numbers: [2, 53]
Generated Node #0,2,2: 51:[2, 53] Operation: 12+41=53
Moving to Node #0,2,2
Current State: 51:[2, 53], Operations: ['73-71=2', '12+41=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
46,
24,
34,
42
] | 31 |
[
"24*42=1008",
"46+1008=1054",
"1054/34=31"
] |
Current State: 31:[46, 24, 34, 42], Operations: []
Exploring Operation: 24*42=1008, Resulting Numbers: [46, 34, 1008]
Generated Node #2: [46, 34, 1008] from Operation: 24*42=1008
Current State: 31:[46, 34, 1008], Operations: ['24*42=1008']
Exploring Operation: 46+1008=1054, Resulting Numbers: [34, 1054]
Generated Node #3: [34, 1054] from Operation: 46+1008=1054
Current State: 31:[34, 1054], Operations: ['24*42=1008', '46+1008=1054']
Exploring Operation: 1054/34=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[46, 24, 34, 42], Operations: []
Exploring Operation: 46-24=22, Resulting Numbers: [34, 42, 22]
Generated Node #0,0: 31:[34, 42, 22] Operation: 46-24=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[34, 42, 22], Operations: ['46-24=22']
Exploring Operation: 42-22=20, Resulting Numbers: [34, 20]
Generated Node #0,0,0: 31:[34, 20] Operation: 42-22=20
Moving to Node #0,0,0
Current State: 31:[34, 20], Operations: ['46-24=22', '42-22=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
78,
75,
10,
81
] | 94 |
[
"78-75=3",
"10+81=91",
"3+91=94"
] |
Current State: 94:[78, 75, 10, 81], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [10, 81, 3]
Generated Node #2: [10, 81, 3] from Operation: 78-75=3
Current State: 94:[10, 81, 3], Operations: ['78-75=3']
Exploring Operation: 10+81=91, Resulting Numbers: [3, 91]
Generated Node #3: [3, 91] from Operation: 10+81=91
Current State: 94:[3, 91], Operations: ['78-75=3', '10+81=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[78, 75, 10, 81], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [10, 81, 3]
Generated Node #0,0: 94:[10, 81, 3] Operation: 78-75=3
Exploring Operation: 78+10=88, Resulting Numbers: [75, 81, 88]
Generated Node #0,1: 94:[75, 81, 88] Operation: 78+10=88
Exploring Operation: 81-75=6, Resulting Numbers: [78, 10, 6]
Generated Node #0,2: 94:[78, 10, 6] Operation: 81-75=6
Exploring Operation: 81-78=3, Resulting Numbers: [75, 10, 3]
Generated Node #0,3: 94:[75, 10, 3] Operation: 81-78=3
Moving to Node #0,0
Current State: 94:[10, 81, 3], Operations: ['78-75=3']
Exploring Operation: 81+3=84, Resulting Numbers: [10, 84]
Generated Node #0,0,0: 94:[10, 84] Operation: 81+3=84
Exploring Operation: 81-10=71, Resulting Numbers: [3, 71]
Generated Node #0,0,1: 94:[3, 71] Operation: 81-10=71
Exploring Operation: 10-3=7, Resulting Numbers: [81, 7]
Generated Node #0,0,2: 94:[81, 7] Operation: 10-3=7
Exploring Operation: 10+81=91, Resulting Numbers: [3, 91]
Generated Node #0,0,3: 94:[3, 91] Operation: 10+81=91
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[3, 91], Operations: ['78-75=3', '10+81=91']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,94 unequal: No Solution
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[78, 75, 10, 81], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [10, 81, 3]
Generated Node #0,0: 94:[10, 81, 3] Operation: 78-75=3
Moving to Node #0,0
Current State: 94:[10, 81, 3], Operations: ['78-75=3']
Exploring Operation: 10+81=91, Resulting Numbers: [3, 91]
Generated Node #0,0,3: 94:[3, 91] Operation: 10+81=91
Moving to Node #0,0,3
Current State: 94:[3, 91], Operations: ['78-75=3', '10+81=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
96,
53,
97,
65
] | 89 |
[
"65-53=12",
"96/12=8",
"97-8=89"
] |
Current State: 89:[96, 53, 97, 65], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [96, 97, 12]
Generated Node #2: [96, 97, 12] from Operation: 65-53=12
Current State: 89:[96, 97, 12], Operations: ['65-53=12']
Exploring Operation: 96/12=8, Resulting Numbers: [97, 8]
Generated Node #3: [97, 8] from Operation: 96/12=8
Current State: 89:[97, 8], Operations: ['65-53=12', '96/12=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[96, 53, 97, 65], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [97, 65, 43]
Generated Node #0,0: 89:[97, 65, 43] Operation: 96-53=43
Exploring Operation: 97-53=44, Resulting Numbers: [96, 65, 44]
Generated Node #0,1: 89:[96, 65, 44] Operation: 97-53=44
Exploring Operation: 53+65=118, Resulting Numbers: [96, 97, 118]
Generated Node #0,2: 89:[96, 97, 118] Operation: 53+65=118
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[96, 97, 118], Operations: ['53+65=118']
Exploring Operation: 118-96=22, Resulting Numbers: [97, 22]
Generated Node #0,2,0: 89:[97, 22] Operation: 118-96=22
Exploring Operation: 118-97=21, Resulting Numbers: [96, 21]
Generated Node #0,2,1: 89:[96, 21] Operation: 118-97=21
Exploring Operation: 97-96=1, Resulting Numbers: [118, 1]
Generated Node #0,2,2: 89:[118, 1] Operation: 97-96=1
Moving to Node #0,2,0
Current State: 89:[97, 22], Operations: ['53+65=118', '118-96=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,89 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[96, 21], Operations: ['53+65=118', '118-97=21']
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,89 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[118, 1], Operations: ['53+65=118', '97-96=1']
Exploring Operation: 118/1=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 118*1=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 118-1=117, Resulting Numbers: [117]
117,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[96, 65, 44], Operations: ['97-53=44']
Exploring Operation: 65+44=109, Resulting Numbers: [96, 109]
Generated Node #0,1,0: 89:[96, 109] Operation: 65+44=109
Exploring Operation: 96+44=140, Resulting Numbers: [65, 140]
Generated Node #0,1,1: 89:[65, 140] Operation: 96+44=140
Exploring Operation: 96-44=52, Resulting Numbers: [65, 52]
Generated Node #0,1,2: 89:[65, 52] Operation: 96-44=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[96, 109], Operations: ['97-53=44', '65+44=109']
Exploring Operation: 96*109=10464, Resulting Numbers: [10464]
10464,89 unequal: No Solution
Exploring Operation: 109-96=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 96+109=205, Resulting Numbers: [205]
205,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[65, 52], Operations: ['97-53=44', '96-44=52']
Exploring Operation: 65+52=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 65*52=3380, Resulting Numbers: [3380]
3380,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[65, 140], Operations: ['97-53=44', '96+44=140']
Exploring Operation: 65*140=9100, Resulting Numbers: [9100]
9100,89 unequal: No Solution
Exploring Operation: 65+140=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Exploring Operation: 140-65=75, Resulting Numbers: [75]
75,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[97, 65, 43], Operations: ['96-53=43']
Exploring Operation: 97-43=54, Resulting Numbers: [65, 54]
Generated Node #0,0,0: 89:[65, 54] Operation: 97-43=54
Exploring Operation: 65+43=108, Resulting Numbers: [97, 108]
Generated Node #0,0,1: 89:[97, 108] Operation: 65+43=108
Exploring Operation: 97+43=140, Resulting Numbers: [65, 140]
Generated Node #0,0,2: 89:[65, 140] Operation: 97+43=140
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[97, 108], Operations: ['96-53=43', '65+43=108']
Exploring Operation: 97*108=10476, Resulting Numbers: [10476]
10476,89 unequal: No Solution
Exploring Operation: 108-97=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 97+108=205, Resulting Numbers: [205]
205,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[65, 54], Operations: ['96-53=43', '97-43=54']
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 65*54=3510, Resulting Numbers: [3510]
3510,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[65, 140], Operations: ['96-53=43', '97+43=140']
Exploring Operation: 65+140=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Exploring Operation: 65*140=9100, Resulting Numbers: [9100]
9100,89 unequal: No Solution
Exploring Operation: 140-65=75, Resulting Numbers: [75]
75,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
7,
6,
45,
51
] | 29 |
[
"51-45=6",
"6*6=36",
"36-7=29"
] |
Current State: 29:[7, 6, 45, 51], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [7, 6, 6]
Generated Node #2: [7, 6, 6] from Operation: 51-45=6
Current State: 29:[7, 6, 6], Operations: ['51-45=6']
Exploring Operation: 6*6=36, Resulting Numbers: [7, 36]
Generated Node #3: [7, 36] from Operation: 6*6=36
Current State: 29:[7, 36], Operations: ['51-45=6', '6*6=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[7, 6, 45, 51], Operations: []
Exploring Operation: 7*6=42, Resulting Numbers: [45, 51, 42]
Generated Node #0,0: 29:[45, 51, 42] Operation: 7*6=42
Exploring Operation: 7+6=13, Resulting Numbers: [45, 51, 13]
Generated Node #0,1: 29:[45, 51, 13] Operation: 7+6=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[45, 51, 42], Operations: ['7*6=42']
Exploring Operation: 51-42=9, Resulting Numbers: [45, 9]
Generated Node #0,0,0: 29:[45, 9] Operation: 51-42=9
Exploring Operation: 51-45=6, Resulting Numbers: [42, 6]
Generated Node #0,0,1: 29:[42, 6] Operation: 51-45=6
Moving to Node #0,0,0
Current State: 29:[45, 9], Operations: ['7*6=42', '51-42=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[42, 6], Operations: ['7*6=42', '51-45=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[45, 51, 13], Operations: ['7+6=13']
Exploring Operation: 51-13=38, Resulting Numbers: [45, 38]
Generated Node #0,1,0: 29:[45, 38] Operation: 51-13=38
Exploring Operation: 45-13=32, Resulting Numbers: [51, 32]
Generated Node #0,1,1: 29:[51, 32] Operation: 45-13=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[45, 38], Operations: ['7+6=13', '51-13=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[51, 32], Operations: ['7+6=13', '45-13=32']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
14,
8,
27,
5
] | 15 |
[
"8-5=3",
"14*3=42",
"42-27=15"
] |
Current State: 15:[14, 8, 27, 5], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [14, 27, 3]
Generated Node #2: [14, 27, 3] from Operation: 8-5=3
Current State: 15:[14, 27, 3], Operations: ['8-5=3']
Exploring Operation: 14*3=42, Resulting Numbers: [27, 42]
Generated Node #3: [27, 42] from Operation: 14*3=42
Current State: 15:[27, 42], Operations: ['8-5=3', '14*3=42']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[14, 8, 27, 5], Operations: []
Exploring Operation: 27-14=13, Resulting Numbers: [8, 5, 13]
Generated Node #0,0: 15:[8, 5, 13] Operation: 27-14=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[8, 5, 13], Operations: ['27-14=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 15:[5, 5] Operation: 13-8=5
Moving to Node #0,0,0
Current State: 15:[5, 5], Operations: ['27-14=13', '13-8=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,15 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
|
[
32,
88,
60,
91
] | 95 |
[
"88-32=56",
"60+91=151",
"151-56=95"
] |
Current State: 95:[32, 88, 60, 91], Operations: []
Exploring Operation: 88-32=56, Resulting Numbers: [60, 91, 56]
Generated Node #2: [60, 91, 56] from Operation: 88-32=56
Current State: 95:[60, 91, 56], Operations: ['88-32=56']
Exploring Operation: 60+91=151, Resulting Numbers: [56, 151]
Generated Node #3: [56, 151] from Operation: 60+91=151
Current State: 95:[56, 151], Operations: ['88-32=56', '60+91=151']
Exploring Operation: 151-56=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[32, 88, 60, 91], Operations: []
Exploring Operation: 60-32=28, Resulting Numbers: [88, 91, 28]
Generated Node #0,0: 95:[88, 91, 28] Operation: 60-32=28
Exploring Operation: 32+60=92, Resulting Numbers: [88, 91, 92]
Generated Node #0,1: 95:[88, 91, 92] Operation: 32+60=92
Moving to Node #0,1
Current State: 95:[88, 91, 92], Operations: ['32+60=92']
Exploring Operation: 92-88=4, Resulting Numbers: [91, 4]
Generated Node #0,1,0: 95:[91, 4] Operation: 92-88=4
Exploring Operation: 91-88=3, Resulting Numbers: [92, 3]
Generated Node #0,1,1: 95:[92, 3] Operation: 91-88=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[91, 4], Operations: ['32+60=92', '92-88=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[32, 88, 60, 91], Operations: []
Exploring Operation: 32+60=92, Resulting Numbers: [88, 91, 92]
Generated Node #0,1: 95:[88, 91, 92] Operation: 32+60=92
Moving to Node #0,1
Current State: 95:[88, 91, 92], Operations: ['32+60=92']
Exploring Operation: 92-88=4, Resulting Numbers: [91, 4]
Generated Node #0,1,0: 95:[91, 4] Operation: 92-88=4
Moving to Node #0,1,0
Current State: 95:[91, 4], Operations: ['32+60=92', '92-88=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
51,
35,
87,
61
] | 42 |
[
"51-35=16",
"87-61=26",
"16+26=42"
] |
Current State: 42:[51, 35, 87, 61], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [87, 61, 16]
Generated Node #2: [87, 61, 16] from Operation: 51-35=16
Current State: 42:[87, 61, 16], Operations: ['51-35=16']
Exploring Operation: 87-61=26, Resulting Numbers: [16, 26]
Generated Node #3: [16, 26] from Operation: 87-61=26
Current State: 42:[16, 26], Operations: ['51-35=16', '87-61=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[51, 35, 87, 61], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [51, 87, 26]
Generated Node #0,0: 42:[51, 87, 26] Operation: 61-35=26
Exploring Operation: 61-51=10, Resulting Numbers: [35, 87, 10]
Generated Node #0,1: 42:[35, 87, 10] Operation: 61-51=10
Exploring Operation: 87-35=52, Resulting Numbers: [51, 61, 52]
Generated Node #0,2: 42:[51, 61, 52] Operation: 87-35=52
Exploring Operation: 87-51=36, Resulting Numbers: [35, 61, 36]
Generated Node #0,3: 42:[35, 61, 36] Operation: 87-51=36
Exploring Operation: 87-61=26, Resulting Numbers: [51, 35, 26]
Generated Node #0,4: 42:[51, 35, 26] Operation: 87-61=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[51, 35, 26], Operations: ['87-61=26']
Exploring Operation: 35+26=61, Resulting Numbers: [51, 61]
Generated Node #0,4,0: 42:[51, 61] Operation: 35+26=61
Exploring Operation: 51-26=25, Resulting Numbers: [35, 25]
Generated Node #0,4,1: 42:[35, 25] Operation: 51-26=25
Exploring Operation: 35-26=9, Resulting Numbers: [51, 9]
Generated Node #0,4,2: 42:[51, 9] Operation: 35-26=9
Exploring Operation: 51-35=16, Resulting Numbers: [26, 16]
Generated Node #0,4,3: 42:[26, 16] Operation: 51-35=16
Exploring Operation: 51+26=77, Resulting Numbers: [35, 77]
Generated Node #0,4,4: 42:[35, 77] Operation: 51+26=77
Moving to Node #0,4,3
Current State: 42:[26, 16], Operations: ['87-61=26', '51-35=16']
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,42 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[51, 35, 87, 61], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [51, 35, 26]
Generated Node #0,4: 42:[51, 35, 26] Operation: 87-61=26
Moving to Node #0,4
Current State: 42:[51, 35, 26], Operations: ['87-61=26']
Exploring Operation: 51-35=16, Resulting Numbers: [26, 16]
Generated Node #0,4,3: 42:[26, 16] Operation: 51-35=16
Moving to Node #0,4,3
Current State: 42:[26, 16], Operations: ['87-61=26', '51-35=16']
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
62,
33,
4,
56
] | 89 |
[
"62-33=29",
"4+56=60",
"29+60=89"
] |
Current State: 89:[62, 33, 4, 56], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [4, 56, 29]
Generated Node #2: [4, 56, 29] from Operation: 62-33=29
Current State: 89:[4, 56, 29], Operations: ['62-33=29']
Exploring Operation: 4+56=60, Resulting Numbers: [29, 60]
Generated Node #3: [29, 60] from Operation: 4+56=60
Current State: 89:[29, 60], Operations: ['62-33=29', '4+56=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[62, 33, 4, 56], Operations: []
Exploring Operation: 33*4=132, Resulting Numbers: [62, 56, 132]
Generated Node #0,0: 89:[62, 56, 132] Operation: 33*4=132
Exploring Operation: 62+4=66, Resulting Numbers: [33, 56, 66]
Generated Node #0,1: 89:[33, 56, 66] Operation: 62+4=66
Exploring Operation: 33+4=37, Resulting Numbers: [62, 56, 37]
Generated Node #0,2: 89:[62, 56, 37] Operation: 33+4=37
Moving to Node #0,0
Current State: 89:[62, 56, 132], Operations: ['33*4=132']
Exploring Operation: 132-62=70, Resulting Numbers: [56, 70]
Generated Node #0,0,0: 89:[56, 70] Operation: 132-62=70
Exploring Operation: 62+56=118, Resulting Numbers: [132, 118]
Generated Node #0,0,1: 89:[132, 118] Operation: 62+56=118
Exploring Operation: 132-56=76, Resulting Numbers: [62, 76]
Generated Node #0,0,2: 89:[62, 76] Operation: 132-56=76
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[62, 76], Operations: ['33*4=132', '132-56=76']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,89 unequal: No Solution
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,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,0,0
Current State: 89:[56, 70], Operations: ['33*4=132', '132-62=70']
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,89 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,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,0,1
Current State: 89:[132, 118], Operations: ['33*4=132', '62+56=118']
Exploring Operation: 132+118=250, Resulting Numbers: [250]
250,89 unequal: No Solution
Exploring Operation: 132-118=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 132*118=15576, Resulting Numbers: [15576]
15576,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:[33, 56, 66], Operations: ['62+4=66']
Exploring Operation: 33+56=89, Resulting Numbers: [66, 89]
Generated Node #0,1,0: 89:[66, 89] Operation: 33+56=89
Exploring Operation: 33+66=99, Resulting Numbers: [56, 99]
Generated Node #0,1,1: 89:[56, 99] Operation: 33+66=99
Exploring Operation: 56-33=23, Resulting Numbers: [66, 23]
Generated Node #0,1,2: 89:[66, 23] Operation: 56-33=23
Moving to Node #0,2
Current State: 89:[62, 56, 37], Operations: ['33+4=37']
Exploring Operation: 56+37=93, Resulting Numbers: [62, 93]
Generated Node #0,2,0: 89:[62, 93] Operation: 56+37=93
Exploring Operation: 62+37=99, Resulting Numbers: [56, 99]
Generated Node #0,2,1: 89:[56, 99] Operation: 62+37=99
Exploring Operation: 62+56=118, Resulting Numbers: [37, 118]
Generated Node #0,2,2: 89:[37, 118] Operation: 62+56=118
Moving to Node #0,1,0
Current State: 89:[66, 89], Operations: ['62+4=66', '33+56=89']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 66*89=5874, Resulting Numbers: [5874]
5874,89 unequal: No Solution
Exploring Operation: 66+89=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[62, 93], Operations: ['33+4=37', '56+37=93']
Exploring Operation: 62+93=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 62*93=5766, Resulting Numbers: [5766]
5766,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[56, 99], Operations: ['33+4=37', '62+37=99']
Exploring Operation: 56+99=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 56*99=5544, Resulting Numbers: [5544]
5544,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[56, 99], Operations: ['62+4=66', '33+66=99']
Exploring Operation: 56+99=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Exploring Operation: 56*99=5544, Resulting Numbers: [5544]
5544,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[37, 118], Operations: ['33+4=37', '62+56=118']
Exploring Operation: 118-37=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 37*118=4366, Resulting Numbers: [4366]
4366,89 unequal: No Solution
Exploring Operation: 37+118=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[66, 23], Operations: ['62+4=66', '56-33=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[62, 33, 4, 56], Operations: []
Exploring Operation: 62+4=66, Resulting Numbers: [33, 56, 66]
Generated Node #0,1: 89:[33, 56, 66] Operation: 62+4=66
Moving to Node #0,1
Current State: 89:[33, 56, 66], Operations: ['62+4=66']
Exploring Operation: 56-33=23, Resulting Numbers: [66, 23]
Generated Node #0,1,2: 89:[66, 23] Operation: 56-33=23
Moving to Node #0,1,2
Current State: 89:[66, 23], Operations: ['62+4=66', '56-33=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.96441 |
hs_3
|
sum_heuristic
|
[
45,
90,
81,
13
] | 70 |
[
"90/45=2",
"81-13=68",
"2+68=70"
] |
Current State: 70:[45, 90, 81, 13], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [81, 13, 2]
Generated Node #2: [81, 13, 2] from Operation: 90/45=2
Current State: 70:[81, 13, 2], Operations: ['90/45=2']
Exploring Operation: 81-13=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 81-13=68
Current State: 70:[2, 68], Operations: ['90/45=2', '81-13=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[45, 90, 81, 13], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [81, 13, 2]
Generated Node #0,0: 70:[81, 13, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 70:[81, 13, 2], Operations: ['90/45=2']
Exploring Operation: 81-13=68, Resulting Numbers: [2, 68]
Generated Node #0,0,0: 70:[2, 68] Operation: 81-13=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[2, 68], Operations: ['90/45=2', '81-13=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[45, 90, 81, 13], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [81, 13, 2]
Generated Node #0,0: 70:[81, 13, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 70:[81, 13, 2], Operations: ['90/45=2']
Exploring Operation: 81-13=68, Resulting Numbers: [2, 68]
Generated Node #0,0,0: 70:[2, 68] Operation: 81-13=68
Moving to Node #0,0,0
Current State: 70:[2, 68], Operations: ['90/45=2', '81-13=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
37,
68,
89,
91
] | 99 |
[
"91-89=2",
"68*2=136",
"136-37=99"
] |
Current State: 99:[37, 68, 89, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [37, 68, 2]
Generated Node #2: [37, 68, 2] from Operation: 91-89=2
Current State: 99:[37, 68, 2], Operations: ['91-89=2']
Exploring Operation: 68*2=136, Resulting Numbers: [37, 136]
Generated Node #3: [37, 136] from Operation: 68*2=136
Current State: 99:[37, 136], Operations: ['91-89=2', '68*2=136']
Exploring Operation: 136-37=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[37, 68, 89, 91], Operations: []
Exploring Operation: 89-68=21, Resulting Numbers: [37, 91, 21]
Generated Node #0,0: 99:[37, 91, 21] Operation: 89-68=21
Exploring Operation: 37+68=105, Resulting Numbers: [89, 91, 105]
Generated Node #0,1: 99:[89, 91, 105] Operation: 37+68=105
Exploring Operation: 68-37=31, Resulting Numbers: [89, 91, 31]
Generated Node #0,2: 99:[89, 91, 31] Operation: 68-37=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[89, 91, 31], Operations: ['68-37=31']
Exploring Operation: 89-31=58, Resulting Numbers: [91, 58]
Generated Node #0,2,0: 99:[91, 58] Operation: 89-31=58
Exploring Operation: 91-89=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 99:[31, 2] Operation: 91-89=2
Exploring Operation: 89+31=120, Resulting Numbers: [91, 120]
Generated Node #0,2,2: 99:[91, 120] Operation: 89+31=120
Moving to Node #0,2,1
Current State: 99:[31, 2], Operations: ['68-37=31', '91-89=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[91, 120], Operations: ['68-37=31', '89+31=120']
Exploring Operation: 91*120=10920, Resulting Numbers: [10920]
10920,99 unequal: No Solution
Exploring Operation: 91+120=211, Resulting Numbers: [211]
211,99 unequal: No Solution
Exploring Operation: 120-91=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[91, 58], Operations: ['68-37=31', '89-31=58']
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,99 unequal: No Solution
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,99 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[37, 91, 21], Operations: ['89-68=21']
Exploring Operation: 91-37=54, Resulting Numbers: [21, 54]
Generated Node #0,0,0: 99:[21, 54] Operation: 91-37=54
Exploring Operation: 37-21=16, Resulting Numbers: [91, 16]
Generated Node #0,0,1: 99:[91, 16] Operation: 37-21=16
Exploring Operation: 91+21=112, Resulting Numbers: [37, 112]
Generated Node #0,0,2: 99:[37, 112] Operation: 91+21=112
Moving to Node #0,0,1
Current State: 99:[91, 16], Operations: ['89-68=21', '37-21=16']
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,99 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[37, 112], Operations: ['89-68=21', '91+21=112']
Exploring Operation: 112-37=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 37*112=4144, Resulting Numbers: [4144]
4144,99 unequal: No Solution
Exploring Operation: 37+112=149, Resulting Numbers: [149]
149,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[21, 54], Operations: ['89-68=21', '91-37=54']
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,99 unequal: No Solution
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[89, 91, 105], Operations: ['37+68=105']
Exploring Operation: 105-89=16, Resulting Numbers: [91, 16]
Generated Node #0,1,0: 99:[91, 16] Operation: 105-89=16
Exploring Operation: 91-89=2, Resulting Numbers: [105, 2]
Generated Node #0,1,1: 99:[105, 2] Operation: 91-89=2
Exploring Operation: 105-91=14, Resulting Numbers: [89, 14]
Generated Node #0,1,2: 99:[89, 14] Operation: 105-91=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[105, 2], Operations: ['37+68=105', '91-89=2']
Exploring Operation: 105-2=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 105*2=210, Resulting Numbers: [210]
210,99 unequal: No Solution
Exploring Operation: 105+2=107, Resulting Numbers: [107]
107,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[91, 16], Operations: ['37+68=105', '105-89=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,99 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[89, 14], Operations: ['37+68=105', '105-91=14']
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 89+14=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 89*14=1246, Resulting Numbers: [1246]
1246,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
39,
63,
4,
29
] | 97 |
[
"63-29=34",
"4*34=136",
"136-39=97"
] |
Current State: 97:[39, 63, 4, 29], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [39, 4, 34]
Generated Node #2: [39, 4, 34] from Operation: 63-29=34
Current State: 97:[39, 4, 34], Operations: ['63-29=34']
Exploring Operation: 4*34=136, Resulting Numbers: [39, 136]
Generated Node #3: [39, 136] from Operation: 4*34=136
Current State: 97:[39, 136], Operations: ['63-29=34', '4*34=136']
Exploring Operation: 136-39=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[39, 63, 4, 29], Operations: []
Exploring Operation: 39+4=43, Resulting Numbers: [63, 29, 43]
Generated Node #0,0: 97:[63, 29, 43] Operation: 39+4=43
Exploring Operation: 39+29=68, Resulting Numbers: [63, 4, 68]
Generated Node #0,1: 97:[63, 4, 68] Operation: 39+29=68
Exploring Operation: 4*29=116, Resulting Numbers: [39, 63, 116]
Generated Node #0,2: 97:[39, 63, 116] Operation: 4*29=116
Exploring Operation: 63+4=67, Resulting Numbers: [39, 29, 67]
Generated Node #0,3: 97:[39, 29, 67] Operation: 63+4=67
Exploring Operation: 63+29=92, Resulting Numbers: [39, 4, 92]
Generated Node #0,4: 97:[39, 4, 92] Operation: 63+29=92
Moving to Node #0,2
Current State: 97:[39, 63, 116], Operations: ['4*29=116']
Exploring Operation: 39+116=155, Resulting Numbers: [63, 155]
Generated Node #0,2,0: 97:[63, 155] Operation: 39+116=155
Exploring Operation: 116-63=53, Resulting Numbers: [39, 53]
Generated Node #0,2,1: 97:[39, 53] Operation: 116-63=53
Exploring Operation: 116-39=77, Resulting Numbers: [63, 77]
Generated Node #0,2,2: 97:[63, 77] Operation: 116-39=77
Exploring Operation: 39+63=102, Resulting Numbers: [116, 102]
Generated Node #0,2,3: 97:[116, 102] Operation: 39+63=102
Exploring Operation: 63-39=24, Resulting Numbers: [116, 24]
Generated Node #0,2,4: 97:[116, 24] Operation: 63-39=24
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[116, 102], Operations: ['4*29=116', '39+63=102']
Exploring Operation: 116-102=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 116*102=11832, Resulting Numbers: [11832]
11832,97 unequal: No Solution
Exploring Operation: 116+102=218, Resulting Numbers: [218]
218,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[63, 77], Operations: ['4*29=116', '116-39=77']
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,97 unequal: No Solution
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[63, 155], Operations: ['4*29=116', '39+116=155']
Exploring Operation: 63+155=218, Resulting Numbers: [218]
218,97 unequal: No Solution
Exploring Operation: 63*155=9765, Resulting Numbers: [9765]
9765,97 unequal: No Solution
Exploring Operation: 155-63=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[116, 24], Operations: ['4*29=116', '63-39=24']
Exploring Operation: 116+24=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 116*24=2784, Resulting Numbers: [2784]
2784,97 unequal: No Solution
Exploring Operation: 116-24=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[39, 53], Operations: ['4*29=116', '116-63=53']
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,97 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[63, 4, 68], Operations: ['39+29=68']
Exploring Operation: 4+68=72, Resulting Numbers: [63, 72]
Generated Node #0,1,0: 97:[63, 72] Operation: 4+68=72
Exploring Operation: 63-4=59, Resulting Numbers: [68, 59]
Generated Node #0,1,1: 97:[68, 59] Operation: 63-4=59
Exploring Operation: 68-4=64, Resulting Numbers: [63, 64]
Generated Node #0,1,2: 97:[63, 64] Operation: 68-4=64
Exploring Operation: 63+4=67, Resulting Numbers: [68, 67]
Generated Node #0,1,3: 97:[68, 67] Operation: 63+4=67
Exploring Operation: 68/4=17, Resulting Numbers: [63, 17]
Generated Node #0,1,4: 97:[63, 17] Operation: 68/4=17
Moving to Node #0,4
Current State: 97:[39, 4, 92], Operations: ['63+29=92']
Exploring Operation: 39+4=43, Resulting Numbers: [92, 43]
Generated Node #0,4,0: 97:[92, 43] Operation: 39+4=43
Exploring Operation: 4+92=96, Resulting Numbers: [39, 96]
Generated Node #0,4,1: 97:[39, 96] Operation: 4+92=96
Exploring Operation: 39*4=156, Resulting Numbers: [92, 156]
Generated Node #0,4,2: 97:[92, 156] Operation: 39*4=156
Exploring Operation: 39-4=35, Resulting Numbers: [92, 35]
Generated Node #0,4,3: 97:[92, 35] Operation: 39-4=35
Exploring Operation: 92-4=88, Resulting Numbers: [39, 88]
Generated Node #0,4,4: 97:[39, 88] Operation: 92-4=88
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[92, 43], Operations: ['63+29=92', '39+4=43']
Exploring Operation: 92+43=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 92*43=3956, Resulting Numbers: [3956]
3956,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[39, 96], Operations: ['63+29=92', '4+92=96']
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 97:[92, 156], Operations: ['63+29=92', '39*4=156']
Exploring Operation: 92+156=248, Resulting Numbers: [248]
248,97 unequal: No Solution
Exploring Operation: 156-92=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Exploring Operation: 92*156=14352, Resulting Numbers: [14352]
14352,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[92, 35], Operations: ['63+29=92', '39-4=35']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[39, 88], Operations: ['63+29=92', '92-4=88']
Exploring Operation: 39+88=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 39*88=3432, Resulting Numbers: [3432]
3432,97 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: 97:[63, 29, 43], Operations: ['39+4=43']
Exploring Operation: 63-29=34, Resulting Numbers: [43, 34]
Generated Node #0,0,0: 97:[43, 34] Operation: 63-29=34
Exploring Operation: 43-29=14, Resulting Numbers: [63, 14]
Generated Node #0,0,1: 97:[63, 14] Operation: 43-29=14
Exploring Operation: 63+29=92, Resulting Numbers: [43, 92]
Generated Node #0,0,2: 97:[43, 92] Operation: 63+29=92
Exploring Operation: 63+43=106, Resulting Numbers: [29, 106]
Generated Node #0,0,3: 97:[29, 106] Operation: 63+43=106
Exploring Operation: 29+43=72, Resulting Numbers: [63, 72]
Generated Node #0,0,4: 97:[63, 72] Operation: 29+43=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[43, 92], Operations: ['39+4=43', '63+29=92']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 43+92=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 43*92=3956, Resulting Numbers: [3956]
3956,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[63, 72], Operations: ['39+4=43', '29+43=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[29, 106], Operations: ['39+4=43', '63+43=106']
Exploring Operation: 29+106=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 29*106=3074, Resulting Numbers: [3074]
3074,97 unequal: No Solution
Exploring Operation: 106-29=77, Resulting Numbers: [77]
77,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[43, 34], Operations: ['39+4=43', '63-29=34']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[63, 14], Operations: ['39+4=43', '43-29=14']
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,97 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[39, 29, 67], Operations: ['63+4=67']
Exploring Operation: 67-29=38, Resulting Numbers: [39, 38]
Generated Node #0,3,0: 97:[39, 38] Operation: 67-29=38
Exploring Operation: 39+29=68, Resulting Numbers: [67, 68]
Generated Node #0,3,1: 97:[67, 68] Operation: 39+29=68
Exploring Operation: 39-29=10, Resulting Numbers: [67, 10]
Generated Node #0,3,2: 97:[67, 10] Operation: 39-29=10
Exploring Operation: 39+67=106, Resulting Numbers: [29, 106]
Generated Node #0,3,3: 97:[29, 106] Operation: 39+67=106
Exploring Operation: 29+67=96, Resulting Numbers: [39, 96]
Generated Node #0,3,4: 97:[39, 96] Operation: 29+67=96
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[67, 68], Operations: ['63+4=67', '39+29=68']
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 97:[39, 96], Operations: ['63+4=67', '29+67=96']
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,97 unequal: No Solution
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[29, 106], Operations: ['63+4=67', '39+67=106']
Exploring Operation: 29+106=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 29*106=3074, Resulting Numbers: [3074]
3074,97 unequal: No Solution
Exploring Operation: 106-29=77, Resulting Numbers: [77]
77,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[39, 38], Operations: ['63+4=67', '67-29=38']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,97 unequal: No Solution
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[67, 10], Operations: ['63+4=67', '39-29=10']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 97:[63, 72], Operations: ['39+29=68', '4+68=72']
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,97 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[68, 67], Operations: ['39+29=68', '63+4=67']
Exploring Operation: 68*67=4556, Resulting Numbers: [4556]
4556,97 unequal: No Solution
Exploring Operation: 68+67=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[68, 59], Operations: ['39+29=68', '63-4=59']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 68*59=4012, Resulting Numbers: [4012]
4012,97 unequal: No Solution
Exploring Operation: 68+59=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[63, 64], Operations: ['39+29=68', '68-4=64']
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,97 unequal: No Solution
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[63, 17], Operations: ['39+29=68', '68/4=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,97 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,97 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
17,
24,
27,
30
] | 72 |
[
"27-17=10",
"24*30=720",
"720/10=72"
] |
Current State: 72:[17, 24, 27, 30], Operations: []
Exploring Operation: 27-17=10, Resulting Numbers: [24, 30, 10]
Generated Node #2: [24, 30, 10] from Operation: 27-17=10
Current State: 72:[24, 30, 10], Operations: ['27-17=10']
Exploring Operation: 24*30=720, Resulting Numbers: [10, 720]
Generated Node #3: [10, 720] from Operation: 24*30=720
Current State: 72:[10, 720], Operations: ['27-17=10', '24*30=720']
Exploring Operation: 720/10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[17, 24, 27, 30], Operations: []
Exploring Operation: 30-17=13, Resulting Numbers: [24, 27, 13]
Generated Node #0,0: 72:[24, 27, 13] Operation: 30-17=13
Exploring Operation: 30-27=3, Resulting Numbers: [17, 24, 3]
Generated Node #0,1: 72:[17, 24, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[17, 24, 3], Operations: ['30-27=3']
Exploring Operation: 24-17=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 72:[3, 7] Operation: 24-17=7
Exploring Operation: 24*3=72, Resulting Numbers: [17, 72]
Generated Node #0,1,1: 72:[17, 72] Operation: 24*3=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[3, 7], Operations: ['30-27=3', '24-17=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,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:[17, 72], Operations: ['30-27=3', '24*3=72']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,72 unequal: No Solution
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,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,0
Current State: 72:[24, 27, 13], Operations: ['30-17=13']
Exploring Operation: 27-24=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 72:[13, 3] Operation: 27-24=3
Exploring Operation: 27-13=14, Resulting Numbers: [24, 14]
Generated Node #0,0,1: 72:[24, 14] Operation: 27-13=14
Moving to Node #0,0,0
Current State: 72:[13, 3], Operations: ['30-17=13', '27-24=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[24, 14], Operations: ['30-17=13', '27-13=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
12,
20,
5,
5
] | 45 |
[
"20-12=8",
"5*8=40",
"5+40=45"
] |
Current State: 45:[12, 20, 5, 5], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [5, 5, 8]
Generated Node #2: [5, 5, 8] from Operation: 20-12=8
Current State: 45:[5, 5, 8], Operations: ['20-12=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,45 equal: Goal Reached
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[12, 20, 5, 5], Operations: []
Exploring Operation: 20-5=15, Resulting Numbers: [12, 5, 15]
Generated Node #0,0: 45:[12, 5, 15] Operation: 20-5=15
Exploring Operation: 20-12=8, Resulting Numbers: [5, 5, 8]
Generated Node #0,1: 45:[5, 5, 8] Operation: 20-12=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[5, 5, 8], Operations: ['20-12=8']
Exploring Operation: 8-5=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 45:[5, 3] Operation: 8-5=3
Exploring Operation: 8-5=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 45:[5, 3] Operation: 8-5=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[5, 3], Operations: ['20-12=8', '8-5=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[5, 3], Operations: ['20-12=8', '8-5=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[12, 5, 15], Operations: ['20-5=15']
Exploring Operation: 15-12=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 45:[5, 3] Operation: 15-12=3
Exploring Operation: 12+5=17, Resulting Numbers: [15, 17]
Generated Node #0,0,1: 45:[15, 17] Operation: 12+5=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[5, 3], Operations: ['20-5=15', '15-12=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[15, 17], Operations: ['20-5=15', '12+5=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
90,
32,
9,
1
] | 86 |
[
"9-1=8",
"32/8=4",
"90-4=86"
] |
Current State: 86:[90, 32, 9, 1], Operations: []
Exploring Operation: 9-1=8, Resulting Numbers: [90, 32, 8]
Generated Node #2: [90, 32, 8] from Operation: 9-1=8
Current State: 86:[90, 32, 8], Operations: ['9-1=8']
Exploring Operation: 32/8=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 32/8=4
Current State: 86:[90, 4], Operations: ['9-1=8', '32/8=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[90, 32, 9, 1], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [32, 1, 81]
Generated Node #0,0: 86:[32, 1, 81] Operation: 90-9=81
Exploring Operation: 32+9=41, Resulting Numbers: [90, 1, 41]
Generated Node #0,1: 86:[90, 1, 41] Operation: 32+9=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[90, 1, 41], Operations: ['32+9=41']
Exploring Operation: 90-1=89, Resulting Numbers: [41, 89]
Generated Node #0,1,0: 86:[41, 89] Operation: 90-1=89
Exploring Operation: 1+41=42, Resulting Numbers: [90, 42]
Generated Node #0,1,1: 86:[90, 42] Operation: 1+41=42
Moving to Node #0,1,0
Current State: 86:[41, 89], Operations: ['32+9=41', '90-1=89']
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[90, 42], Operations: ['32+9=41', '1+41=42']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,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:[32, 1, 81], Operations: ['90-9=81']
Exploring Operation: 32+1=33, Resulting Numbers: [81, 33]
Generated Node #0,0,0: 86:[81, 33] Operation: 32+1=33
Exploring Operation: 81-32=49, Resulting Numbers: [1, 49]
Generated Node #0,0,1: 86:[1, 49] Operation: 81-32=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[1, 49], Operations: ['90-9=81', '81-32=49']
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[81, 33], Operations: ['90-9=81', '32+1=33']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
59,
75,
97,
8
] | 99 |
[
"75-59=16",
"16/8=2",
"97+2=99"
] |
Current State: 99:[59, 75, 97, 8], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [97, 8, 16]
Generated Node #2: [97, 8, 16] from Operation: 75-59=16
Current State: 99:[97, 8, 16], Operations: ['75-59=16']
Exploring Operation: 16/8=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 16/8=2
Current State: 99:[97, 2], Operations: ['75-59=16', '16/8=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[59, 75, 97, 8], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [75, 8, 38]
Generated Node #0,0: 99:[75, 8, 38] Operation: 97-59=38
Exploring Operation: 75-59=16, Resulting Numbers: [97, 8, 16]
Generated Node #0,1: 99:[97, 8, 16] Operation: 75-59=16
Moving to Node #0,1
Current State: 99:[97, 8, 16], Operations: ['75-59=16']
Exploring Operation: 16-8=8, Resulting Numbers: [97, 8]
Generated Node #0,1,0: 99:[97, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [97, 2]
Generated Node #0,1,1: 99:[97, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[97, 8], Operations: ['75-59=16', '16-8=8']
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[97, 2], Operations: ['75-59=16', '16/8=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[59, 75, 97, 8], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [97, 8, 16]
Generated Node #0,1: 99:[97, 8, 16] Operation: 75-59=16
Moving to Node #0,1
Current State: 99:[97, 8, 16], Operations: ['75-59=16']
Exploring Operation: 16/8=2, Resulting Numbers: [97, 2]
Generated Node #0,1,1: 99:[97, 2] Operation: 16/8=2
Moving to Node #0,1,1
Current State: 99:[97, 2], Operations: ['75-59=16', '16/8=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
mult_heuristic
|
[
30,
21,
5,
23
] | 56 |
[
"30-23=7",
"5*7=35",
"21+35=56"
] |
Current State: 56:[30, 21, 5, 23], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [21, 5, 7]
Generated Node #2: [21, 5, 7] from Operation: 30-23=7
Current State: 56:[21, 5, 7], Operations: ['30-23=7']
Exploring Operation: 5*7=35, Resulting Numbers: [21, 35]
Generated Node #3: [21, 35] from Operation: 5*7=35
Current State: 56:[21, 35], Operations: ['30-23=7', '5*7=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[30, 21, 5, 23], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [30, 5, 2]
Generated Node #0,0: 56:[30, 5, 2] Operation: 23-21=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[30, 5, 2], Operations: ['23-21=2']
Exploring Operation: 30/5=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 56:[2, 6] Operation: 30/5=6
Moving to Node #0,0,0
Current State: 56:[2, 6], Operations: ['23-21=2', '30/5=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
14,
77,
6,
52
] | 19 |
[
"77*6=462",
"462/14=33",
"52-33=19"
] |
Current State: 19:[14, 77, 6, 52], Operations: []
Exploring Operation: 77*6=462, Resulting Numbers: [14, 52, 462]
Generated Node #2: [14, 52, 462] from Operation: 77*6=462
Current State: 19:[14, 52, 462], Operations: ['77*6=462']
Exploring Operation: 462/14=33, Resulting Numbers: [52, 33]
Generated Node #3: [52, 33] from Operation: 462/14=33
Current State: 19:[52, 33], Operations: ['77*6=462', '462/14=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[14, 77, 6, 52], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [14, 6, 25]
Generated Node #0,0: 19:[14, 6, 25] Operation: 77-52=25
Exploring Operation: 77-14=63, Resulting Numbers: [6, 52, 63]
Generated Node #0,1: 19:[6, 52, 63] Operation: 77-14=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[14, 6, 25], Operations: ['77-52=25']
Exploring Operation: 25-6=19, Resulting Numbers: [14, 19]
Generated Node #0,0,0: 19:[14, 19] Operation: 25-6=19
Exploring Operation: 14+6=20, Resulting Numbers: [25, 20]
Generated Node #0,0,1: 19:[25, 20] Operation: 14+6=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[14, 19], Operations: ['77-52=25', '25-6=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,19 unequal: No Solution
No 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: 19:[25, 20], Operations: ['77-52=25', '14+6=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,19 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: 19:[6, 52, 63], Operations: ['77-14=63']
Exploring Operation: 52-6=46, Resulting Numbers: [63, 46]
Generated Node #0,1,0: 19:[63, 46] Operation: 52-6=46
Exploring Operation: 63-52=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 19:[6, 11] Operation: 63-52=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[6, 11], Operations: ['77-14=63', '63-52=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No 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: 19:[63, 46], Operations: ['77-14=63', '52-6=46']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
72,
88,
40,
64
] | 43 |
[
"72*40=2880",
"2880/64=45",
"88-45=43"
] |
Current State: 43:[72, 88, 40, 64], Operations: []
Exploring Operation: 72*40=2880, Resulting Numbers: [88, 64, 2880]
Generated Node #2: [88, 64, 2880] from Operation: 72*40=2880
Current State: 43:[88, 64, 2880], Operations: ['72*40=2880']
Exploring Operation: 2880/64=45, Resulting Numbers: [88, 45]
Generated Node #3: [88, 45] from Operation: 2880/64=45
Current State: 43:[88, 45], Operations: ['72*40=2880', '2880/64=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[72, 88, 40, 64], Operations: []
Exploring Operation: 72-40=32, Resulting Numbers: [88, 64, 32]
Generated Node #0,0: 43:[88, 64, 32] Operation: 72-40=32
Exploring Operation: 88-72=16, Resulting Numbers: [40, 64, 16]
Generated Node #0,1: 43:[40, 64, 16] Operation: 88-72=16
Exploring Operation: 88-64=24, Resulting Numbers: [72, 40, 24]
Generated Node #0,2: 43:[72, 40, 24] Operation: 88-64=24
Exploring Operation: 88-40=48, Resulting Numbers: [72, 64, 48]
Generated Node #0,3: 43:[72, 64, 48] Operation: 88-40=48
Moving to Node #0,1
Current State: 43:[40, 64, 16], Operations: ['88-72=16']
Exploring Operation: 64-16=48, Resulting Numbers: [40, 48]
Generated Node #0,1,0: 43:[40, 48] Operation: 64-16=48
Exploring Operation: 64+16=80, Resulting Numbers: [40, 80]
Generated Node #0,1,1: 43:[40, 80] Operation: 64+16=80
Exploring Operation: 40-16=24, Resulting Numbers: [64, 24]
Generated Node #0,1,2: 43:[64, 24] Operation: 40-16=24
Exploring Operation: 40+16=56, Resulting Numbers: [64, 56]
Generated Node #0,1,3: 43:[64, 56] Operation: 40+16=56
Moving to Node #0,2
Current State: 43:[72, 40, 24], Operations: ['88-64=24']
Exploring Operation: 40+24=64, Resulting Numbers: [72, 64]
Generated Node #0,2,0: 43:[72, 64] Operation: 40+24=64
Exploring Operation: 72-40=32, Resulting Numbers: [24, 32]
Generated Node #0,2,1: 43:[24, 32] Operation: 72-40=32
Exploring Operation: 72-24=48, Resulting Numbers: [40, 48]
Generated Node #0,2,2: 43:[40, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [40, 3]
Generated Node #0,2,3: 43:[40, 3] Operation: 72/24=3
Moving to Node #0,3
Current State: 43:[72, 64, 48], Operations: ['88-40=48']
Exploring Operation: 72-64=8, Resulting Numbers: [48, 8]
Generated Node #0,3,0: 43:[48, 8] Operation: 72-64=8
Exploring Operation: 64-48=16, Resulting Numbers: [72, 16]
Generated Node #0,3,1: 43:[72, 16] Operation: 64-48=16
Exploring Operation: 72+64=136, Resulting Numbers: [48, 136]
Generated Node #0,3,2: 43:[48, 136] Operation: 72+64=136
Exploring Operation: 72-48=24, Resulting Numbers: [64, 24]
Generated Node #0,3,3: 43:[64, 24] Operation: 72-48=24
Moving to Node #0,0
Current State: 43:[88, 64, 32], Operations: ['72-40=32']
Exploring Operation: 88-32=56, Resulting Numbers: [64, 56]
Generated Node #0,0,0: 43:[64, 56] Operation: 88-32=56
Exploring Operation: 88-64=24, Resulting Numbers: [32, 24]
Generated Node #0,0,1: 43:[32, 24] Operation: 88-64=24
Exploring Operation: 64/32=2, Resulting Numbers: [88, 2]
Generated Node #0,0,2: 43:[88, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [88, 32]
Generated Node #0,0,3: 43:[88, 32] Operation: 64-32=32
Moving to Node #0,1,0
Current State: 43:[40, 48], Operations: ['88-72=16', '64-16=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[40, 48], Operations: ['88-64=24', '72-24=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[24, 32], Operations: ['88-64=24', '72-40=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,43 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[32, 24], Operations: ['72-40=32', '88-64=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[64, 56], Operations: ['72-40=32', '88-32=56']
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 64*56=3584, Resulting Numbers: [3584]
3584,43 unequal: No Solution
Exploring Operation: 64+56=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[64, 56], Operations: ['88-72=16', '40+16=56']
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 64*56=3584, Resulting Numbers: [3584]
3584,43 unequal: No Solution
Exploring Operation: 64+56=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[40, 80], Operations: ['88-72=16', '64+16=80']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 40+80=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 40*80=3200, Resulting Numbers: [3200]
3200,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[64, 24], Operations: ['88-40=48', '72-48=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,43 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[64, 24], Operations: ['88-72=16', '40-16=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[48, 8], Operations: ['88-40=48', '72-64=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,43 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[40, 3], Operations: ['88-64=24', '72/24=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[72, 88, 40, 64], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [72, 40, 24]
Generated Node #0,2: 43:[72, 40, 24] Operation: 88-64=24
Moving to Node #0,2
Current State: 43:[72, 40, 24], Operations: ['88-64=24']
Exploring Operation: 72/24=3, Resulting Numbers: [40, 3]
Generated Node #0,2,3: 43:[40, 3] Operation: 72/24=3
Moving to Node #0,2,3
Current State: 43:[40, 3], Operations: ['88-64=24', '72/24=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.949653 |
hs_4
|
sum_heuristic
|
[
63,
77,
11,
7
] | 97 |
[
"63/7=9",
"77+11=88",
"9+88=97"
] |
Current State: 97:[63, 77, 11, 7], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [77, 11, 9]
Generated Node #2: [77, 11, 9] from Operation: 63/7=9
Current State: 97:[77, 11, 9], Operations: ['63/7=9']
Exploring Operation: 77+11=88, Resulting Numbers: [9, 88]
Generated Node #3: [9, 88] from Operation: 77+11=88
Current State: 97:[9, 88], Operations: ['63/7=9', '77+11=88']
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[63, 77, 11, 7], Operations: []
Exploring Operation: 63+7=70, Resulting Numbers: [77, 11, 70]
Generated Node #0,0: 97:[77, 11, 70] Operation: 63+7=70
Exploring Operation: 63+11=74, Resulting Numbers: [77, 7, 74]
Generated Node #0,1: 97:[77, 7, 74] Operation: 63+11=74
Exploring Operation: 11*7=77, Resulting Numbers: [63, 77, 77]
Generated Node #0,2: 97:[63, 77, 77] Operation: 11*7=77
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[63, 77, 77], Operations: ['11*7=77']
Exploring Operation: 63+77=140, Resulting Numbers: [77, 140]
Generated Node #0,2,0: 97:[77, 140] Operation: 63+77=140
Exploring Operation: 63+77=140, Resulting Numbers: [77, 140]
Generated Node #0,2,1: 97:[77, 140] Operation: 63+77=140
Exploring Operation: 77+77=154, Resulting Numbers: [63, 154]
Generated Node #0,2,2: 97:[63, 154] Operation: 77+77=154
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[77, 140], Operations: ['11*7=77', '63+77=140']
Exploring Operation: 140-77=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 77+140=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 77*140=10780, Resulting Numbers: [10780]
10780,97 unequal: No Solution
No 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: 97:[77, 140], Operations: ['11*7=77', '63+77=140']
Exploring Operation: 140-77=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 77*140=10780, Resulting Numbers: [10780]
10780,97 unequal: No Solution
Exploring Operation: 77+140=217, Resulting Numbers: [217]
217,97 unequal: No Solution
No 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: 97:[63, 154], Operations: ['11*7=77', '77+77=154']
Exploring Operation: 154-63=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 63*154=9702, Resulting Numbers: [9702]
9702,97 unequal: No Solution
Exploring Operation: 63+154=217, Resulting Numbers: [217]
217,97 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: 97:[77, 11, 70], Operations: ['63+7=70']
Exploring Operation: 77-11=66, Resulting Numbers: [70, 66]
Generated Node #0,0,0: 97:[70, 66] Operation: 77-11=66
Exploring Operation: 11+70=81, Resulting Numbers: [77, 81]
Generated Node #0,0,1: 97:[77, 81] Operation: 11+70=81
Exploring Operation: 77+11=88, Resulting Numbers: [70, 88]
Generated Node #0,0,2: 97:[70, 88] Operation: 77+11=88
Moving to Node #0,0,1
Current State: 97:[77, 81], Operations: ['63+7=70', '11+70=81']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[70, 88], Operations: ['63+7=70', '77+11=88']
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[70, 66], Operations: ['63+7=70', '77-11=66']
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,97 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[77, 7, 74], Operations: ['63+11=74']
Exploring Operation: 77+7=84, Resulting Numbers: [74, 84]
Generated Node #0,1,0: 97:[74, 84] Operation: 77+7=84
Exploring Operation: 77-7=70, Resulting Numbers: [74, 70]
Generated Node #0,1,1: 97:[74, 70] Operation: 77-7=70
Exploring Operation: 7+74=81, Resulting Numbers: [77, 81]
Generated Node #0,1,2: 97:[77, 81] Operation: 7+74=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[74, 84], Operations: ['63+11=74', '77+7=84']
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,97 unequal: No Solution
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,97 unequal: No Solution
No 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: 97:[77, 81], Operations: ['63+11=74', '7+74=81']
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,97 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,97 unequal: No Solution
No 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: 97:[74, 70], Operations: ['63+11=74', '77-7=70']
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 74+70=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 74*70=5180, Resulting Numbers: [5180]
5180,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
71,
37,
88,
96
] | 100 |
[
"71+37=108",
"96-88=8",
"108-8=100"
] |
Current State: 100:[71, 37, 88, 96], Operations: []
Exploring Operation: 71+37=108, Resulting Numbers: [88, 96, 108]
Generated Node #2: [88, 96, 108] from Operation: 71+37=108
Current State: 100:[88, 96, 108], Operations: ['71+37=108']
Exploring Operation: 96-88=8, Resulting Numbers: [108, 8]
Generated Node #3: [108, 8] from Operation: 96-88=8
Current State: 100:[108, 8], Operations: ['71+37=108', '96-88=8']
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[71, 37, 88, 96], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [37, 88, 25]
Generated Node #0,0: 100:[37, 88, 25] Operation: 96-71=25
Exploring Operation: 71+37=108, Resulting Numbers: [88, 96, 108]
Generated Node #0,1: 100:[88, 96, 108] Operation: 71+37=108
Exploring Operation: 88-71=17, Resulting Numbers: [37, 96, 17]
Generated Node #0,2: 100:[37, 96, 17] Operation: 88-71=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[37, 96, 17], Operations: ['88-71=17']
Exploring Operation: 37-17=20, Resulting Numbers: [96, 20]
Generated Node #0,2,0: 100:[96, 20] Operation: 37-17=20
Exploring Operation: 37+17=54, Resulting Numbers: [96, 54]
Generated Node #0,2,1: 100:[96, 54] Operation: 37+17=54
Exploring Operation: 96-37=59, Resulting Numbers: [17, 59]
Generated Node #0,2,2: 100:[17, 59] Operation: 96-37=59
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[96, 20], Operations: ['88-71=17', '37-17=20']
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 96*20=1920, Resulting Numbers: [1920]
1920,100 unequal: No Solution
No 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: 100:[96, 54], Operations: ['88-71=17', '37+17=54']
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 96+54=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 96*54=5184, Resulting Numbers: [5184]
5184,100 unequal: No Solution
No 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: 100:[17, 59], Operations: ['88-71=17', '96-37=59']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,100 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,100 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: 100:[37, 88, 25], Operations: ['96-71=25']
Exploring Operation: 37-25=12, Resulting Numbers: [88, 12]
Generated Node #0,0,0: 100:[88, 12] Operation: 37-25=12
Exploring Operation: 88-37=51, Resulting Numbers: [25, 51]
Generated Node #0,0,1: 100:[25, 51] Operation: 88-37=51
Exploring Operation: 37+25=62, Resulting Numbers: [88, 62]
Generated Node #0,0,2: 100:[88, 62] Operation: 37+25=62
Moving to Node #0,0,1
Current State: 100:[25, 51], Operations: ['96-71=25', '88-37=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,100 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[88, 12], Operations: ['96-71=25', '37-25=12']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,100 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[71, 37, 88, 96], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [37, 88, 25]
Generated Node #0,0: 100:[37, 88, 25] Operation: 96-71=25
Moving to Node #0,0
Current State: 100:[37, 88, 25], Operations: ['96-71=25']
Exploring Operation: 37-25=12, Resulting Numbers: [88, 12]
Generated Node #0,0,0: 100:[88, 12] Operation: 37-25=12
Moving to Node #0,0,0
Current State: 100:[88, 12], Operations: ['96-71=25', '37-25=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_3
|
mult_heuristic
|
[
63,
37,
2,
57
] | 41 |
[
"63+37=100",
"2+57=59",
"100-59=41"
] |
Current State: 41:[63, 37, 2, 57], Operations: []
Exploring Operation: 63+37=100, Resulting Numbers: [2, 57, 100]
Generated Node #2: [2, 57, 100] from Operation: 63+37=100
Current State: 41:[2, 57, 100], Operations: ['63+37=100']
Exploring Operation: 2+57=59, Resulting Numbers: [100, 59]
Generated Node #3: [100, 59] from Operation: 2+57=59
Current State: 41:[100, 59], Operations: ['63+37=100', '2+57=59']
Exploring Operation: 100-59=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[63, 37, 2, 57], Operations: []
Exploring Operation: 37+2=39, Resulting Numbers: [63, 57, 39]
Generated Node #0,0: 41:[63, 57, 39] Operation: 37+2=39
Exploring Operation: 63+2=65, Resulting Numbers: [37, 57, 65]
Generated Node #0,1: 41:[37, 57, 65] Operation: 63+2=65
Exploring Operation: 57-2=55, Resulting Numbers: [63, 37, 55]
Generated Node #0,2: 41:[63, 37, 55] Operation: 57-2=55
Exploring Operation: 63-2=61, Resulting Numbers: [37, 57, 61]
Generated Node #0,3: 41:[37, 57, 61] Operation: 63-2=61
Moving to Node #0,0
Current State: 41:[63, 57, 39], Operations: ['37+2=39']
Exploring Operation: 57-39=18, Resulting Numbers: [63, 18]
Generated Node #0,0,0: 41:[63, 18] Operation: 57-39=18
Exploring Operation: 63-57=6, Resulting Numbers: [39, 6]
Generated Node #0,0,1: 41:[39, 6] Operation: 63-57=6
Exploring Operation: 63-39=24, Resulting Numbers: [57, 24]
Generated Node #0,0,2: 41:[57, 24] Operation: 63-39=24
Exploring Operation: 63+39=102, Resulting Numbers: [57, 102]
Generated Node #0,0,3: 41:[57, 102] Operation: 63+39=102
Moving to Node #0,3
Current State: 41:[37, 57, 61], Operations: ['63-2=61']
Exploring Operation: 37+57=94, Resulting Numbers: [61, 94]
Generated Node #0,3,0: 41:[61, 94] Operation: 37+57=94
Exploring Operation: 57-37=20, Resulting Numbers: [61, 20]
Generated Node #0,3,1: 41:[61, 20] Operation: 57-37=20
Exploring Operation: 61-57=4, Resulting Numbers: [37, 4]
Generated Node #0,3,2: 41:[37, 4] Operation: 61-57=4
Exploring Operation: 61-37=24, Resulting Numbers: [57, 24]
Generated Node #0,3,3: 41:[57, 24] Operation: 61-37=24
Moving to Node #0,2
Current State: 41:[63, 37, 55], Operations: ['57-2=55']
Exploring Operation: 63-37=26, Resulting Numbers: [55, 26]
Generated Node #0,2,0: 41:[55, 26] Operation: 63-37=26
Exploring Operation: 55-37=18, Resulting Numbers: [63, 18]
Generated Node #0,2,1: 41:[63, 18] Operation: 55-37=18
Exploring Operation: 63+37=100, Resulting Numbers: [55, 100]
Generated Node #0,2,2: 41:[55, 100] Operation: 63+37=100
Exploring Operation: 63-55=8, Resulting Numbers: [37, 8]
Generated Node #0,2,3: 41:[37, 8] Operation: 63-55=8
Moving to Node #0,1
Current State: 41:[37, 57, 65], Operations: ['63+2=65']
Exploring Operation: 65-37=28, Resulting Numbers: [57, 28]
Generated Node #0,1,0: 41:[57, 28] Operation: 65-37=28
Exploring Operation: 37+57=94, Resulting Numbers: [65, 94]
Generated Node #0,1,1: 41:[65, 94] Operation: 37+57=94
Exploring Operation: 65-57=8, Resulting Numbers: [37, 8]
Generated Node #0,1,2: 41:[37, 8] Operation: 65-57=8
Exploring Operation: 57-37=20, Resulting Numbers: [65, 20]
Generated Node #0,1,3: 41:[65, 20] Operation: 57-37=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[57, 28], Operations: ['63+2=65', '65-37=28']
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,41 unequal: No Solution
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[37, 8], Operations: ['63+2=65', '65-57=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,41 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[65, 20], Operations: ['63+2=65', '57-37=20']
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,41 unequal: No Solution
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[65, 94], Operations: ['63+2=65', '37+57=94']
Exploring Operation: 65+94=159, Resulting Numbers: [159]
159,41 unequal: No Solution
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 65*94=6110, Resulting Numbers: [6110]
6110,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 41:[55, 26], Operations: ['57-2=55', '63-37=26']
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,41 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[57, 24], Operations: ['37+2=39', '63-39=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,41 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[57, 24], Operations: ['63-2=61', '61-37=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,41 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[39, 6], Operations: ['37+2=39', '63-57=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,41 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[37, 8], Operations: ['57-2=55', '63-55=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[61, 20], Operations: ['63-2=61', '57-37=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[63, 37, 2, 57], Operations: []
Exploring Operation: 63-2=61, Resulting Numbers: [37, 57, 61]
Generated Node #0,3: 41:[37, 57, 61] Operation: 63-2=61
Moving to Node #0,3
Current State: 41:[37, 57, 61], Operations: ['63-2=61']
Exploring Operation: 57-37=20, Resulting Numbers: [61, 20]
Generated Node #0,3,1: 41:[61, 20] Operation: 57-37=20
Moving to Node #0,3,1
Current State: 41:[61, 20], Operations: ['63-2=61', '57-37=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.954861 |
hs_4
|
sum_heuristic
|
[
66,
84,
15,
24
] | 21 |
[
"84-66=18",
"15+24=39",
"39-18=21"
] |
Current State: 21:[66, 84, 15, 24], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [15, 24, 18]
Generated Node #2: [15, 24, 18] from Operation: 84-66=18
Current State: 21:[15, 24, 18], Operations: ['84-66=18']
Exploring Operation: 15+24=39, Resulting Numbers: [18, 39]
Generated Node #3: [18, 39] from Operation: 15+24=39
Current State: 21:[18, 39], Operations: ['84-66=18', '15+24=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[66, 84, 15, 24], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [15, 24, 18]
Generated Node #0,0: 21:[15, 24, 18] Operation: 84-66=18
Moving to Node #0,0
Current State: 21:[15, 24, 18], Operations: ['84-66=18']
Exploring Operation: 18-15=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 21:[24, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[24, 3], Operations: ['84-66=18', '18-15=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[66, 84, 15, 24], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [15, 24, 18]
Generated Node #0,0: 21:[15, 24, 18] Operation: 84-66=18
Moving to Node #0,0
Current State: 21:[15, 24, 18], Operations: ['84-66=18']
Exploring Operation: 18-15=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 21:[24, 3] Operation: 18-15=3
Moving to Node #0,0,0
Current State: 21:[24, 3], Operations: ['84-66=18', '18-15=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
27,
58,
67,
76
] | 25 |
[
"58+76=134",
"134/67=2",
"27-2=25"
] |
Current State: 25:[27, 58, 67, 76], Operations: []
Exploring Operation: 58+76=134, Resulting Numbers: [27, 67, 134]
Generated Node #2: [27, 67, 134] from Operation: 58+76=134
Current State: 25:[27, 67, 134], Operations: ['58+76=134']
Exploring Operation: 134/67=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 134/67=2
Current State: 25:[27, 2], Operations: ['58+76=134', '134/67=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[27, 58, 67, 76], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [27, 67, 18]
Generated Node #0,0: 25:[27, 67, 18] Operation: 76-58=18
Exploring Operation: 67-58=9, Resulting Numbers: [27, 76, 9]
Generated Node #0,1: 25:[27, 76, 9] Operation: 67-58=9
Exploring Operation: 67-27=40, Resulting Numbers: [58, 76, 40]
Generated Node #0,2: 25:[58, 76, 40] Operation: 67-27=40
Exploring Operation: 58-27=31, Resulting Numbers: [67, 76, 31]
Generated Node #0,3: 25:[67, 76, 31] Operation: 58-27=31
Exploring Operation: 76-67=9, Resulting Numbers: [27, 58, 9]
Generated Node #0,4: 25:[27, 58, 9] Operation: 76-67=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[27, 58, 9], Operations: ['76-67=9']
Exploring Operation: 27-9=18, Resulting Numbers: [58, 18]
Generated Node #0,4,0: 25:[58, 18] Operation: 27-9=18
Exploring Operation: 58-9=49, Resulting Numbers: [27, 49]
Generated Node #0,4,1: 25:[27, 49] Operation: 58-9=49
Exploring Operation: 27+9=36, Resulting Numbers: [58, 36]
Generated Node #0,4,2: 25:[58, 36] Operation: 27+9=36
Exploring Operation: 27/9=3, Resulting Numbers: [58, 3]
Generated Node #0,4,3: 25:[58, 3] Operation: 27/9=3
Exploring Operation: 58-27=31, Resulting Numbers: [9, 31]
Generated Node #0,4,4: 25:[9, 31] Operation: 58-27=31
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[9, 31], Operations: ['76-67=9', '58-27=31']
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,25 unequal: No Solution
No 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: 25:[27, 49], Operations: ['76-67=9', '58-9=49']
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,25 unequal: No Solution
No 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: 25:[58, 3], Operations: ['76-67=9', '27/9=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,25 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[58, 18], Operations: ['76-67=9', '27-9=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,25 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No 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: 25:[58, 36], Operations: ['76-67=9', '27+9=36']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,25 unequal: No Solution
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[27, 67, 18], Operations: ['76-58=18']
Exploring Operation: 27+18=45, Resulting Numbers: [67, 45]
Generated Node #0,0,0: 25:[67, 45] Operation: 27+18=45
Exploring Operation: 67+18=85, Resulting Numbers: [27, 85]
Generated Node #0,0,1: 25:[27, 85] Operation: 67+18=85
Exploring Operation: 27-18=9, Resulting Numbers: [67, 9]
Generated Node #0,0,2: 25:[67, 9] Operation: 27-18=9
Exploring Operation: 67-18=49, Resulting Numbers: [27, 49]
Generated Node #0,0,3: 25:[27, 49] Operation: 67-18=49
Exploring Operation: 67-27=40, Resulting Numbers: [18, 40]
Generated Node #0,0,4: 25:[18, 40] Operation: 67-27=40
Moving to Node #0,0,4
Current State: 25:[18, 40], Operations: ['76-58=18', '67-27=40']
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[27, 49], Operations: ['76-58=18', '67-18=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[67, 9], Operations: ['76-58=18', '27-18=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[67, 45], Operations: ['76-58=18', '27+18=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[27, 85], Operations: ['76-58=18', '67+18=85']
Exploring Operation: 27+85=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 27*85=2295, Resulting Numbers: [2295]
2295,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[27, 76, 9], Operations: ['67-58=9']
Exploring Operation: 27/9=3, Resulting Numbers: [76, 3]
Generated Node #0,1,0: 25:[76, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [76, 18]
Generated Node #0,1,1: 25:[76, 18] Operation: 27-9=18
Exploring Operation: 76-27=49, Resulting Numbers: [9, 49]
Generated Node #0,1,2: 25:[9, 49] Operation: 76-27=49
Exploring Operation: 76-9=67, Resulting Numbers: [27, 67]
Generated Node #0,1,3: 25:[27, 67] Operation: 76-9=67
Exploring Operation: 27+9=36, Resulting Numbers: [76, 36]
Generated Node #0,1,4: 25:[76, 36] Operation: 27+9=36
Moving to Node #0,1,2
Current State: 25:[9, 49], Operations: ['67-58=9', '76-27=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[27, 67], Operations: ['67-58=9', '76-9=67']
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,25 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[76, 3], Operations: ['67-58=9', '27/9=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[76, 18], Operations: ['67-58=9', '27-9=18']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[76, 36], Operations: ['67-58=9', '27+9=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[58, 76, 40], Operations: ['67-27=40']
Exploring Operation: 76-58=18, Resulting Numbers: [40, 18]
Generated Node #0,2,0: 25:[40, 18] Operation: 76-58=18
Exploring Operation: 76-40=36, Resulting Numbers: [58, 36]
Generated Node #0,2,1: 25:[58, 36] Operation: 76-40=36
Exploring Operation: 58-40=18, Resulting Numbers: [76, 18]
Generated Node #0,2,2: 25:[76, 18] Operation: 58-40=18
Exploring Operation: 58+40=98, Resulting Numbers: [76, 98]
Generated Node #0,2,3: 25:[76, 98] Operation: 58+40=98
Exploring Operation: 58+76=134, Resulting Numbers: [40, 134]
Generated Node #0,2,4: 25:[40, 134] Operation: 58+76=134
Moving to Node #0,2,0
Current State: 25:[40, 18], Operations: ['67-27=40', '76-58=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[58, 36], Operations: ['67-27=40', '76-40=36']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[76, 18], Operations: ['67-27=40', '58-40=18']
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,25 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[76, 98], Operations: ['67-27=40', '58+40=98']
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,25 unequal: No Solution
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[40, 134], Operations: ['67-27=40', '58+76=134']
Exploring Operation: 40+134=174, Resulting Numbers: [174]
174,25 unequal: No Solution
Exploring Operation: 134-40=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 40*134=5360, Resulting Numbers: [5360]
5360,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[67, 76, 31], Operations: ['58-27=31']
Exploring Operation: 76-31=45, Resulting Numbers: [67, 45]
Generated Node #0,3,0: 25:[67, 45] Operation: 76-31=45
Exploring Operation: 67+31=98, Resulting Numbers: [76, 98]
Generated Node #0,3,1: 25:[76, 98] Operation: 67+31=98
Exploring Operation: 67+76=143, Resulting Numbers: [31, 143]
Generated Node #0,3,2: 25:[31, 143] Operation: 67+76=143
Exploring Operation: 67-31=36, Resulting Numbers: [76, 36]
Generated Node #0,3,3: 25:[76, 36] Operation: 67-31=36
Exploring Operation: 76-67=9, Resulting Numbers: [31, 9]
Generated Node #0,3,4: 25:[31, 9] Operation: 76-67=9
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[31, 9], Operations: ['58-27=31', '76-67=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,25 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No 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: 25:[67, 45], Operations: ['58-27=31', '76-31=45']
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,25 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,25 unequal: No Solution
No 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: 25:[76, 36], Operations: ['58-27=31', '67-31=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,25 unequal: No Solution
No 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: 25:[76, 98], Operations: ['58-27=31', '67+31=98']
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,25 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,25 unequal: No Solution
No 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: 25:[31, 143], Operations: ['58-27=31', '67+76=143']
Exploring Operation: 143-31=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 31*143=4433, Resulting Numbers: [4433]
4433,25 unequal: No Solution
Exploring Operation: 31+143=174, Resulting Numbers: [174]
174,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_5
|
sum_heuristic
|
[
6,
8,
54,
10
] | 27 |
[
"54/6=9",
"8+10=18",
"9+18=27"
] |
Current State: 27:[6, 8, 54, 10], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [8, 10, 9]
Generated Node #2: [8, 10, 9] from Operation: 54/6=9
Current State: 27:[8, 10, 9], Operations: ['54/6=9']
Exploring Operation: 8+10=18, Resulting Numbers: [9, 18]
Generated Node #3: [9, 18] from Operation: 8+10=18
Current State: 27:[9, 18], Operations: ['54/6=9', '8+10=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[6, 8, 54, 10], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [6, 8, 44]
Generated Node #0,0: 27:[6, 8, 44] Operation: 54-10=44
Exploring Operation: 54-6=48, Resulting Numbers: [8, 10, 48]
Generated Node #0,1: 27:[8, 10, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [8, 10, 9]
Generated Node #0,2: 27:[8, 10, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[8, 10, 9], Operations: ['54/6=9']
Exploring Operation: 9-8=1, Resulting Numbers: [10, 1]
Generated Node #0,2,0: 27:[10, 1] Operation: 9-8=1
Exploring Operation: 10-9=1, Resulting Numbers: [8, 1]
Generated Node #0,2,1: 27:[8, 1] Operation: 10-9=1
Exploring Operation: 10-8=2, Resulting Numbers: [9, 2]
Generated Node #0,2,2: 27:[9, 2] Operation: 10-8=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[9, 2], Operations: ['54/6=9', '10-8=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[10, 1], Operations: ['54/6=9', '9-8=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[8, 1], Operations: ['54/6=9', '10-9=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[6, 8, 44], Operations: ['54-10=44']
Exploring Operation: 8-6=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 27:[44, 2] Operation: 8-6=2
Exploring Operation: 44-8=36, Resulting Numbers: [6, 36]
Generated Node #0,0,1: 27:[6, 36] Operation: 44-8=36
Exploring Operation: 44-6=38, Resulting Numbers: [8, 38]
Generated Node #0,0,2: 27:[8, 38] Operation: 44-6=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[6, 36], Operations: ['54-10=44', '44-8=36']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[8, 38], Operations: ['54-10=44', '44-6=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,27 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[44, 2], Operations: ['54-10=44', '8-6=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[8, 10, 48], Operations: ['54-6=48']
Exploring Operation: 48-10=38, Resulting Numbers: [8, 38]
Generated Node #0,1,0: 27:[8, 38] Operation: 48-10=38
Exploring Operation: 48-8=40, Resulting Numbers: [10, 40]
Generated Node #0,1,1: 27:[10, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [10, 6]
Generated Node #0,1,2: 27:[10, 6] Operation: 48/8=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[10, 6], Operations: ['54-6=48', '48/8=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[8, 38], Operations: ['54-6=48', '48-10=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[10, 40], Operations: ['54-6=48', '48-8=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
51,
58,
45,
10
] | 28 |
[
"58-51=7",
"45-10=35",
"35-7=28"
] |
Current State: 28:[51, 58, 45, 10], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [45, 10, 7]
Generated Node #2: [45, 10, 7] from Operation: 58-51=7
Current State: 28:[45, 10, 7], Operations: ['58-51=7']
Exploring Operation: 45-10=35, Resulting Numbers: [7, 35]
Generated Node #3: [7, 35] from Operation: 45-10=35
Current State: 28:[7, 35], Operations: ['58-51=7', '45-10=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[51, 58, 45, 10], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [58, 10, 6]
Generated Node #0,0: 28:[58, 10, 6] Operation: 51-45=6
Exploring Operation: 58-51=7, Resulting Numbers: [45, 10, 7]
Generated Node #0,1: 28:[45, 10, 7] Operation: 58-51=7
Exploring Operation: 58-45=13, Resulting Numbers: [51, 10, 13]
Generated Node #0,2: 28:[51, 10, 13] Operation: 58-45=13
Moving to Node #0,1
Current State: 28:[45, 10, 7], Operations: ['58-51=7']
Exploring Operation: 10-7=3, Resulting Numbers: [45, 3]
Generated Node #0,1,0: 28:[45, 3] Operation: 10-7=3
Exploring Operation: 45-7=38, Resulting Numbers: [10, 38]
Generated Node #0,1,1: 28:[10, 38] Operation: 45-7=38
Exploring Operation: 45-10=35, Resulting Numbers: [7, 35]
Generated Node #0,1,2: 28:[7, 35] Operation: 45-10=35
Moving to Node #0,2
Current State: 28:[51, 10, 13], Operations: ['58-45=13']
Exploring Operation: 13-10=3, Resulting Numbers: [51, 3]
Generated Node #0,2,0: 28:[51, 3] Operation: 13-10=3
Exploring Operation: 51-10=41, Resulting Numbers: [13, 41]
Generated Node #0,2,1: 28:[13, 41] Operation: 51-10=41
Exploring Operation: 51-13=38, Resulting Numbers: [10, 38]
Generated Node #0,2,2: 28:[10, 38] Operation: 51-13=38
Moving to Node #0,0
Current State: 28:[58, 10, 6], Operations: ['51-45=6']
Exploring Operation: 10-6=4, Resulting Numbers: [58, 4]
Generated Node #0,0,0: 28:[58, 4] Operation: 10-6=4
Exploring Operation: 58-6=52, Resulting Numbers: [10, 52]
Generated Node #0,0,1: 28:[10, 52] Operation: 58-6=52
Exploring Operation: 58-10=48, Resulting Numbers: [6, 48]
Generated Node #0,0,2: 28:[6, 48] Operation: 58-10=48
Moving to Node #0,1,2
Current State: 28:[7, 35], Operations: ['58-51=7', '45-10=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[51, 58, 45, 10], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [45, 10, 7]
Generated Node #0,1: 28:[45, 10, 7] Operation: 58-51=7
Moving to Node #0,1
Current State: 28:[45, 10, 7], Operations: ['58-51=7']
Exploring Operation: 45-10=35, Resulting Numbers: [7, 35]
Generated Node #0,1,2: 28:[7, 35] Operation: 45-10=35
Moving to Node #0,1,2
Current State: 28:[7, 35], Operations: ['58-51=7', '45-10=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.983507 |
hs_3
|
sum_heuristic
|
[
7,
52,
5,
85
] | 61 |
[
"7*52=364",
"5*85=425",
"425-364=61"
] |
Current State: 61:[7, 52, 5, 85], Operations: []
Exploring Operation: 7*52=364, Resulting Numbers: [5, 85, 364]
Generated Node #2: [5, 85, 364] from Operation: 7*52=364
Current State: 61:[5, 85, 364], Operations: ['7*52=364']
Exploring Operation: 5*85=425, Resulting Numbers: [364, 425]
Generated Node #3: [364, 425] from Operation: 5*85=425
Current State: 61:[364, 425], Operations: ['7*52=364', '5*85=425']
Exploring Operation: 425-364=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[7, 52, 5, 85], Operations: []
Exploring Operation: 7+5=12, Resulting Numbers: [52, 85, 12]
Generated Node #0,0: 61:[52, 85, 12] Operation: 7+5=12
Exploring Operation: 7*5=35, Resulting Numbers: [52, 85, 35]
Generated Node #0,1: 61:[52, 85, 35] Operation: 7*5=35
Exploring Operation: 7+52=59, Resulting Numbers: [5, 85, 59]
Generated Node #0,2: 61:[5, 85, 59] Operation: 7+52=59
Moving to Node #0,1
Current State: 61:[52, 85, 35], Operations: ['7*5=35']
Exploring Operation: 85-52=33, Resulting Numbers: [35, 33]
Generated Node #0,1,0: 61:[35, 33] Operation: 85-52=33
Exploring Operation: 52+35=87, Resulting Numbers: [85, 87]
Generated Node #0,1,1: 61:[85, 87] Operation: 52+35=87
Exploring Operation: 85-35=50, Resulting Numbers: [52, 50]
Generated Node #0,1,2: 61:[52, 50] Operation: 85-35=50
Moving to Node #0,0
Current State: 61:[52, 85, 12], Operations: ['7+5=12']
Exploring Operation: 52+12=64, Resulting Numbers: [85, 64]
Generated Node #0,0,0: 61:[85, 64] Operation: 52+12=64
Exploring Operation: 52-12=40, Resulting Numbers: [85, 40]
Generated Node #0,0,1: 61:[85, 40] Operation: 52-12=40
Exploring Operation: 85-12=73, Resulting Numbers: [52, 73]
Generated Node #0,0,2: 61:[52, 73] Operation: 85-12=73
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[52, 73], Operations: ['7+5=12', '85-12=73']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,61 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,61 unequal: No Solution
No 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: 61:[85, 64], Operations: ['7+5=12', '52+12=64']
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,61 unequal: No Solution
No 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: 61:[85, 40], Operations: ['7+5=12', '52-12=40']
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 85+40=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 85*40=3400, Resulting Numbers: [3400]
3400,61 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: 61:[5, 85, 59], Operations: ['7+52=59']
Exploring Operation: 5+85=90, Resulting Numbers: [59, 90]
Generated Node #0,2,0: 61:[59, 90] Operation: 5+85=90
Exploring Operation: 5+59=64, Resulting Numbers: [85, 64]
Generated Node #0,2,1: 61:[85, 64] Operation: 5+59=64
Exploring Operation: 85-5=80, Resulting Numbers: [59, 80]
Generated Node #0,2,2: 61:[59, 80] Operation: 85-5=80
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[59, 80], Operations: ['7+52=59', '85-5=80']
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,61 unequal: No Solution
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No 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: 61:[85, 64], Operations: ['7+52=59', '5+59=64']
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,61 unequal: No Solution
No 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: 61:[59, 90], Operations: ['7+52=59', '5+85=90']
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 59+90=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 59*90=5310, Resulting Numbers: [5310]
5310,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 61:[52, 50], Operations: ['7*5=35', '85-35=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,61 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[85, 87], Operations: ['7*5=35', '52+35=87']
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[35, 33], Operations: ['7*5=35', '85-52=33']
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,61 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
38,
24,
26,
41
] | 77 |
[
"38+24=62",
"41-26=15",
"62+15=77"
] |
Current State: 77:[38, 24, 26, 41], Operations: []
Exploring Operation: 38+24=62, Resulting Numbers: [26, 41, 62]
Generated Node #2: [26, 41, 62] from Operation: 38+24=62
Current State: 77:[26, 41, 62], Operations: ['38+24=62']
Exploring Operation: 41-26=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 41-26=15
Current State: 77:[62, 15], Operations: ['38+24=62', '41-26=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[38, 24, 26, 41], Operations: []
Exploring Operation: 41-38=3, Resulting Numbers: [24, 26, 3]
Generated Node #0,0: 77:[24, 26, 3] Operation: 41-38=3
Exploring Operation: 38+41=79, Resulting Numbers: [24, 26, 79]
Generated Node #0,1: 77:[24, 26, 79] Operation: 38+41=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[24, 26, 79], Operations: ['38+41=79']
Exploring Operation: 26-24=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 77:[79, 2] Operation: 26-24=2
Exploring Operation: 24+26=50, Resulting Numbers: [79, 50]
Generated Node #0,1,1: 77:[79, 50] Operation: 24+26=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[79, 2], Operations: ['38+41=79', '26-24=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[38, 24, 26, 41], Operations: []
Exploring Operation: 38+41=79, Resulting Numbers: [24, 26, 79]
Generated Node #0,1: 77:[24, 26, 79] Operation: 38+41=79
Moving to Node #0,1
Current State: 77:[24, 26, 79], Operations: ['38+41=79']
Exploring Operation: 26-24=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 77:[79, 2] Operation: 26-24=2
Moving to Node #0,1,0
Current State: 77:[79, 2], Operations: ['38+41=79', '26-24=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
44,
92,
23,
17
] | 88 |
[
"92-44=48",
"23+17=40",
"48+40=88"
] |
Current State: 88:[44, 92, 23, 17], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [23, 17, 48]
Generated Node #2: [23, 17, 48] from Operation: 92-44=48
Current State: 88:[23, 17, 48], Operations: ['92-44=48']
Exploring Operation: 23+17=40, Resulting Numbers: [48, 40]
Generated Node #3: [48, 40] from Operation: 23+17=40
Current State: 88:[48, 40], Operations: ['92-44=48', '23+17=40']
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[44, 92, 23, 17], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [23, 17, 48]
Generated Node #0,0: 88:[23, 17, 48] Operation: 92-44=48
Exploring Operation: 23-17=6, Resulting Numbers: [44, 92, 6]
Generated Node #0,1: 88:[44, 92, 6] Operation: 23-17=6
Exploring Operation: 44-23=21, Resulting Numbers: [92, 17, 21]
Generated Node #0,2: 88:[92, 17, 21] Operation: 44-23=21
Exploring Operation: 92/23=4, Resulting Numbers: [44, 17, 4]
Generated Node #0,3: 88:[44, 17, 4] Operation: 92/23=4
Exploring Operation: 23+17=40, Resulting Numbers: [44, 92, 40]
Generated Node #0,4: 88:[44, 92, 40] Operation: 23+17=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[44, 17, 4], Operations: ['92/23=4']
Exploring Operation: 17+4=21, Resulting Numbers: [44, 21]
Generated Node #0,3,0: 88:[44, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [44, 13]
Generated Node #0,3,1: 88:[44, 13] Operation: 17-4=13
Exploring Operation: 44/4=11, Resulting Numbers: [17, 11]
Generated Node #0,3,2: 88:[17, 11] Operation: 44/4=11
Exploring Operation: 44+4=48, Resulting Numbers: [17, 48]
Generated Node #0,3,3: 88:[17, 48] Operation: 44+4=48
Exploring Operation: 44-17=27, Resulting Numbers: [4, 27]
Generated Node #0,3,4: 88:[4, 27] Operation: 44-17=27
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[44, 21], Operations: ['92/23=4', '17+4=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,88 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,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:[44, 13], Operations: ['92/23=4', '17-4=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,88 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,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,2
Current State: 88:[17, 11], Operations: ['92/23=4', '44/4=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,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:[4, 27], Operations: ['92/23=4', '44-17=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,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:[17, 48], Operations: ['92/23=4', '44+4=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,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:[44, 92, 6], Operations: ['23-17=6']
Exploring Operation: 92-44=48, Resulting Numbers: [6, 48]
Generated Node #0,1,0: 88:[6, 48] Operation: 92-44=48
Exploring Operation: 44+6=50, Resulting Numbers: [92, 50]
Generated Node #0,1,1: 88:[92, 50] Operation: 44+6=50
Exploring Operation: 44-6=38, Resulting Numbers: [92, 38]
Generated Node #0,1,2: 88:[92, 38] Operation: 44-6=38
Exploring Operation: 92+6=98, Resulting Numbers: [44, 98]
Generated Node #0,1,3: 88:[44, 98] Operation: 92+6=98
Exploring Operation: 92-6=86, Resulting Numbers: [44, 86]
Generated Node #0,1,4: 88:[44, 86] Operation: 92-6=86
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 88:[44, 86], Operations: ['23-17=6', '92-6=86']
Exploring Operation: 44+86=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 44*86=3784, Resulting Numbers: [3784]
3784,88 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,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,1,0
Current State: 88:[6, 48], Operations: ['23-17=6', '92-44=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,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,1,1
Current State: 88:[92, 50], Operations: ['23-17=6', '44+6=50']
Exploring Operation: 92*50=4600, Resulting Numbers: [4600]
4600,88 unequal: No Solution
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 92+50=142, Resulting Numbers: [142]
142,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,1,2
Current State: 88:[92, 38], Operations: ['23-17=6', '44-6=38']
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,88 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,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,1,3
Current State: 88:[44, 98], Operations: ['23-17=6', '92+6=98']
Exploring Operation: 44+98=142, Resulting Numbers: [142]
142,88 unequal: No Solution
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 44*98=4312, Resulting Numbers: [4312]
4312,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,4
Current State: 88:[44, 92, 40], Operations: ['23+17=40']
Exploring Operation: 92-44=48, Resulting Numbers: [40, 48]
Generated Node #0,4,0: 88:[40, 48] Operation: 92-44=48
Exploring Operation: 44-40=4, Resulting Numbers: [92, 4]
Generated Node #0,4,1: 88:[92, 4] Operation: 44-40=4
Exploring Operation: 44+40=84, Resulting Numbers: [92, 84]
Generated Node #0,4,2: 88:[92, 84] Operation: 44+40=84
Exploring Operation: 92-40=52, Resulting Numbers: [44, 52]
Generated Node #0,4,3: 88:[44, 52] Operation: 92-40=52
Exploring Operation: 92+40=132, Resulting Numbers: [44, 132]
Generated Node #0,4,4: 88:[44, 132] Operation: 92+40=132
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[92, 4], Operations: ['23+17=40', '44-40=4']
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,88 unequal: No Solution
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[44, 92, 23, 17], Operations: []
Exploring Operation: 23+17=40, Resulting Numbers: [44, 92, 40]
Generated Node #0,4: 88:[44, 92, 40] Operation: 23+17=40
Moving to Node #0,4
Current State: 88:[44, 92, 40], Operations: ['23+17=40']
Exploring Operation: 44-40=4, Resulting Numbers: [92, 4]
Generated Node #0,4,1: 88:[92, 4] Operation: 44-40=4
Moving to Node #0,4,1
Current State: 88:[92, 4], Operations: ['23+17=40', '44-40=4']
Exploring Operation: 92-4=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
|
sum_heuristic
|
[
93,
21,
7,
8
] | 87 |
[
"93-21=72",
"7+8=15",
"72+15=87"
] |
Current State: 87:[93, 21, 7, 8], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [7, 8, 72]
Generated Node #2: [7, 8, 72] from Operation: 93-21=72
Current State: 87:[7, 8, 72], Operations: ['93-21=72']
Exploring Operation: 7+8=15, Resulting Numbers: [72, 15]
Generated Node #3: [72, 15] from Operation: 7+8=15
Current State: 87:[72, 15], Operations: ['93-21=72', '7+8=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[93, 21, 7, 8], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [93, 8, 3]
Generated Node #0,0: 87:[93, 8, 3] Operation: 21/7=3
Exploring Operation: 21+8=29, Resulting Numbers: [93, 7, 29]
Generated Node #0,1: 87:[93, 7, 29] Operation: 21+8=29
Exploring Operation: 21+7=28, Resulting Numbers: [93, 8, 28]
Generated Node #0,2: 87:[93, 8, 28] Operation: 21+7=28
Exploring Operation: 93-7=86, Resulting Numbers: [21, 8, 86]
Generated Node #0,3: 87:[21, 8, 86] Operation: 93-7=86
Moving to Node #0,1
Current State: 87:[93, 7, 29], Operations: ['21+8=29']
Exploring Operation: 93+7=100, Resulting Numbers: [29, 100]
Generated Node #0,1,0: 87:[29, 100] Operation: 93+7=100
Exploring Operation: 7+29=36, Resulting Numbers: [93, 36]
Generated Node #0,1,1: 87:[93, 36] Operation: 7+29=36
Exploring Operation: 93-7=86, Resulting Numbers: [29, 86]
Generated Node #0,1,2: 87:[29, 86] Operation: 93-7=86
Exploring Operation: 29-7=22, Resulting Numbers: [93, 22]
Generated Node #0,1,3: 87:[93, 22] Operation: 29-7=22
Moving to Node #0,0
Current State: 87:[93, 8, 3], Operations: ['21/7=3']
Exploring Operation: 93-8=85, Resulting Numbers: [3, 85]
Generated Node #0,0,0: 87:[3, 85] Operation: 93-8=85
Exploring Operation: 93-3=90, Resulting Numbers: [8, 90]
Generated Node #0,0,1: 87:[8, 90] Operation: 93-3=90
Exploring Operation: 93/3=31, Resulting Numbers: [8, 31]
Generated Node #0,0,2: 87:[8, 31] Operation: 93/3=31
Exploring Operation: 8-3=5, Resulting Numbers: [93, 5]
Generated Node #0,0,3: 87:[93, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[3, 85], Operations: ['21/7=3', '93-8=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,87 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,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,2
Current State: 87:[8, 31], Operations: ['21/7=3', '93/3=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,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,1
Current State: 87:[8, 90], Operations: ['21/7=3', '93-3=90']
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,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,3
Current State: 87:[93, 5], Operations: ['21/7=3', '8-3=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,87 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,87 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: 87:[93, 8, 28], Operations: ['21+7=28']
Exploring Operation: 93+8=101, Resulting Numbers: [28, 101]
Generated Node #0,2,0: 87:[28, 101] Operation: 93+8=101
Exploring Operation: 93-8=85, Resulting Numbers: [28, 85]
Generated Node #0,2,1: 87:[28, 85] Operation: 93-8=85
Exploring Operation: 28-8=20, Resulting Numbers: [93, 20]
Generated Node #0,2,2: 87:[93, 20] Operation: 28-8=20
Exploring Operation: 8+28=36, Resulting Numbers: [93, 36]
Generated Node #0,2,3: 87:[93, 36] Operation: 8+28=36
Moving to Node #0,3
Current State: 87:[21, 8, 86], Operations: ['93-7=86']
Exploring Operation: 21-8=13, Resulting Numbers: [86, 13]
Generated Node #0,3,0: 87:[86, 13] Operation: 21-8=13
Exploring Operation: 8+86=94, Resulting Numbers: [21, 94]
Generated Node #0,3,1: 87:[21, 94] Operation: 8+86=94
Exploring Operation: 21+8=29, Resulting Numbers: [86, 29]
Generated Node #0,3,2: 87:[86, 29] Operation: 21+8=29
Exploring Operation: 86-8=78, Resulting Numbers: [21, 78]
Generated Node #0,3,3: 87:[21, 78] Operation: 86-8=78
Moving to Node #0,1,2
Current State: 87:[29, 86], Operations: ['21+8=29', '93-7=86']
Exploring Operation: 29+86=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 29*86=2494, Resulting Numbers: [2494]
2494,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[86, 29], Operations: ['93-7=86', '21+8=29']
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 86*29=2494, Resulting Numbers: [2494]
2494,87 unequal: No Solution
Exploring Operation: 86+29=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[28, 85], Operations: ['21+7=28', '93-8=85']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 28*85=2380, Resulting Numbers: [2380]
2380,87 unequal: No Solution
Exploring Operation: 28+85=113, Resulting Numbers: [113]
113,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[86, 13], Operations: ['93-7=86', '21-8=13']
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,87 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,87 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[93, 36], Operations: ['21+8=29', '7+29=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,87 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,87 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[93, 36], Operations: ['21+7=28', '8+28=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,87 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[29, 100], Operations: ['21+8=29', '93+7=100']
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,87 unequal: No Solution
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,87 unequal: No Solution
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[93, 22], Operations: ['21+8=29', '29-7=22']
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,87 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,87 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[28, 101], Operations: ['21+7=28', '93+8=101']
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 28+101=129, Resulting Numbers: [129]
129,87 unequal: No Solution
Exploring Operation: 28*101=2828, Resulting Numbers: [2828]
2828,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[21, 94], Operations: ['93-7=86', '8+86=94']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[93, 20], Operations: ['21+7=28', '28-8=20']
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,87 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,87 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[21, 78], Operations: ['93-7=86', '86-8=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,87 unequal: No Solution
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,87 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
2,
73,
93,
6
] | 89 |
[
"73+93=166",
"166/2=83",
"6+83=89"
] |
Current State: 89:[2, 73, 93, 6], Operations: []
Exploring Operation: 73+93=166, Resulting Numbers: [2, 6, 166]
Generated Node #2: [2, 6, 166] from Operation: 73+93=166
Current State: 89:[2, 6, 166], Operations: ['73+93=166']
Exploring Operation: 166/2=83, Resulting Numbers: [6, 83]
Generated Node #3: [6, 83] from Operation: 166/2=83
Current State: 89:[6, 83], Operations: ['73+93=166', '166/2=83']
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[2, 73, 93, 6], Operations: []
Exploring Operation: 2*6=12, Resulting Numbers: [73, 93, 12]
Generated Node #0,0: 89:[73, 93, 12] Operation: 2*6=12
Exploring Operation: 2+73=75, Resulting Numbers: [93, 6, 75]
Generated Node #0,1: 89:[93, 6, 75] Operation: 2+73=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[73, 93, 12], Operations: ['2*6=12']
Exploring Operation: 73+12=85, Resulting Numbers: [93, 85]
Generated Node #0,0,0: 89:[93, 85] Operation: 73+12=85
Exploring Operation: 93-12=81, Resulting Numbers: [73, 81]
Generated Node #0,0,1: 89:[73, 81] Operation: 93-12=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[93, 85], Operations: ['2*6=12', '73+12=85']
Exploring Operation: 93+85=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[73, 81], Operations: ['2*6=12', '93-12=81']
Exploring Operation: 73+81=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[93, 6, 75], Operations: ['2+73=75']
Exploring Operation: 6+75=81, Resulting Numbers: [93, 81]
Generated Node #0,1,0: 89:[93, 81] Operation: 6+75=81
Exploring Operation: 93-6=87, Resulting Numbers: [75, 87]
Generated Node #0,1,1: 89:[75, 87] Operation: 93-6=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[93, 81], Operations: ['2+73=75', '6+75=81']
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[75, 87], Operations: ['2+73=75', '93-6=87']
Exploring Operation: 75+87=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
77,
13,
85,
19
] | 12 |
[
"77*13=1001",
"19+1001=1020",
"1020/85=12"
] |
Current State: 12:[77, 13, 85, 19], Operations: []
Exploring Operation: 77*13=1001, Resulting Numbers: [85, 19, 1001]
Generated Node #2: [85, 19, 1001] from Operation: 77*13=1001
Current State: 12:[85, 19, 1001], Operations: ['77*13=1001']
Exploring Operation: 19+1001=1020, Resulting Numbers: [85, 1020]
Generated Node #3: [85, 1020] from Operation: 19+1001=1020
Current State: 12:[85, 1020], Operations: ['77*13=1001', '19+1001=1020']
Exploring Operation: 1020/85=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[77, 13, 85, 19], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [13, 19, 8]
Generated Node #0,0: 12:[13, 19, 8] Operation: 85-77=8
Exploring Operation: 85-19=66, Resulting Numbers: [77, 13, 66]
Generated Node #0,1: 12:[77, 13, 66] Operation: 85-19=66
Exploring Operation: 77-19=58, Resulting Numbers: [13, 85, 58]
Generated Node #0,2: 12:[13, 85, 58] Operation: 77-19=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[13, 19, 8], Operations: ['85-77=8']
Exploring Operation: 19-13=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 12:[8, 6] Operation: 19-13=6
Exploring Operation: 13-8=5, Resulting Numbers: [19, 5]
Generated Node #0,0,1: 12:[19, 5] Operation: 13-8=5
Exploring Operation: 19-8=11, Resulting Numbers: [13, 11]
Generated Node #0,0,2: 12:[13, 11] Operation: 19-8=11
Moving to Node #0,0,0
Current State: 12:[8, 6], Operations: ['85-77=8', '19-13=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[13, 11], Operations: ['85-77=8', '19-8=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[19, 5], Operations: ['85-77=8', '13-8=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,12 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No 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: 12:[77, 13, 66], Operations: ['85-19=66']
Exploring Operation: 77-13=64, Resulting Numbers: [66, 64]
Generated Node #0,1,0: 12:[66, 64] Operation: 77-13=64
Exploring Operation: 77-66=11, Resulting Numbers: [13, 11]
Generated Node #0,1,1: 12:[13, 11] Operation: 77-66=11
Exploring Operation: 66-13=53, Resulting Numbers: [77, 53]
Generated Node #0,1,2: 12:[77, 53] Operation: 66-13=53
Moving to Node #0,1,1
Current State: 12:[13, 11], Operations: ['85-19=66', '77-66=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[66, 64], Operations: ['85-19=66', '77-13=64']
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,12 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,12 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[77, 53], Operations: ['85-19=66', '66-13=53']
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,12 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,12 unequal: No Solution
No 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: 12:[13, 85, 58], Operations: ['77-19=58']
Exploring Operation: 85-58=27, Resulting Numbers: [13, 27]
Generated Node #0,2,0: 12:[13, 27] Operation: 85-58=27
Exploring Operation: 58-13=45, Resulting Numbers: [85, 45]
Generated Node #0,2,1: 12:[85, 45] Operation: 58-13=45
Exploring Operation: 85-13=72, Resulting Numbers: [58, 72]
Generated Node #0,2,2: 12:[58, 72] Operation: 85-13=72
Moving to Node #0,2,0
Current State: 12:[13, 27], Operations: ['77-19=58', '85-58=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,12 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[85, 45], Operations: ['77-19=58', '58-13=45']
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,12 unequal: No Solution
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[58, 72], Operations: ['77-19=58', '85-13=72']
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 58*72=4176, Resulting Numbers: [4176]
4176,12 unequal: No Solution
Exploring Operation: 58+72=130, Resulting Numbers: [130]
130,12 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
|
[
56,
85,
83,
64
] | 48 |
[
"85-56=29",
"83-64=19",
"29+19=48"
] |
Current State: 48:[56, 85, 83, 64], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [83, 64, 29]
Generated Node #2: [83, 64, 29] from Operation: 85-56=29
Current State: 48:[83, 64, 29], Operations: ['85-56=29']
Exploring Operation: 83-64=19, Resulting Numbers: [29, 19]
Generated Node #3: [29, 19] from Operation: 83-64=19
Current State: 48:[29, 19], Operations: ['85-56=29', '83-64=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[56, 85, 83, 64], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [56, 64, 2]
Generated Node #0,0: 48:[56, 64, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 48:[56, 64, 2], Operations: ['85-83=2']
Exploring Operation: 64-56=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 48:[2, 8] Operation: 64-56=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 8], Operations: ['85-83=2', '64-56=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,48 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,
59,
50,
94
] | 27 |
[
"94-91=3",
"59-50=9",
"3*9=27"
] |
Current State: 27:[91, 59, 50, 94], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [59, 50, 3]
Generated Node #2: [59, 50, 3] from Operation: 94-91=3
Current State: 27:[59, 50, 3], Operations: ['94-91=3']
Exploring Operation: 59-50=9, Resulting Numbers: [3, 9]
Generated Node #3: [3, 9] from Operation: 59-50=9
Current State: 27:[3, 9], Operations: ['94-91=3', '59-50=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[91, 59, 50, 94], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [59, 50, 3]
Generated Node #0,0: 27:[59, 50, 3] Operation: 94-91=3
Exploring Operation: 94-59=35, Resulting Numbers: [91, 50, 35]
Generated Node #0,1: 27:[91, 50, 35] Operation: 94-59=35
Exploring Operation: 91-59=32, Resulting Numbers: [50, 94, 32]
Generated Node #0,2: 27:[50, 94, 32] Operation: 91-59=32
Exploring Operation: 91-50=41, Resulting Numbers: [59, 94, 41]
Generated Node #0,3: 27:[59, 94, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 27:[59, 50, 3], Operations: ['94-91=3']
Exploring Operation: 59+3=62, Resulting Numbers: [50, 62]
Generated Node #0,0,0: 27:[50, 62] Operation: 59+3=62
Exploring Operation: 59-3=56, Resulting Numbers: [50, 56]
Generated Node #0,0,1: 27:[50, 56] Operation: 59-3=56
Exploring Operation: 50-3=47, Resulting Numbers: [59, 47]
Generated Node #0,0,2: 27:[59, 47] Operation: 50-3=47
Exploring Operation: 59-50=9, Resulting Numbers: [3, 9]
Generated Node #0,0,3: 27:[3, 9] Operation: 59-50=9
Moving to Node #0,2
Current State: 27:[50, 94, 32], Operations: ['91-59=32']
Exploring Operation: 94-32=62, Resulting Numbers: [50, 62]
Generated Node #0,2,0: 27:[50, 62] Operation: 94-32=62
Exploring Operation: 94-50=44, Resulting Numbers: [32, 44]
Generated Node #0,2,1: 27:[32, 44] Operation: 94-50=44
Exploring Operation: 50+94=144, Resulting Numbers: [32, 144]
Generated Node #0,2,2: 27:[32, 144] Operation: 50+94=144
Exploring Operation: 50-32=18, Resulting Numbers: [94, 18]
Generated Node #0,2,3: 27:[94, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[32, 44], Operations: ['91-59=32', '94-50=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,27 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[50, 62], Operations: ['91-59=32', '94-32=62']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,27 unequal: No Solution
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[94, 18], Operations: ['91-59=32', '50-32=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,27 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[32, 144], Operations: ['91-59=32', '50+94=144']
Exploring Operation: 144-32=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 32+144=176, Resulting Numbers: [176]
176,27 unequal: No Solution
Exploring Operation: 32*144=4608, Resulting Numbers: [4608]
4608,27 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: 27:[91, 50, 35], Operations: ['94-59=35']
Exploring Operation: 50-35=15, Resulting Numbers: [91, 15]
Generated Node #0,1,0: 27:[91, 15] Operation: 50-35=15
Exploring Operation: 91+50=141, Resulting Numbers: [35, 141]
Generated Node #0,1,1: 27:[35, 141] Operation: 91+50=141
Exploring Operation: 91-35=56, Resulting Numbers: [50, 56]
Generated Node #0,1,2: 27:[50, 56] Operation: 91-35=56
Exploring Operation: 91-50=41, Resulting Numbers: [35, 41]
Generated Node #0,1,3: 27:[35, 41] Operation: 91-50=41
Moving to Node #0,3
Current State: 27:[59, 94, 41], Operations: ['91-50=41']
Exploring Operation: 94-59=35, Resulting Numbers: [41, 35]
Generated Node #0,3,0: 27:[41, 35] Operation: 94-59=35
Exploring Operation: 94-41=53, Resulting Numbers: [59, 53]
Generated Node #0,3,1: 27:[59, 53] Operation: 94-41=53
Exploring Operation: 59-41=18, Resulting Numbers: [94, 18]
Generated Node #0,3,2: 27:[94, 18] Operation: 59-41=18
Exploring Operation: 59+94=153, Resulting Numbers: [41, 153]
Generated Node #0,3,3: 27:[41, 153] Operation: 59+94=153
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[41, 35], Operations: ['91-50=41', '94-59=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,27 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[59, 53], Operations: ['91-50=41', '94-41=53']
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,27 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[94, 18], Operations: ['91-50=41', '59-41=18']
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,27 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,27 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[41, 153], Operations: ['91-50=41', '59+94=153']
Exploring Operation: 153-41=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 41+153=194, Resulting Numbers: [194]
194,27 unequal: No Solution
Exploring Operation: 41*153=6273, Resulting Numbers: [6273]
6273,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 27:[3, 9], Operations: ['94-91=3', '59-50=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[91, 59, 50, 94], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [59, 50, 3]
Generated Node #0,0: 27:[59, 50, 3] Operation: 94-91=3
Moving to Node #0,0
Current State: 27:[59, 50, 3], Operations: ['94-91=3']
Exploring Operation: 59-50=9, Resulting Numbers: [3, 9]
Generated Node #0,0,3: 27:[3, 9] Operation: 59-50=9
Moving to Node #0,0,3
Current State: 27:[3, 9], Operations: ['94-91=3', '59-50=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.956597 |
hs_4
|
sum_heuristic
|
[
7,
27,
45,
37
] | 83 |
[
"45-37=8",
"7*8=56",
"27+56=83"
] |
Current State: 83:[7, 27, 45, 37], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [7, 27, 8]
Generated Node #2: [7, 27, 8] from Operation: 45-37=8
Current State: 83:[7, 27, 8], Operations: ['45-37=8']
Exploring Operation: 7*8=56, Resulting Numbers: [27, 56]
Generated Node #3: [27, 56] from Operation: 7*8=56
Current State: 83:[27, 56], Operations: ['45-37=8', '7*8=56']
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[7, 27, 45, 37], Operations: []
Exploring Operation: 7+37=44, Resulting Numbers: [27, 45, 44]
Generated Node #0,0: 83:[27, 45, 44] Operation: 7+37=44
Exploring Operation: 7+45=52, Resulting Numbers: [27, 37, 52]
Generated Node #0,1: 83:[27, 37, 52] Operation: 7+45=52
Exploring Operation: 7+27=34, Resulting Numbers: [45, 37, 34]
Generated Node #0,2: 83:[45, 37, 34] Operation: 7+27=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[27, 45, 44], Operations: ['7+37=44']
Exploring Operation: 45+44=89, Resulting Numbers: [27, 89]
Generated Node #0,0,0: 83:[27, 89] Operation: 45+44=89
Exploring Operation: 27+45=72, Resulting Numbers: [44, 72]
Generated Node #0,0,1: 83:[44, 72] Operation: 27+45=72
Exploring Operation: 27+44=71, Resulting Numbers: [45, 71]
Generated Node #0,0,2: 83:[45, 71] Operation: 27+44=71
Moving to Node #0,0,1
Current State: 83:[44, 72], Operations: ['7+37=44', '27+45=72']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,83 unequal: No Solution
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[45, 71], Operations: ['7+37=44', '27+44=71']
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[27, 89], Operations: ['7+37=44', '45+44=89']
Exploring Operation: 27*89=2403, Resulting Numbers: [2403]
2403,83 unequal: No Solution
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[27, 37, 52], Operations: ['7+45=52']
Exploring Operation: 27+37=64, Resulting Numbers: [52, 64]
Generated Node #0,1,0: 83:[52, 64] Operation: 27+37=64
Exploring Operation: 37+52=89, Resulting Numbers: [27, 89]
Generated Node #0,1,1: 83:[27, 89] Operation: 37+52=89
Exploring Operation: 27+52=79, Resulting Numbers: [37, 79]
Generated Node #0,1,2: 83:[37, 79] Operation: 27+52=79
Moving to Node #0,1,0
Current State: 83:[52, 64], Operations: ['7+45=52', '27+37=64']
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,83 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[37, 79], Operations: ['7+45=52', '27+52=79']
Exploring Operation: 37*79=2923, Resulting Numbers: [2923]
2923,83 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 37+79=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[27, 89], Operations: ['7+45=52', '37+52=89']
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 27*89=2403, Resulting Numbers: [2403]
2403,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[45, 37, 34], Operations: ['7+27=34']
Exploring Operation: 45+37=82, Resulting Numbers: [34, 82]
Generated Node #0,2,0: 83:[34, 82] Operation: 45+37=82
Exploring Operation: 45+34=79, Resulting Numbers: [37, 79]
Generated Node #0,2,1: 83:[37, 79] Operation: 45+34=79
Exploring Operation: 37+34=71, Resulting Numbers: [45, 71]
Generated Node #0,2,2: 83:[45, 71] Operation: 37+34=71
Moving to Node #0,2,0
Current State: 83:[34, 82], Operations: ['7+27=34', '45+37=82']
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[37, 79], Operations: ['7+27=34', '45+34=79']
Exploring Operation: 37*79=2923, Resulting Numbers: [2923]
2923,83 unequal: No Solution
Exploring Operation: 37+79=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[45, 71], Operations: ['7+27=34', '37+34=71']
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,83 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,83 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
|
[
81,
11,
98,
14
] | 56 |
[
"81*14=1134",
"11*98=1078",
"1134-1078=56"
] |
Current State: 56:[81, 11, 98, 14], Operations: []
Exploring Operation: 81*14=1134, Resulting Numbers: [11, 98, 1134]
Generated Node #2: [11, 98, 1134] from Operation: 81*14=1134
Current State: 56:[11, 98, 1134], Operations: ['81*14=1134']
Exploring Operation: 11*98=1078, Resulting Numbers: [1134, 1078]
Generated Node #3: [1134, 1078] from Operation: 11*98=1078
Current State: 56:[1134, 1078], Operations: ['81*14=1134', '11*98=1078']
Exploring Operation: 1134-1078=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[81, 11, 98, 14], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [81, 11, 7]
Generated Node #0,0: 56:[81, 11, 7] Operation: 98/14=7
Exploring Operation: 98-81=17, Resulting Numbers: [11, 14, 17]
Generated Node #0,1: 56:[11, 14, 17] Operation: 98-81=17
Moving to Node #0,1
Current State: 56:[11, 14, 17], Operations: ['98-81=17']
Exploring Operation: 17-11=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 56:[14, 6] Operation: 17-11=6
Exploring Operation: 11+17=28, Resulting Numbers: [14, 28]
Generated Node #0,1,1: 56:[14, 28] Operation: 11+17=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[14, 28], Operations: ['98-81=17', '11+17=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[14, 6], Operations: ['98-81=17', '17-11=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,56 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: 56:[81, 11, 7], Operations: ['98/14=7']
Exploring Operation: 81-7=74, Resulting Numbers: [11, 74]
Generated Node #0,0,0: 56:[11, 74] Operation: 81-7=74
Exploring Operation: 81-11=70, Resulting Numbers: [7, 70]
Generated Node #0,0,1: 56:[7, 70] Operation: 81-11=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[7, 70], Operations: ['98/14=7', '81-11=70']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[11, 74], Operations: ['98/14=7', '81-7=74']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,56 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
|
[
74,
78,
3,
56
] | 99 |
[
"74+78=152",
"56-3=53",
"152-53=99"
] |
Current State: 99:[74, 78, 3, 56], Operations: []
Exploring Operation: 74+78=152, Resulting Numbers: [3, 56, 152]
Generated Node #2: [3, 56, 152] from Operation: 74+78=152
Current State: 99:[3, 56, 152], Operations: ['74+78=152']
Exploring Operation: 56-3=53, Resulting Numbers: [152, 53]
Generated Node #3: [152, 53] from Operation: 56-3=53
Current State: 99:[152, 53], Operations: ['74+78=152', '56-3=53']
Exploring Operation: 152-53=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[74, 78, 3, 56], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [78, 3, 18]
Generated Node #0,0: 99:[78, 3, 18] Operation: 74-56=18
Exploring Operation: 74+56=130, Resulting Numbers: [78, 3, 130]
Generated Node #0,1: 99:[78, 3, 130] Operation: 74+56=130
Exploring Operation: 78-74=4, Resulting Numbers: [3, 56, 4]
Generated Node #0,2: 99:[3, 56, 4] Operation: 78-74=4
Exploring Operation: 78-56=22, Resulting Numbers: [74, 3, 22]
Generated Node #0,3: 99:[74, 3, 22] Operation: 78-56=22
Moving to Node #0,2
Current State: 99:[3, 56, 4], Operations: ['78-74=4']
Exploring Operation: 56-4=52, Resulting Numbers: [3, 52]
Generated Node #0,2,0: 99:[3, 52] Operation: 56-4=52
Exploring Operation: 56/4=14, Resulting Numbers: [3, 14]
Generated Node #0,2,1: 99:[3, 14] Operation: 56/4=14
Exploring Operation: 56-3=53, Resulting Numbers: [4, 53]
Generated Node #0,2,2: 99:[4, 53] Operation: 56-3=53
Exploring Operation: 3*4=12, Resulting Numbers: [56, 12]
Generated Node #0,2,3: 99:[56, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[3, 14], Operations: ['78-74=4', '56/4=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[3, 52], Operations: ['78-74=4', '56-4=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,99 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[4, 53], Operations: ['78-74=4', '56-3=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,99 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[56, 12], Operations: ['78-74=4', '3*4=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[78, 3, 18], Operations: ['74-56=18']
Exploring Operation: 78/3=26, Resulting Numbers: [18, 26]
Generated Node #0,0,0: 99:[18, 26] Operation: 78/3=26
Exploring Operation: 78+3=81, Resulting Numbers: [18, 81]
Generated Node #0,0,1: 99:[18, 81] Operation: 78+3=81
Exploring Operation: 78+18=96, Resulting Numbers: [3, 96]
Generated Node #0,0,2: 99:[3, 96] Operation: 78+18=96
Exploring Operation: 18/3=6, Resulting Numbers: [78, 6]
Generated Node #0,0,3: 99:[78, 6] Operation: 18/3=6
Moving to Node #0,3
Current State: 99:[74, 3, 22], Operations: ['78-56=22']
Exploring Operation: 74-22=52, Resulting Numbers: [3, 52]
Generated Node #0,3,0: 99:[3, 52] Operation: 74-22=52
Exploring Operation: 74+22=96, Resulting Numbers: [3, 96]
Generated Node #0,3,1: 99:[3, 96] Operation: 74+22=96
Exploring Operation: 3+22=25, Resulting Numbers: [74, 25]
Generated Node #0,3,2: 99:[74, 25] Operation: 3+22=25
Exploring Operation: 74+3=77, Resulting Numbers: [22, 77]
Generated Node #0,3,3: 99:[22, 77] Operation: 74+3=77
Moving to Node #0,1
Current State: 99:[78, 3, 130], Operations: ['74+56=130']
Exploring Operation: 78+3=81, Resulting Numbers: [130, 81]
Generated Node #0,1,0: 99:[130, 81] Operation: 78+3=81
Exploring Operation: 78/3=26, Resulting Numbers: [130, 26]
Generated Node #0,1,1: 99:[130, 26] Operation: 78/3=26
Exploring Operation: 130-3=127, Resulting Numbers: [78, 127]
Generated Node #0,1,2: 99:[78, 127] Operation: 130-3=127
Exploring Operation: 130-78=52, Resulting Numbers: [3, 52]
Generated Node #0,1,3: 99:[3, 52] Operation: 130-78=52
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[3, 52], Operations: ['74+56=130', '130-78=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,99 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[130, 26], Operations: ['74+56=130', '78/3=26']
Exploring Operation: 130/26=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 130-26=104, Resulting Numbers: [104]
104,99 unequal: No Solution
Exploring Operation: 130*26=3380, Resulting Numbers: [3380]
3380,99 unequal: No Solution
Exploring Operation: 130+26=156, Resulting Numbers: [156]
156,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[130, 81], Operations: ['74+56=130', '78+3=81']
Exploring Operation: 130+81=211, Resulting Numbers: [211]
211,99 unequal: No Solution
Exploring Operation: 130-81=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 130*81=10530, Resulting Numbers: [10530]
10530,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[78, 127], Operations: ['74+56=130', '130-3=127']
Exploring Operation: 78*127=9906, Resulting Numbers: [9906]
9906,99 unequal: No Solution
Exploring Operation: 127-78=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 78+127=205, Resulting Numbers: [205]
205,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 99:[3, 96], Operations: ['74-56=18', '78+18=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[74, 78, 3, 56], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [78, 3, 18]
Generated Node #0,0: 99:[78, 3, 18] Operation: 74-56=18
Moving to Node #0,0
Current State: 99:[78, 3, 18], Operations: ['74-56=18']
Exploring Operation: 78+18=96, Resulting Numbers: [3, 96]
Generated Node #0,0,2: 99:[3, 96] Operation: 78+18=96
Moving to Node #0,0,2
Current State: 99:[3, 96], Operations: ['74-56=18', '78+18=96']
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.954861 |
hs_4
|
sum_heuristic
|
[
81,
48,
21,
47
] | 50 |
[
"48-21=27",
"81/27=3",
"47+3=50"
] |
Current State: 50:[81, 48, 21, 47], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [81, 47, 27]
Generated Node #2: [81, 47, 27] from Operation: 48-21=27
Current State: 50:[81, 47, 27], Operations: ['48-21=27']
Exploring Operation: 81/27=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 81/27=3
Current State: 50:[47, 3], Operations: ['48-21=27', '81/27=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[81, 48, 21, 47], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [21, 47, 33]
Generated Node #0,0: 50:[21, 47, 33] Operation: 81-48=33
Exploring Operation: 81-21=60, Resulting Numbers: [48, 47, 60]
Generated Node #0,1: 50:[48, 47, 60] Operation: 81-21=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[21, 47, 33], Operations: ['81-48=33']
Exploring Operation: 33-21=12, Resulting Numbers: [47, 12]
Generated Node #0,0,0: 50:[47, 12] Operation: 33-21=12
Exploring Operation: 21+33=54, Resulting Numbers: [47, 54]
Generated Node #0,0,1: 50:[47, 54] Operation: 21+33=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[47, 12], Operations: ['81-48=33', '33-21=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,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,0,1
Current State: 50:[47, 54], Operations: ['81-48=33', '21+33=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,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,1
Current State: 50:[48, 47, 60], Operations: ['81-21=60']
Exploring Operation: 60-47=13, Resulting Numbers: [48, 13]
Generated Node #0,1,0: 50:[48, 13] Operation: 60-47=13
Exploring Operation: 60-48=12, Resulting Numbers: [47, 12]
Generated Node #0,1,1: 50:[47, 12] Operation: 60-48=12
Moving to Node #0,1,0
Current State: 50:[48, 13], Operations: ['81-21=60', '60-47=13']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[47, 12], Operations: ['81-21=60', '60-48=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,50 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
|
[
63,
61,
28,
33
] | 47 |
[
"63-61=2",
"28/2=14",
"33+14=47"
] |
Current State: 47:[63, 61, 28, 33], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [28, 33, 2]
Generated Node #2: [28, 33, 2] from Operation: 63-61=2
Current State: 47:[28, 33, 2], Operations: ['63-61=2']
Exploring Operation: 28/2=14, Resulting Numbers: [33, 14]
Generated Node #3: [33, 14] from Operation: 28/2=14
Current State: 47:[33, 14], Operations: ['63-61=2', '28/2=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[63, 61, 28, 33], Operations: []
Exploring Operation: 63-28=35, Resulting Numbers: [61, 33, 35]
Generated Node #0,0: 47:[61, 33, 35] Operation: 63-28=35
Moving to Node #0,0
Current State: 47:[61, 33, 35], Operations: ['63-28=35']
Exploring Operation: 61-33=28, Resulting Numbers: [35, 28]
Generated Node #0,0,0: 47:[35, 28] Operation: 61-33=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[35, 28], Operations: ['63-28=35', '61-33=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
85,
96,
25,
16
] | 52 |
[
"96-85=11",
"25+16=41",
"11+41=52"
] |
Current State: 52:[85, 96, 25, 16], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [25, 16, 11]
Generated Node #2: [25, 16, 11] from Operation: 96-85=11
Current State: 52:[25, 16, 11], Operations: ['96-85=11']
Exploring Operation: 25+16=41, Resulting Numbers: [11, 41]
Generated Node #3: [11, 41] from Operation: 25+16=41
Current State: 52:[11, 41], Operations: ['96-85=11', '25+16=41']
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[85, 96, 25, 16], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [25, 16, 11]
Generated Node #0,0: 52:[25, 16, 11] Operation: 96-85=11
Exploring Operation: 96/16=6, Resulting Numbers: [85, 25, 6]
Generated Node #0,1: 52:[85, 25, 6] Operation: 96/16=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[25, 16, 11], Operations: ['96-85=11']
Exploring Operation: 16-11=5, Resulting Numbers: [25, 5]
Generated Node #0,0,0: 52:[25, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [25, 27]
Generated Node #0,0,1: 52:[25, 27] Operation: 16+11=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[25, 5], Operations: ['96-85=11', '16-11=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[25, 27], Operations: ['96-85=11', '16+11=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[85, 96, 25, 16], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [25, 16, 11]
Generated Node #0,0: 52:[25, 16, 11] Operation: 96-85=11
Moving to Node #0,0
Current State: 52:[25, 16, 11], Operations: ['96-85=11']
Exploring Operation: 16+11=27, Resulting Numbers: [25, 27]
Generated Node #0,0,1: 52:[25, 27] Operation: 16+11=27
Moving to Node #0,0,1
Current State: 52:[25, 27], Operations: ['96-85=11', '16+11=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
25,
39,
18,
32
] | 78 |
[
"25+39=64",
"32-18=14",
"64+14=78"
] |
Current State: 78:[25, 39, 18, 32], Operations: []
Exploring Operation: 25+39=64, Resulting Numbers: [18, 32, 64]
Generated Node #2: [18, 32, 64] from Operation: 25+39=64
Current State: 78:[18, 32, 64], Operations: ['25+39=64']
Exploring Operation: 32-18=14, Resulting Numbers: [64, 14]
Generated Node #3: [64, 14] from Operation: 32-18=14
Current State: 78:[64, 14], Operations: ['25+39=64', '32-18=14']
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[25, 39, 18, 32], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [39, 18, 7]
Generated Node #0,0: 78:[39, 18, 7] Operation: 32-25=7
Exploring Operation: 25-18=7, Resulting Numbers: [39, 32, 7]
Generated Node #0,1: 78:[39, 32, 7] Operation: 25-18=7
Exploring Operation: 32-18=14, Resulting Numbers: [25, 39, 14]
Generated Node #0,2: 78:[25, 39, 14] Operation: 32-18=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[25, 39, 14], Operations: ['32-18=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39, 39]
Generated Node #0,2,0: 78:[39, 39] Operation: 25+14=39
Exploring Operation: 39-25=14, Resulting Numbers: [14, 14]
Generated Node #0,2,1: 78:[14, 14] Operation: 39-25=14
Exploring Operation: 25-14=11, Resulting Numbers: [39, 11]
Generated Node #0,2,2: 78:[39, 11] Operation: 25-14=11
Moving to Node #0,2,0
Current State: 78:[39, 39], Operations: ['32-18=14', '25+14=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[25, 39, 18, 32], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [25, 39, 14]
Generated Node #0,2: 78:[25, 39, 14] Operation: 32-18=14
Moving to Node #0,2
Current State: 78:[25, 39, 14], Operations: ['32-18=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39, 39]
Generated Node #0,2,0: 78:[39, 39] Operation: 25+14=39
Moving to Node #0,2,0
Current State: 78:[39, 39], Operations: ['32-18=14', '25+14=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
65,
84,
99,
16
] | 64 |
[
"84-65=19",
"99-16=83",
"83-19=64"
] |
Current State: 64:[65, 84, 99, 16], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [99, 16, 19]
Generated Node #2: [99, 16, 19] from Operation: 84-65=19
Current State: 64:[99, 16, 19], Operations: ['84-65=19']
Exploring Operation: 99-16=83, Resulting Numbers: [19, 83]
Generated Node #3: [19, 83] from Operation: 99-16=83
Current State: 64:[19, 83], Operations: ['84-65=19', '99-16=83']
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[65, 84, 99, 16], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [65, 16, 15]
Generated Node #0,0: 64:[65, 16, 15] Operation: 99-84=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[65, 16, 15], Operations: ['99-84=15']
Exploring Operation: 16+15=31, Resulting Numbers: [65, 31]
Generated Node #0,0,0: 64:[65, 31] Operation: 16+15=31
Moving to Node #0,0,0
Current State: 64:[65, 31], Operations: ['99-84=15', '16+15=31']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
92,
2,
91,
3
] | 15 |
[
"92/2=46",
"91-46=45",
"45/3=15"
] |
Current State: 15:[92, 2, 91, 3], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [91, 3, 46]
Generated Node #2: [91, 3, 46] from Operation: 92/2=46
Current State: 15:[91, 3, 46], Operations: ['92/2=46']
Exploring Operation: 91-46=45, Resulting Numbers: [3, 45]
Generated Node #3: [3, 45] from Operation: 91-46=45
Current State: 15:[3, 45], Operations: ['92/2=46', '91-46=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[92, 2, 91, 3], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [91, 3, 46]
Generated Node #0,0: 15:[91, 3, 46] Operation: 92/2=46
Exploring Operation: 92-91=1, Resulting Numbers: [2, 3, 1]
Generated Node #0,1: 15:[2, 3, 1] Operation: 92-91=1
Moving to Node #0,1
Current State: 15:[2, 3, 1], Operations: ['92-91=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 15:[3, 3] Operation: 2+1=3
Exploring Operation: 2*1=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 15:[3, 2] Operation: 2*1=2
Moving to Node #0,0
Current State: 15:[91, 3, 46], Operations: ['92/2=46']
Exploring Operation: 91-3=88, Resulting Numbers: [46, 88]
Generated Node #0,0,0: 15:[46, 88] Operation: 91-3=88
Exploring Operation: 91-46=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 15:[3, 45] Operation: 91-46=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[3, 45], Operations: ['92/2=46', '91-46=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[92, 2, 91, 3], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [91, 3, 46]
Generated Node #0,0: 15:[91, 3, 46] Operation: 92/2=46
Moving to Node #0,0
Current State: 15:[91, 3, 46], Operations: ['92/2=46']
Exploring Operation: 91-46=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 15:[3, 45] Operation: 91-46=45
Moving to Node #0,0,1
Current State: 15:[3, 45], Operations: ['92/2=46', '91-46=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
14,
77,
20,
67
] | 80 |
[
"77-14=63",
"67-63=4",
"20*4=80"
] |
Current State: 80:[14, 77, 20, 67], Operations: []
Exploring Operation: 77-14=63, Resulting Numbers: [20, 67, 63]
Generated Node #2: [20, 67, 63] from Operation: 77-14=63
Current State: 80:[20, 67, 63], Operations: ['77-14=63']
Exploring Operation: 67-63=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 67-63=4
Current State: 80:[20, 4], Operations: ['77-14=63', '67-63=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[14, 77, 20, 67], Operations: []
Exploring Operation: 14+67=81, Resulting Numbers: [77, 20, 81]
Generated Node #0,0: 80:[77, 20, 81] Operation: 14+67=81
Exploring Operation: 20+67=87, Resulting Numbers: [14, 77, 87]
Generated Node #0,1: 80:[14, 77, 87] Operation: 20+67=87
Exploring Operation: 67-20=47, Resulting Numbers: [14, 77, 47]
Generated Node #0,2: 80:[14, 77, 47] Operation: 67-20=47
Exploring Operation: 67-14=53, Resulting Numbers: [77, 20, 53]
Generated Node #0,3: 80:[77, 20, 53] Operation: 67-14=53
Exploring Operation: 77-67=10, Resulting Numbers: [14, 20, 10]
Generated Node #0,4: 80:[14, 20, 10] Operation: 77-67=10
Moving to Node #0,4
Current State: 80:[14, 20, 10], Operations: ['77-67=10']
Exploring Operation: 20-10=10, Resulting Numbers: [14, 10]
Generated Node #0,4,0: 80:[14, 10] Operation: 20-10=10
Exploring Operation: 14+10=24, Resulting Numbers: [20, 24]
Generated Node #0,4,1: 80:[20, 24] Operation: 14+10=24
Exploring Operation: 14-10=4, Resulting Numbers: [20, 4]
Generated Node #0,4,2: 80:[20, 4] Operation: 14-10=4
Exploring Operation: 20-14=6, Resulting Numbers: [10, 6]
Generated Node #0,4,3: 80:[10, 6] Operation: 20-14=6
Exploring Operation: 20/10=2, Resulting Numbers: [14, 2]
Generated Node #0,4,4: 80:[14, 2] Operation: 20/10=2
Moving to Node #0,0
Current State: 80:[77, 20, 81], Operations: ['14+67=81']
Exploring Operation: 81-77=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 80:[20, 4] Operation: 81-77=4
Exploring Operation: 77-20=57, Resulting Numbers: [81, 57]
Generated Node #0,0,1: 80:[81, 57] Operation: 77-20=57
Exploring Operation: 81-20=61, Resulting Numbers: [77, 61]
Generated Node #0,0,2: 80:[77, 61] Operation: 81-20=61
Exploring Operation: 20+81=101, Resulting Numbers: [77, 101]
Generated Node #0,0,3: 80:[77, 101] Operation: 20+81=101
Exploring Operation: 77+20=97, Resulting Numbers: [81, 97]
Generated Node #0,0,4: 80:[81, 97] Operation: 77+20=97
Moving to Node #0,1
Current State: 80:[14, 77, 87], Operations: ['20+67=87']
Exploring Operation: 14+87=101, Resulting Numbers: [77, 101]
Generated Node #0,1,0: 80:[77, 101] Operation: 14+87=101
Exploring Operation: 87-77=10, Resulting Numbers: [14, 10]
Generated Node #0,1,1: 80:[14, 10] Operation: 87-77=10
Exploring Operation: 87-14=73, Resulting Numbers: [77, 73]
Generated Node #0,1,2: 80:[77, 73] Operation: 87-14=73
Exploring Operation: 77-14=63, Resulting Numbers: [87, 63]
Generated Node #0,1,3: 80:[87, 63] Operation: 77-14=63
Exploring Operation: 14+77=91, Resulting Numbers: [87, 91]
Generated Node #0,1,4: 80:[87, 91] Operation: 14+77=91
Moving to Node #0,2
Current State: 80:[14, 77, 47], Operations: ['67-20=47']
Exploring Operation: 14+47=61, Resulting Numbers: [77, 61]
Generated Node #0,2,0: 80:[77, 61] Operation: 14+47=61
Exploring Operation: 77-47=30, Resulting Numbers: [14, 30]
Generated Node #0,2,1: 80:[14, 30] Operation: 77-47=30
Exploring Operation: 47-14=33, Resulting Numbers: [77, 33]
Generated Node #0,2,2: 80:[77, 33] Operation: 47-14=33
Exploring Operation: 77-14=63, Resulting Numbers: [47, 63]
Generated Node #0,2,3: 80:[47, 63] Operation: 77-14=63
Exploring Operation: 14+77=91, Resulting Numbers: [47, 91]
Generated Node #0,2,4: 80:[47, 91] Operation: 14+77=91
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[77, 33], Operations: ['67-20=47', '47-14=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,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,2,1
Current State: 80:[14, 30], Operations: ['67-20=47', '77-47=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,80 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 14+30=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,2,4
Current State: 80:[47, 91], Operations: ['67-20=47', '14+77=91']
Exploring Operation: 47*91=4277, Resulting Numbers: [4277]
4277,80 unequal: No Solution
Exploring Operation: 47+91=138, Resulting Numbers: [138]
138,80 unequal: No Solution
Exploring Operation: 91-47=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,2,0
Current State: 80:[77, 61], Operations: ['67-20=47', '14+47=61']
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,80 unequal: No Solution
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,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,2,3
Current State: 80:[47, 63], Operations: ['67-20=47', '77-14=63']
Exploring Operation: 47+63=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 47*63=2961, Resulting Numbers: [2961]
2961,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:[77, 20, 53], Operations: ['67-14=53']
Exploring Operation: 77-53=24, Resulting Numbers: [20, 24]
Generated Node #0,3,0: 80:[20, 24] Operation: 77-53=24
Exploring Operation: 20+53=73, Resulting Numbers: [77, 73]
Generated Node #0,3,1: 80:[77, 73] Operation: 20+53=73
Exploring Operation: 77-20=57, Resulting Numbers: [53, 57]
Generated Node #0,3,2: 80:[53, 57] Operation: 77-20=57
Exploring Operation: 77+20=97, Resulting Numbers: [53, 97]
Generated Node #0,3,3: 80:[53, 97] Operation: 77+20=97
Exploring Operation: 53-20=33, Resulting Numbers: [77, 33]
Generated Node #0,3,4: 80:[77, 33] Operation: 53-20=33
Moving to Node #0,4,2
Current State: 80:[20, 4], Operations: ['77-67=10', '14-10=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[14, 77, 20, 67], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [14, 20, 10]
Generated Node #0,4: 80:[14, 20, 10] Operation: 77-67=10
Moving to Node #0,4
Current State: 80:[14, 20, 10], Operations: ['77-67=10']
Exploring Operation: 14-10=4, Resulting Numbers: [20, 4]
Generated Node #0,4,2: 80:[20, 4] Operation: 14-10=4
Moving to Node #0,4,2
Current State: 80:[20, 4], Operations: ['77-67=10', '14-10=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.956597 |
hs_5
|
sum_heuristic
|
[
2,
3,
20,
41
] | 55 |
[
"2*3=6",
"20+41=61",
"61-6=55"
] |
Current State: 55:[2, 3, 20, 41], Operations: []
Exploring Operation: 2*3=6, Resulting Numbers: [20, 41, 6]
Generated Node #2: [20, 41, 6] from Operation: 2*3=6
Current State: 55:[20, 41, 6], Operations: ['2*3=6']
Exploring Operation: 20+41=61, Resulting Numbers: [6, 61]
Generated Node #3: [6, 61] from Operation: 20+41=61
Current State: 55:[6, 61], Operations: ['2*3=6', '20+41=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[2, 3, 20, 41], Operations: []
Exploring Operation: 20+41=61, Resulting Numbers: [2, 3, 61]
Generated Node #0,0: 55:[2, 3, 61] Operation: 20+41=61
Exploring Operation: 41-20=21, Resulting Numbers: [2, 3, 21]
Generated Node #0,1: 55:[2, 3, 21] Operation: 41-20=21
Moving to Node #0,0
Current State: 55:[2, 3, 61], Operations: ['20+41=61']
Exploring Operation: 2+3=5, Resulting Numbers: [61, 5]
Generated Node #0,0,0: 55:[61, 5] Operation: 2+3=5
Exploring Operation: 61-2=59, Resulting Numbers: [3, 59]
Generated Node #0,0,1: 55:[3, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[61, 5], Operations: ['20+41=61', '2+3=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[3, 59], Operations: ['20+41=61', '61-2=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 55:[2, 3, 21], Operations: ['41-20=21']
Exploring Operation: 2+3=5, Resulting Numbers: [21, 5]
Generated Node #0,1,0: 55:[21, 5] Operation: 2+3=5
Exploring Operation: 21/3=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 55:[2, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[2, 7], Operations: ['41-20=21', '21/3=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[21, 5], Operations: ['41-20=21', '2+3=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
94,
38,
14,
2
] | 73 |
[
"94+38=132",
"14+132=146",
"146/2=73"
] |
Current State: 73:[94, 38, 14, 2], Operations: []
Exploring Operation: 94+38=132, Resulting Numbers: [14, 2, 132]
Generated Node #2: [14, 2, 132] from Operation: 94+38=132
Current State: 73:[14, 2, 132], Operations: ['94+38=132']
Exploring Operation: 14+132=146, Resulting Numbers: [2, 146]
Generated Node #3: [2, 146] from Operation: 14+132=146
Current State: 73:[2, 146], Operations: ['94+38=132', '14+132=146']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[94, 38, 14, 2], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [94, 38, 28]
Generated Node #0,0: 73:[94, 38, 28] Operation: 14*2=28
Exploring Operation: 38*2=76, Resulting Numbers: [94, 14, 76]
Generated Node #0,1: 73:[94, 14, 76] Operation: 38*2=76
Exploring Operation: 94-14=80, Resulting Numbers: [38, 2, 80]
Generated Node #0,2: 73:[38, 2, 80] Operation: 94-14=80
Moving to Node #0,1
Current State: 73:[94, 14, 76], Operations: ['38*2=76']
Exploring Operation: 76-14=62, Resulting Numbers: [94, 62]
Generated Node #0,1,0: 73:[94, 62] Operation: 76-14=62
Exploring Operation: 94-14=80, Resulting Numbers: [76, 80]
Generated Node #0,1,1: 73:[76, 80] Operation: 94-14=80
Exploring Operation: 94+14=108, Resulting Numbers: [76, 108]
Generated Node #0,1,2: 73:[76, 108] Operation: 94+14=108
Moving to Node #0,0
Current State: 73:[94, 38, 28], Operations: ['14*2=28']
Exploring Operation: 94-38=56, Resulting Numbers: [28, 56]
Generated Node #0,0,0: 73:[28, 56] Operation: 94-38=56
Exploring Operation: 94-28=66, Resulting Numbers: [38, 66]
Generated Node #0,0,1: 73:[38, 66] Operation: 94-28=66
Exploring Operation: 38+28=66, Resulting Numbers: [94, 66]
Generated Node #0,0,2: 73:[94, 66] Operation: 38+28=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[94, 66], Operations: ['14*2=28', '38+28=66']
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,73 unequal: No Solution
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[38, 66], Operations: ['14*2=28', '94-28=66']
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,73 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[28, 56], Operations: ['14*2=28', '94-38=56']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,73 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: 73:[38, 2, 80], Operations: ['94-14=80']
Exploring Operation: 38+2=40, Resulting Numbers: [80, 40]
Generated Node #0,2,0: 73:[80, 40] Operation: 38+2=40
Exploring Operation: 38*2=76, Resulting Numbers: [80, 76]
Generated Node #0,2,1: 73:[80, 76] Operation: 38*2=76
Exploring Operation: 80-2=78, Resulting Numbers: [38, 78]
Generated Node #0,2,2: 73:[38, 78] Operation: 80-2=78
Moving to Node #0,1,1
Current State: 73:[76, 80], Operations: ['38*2=76', '94-14=80']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[80, 76], Operations: ['94-14=80', '38*2=76']
Exploring Operation: 80+76=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 80*76=6080, Resulting Numbers: [6080]
6080,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[94, 62], Operations: ['38*2=76', '76-14=62']
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[76, 108], Operations: ['38*2=76', '94+14=108']
Exploring Operation: 76+108=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 76*108=8208, Resulting Numbers: [8208]
8208,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[38, 78], Operations: ['94-14=80', '80-2=78']
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,73 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[80, 40], Operations: ['94-14=80', '38+2=40']
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,73 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
91,
99,
66,
5
] | 53 |
[
"99-91=8",
"66-5=61",
"61-8=53"
] |
Current State: 53:[91, 99, 66, 5], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [66, 5, 8]
Generated Node #2: [66, 5, 8] from Operation: 99-91=8
Current State: 53:[66, 5, 8], Operations: ['99-91=8']
Exploring Operation: 66-5=61, Resulting Numbers: [8, 61]
Generated Node #3: [8, 61] from Operation: 66-5=61
Current State: 53:[8, 61], Operations: ['99-91=8', '66-5=61']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[91, 99, 66, 5], Operations: []
Exploring Operation: 91+5=96, Resulting Numbers: [99, 66, 96]
Generated Node #0,0: 53:[99, 66, 96] Operation: 91+5=96
Exploring Operation: 66-5=61, Resulting Numbers: [91, 99, 61]
Generated Node #0,1: 53:[91, 99, 61] Operation: 66-5=61
Exploring Operation: 91-5=86, Resulting Numbers: [99, 66, 86]
Generated Node #0,2: 53:[99, 66, 86] Operation: 91-5=86
Exploring Operation: 99-5=94, Resulting Numbers: [91, 66, 94]
Generated Node #0,3: 53:[91, 66, 94] Operation: 99-5=94
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[91, 99, 61], Operations: ['66-5=61']
Exploring Operation: 91-61=30, Resulting Numbers: [99, 30]
Generated Node #0,1,0: 53:[99, 30] Operation: 91-61=30
Exploring Operation: 99-91=8, Resulting Numbers: [61, 8]
Generated Node #0,1,1: 53:[61, 8] Operation: 99-91=8
Exploring Operation: 91+99=190, Resulting Numbers: [61, 190]
Generated Node #0,1,2: 53:[61, 190] Operation: 91+99=190
Exploring Operation: 99-61=38, Resulting Numbers: [91, 38]
Generated Node #0,1,3: 53:[91, 38] Operation: 99-61=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[61, 8], Operations: ['66-5=61', '99-91=8']
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,53 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[91, 99, 66, 5], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [91, 99, 61]
Generated Node #0,1: 53:[91, 99, 61] Operation: 66-5=61
Moving to Node #0,1
Current State: 53:[91, 99, 61], Operations: ['66-5=61']
Exploring Operation: 99-91=8, Resulting Numbers: [61, 8]
Generated Node #0,1,1: 53:[61, 8] Operation: 99-91=8
Moving to Node #0,1,1
Current State: 53:[61, 8], Operations: ['66-5=61', '99-91=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
sum_heuristic
|
[
53,
7,
64,
10
] | 11 |
[
"53-7=46",
"64+46=110",
"110/10=11"
] |
Current State: 11:[53, 7, 64, 10], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [64, 10, 46]
Generated Node #2: [64, 10, 46] from Operation: 53-7=46
Current State: 11:[64, 10, 46], Operations: ['53-7=46']
Exploring Operation: 64+46=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 64+46=110
Current State: 11:[10, 110], Operations: ['53-7=46', '64+46=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[53, 7, 64, 10], Operations: []
Exploring Operation: 64-10=54, Resulting Numbers: [53, 7, 54]
Generated Node #0,0: 11:[53, 7, 54] Operation: 64-10=54
Exploring Operation: 64-53=11, Resulting Numbers: [7, 10, 11]
Generated Node #0,1: 11:[7, 10, 11] Operation: 64-53=11
Exploring Operation: 53-10=43, Resulting Numbers: [7, 64, 43]
Generated Node #0,2: 11:[7, 64, 43] Operation: 53-10=43
Exploring Operation: 64-7=57, Resulting Numbers: [53, 10, 57]
Generated Node #0,3: 11:[53, 10, 57] Operation: 64-7=57
Exploring Operation: 53-7=46, Resulting Numbers: [64, 10, 46]
Generated Node #0,4: 11:[64, 10, 46] Operation: 53-7=46
Moving to Node #0,1
Current State: 11:[7, 10, 11], Operations: ['64-53=11']
Exploring Operation: 10+11=21, Resulting Numbers: [7, 21]
Generated Node #0,1,0: 11:[7, 21] Operation: 10+11=21
Exploring Operation: 7+10=17, Resulting Numbers: [11, 17]
Generated Node #0,1,1: 11:[11, 17] Operation: 7+10=17
Exploring Operation: 11-7=4, Resulting Numbers: [10, 4]
Generated Node #0,1,2: 11:[10, 4] Operation: 11-7=4
Exploring Operation: 7+11=18, Resulting Numbers: [10, 18]
Generated Node #0,1,3: 11:[10, 18] Operation: 7+11=18
Exploring Operation: 10-7=3, Resulting Numbers: [11, 3]
Generated Node #0,1,4: 11:[11, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[11, 17], Operations: ['64-53=11', '7+10=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,11 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[10, 4], Operations: ['64-53=11', '11-7=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[10, 18], Operations: ['64-53=11', '7+11=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,11 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 11:[11, 3], Operations: ['64-53=11', '10-7=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[7, 21], Operations: ['64-53=11', '10+11=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,11 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,11 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: 11:[7, 64, 43], Operations: ['53-10=43']
Exploring Operation: 64-7=57, Resulting Numbers: [43, 57]
Generated Node #0,2,0: 11:[43, 57] Operation: 64-7=57
Exploring Operation: 7+43=50, Resulting Numbers: [64, 50]
Generated Node #0,2,1: 11:[64, 50] Operation: 7+43=50
Exploring Operation: 7+64=71, Resulting Numbers: [43, 71]
Generated Node #0,2,2: 11:[43, 71] Operation: 7+64=71
Exploring Operation: 43-7=36, Resulting Numbers: [64, 36]
Generated Node #0,2,3: 11:[64, 36] Operation: 43-7=36
Exploring Operation: 64-43=21, Resulting Numbers: [7, 21]
Generated Node #0,2,4: 11:[7, 21] Operation: 64-43=21
Moving to Node #0,4
Current State: 11:[64, 10, 46], Operations: ['53-7=46']
Exploring Operation: 64-10=54, Resulting Numbers: [46, 54]
Generated Node #0,4,0: 11:[46, 54] Operation: 64-10=54
Exploring Operation: 46-10=36, Resulting Numbers: [64, 36]
Generated Node #0,4,1: 11:[64, 36] Operation: 46-10=36
Exploring Operation: 64+10=74, Resulting Numbers: [46, 74]
Generated Node #0,4,2: 11:[46, 74] Operation: 64+10=74
Exploring Operation: 64-46=18, Resulting Numbers: [10, 18]
Generated Node #0,4,3: 11:[10, 18] Operation: 64-46=18
Exploring Operation: 10+46=56, Resulting Numbers: [64, 56]
Generated Node #0,4,4: 11:[64, 56] Operation: 10+46=56
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 11:[10, 18], Operations: ['53-7=46', '64-46=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,11 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 11:[46, 54], Operations: ['53-7=46', '64-10=54']
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 11:[64, 36], Operations: ['53-7=46', '46-10=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,11 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 11:[46, 74], Operations: ['53-7=46', '64+10=74']
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 11:[64, 56], Operations: ['53-7=46', '10+46=56']
Exploring Operation: 64+56=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 64*56=3584, Resulting Numbers: [3584]
3584,11 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,11 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: 11:[53, 7, 54], Operations: ['64-10=54']
Exploring Operation: 54-53=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 11:[7, 1] Operation: 54-53=1
Exploring Operation: 53-7=46, Resulting Numbers: [54, 46]
Generated Node #0,0,1: 11:[54, 46] Operation: 53-7=46
Exploring Operation: 53+7=60, Resulting Numbers: [54, 60]
Generated Node #0,0,2: 11:[54, 60] Operation: 53+7=60
Exploring Operation: 54-7=47, Resulting Numbers: [53, 47]
Generated Node #0,0,3: 11:[53, 47] Operation: 54-7=47
Exploring Operation: 7+54=61, Resulting Numbers: [53, 61]
Generated Node #0,0,4: 11:[53, 61] Operation: 7+54=61
Moving to Node #0,3
Current State: 11:[53, 10, 57], Operations: ['64-7=57']
Exploring Operation: 10+57=67, Resulting Numbers: [53, 67]
Generated Node #0,3,0: 11:[53, 67] Operation: 10+57=67
Exploring Operation: 53+10=63, Resulting Numbers: [57, 63]
Generated Node #0,3,1: 11:[57, 63] Operation: 53+10=63
Exploring Operation: 57-10=47, Resulting Numbers: [53, 47]
Generated Node #0,3,2: 11:[53, 47] Operation: 57-10=47
Exploring Operation: 57-53=4, Resulting Numbers: [10, 4]
Generated Node #0,3,3: 11:[10, 4] Operation: 57-53=4
Exploring Operation: 53-10=43, Resulting Numbers: [57, 43]
Generated Node #0,3,4: 11:[57, 43] Operation: 53-10=43
Moving to Node #0,3,3
Current State: 11:[10, 4], Operations: ['64-7=57', '57-53=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[7, 1], Operations: ['64-10=54', '54-53=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Moving to Node #0,2,4
Current State: 11:[7, 21], Operations: ['53-10=43', '64-43=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,11 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[54, 46], Operations: ['64-10=54', '53-7=46']
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,11 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[64, 36], Operations: ['53-10=43', '43-7=36']
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,11 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[53, 47], Operations: ['64-7=57', '57-10=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[57, 43], Operations: ['64-7=57', '53-10=43']
Exploring Operation: 57*43=2451, Resulting Numbers: [2451]
2451,11 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[43, 57], Operations: ['53-10=43', '64-7=57']
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,11 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[53, 47], Operations: ['64-10=54', '54-7=47']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[53, 61], Operations: ['64-10=54', '7+54=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[43, 71], Operations: ['53-10=43', '7+64=71']
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 43*71=3053, Resulting Numbers: [3053]
3053,11 unequal: No Solution
Exploring Operation: 43+71=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[54, 60], Operations: ['64-10=54', '53+7=60']
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 54+60=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 54*60=3240, Resulting Numbers: [3240]
3240,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[64, 50], Operations: ['53-10=43', '7+43=50']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,11 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[53, 67], Operations: ['64-7=57', '10+57=67']
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,11 unequal: No Solution
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[57, 63], Operations: ['64-7=57', '53+10=63']
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,11 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
39,
86,
64,
8
] | 32 |
[
"39*64=2496",
"86-8=78",
"2496/78=32"
] |
Current State: 32:[39, 86, 64, 8], Operations: []
Exploring Operation: 39*64=2496, Resulting Numbers: [86, 8, 2496]
Generated Node #2: [86, 8, 2496] from Operation: 39*64=2496
Current State: 32:[86, 8, 2496], Operations: ['39*64=2496']
Exploring Operation: 86-8=78, Resulting Numbers: [2496, 78]
Generated Node #3: [2496, 78] from Operation: 86-8=78
Current State: 32:[2496, 78], Operations: ['39*64=2496', '86-8=78']
Exploring Operation: 2496/78=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[39, 86, 64, 8], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [39, 8, 22]
Generated Node #0,0: 32:[39, 8, 22] Operation: 86-64=22
Moving to Node #0,0
Current State: 32:[39, 8, 22], Operations: ['86-64=22']
Exploring Operation: 39-22=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 32:[8, 17] Operation: 39-22=17
Moving to Node #0,0,0
Current State: 32:[8, 17], Operations: ['86-64=22', '39-22=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,32 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
45,
44,
6,
96
] | 15 |
[
"45-44=1",
"96/6=16",
"16-1=15"
] |
Current State: 15:[45, 44, 6, 96], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [6, 96, 1]
Generated Node #2: [6, 96, 1] from Operation: 45-44=1
Current State: 15:[6, 96, 1], Operations: ['45-44=1']
Exploring Operation: 96/6=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 96/6=16
Current State: 15:[1, 16], Operations: ['45-44=1', '96/6=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[45, 44, 6, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [45, 44, 16]
Generated Node #0,0: 15:[45, 44, 16] Operation: 96/6=16
Exploring Operation: 96-45=51, Resulting Numbers: [44, 6, 51]
Generated Node #0,1: 15:[44, 6, 51] Operation: 96-45=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[45, 44, 16], Operations: ['96/6=16']
Exploring Operation: 45-16=29, Resulting Numbers: [44, 29]
Generated Node #0,0,0: 15:[44, 29] Operation: 45-16=29
Exploring Operation: 45-44=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 15:[16, 1] Operation: 45-44=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[16, 1], Operations: ['96/6=16', '45-44=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[45, 44, 6, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [45, 44, 16]
Generated Node #0,0: 15:[45, 44, 16] Operation: 96/6=16
Moving to Node #0,0
Current State: 15:[45, 44, 16], Operations: ['96/6=16']
Exploring Operation: 45-44=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 15:[16, 1] Operation: 45-44=1
Moving to Node #0,0,1
Current State: 15:[16, 1], Operations: ['96/6=16', '45-44=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
70,
38,
17,
54
] | 71 |
[
"70+38=108",
"54-17=37",
"108-37=71"
] |
Current State: 71:[70, 38, 17, 54], Operations: []
Exploring Operation: 70+38=108, Resulting Numbers: [17, 54, 108]
Generated Node #2: [17, 54, 108] from Operation: 70+38=108
Current State: 71:[17, 54, 108], Operations: ['70+38=108']
Exploring Operation: 54-17=37, Resulting Numbers: [108, 37]
Generated Node #3: [108, 37] from Operation: 54-17=37
Current State: 71:[108, 37], Operations: ['70+38=108', '54-17=37']
Exploring Operation: 108-37=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[70, 38, 17, 54], Operations: []
Exploring Operation: 70+17=87, Resulting Numbers: [38, 54, 87]
Generated Node #0,0: 71:[38, 54, 87] Operation: 70+17=87
Exploring Operation: 70-17=53, Resulting Numbers: [38, 54, 53]
Generated Node #0,1: 71:[38, 54, 53] Operation: 70-17=53
Exploring Operation: 17+54=71, Resulting Numbers: [70, 38, 71]
Generated Node #0,2: 71:[70, 38, 71] Operation: 17+54=71
Exploring Operation: 38-17=21, Resulting Numbers: [70, 54, 21]
Generated Node #0,3: 71:[70, 54, 21] Operation: 38-17=21
Exploring Operation: 38+17=55, Resulting Numbers: [70, 54, 55]
Generated Node #0,4: 71:[70, 54, 55] Operation: 38+17=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[70, 38, 71], Operations: ['17+54=71']
Exploring Operation: 38+71=109, Resulting Numbers: [70, 109]
Generated Node #0,2,0: 71:[70, 109] Operation: 38+71=109
Exploring Operation: 70+38=108, Resulting Numbers: [71, 108]
Generated Node #0,2,1: 71:[71, 108] Operation: 70+38=108
Exploring Operation: 70-38=32, Resulting Numbers: [71, 32]
Generated Node #0,2,2: 71:[71, 32] Operation: 70-38=32
Exploring Operation: 71-38=33, Resulting Numbers: [70, 33]
Generated Node #0,2,3: 71:[70, 33] Operation: 71-38=33
Exploring Operation: 70+71=141, Resulting Numbers: [38, 141]
Generated Node #0,2,4: 71:[38, 141] Operation: 70+71=141
Moving to Node #0,2,1
Current State: 71:[71, 108], Operations: ['17+54=71', '70+38=108']
Exploring Operation: 71*108=7668, Resulting Numbers: [7668]
7668,71 unequal: No Solution
Exploring Operation: 71+108=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[71, 32], Operations: ['17+54=71', '70-38=32']
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 71*32=2272, Resulting Numbers: [2272]
2272,71 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[70, 109], Operations: ['17+54=71', '38+71=109']
Exploring Operation: 70*109=7630, Resulting Numbers: [7630]
7630,71 unequal: No Solution
Exploring Operation: 70+109=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[70, 33], Operations: ['17+54=71', '71-38=33']
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,71 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[38, 141], Operations: ['17+54=71', '70+71=141']
Exploring Operation: 38+141=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 38*141=5358, Resulting Numbers: [5358]
5358,71 unequal: No Solution
Exploring Operation: 141-38=103, Resulting Numbers: [103]
103,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[70, 54, 55], Operations: ['38+17=55']
Exploring Operation: 55-54=1, Resulting Numbers: [70, 1]
Generated Node #0,4,0: 71:[70, 1] Operation: 55-54=1
Exploring Operation: 70+54=124, Resulting Numbers: [55, 124]
Generated Node #0,4,1: 71:[55, 124] Operation: 70+54=124
Exploring Operation: 70-54=16, Resulting Numbers: [55, 16]
Generated Node #0,4,2: 71:[55, 16] Operation: 70-54=16
Exploring Operation: 70+55=125, Resulting Numbers: [54, 125]
Generated Node #0,4,3: 71:[54, 125] Operation: 70+55=125
Exploring Operation: 54+55=109, Resulting Numbers: [70, 109]
Generated Node #0,4,4: 71:[70, 109] Operation: 54+55=109
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 71:[70, 109], Operations: ['38+17=55', '54+55=109']
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 70*109=7630, Resulting Numbers: [7630]
7630,71 unequal: No Solution
Exploring Operation: 70+109=179, Resulting Numbers: [179]
179,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 71:[55, 124], Operations: ['38+17=55', '70+54=124']
Exploring Operation: 55+124=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 124-55=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 55*124=6820, Resulting Numbers: [6820]
6820,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 71:[70, 1], Operations: ['38+17=55', '55-54=1']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[70, 38, 17, 54], Operations: []
Exploring Operation: 38+17=55, Resulting Numbers: [70, 54, 55]
Generated Node #0,4: 71:[70, 54, 55] Operation: 38+17=55
Moving to Node #0,4
Current State: 71:[70, 54, 55], Operations: ['38+17=55']
Exploring Operation: 55-54=1, Resulting Numbers: [70, 1]
Generated Node #0,4,0: 71:[70, 1] Operation: 55-54=1
Moving to Node #0,4,0
Current State: 71:[70, 1], Operations: ['38+17=55', '55-54=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806 |
hs_5
|
sum_heuristic
|
[
11,
58,
23,
30
] | 55 |
[
"58-23=35",
"35-30=5",
"11*5=55"
] |
Current State: 55:[11, 58, 23, 30], Operations: []
Exploring Operation: 58-23=35, Resulting Numbers: [11, 30, 35]
Generated Node #2: [11, 30, 35] from Operation: 58-23=35
Current State: 55:[11, 30, 35], Operations: ['58-23=35']
Exploring Operation: 35-30=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 35-30=5
Current State: 55:[11, 5], Operations: ['58-23=35', '35-30=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[11, 58, 23, 30], Operations: []
Exploring Operation: 23+30=53, Resulting Numbers: [11, 58, 53]
Generated Node #0,0: 55:[11, 58, 53] Operation: 23+30=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[11, 58, 53], Operations: ['23+30=53']
Exploring Operation: 58-53=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 58-53=5
Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['23+30=53', '58-53=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[11, 58, 23, 30], Operations: []
Exploring Operation: 23+30=53, Resulting Numbers: [11, 58, 53]
Generated Node #0,0: 55:[11, 58, 53] Operation: 23+30=53
Moving to Node #0,0
Current State: 55:[11, 58, 53], Operations: ['23+30=53']
Exploring Operation: 58-53=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 58-53=5
Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['23+30=53', '58-53=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
81,
78,
76,
83
] | 85 |
[
"78-76=2",
"83*2=166",
"166-81=85"
] |
Current State: 85:[81, 78, 76, 83], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [81, 83, 2]
Generated Node #2: [81, 83, 2] from Operation: 78-76=2
Current State: 85:[81, 83, 2], Operations: ['78-76=2']
Exploring Operation: 83*2=166, Resulting Numbers: [81, 166]
Generated Node #3: [81, 166] from Operation: 83*2=166
Current State: 85:[81, 166], Operations: ['78-76=2', '83*2=166']
Exploring Operation: 166-81=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[81, 78, 76, 83], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [78, 83, 5]
Generated Node #0,0: 85:[78, 83, 5] Operation: 81-76=5
Exploring Operation: 78-76=2, Resulting Numbers: [81, 83, 2]
Generated Node #0,1: 85:[81, 83, 2] Operation: 78-76=2
Moving to Node #0,0
Current State: 85:[78, 83, 5], Operations: ['81-76=5']
Exploring Operation: 83-78=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 85:[5, 5] Operation: 83-78=5
Exploring Operation: 78+5=83, Resulting Numbers: [83, 83]
Generated Node #0,0,1: 85:[83, 83] Operation: 78+5=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[5, 5], Operations: ['81-76=5', '83-78=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[83, 83], Operations: ['81-76=5', '78+5=83']
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,85 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: 85:[81, 83, 2], Operations: ['78-76=2']
Exploring Operation: 83+2=85, Resulting Numbers: [81, 85]
Generated Node #0,1,0: 85:[81, 85] Operation: 83+2=85
Exploring Operation: 81+2=83, Resulting Numbers: [83, 83]
Generated Node #0,1,1: 85:[83, 83] Operation: 81+2=83
Moving to Node #0,1,0
Current State: 85:[81, 85], Operations: ['78-76=2', '83+2=85']
Exploring Operation: 81+85=166, Resulting Numbers: [166]
166,85 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[83, 83], Operations: ['78-76=2', '81+2=83']
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,85 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
18,
50,
24,
29
] | 72 |
[
"50-18=32",
"32-29=3",
"24*3=72"
] |
Current State: 72:[18, 50, 24, 29], Operations: []
Exploring Operation: 50-18=32, Resulting Numbers: [24, 29, 32]
Generated Node #2: [24, 29, 32] from Operation: 50-18=32
Current State: 72:[24, 29, 32], Operations: ['50-18=32']
Exploring Operation: 32-29=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 32-29=3
Current State: 72:[24, 3], Operations: ['50-18=32', '32-29=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[18, 50, 24, 29], Operations: []
Exploring Operation: 18+50=68, Resulting Numbers: [24, 29, 68]
Generated Node #0,0: 72:[24, 29, 68] Operation: 18+50=68
Exploring Operation: 50-24=26, Resulting Numbers: [18, 29, 26]
Generated Node #0,1: 72:[18, 29, 26] Operation: 50-24=26
Exploring Operation: 50+29=79, Resulting Numbers: [18, 24, 79]
Generated Node #0,2: 72:[18, 24, 79] Operation: 50+29=79
Exploring Operation: 50+24=74, Resulting Numbers: [18, 29, 74]
Generated Node #0,3: 72:[18, 29, 74] Operation: 50+24=74
Exploring Operation: 50-29=21, Resulting Numbers: [18, 24, 21]
Generated Node #0,4: 72:[18, 24, 21] Operation: 50-29=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[18, 24, 21], Operations: ['50-29=21']
Exploring Operation: 21-18=3, Resulting Numbers: [24, 3]
Generated Node #0,4,0: 72:[24, 3] Operation: 21-18=3
Exploring Operation: 24-18=6, Resulting Numbers: [21, 6]
Generated Node #0,4,1: 72:[21, 6] Operation: 24-18=6
Exploring Operation: 18+24=42, Resulting Numbers: [21, 42]
Generated Node #0,4,2: 72:[21, 42] Operation: 18+24=42
Exploring Operation: 18+21=39, Resulting Numbers: [24, 39]
Generated Node #0,4,3: 72:[24, 39] Operation: 18+21=39
Exploring Operation: 24-21=3, Resulting Numbers: [18, 3]
Generated Node #0,4,4: 72:[18, 3] Operation: 24-21=3
Moving to Node #0,4,0
Current State: 72:[24, 3], Operations: ['50-29=21', '21-18=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[18, 50, 24, 29], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [18, 24, 21]
Generated Node #0,4: 72:[18, 24, 21] Operation: 50-29=21
Moving to Node #0,4
Current State: 72:[18, 24, 21], Operations: ['50-29=21']
Exploring Operation: 21-18=3, Resulting Numbers: [24, 3]
Generated Node #0,4,0: 72:[24, 3] Operation: 21-18=3
Moving to Node #0,4,0
Current State: 72:[24, 3], Operations: ['50-29=21', '21-18=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
2,
71,
39,
31
] | 86 |
[
"71+39=110",
"110/2=55",
"31+55=86"
] |
Current State: 86:[2, 71, 39, 31], Operations: []
Exploring Operation: 71+39=110, Resulting Numbers: [2, 31, 110]
Generated Node #2: [2, 31, 110] from Operation: 71+39=110
Current State: 86:[2, 31, 110], Operations: ['71+39=110']
Exploring Operation: 110/2=55, Resulting Numbers: [31, 55]
Generated Node #3: [31, 55] from Operation: 110/2=55
Current State: 86:[31, 55], Operations: ['71+39=110', '110/2=55']
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[2, 71, 39, 31], Operations: []
Exploring Operation: 71+31=102, Resulting Numbers: [2, 39, 102]
Generated Node #0,0: 86:[2, 39, 102] Operation: 71+31=102
Exploring Operation: 39-31=8, Resulting Numbers: [2, 71, 8]
Generated Node #0,1: 86:[2, 71, 8] Operation: 39-31=8
Exploring Operation: 2+71=73, Resulting Numbers: [39, 31, 73]
Generated Node #0,2: 86:[39, 31, 73] Operation: 2+71=73
Exploring Operation: 71-31=40, Resulting Numbers: [2, 39, 40]
Generated Node #0,3: 86:[2, 39, 40] Operation: 71-31=40
Exploring Operation: 71-39=32, Resulting Numbers: [2, 31, 32]
Generated Node #0,4: 86:[2, 31, 32] Operation: 71-39=32
Moving to Node #0,3
Current State: 86:[2, 39, 40], Operations: ['71-31=40']
Exploring Operation: 39+40=79, Resulting Numbers: [2, 79]
Generated Node #0,3,0: 86:[2, 79] Operation: 39+40=79
Exploring Operation: 40-39=1, Resulting Numbers: [2, 1]
Generated Node #0,3,1: 86:[2, 1] Operation: 40-39=1
Exploring Operation: 39-2=37, Resulting Numbers: [40, 37]
Generated Node #0,3,2: 86:[40, 37] Operation: 39-2=37
Exploring Operation: 2+40=42, Resulting Numbers: [39, 42]
Generated Node #0,3,3: 86:[39, 42] Operation: 2+40=42
Exploring Operation: 2+39=41, Resulting Numbers: [40, 41]
Generated Node #0,3,4: 86:[40, 41] Operation: 2+39=41
Moving to Node #0,0
Current State: 86:[2, 39, 102], Operations: ['71+31=102']
Exploring Operation: 39-2=37, Resulting Numbers: [102, 37]
Generated Node #0,0,0: 86:[102, 37] Operation: 39-2=37
Exploring Operation: 102-39=63, Resulting Numbers: [2, 63]
Generated Node #0,0,1: 86:[2, 63] Operation: 102-39=63
Exploring Operation: 2+39=41, Resulting Numbers: [102, 41]
Generated Node #0,0,2: 86:[102, 41] Operation: 2+39=41
Exploring Operation: 102/2=51, Resulting Numbers: [39, 51]
Generated Node #0,0,3: 86:[39, 51] Operation: 102/2=51
Exploring Operation: 102-2=100, Resulting Numbers: [39, 100]
Generated Node #0,0,4: 86:[39, 100] Operation: 102-2=100
Moving to Node #0,1
Current State: 86:[2, 71, 8], Operations: ['39-31=8']
Exploring Operation: 2+71=73, Resulting Numbers: [8, 73]
Generated Node #0,1,0: 86:[8, 73] Operation: 2+71=73
Exploring Operation: 8-2=6, Resulting Numbers: [71, 6]
Generated Node #0,1,1: 86:[71, 6] Operation: 8-2=6
Exploring Operation: 71+8=79, Resulting Numbers: [2, 79]
Generated Node #0,1,2: 86:[2, 79] Operation: 71+8=79
Exploring Operation: 71-8=63, Resulting Numbers: [2, 63]
Generated Node #0,1,3: 86:[2, 63] Operation: 71-8=63
Exploring Operation: 8/2=4, Resulting Numbers: [71, 4]
Generated Node #0,1,4: 86:[71, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[2, 79], Operations: ['39-31=8', '71+8=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,86 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[71, 4], Operations: ['39-31=8', '8/2=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,86 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[8, 73], Operations: ['39-31=8', '2+71=73']
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[71, 6], Operations: ['39-31=8', '8-2=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[2, 63], Operations: ['39-31=8', '71-8=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,86 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: 86:[2, 31, 32], Operations: ['71-39=32']
Exploring Operation: 31-2=29, Resulting Numbers: [32, 29]
Generated Node #0,4,0: 86:[32, 29] Operation: 31-2=29
Exploring Operation: 32-31=1, Resulting Numbers: [2, 1]
Generated Node #0,4,1: 86:[2, 1] Operation: 32-31=1
Exploring Operation: 31+32=63, Resulting Numbers: [2, 63]
Generated Node #0,4,2: 86:[2, 63] Operation: 31+32=63
Exploring Operation: 2+31=33, Resulting Numbers: [32, 33]
Generated Node #0,4,3: 86:[32, 33] Operation: 2+31=33
Exploring Operation: 2+32=34, Resulting Numbers: [31, 34]
Generated Node #0,4,4: 86:[31, 34] Operation: 2+32=34
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 86:[2, 1], Operations: ['71-39=32', '32-31=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 86:[2, 63], Operations: ['71-39=32', '31+32=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 86:[32, 33], Operations: ['71-39=32', '2+31=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 86:[31, 34], Operations: ['71-39=32', '2+32=34']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 86:[32, 29], Operations: ['71-39=32', '31-2=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,86 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,86 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: 86:[39, 31, 73], Operations: ['2+71=73']
Exploring Operation: 31+73=104, Resulting Numbers: [39, 104]
Generated Node #0,2,0: 86:[39, 104] Operation: 31+73=104
Exploring Operation: 39-31=8, Resulting Numbers: [73, 8]
Generated Node #0,2,1: 86:[73, 8] Operation: 39-31=8
Exploring Operation: 39+31=70, Resulting Numbers: [73, 70]
Generated Node #0,2,2: 86:[73, 70] Operation: 39+31=70
Exploring Operation: 73-31=42, Resulting Numbers: [39, 42]
Generated Node #0,2,3: 86:[39, 42] Operation: 73-31=42
Exploring Operation: 73-39=34, Resulting Numbers: [31, 34]
Generated Node #0,2,4: 86:[31, 34] Operation: 73-39=34
Moving to Node #0,3,1
Current State: 86:[2, 1], Operations: ['71-31=40', '40-39=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[40, 41], Operations: ['71-31=40', '2+39=41']
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,86 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[39, 42], Operations: ['71-31=40', '2+40=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[39, 42], Operations: ['2+71=73', '73-31=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,86 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[2, 79], Operations: ['71-31=40', '39+40=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,86 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[40, 37], Operations: ['71-31=40', '39-2=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,86 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[39, 51], Operations: ['71+31=102', '102/2=51']
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,86 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[102, 41], Operations: ['71+31=102', '2+39=41']
Exploring Operation: 102*41=4182, Resulting Numbers: [4182]
4182,86 unequal: No Solution
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 102+41=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[39, 100], Operations: ['71+31=102', '102-2=100']
Exploring Operation: 39+100=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Exploring Operation: 39*100=3900, Resulting Numbers: [3900]
3900,86 unequal: No Solution
Exploring Operation: 100-39=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[73, 8], Operations: ['2+71=73', '39-31=8']
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,86 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[2, 63], Operations: ['71+31=102', '102-39=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[31, 34], Operations: ['2+71=73', '73-39=34']
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,86 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[102, 37], Operations: ['71+31=102', '39-2=37']
Exploring Operation: 102+37=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Exploring Operation: 102*37=3774, Resulting Numbers: [3774]
3774,86 unequal: No Solution
Exploring Operation: 102-37=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[39, 104], Operations: ['2+71=73', '31+73=104']
Exploring Operation: 39*104=4056, Resulting Numbers: [4056]
4056,86 unequal: No Solution
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 39+104=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[73, 70], Operations: ['2+71=73', '39+31=70']
Exploring Operation: 73+70=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 73*70=5110, Resulting Numbers: [5110]
5110,86 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
61,
3,
35,
45
] | 41 |
[
"61-35=26",
"45/3=15",
"26+15=41"
] |
Current State: 41:[61, 3, 35, 45], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [3, 45, 26]
Generated Node #2: [3, 45, 26] from Operation: 61-35=26
Current State: 41:[3, 45, 26], Operations: ['61-35=26']
Exploring Operation: 45/3=15, Resulting Numbers: [26, 15]
Generated Node #3: [26, 15] from Operation: 45/3=15
Current State: 41:[26, 15], Operations: ['61-35=26', '45/3=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[61, 3, 35, 45], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [61, 35, 42]
Generated Node #0,0: 41:[61, 35, 42] Operation: 45-3=42
Exploring Operation: 3+35=38, Resulting Numbers: [61, 45, 38]
Generated Node #0,1: 41:[61, 45, 38] Operation: 3+35=38
Exploring Operation: 61-3=58, Resulting Numbers: [35, 45, 58]
Generated Node #0,2: 41:[35, 45, 58] Operation: 61-3=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[61, 35, 42], Operations: ['45-3=42']
Exploring Operation: 61-42=19, Resulting Numbers: [35, 19]
Generated Node #0,0,0: 41:[35, 19] Operation: 61-42=19
Exploring Operation: 61-35=26, Resulting Numbers: [42, 26]
Generated Node #0,0,1: 41:[42, 26] Operation: 61-35=26
Exploring Operation: 42-35=7, Resulting Numbers: [61, 7]
Generated Node #0,0,2: 41:[61, 7] Operation: 42-35=7
Moving to Node #0,0,1
Current State: 41:[42, 26], Operations: ['45-3=42', '61-35=26']
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,41 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[35, 19], Operations: ['45-3=42', '61-42=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,41 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[61, 7], Operations: ['45-3=42', '42-35=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[61, 45, 38], Operations: ['3+35=38']
Exploring Operation: 61-38=23, Resulting Numbers: [45, 23]
Generated Node #0,1,0: 41:[45, 23] Operation: 61-38=23
Exploring Operation: 45-38=7, Resulting Numbers: [61, 7]
Generated Node #0,1,1: 41:[61, 7] Operation: 45-38=7
Exploring Operation: 61-45=16, Resulting Numbers: [38, 16]
Generated Node #0,1,2: 41:[38, 16] Operation: 61-45=16
Moving to Node #0,1,0
Current State: 41:[45, 23], Operations: ['3+35=38', '61-38=23']
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,41 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[38, 16], Operations: ['3+35=38', '61-45=16']
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,41 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[61, 7], Operations: ['3+35=38', '45-38=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[35, 45, 58], Operations: ['61-3=58']
Exploring Operation: 58-45=13, Resulting Numbers: [35, 13]
Generated Node #0,2,0: 41:[35, 13] Operation: 58-45=13
Exploring Operation: 58-35=23, Resulting Numbers: [45, 23]
Generated Node #0,2,1: 41:[45, 23] Operation: 58-35=23
Exploring Operation: 45-35=10, Resulting Numbers: [58, 10]
Generated Node #0,2,2: 41:[58, 10] Operation: 45-35=10
Moving to Node #0,2,1
Current State: 41:[45, 23], Operations: ['61-3=58', '58-35=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,41 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[35, 13], Operations: ['61-3=58', '58-45=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[58, 10], Operations: ['61-3=58', '45-35=10']
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,41 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,41 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
|
[
63,
13,
12,
67
] | 21 |
[
"63+13=76",
"67-12=55",
"76-55=21"
] |
Current State: 21:[63, 13, 12, 67], Operations: []
Exploring Operation: 63+13=76, Resulting Numbers: [12, 67, 76]
Generated Node #2: [12, 67, 76] from Operation: 63+13=76
Current State: 21:[12, 67, 76], Operations: ['63+13=76']
Exploring Operation: 67-12=55, Resulting Numbers: [76, 55]
Generated Node #3: [76, 55] from Operation: 67-12=55
Current State: 21:[76, 55], Operations: ['63+13=76', '67-12=55']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[63, 13, 12, 67], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [13, 12, 4]
Generated Node #0,0: 21:[13, 12, 4] Operation: 67-63=4
Exploring Operation: 67-13=54, Resulting Numbers: [63, 12, 54]
Generated Node #0,1: 21:[63, 12, 54] Operation: 67-13=54
Exploring Operation: 63-13=50, Resulting Numbers: [12, 67, 50]
Generated Node #0,2: 21:[12, 67, 50] Operation: 63-13=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[13, 12, 4], Operations: ['67-63=4']
Exploring Operation: 13+12=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 21:[4, 25] Operation: 13+12=25
Exploring Operation: 12/4=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 21:[13, 3] Operation: 12/4=3
Exploring Operation: 13-12=1, Resulting Numbers: [4, 1]
Generated Node #0,0,2: 21:[4, 1] Operation: 13-12=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[4, 1], Operations: ['67-63=4', '13-12=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[4, 25], Operations: ['67-63=4', '13+12=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,21 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[63, 13, 12, 67], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [13, 12, 4]
Generated Node #0,0: 21:[13, 12, 4] Operation: 67-63=4
Moving to Node #0,0
Current State: 21:[13, 12, 4], Operations: ['67-63=4']
Exploring Operation: 13+12=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 21:[4, 25] Operation: 13+12=25
Moving to Node #0,0,0
Current State: 21:[4, 25], Operations: ['67-63=4', '13+12=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
2,
97,
85,
74
] | 75 |
[
"85-74=11",
"2*11=22",
"97-22=75"
] |
Current State: 75:[2, 97, 85, 74], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [2, 97, 11]
Generated Node #2: [2, 97, 11] from Operation: 85-74=11
Current State: 75:[2, 97, 11], Operations: ['85-74=11']
Exploring Operation: 2*11=22, Resulting Numbers: [97, 22]
Generated Node #3: [97, 22] from Operation: 2*11=22
Current State: 75:[97, 22], Operations: ['85-74=11', '2*11=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[2, 97, 85, 74], Operations: []
Exploring Operation: 97-74=23, Resulting Numbers: [2, 85, 23]
Generated Node #0,0: 75:[2, 85, 23] Operation: 97-74=23
Exploring Operation: 97-85=12, Resulting Numbers: [2, 74, 12]
Generated Node #0,1: 75:[2, 74, 12] Operation: 97-85=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[2, 74, 12], Operations: ['97-85=12']
Exploring Operation: 2*12=24, Resulting Numbers: [74, 24]
Generated Node #0,1,0: 75:[74, 24] Operation: 2*12=24
Exploring Operation: 2+12=14, Resulting Numbers: [74, 14]
Generated Node #0,1,1: 75:[74, 14] Operation: 2+12=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[74, 24], Operations: ['97-85=12', '2*12=24']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[74, 14], Operations: ['97-85=12', '2+12=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,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:[2, 85, 23], Operations: ['97-74=23']
Exploring Operation: 85-2=83, Resulting Numbers: [23, 83]
Generated Node #0,0,0: 75:[23, 83] Operation: 85-2=83
Exploring Operation: 2+23=25, Resulting Numbers: [85, 25]
Generated Node #0,0,1: 75:[85, 25] Operation: 2+23=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[23, 83], Operations: ['97-74=23', '85-2=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,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:[85, 25], Operations: ['97-74=23', '2+23=25']
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 85+25=110, Resulting Numbers: [110]
110,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
50,
17,
31,
65
] | 95 |
[
"50*31=1550",
"65+1550=1615",
"1615/17=95"
] |
Current State: 95:[50, 17, 31, 65], Operations: []
Exploring Operation: 50*31=1550, Resulting Numbers: [17, 65, 1550]
Generated Node #2: [17, 65, 1550] from Operation: 50*31=1550
Current State: 95:[17, 65, 1550], Operations: ['50*31=1550']
Exploring Operation: 65+1550=1615, Resulting Numbers: [17, 1615]
Generated Node #3: [17, 1615] from Operation: 65+1550=1615
Current State: 95:[17, 1615], Operations: ['50*31=1550', '65+1550=1615']
Exploring Operation: 1615/17=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[50, 17, 31, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [17, 31, 15]
Generated Node #0,0: 95:[17, 31, 15] Operation: 65-50=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[17, 31, 15], Operations: ['65-50=15']
Exploring Operation: 31-15=16, Resulting Numbers: [17, 16]
Generated Node #0,0,0: 95:[17, 16] Operation: 31-15=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[17, 16], Operations: ['65-50=15', '31-15=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
8,
95,
90,
96
] | 47 |
[
"96-90=6",
"8*6=48",
"95-48=47"
] |
Current State: 47:[8, 95, 90, 96], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [8, 95, 6]
Generated Node #2: [8, 95, 6] from Operation: 96-90=6
Current State: 47:[8, 95, 6], Operations: ['96-90=6']
Exploring Operation: 8*6=48, Resulting Numbers: [95, 48]
Generated Node #3: [95, 48] from Operation: 8*6=48
Current State: 47:[95, 48], Operations: ['96-90=6', '8*6=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[8, 95, 90, 96], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [8, 90, 1]
Generated Node #0,0: 47:[8, 90, 1] Operation: 96-95=1
Exploring Operation: 96/8=12, Resulting Numbers: [95, 90, 12]
Generated Node #0,1: 47:[95, 90, 12] Operation: 96/8=12
Moving to Node #0,1
Current State: 47:[95, 90, 12], Operations: ['96/8=12']
Exploring Operation: 95-12=83, Resulting Numbers: [90, 83]
Generated Node #0,1,0: 47:[90, 83] Operation: 95-12=83
Exploring Operation: 95-90=5, Resulting Numbers: [12, 5]
Generated Node #0,1,1: 47:[12, 5] Operation: 95-90=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[12, 5], Operations: ['96/8=12', '95-90=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[90, 83], Operations: ['96/8=12', '95-12=83']
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 90+83=173, Resulting Numbers: [173]
173,47 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: 47:[8, 90, 1], Operations: ['96-95=1']
Exploring Operation: 8+1=9, Resulting Numbers: [90, 9]
Generated Node #0,0,0: 47:[90, 9] Operation: 8+1=9
Exploring Operation: 90-8=82, Resulting Numbers: [1, 82]
Generated Node #0,0,1: 47:[1, 82] Operation: 90-8=82
Moving to Node #0,0,0
Current State: 47:[90, 9], Operations: ['96-95=1', '8+1=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[1, 82], Operations: ['96-95=1', '90-8=82']
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,47 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
35,
39,
63,
7
] | 91 |
[
"39-35=4",
"7*4=28",
"63+28=91"
] |
Current State: 91:[35, 39, 63, 7], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [63, 7, 4]
Generated Node #2: [63, 7, 4] from Operation: 39-35=4
Current State: 91:[63, 7, 4], Operations: ['39-35=4']
Exploring Operation: 7*4=28, Resulting Numbers: [63, 28]
Generated Node #3: [63, 28] from Operation: 7*4=28
Current State: 91:[63, 28], Operations: ['39-35=4', '7*4=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[35, 39, 63, 7], Operations: []
Exploring Operation: 35+63=98, Resulting Numbers: [39, 7, 98]
Generated Node #0,0: 91:[39, 7, 98] Operation: 35+63=98
Exploring Operation: 39+63=102, Resulting Numbers: [35, 7, 102]
Generated Node #0,1: 91:[35, 7, 102] Operation: 39+63=102
Exploring Operation: 39-35=4, Resulting Numbers: [63, 7, 4]
Generated Node #0,2: 91:[63, 7, 4] Operation: 39-35=4
Exploring Operation: 63-39=24, Resulting Numbers: [35, 7, 24]
Generated Node #0,3: 91:[35, 7, 24] Operation: 63-39=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[63, 7, 4], Operations: ['39-35=4']
Exploring Operation: 7+4=11, Resulting Numbers: [63, 11]
Generated Node #0,2,0: 91:[63, 11] Operation: 7+4=11
Exploring Operation: 63+4=67, Resulting Numbers: [7, 67]
Generated Node #0,2,1: 91:[7, 67] Operation: 63+4=67
Exploring Operation: 63+7=70, Resulting Numbers: [4, 70]
Generated Node #0,2,2: 91:[4, 70] Operation: 63+7=70
Exploring Operation: 63/7=9, Resulting Numbers: [4, 9]
Generated Node #0,2,3: 91:[4, 9] Operation: 63/7=9
Moving to Node #0,2,3
Current State: 91:[4, 9], Operations: ['39-35=4', '63/7=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[4, 70], Operations: ['39-35=4', '63+7=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,91 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[7, 67], Operations: ['39-35=4', '63+4=67']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Exploring Operation: 7*67=469, Resulting Numbers: [469]
469,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[63, 11], Operations: ['39-35=4', '7+4=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,91 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,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:[39, 7, 98], Operations: ['35+63=98']
Exploring Operation: 98-39=59, Resulting Numbers: [7, 59]
Generated Node #0,0,0: 91:[7, 59] Operation: 98-39=59
Exploring Operation: 39-7=32, Resulting Numbers: [98, 32]
Generated Node #0,0,1: 91:[98, 32] Operation: 39-7=32
Exploring Operation: 98-7=91, Resulting Numbers: [39, 91]
Generated Node #0,0,2: 91:[39, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [39, 14]
Generated Node #0,0,3: 91:[39, 14] Operation: 98/7=14
Moving to Node #0,0,1
Current State: 91:[98, 32], Operations: ['35+63=98', '39-7=32']
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,91 unequal: No Solution
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[39, 91], Operations: ['35+63=98', '98-7=91']
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[39, 14], Operations: ['35+63=98', '98/7=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,91 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[7, 59], Operations: ['35+63=98', '98-39=59']
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,91 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,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,1
Current State: 91:[35, 7, 102], Operations: ['39+63=102']
Exploring Operation: 102-7=95, Resulting Numbers: [35, 95]
Generated Node #0,1,0: 91:[35, 95] Operation: 102-7=95
Exploring Operation: 35-7=28, Resulting Numbers: [102, 28]
Generated Node #0,1,1: 91:[102, 28] Operation: 35-7=28
Exploring Operation: 102-35=67, Resulting Numbers: [7, 67]
Generated Node #0,1,2: 91:[7, 67] Operation: 102-35=67
Exploring Operation: 35/7=5, Resulting Numbers: [102, 5]
Generated Node #0,1,3: 91:[102, 5] Operation: 35/7=5
Moving to Node #0,1,3
Current State: 91:[102, 5], Operations: ['39+63=102', '35/7=5']
Exploring Operation: 102*5=510, Resulting Numbers: [510]
510,91 unequal: No Solution
Exploring Operation: 102-5=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 102+5=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[7, 67], Operations: ['39+63=102', '102-35=67']
Exploring Operation: 7*67=469, Resulting Numbers: [469]
469,91 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[102, 28], Operations: ['39+63=102', '35-7=28']
Exploring Operation: 102+28=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 102*28=2856, Resulting Numbers: [2856]
2856,91 unequal: No Solution
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[35, 95], Operations: ['39+63=102', '102-7=95']
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,91 unequal: No Solution
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[35, 7, 24], Operations: ['63-39=24']
Exploring Operation: 35/7=5, Resulting Numbers: [24, 5]
Generated Node #0,3,0: 91:[24, 5] Operation: 35/7=5
Exploring Operation: 35-24=11, Resulting Numbers: [7, 11]
Generated Node #0,3,1: 91:[7, 11] Operation: 35-24=11
Exploring Operation: 35-7=28, Resulting Numbers: [24, 28]
Generated Node #0,3,2: 91:[24, 28] Operation: 35-7=28
Exploring Operation: 24-7=17, Resulting Numbers: [35, 17]
Generated Node #0,3,3: 91:[35, 17] Operation: 24-7=17
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 91:[7, 11], Operations: ['63-39=24', '35-24=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,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,3,0
Current State: 91:[24, 5], Operations: ['63-39=24', '35/7=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,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,3,2
Current State: 91:[24, 28], Operations: ['63-39=24', '35-7=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,91 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,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,3,3
Current State: 91:[35, 17], Operations: ['63-39=24', '24-7=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,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
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
15,
10,
70,
87
] | 95 |
[
"15+87=102",
"70/10=7",
"102-7=95"
] |
Current State: 95:[15, 10, 70, 87], Operations: []
Exploring Operation: 15+87=102, Resulting Numbers: [10, 70, 102]
Generated Node #2: [10, 70, 102] from Operation: 15+87=102
Current State: 95:[10, 70, 102], Operations: ['15+87=102']
Exploring Operation: 70/10=7, Resulting Numbers: [102, 7]
Generated Node #3: [102, 7] from Operation: 70/10=7
Current State: 95:[102, 7], Operations: ['15+87=102', '70/10=7']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[15, 10, 70, 87], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [15, 87, 7]
Generated Node #0,0: 95:[15, 87, 7] Operation: 70/10=7
Exploring Operation: 87-70=17, Resulting Numbers: [15, 10, 17]
Generated Node #0,1: 95:[15, 10, 17] Operation: 87-70=17
Exploring Operation: 15+70=85, Resulting Numbers: [10, 87, 85]
Generated Node #0,2: 95:[10, 87, 85] Operation: 15+70=85
Exploring Operation: 10+70=80, Resulting Numbers: [15, 87, 80]
Generated Node #0,3: 95:[15, 87, 80] Operation: 10+70=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[15, 10, 17], Operations: ['87-70=17']
Exploring Operation: 15-10=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 95:[17, 5] Operation: 15-10=5
Exploring Operation: 17-10=7, Resulting Numbers: [15, 7]
Generated Node #0,1,1: 95:[15, 7] Operation: 17-10=7
Exploring Operation: 15+10=25, Resulting Numbers: [17, 25]
Generated Node #0,1,2: 95:[17, 25] Operation: 15+10=25
Exploring Operation: 17-15=2, Resulting Numbers: [10, 2]
Generated Node #0,1,3: 95:[10, 2] Operation: 17-15=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[17, 5], Operations: ['87-70=17', '15-10=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,95 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[15, 7], Operations: ['87-70=17', '17-10=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[17, 25], Operations: ['87-70=17', '15+10=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,95 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[10, 2], Operations: ['87-70=17', '17-15=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[15, 87, 7], Operations: ['70/10=7']
Exploring Operation: 15-7=8, Resulting Numbers: [87, 8]
Generated Node #0,0,0: 95:[87, 8] Operation: 15-7=8
Exploring Operation: 87+7=94, Resulting Numbers: [15, 94]
Generated Node #0,0,1: 95:[15, 94] Operation: 87+7=94
Exploring Operation: 15+87=102, Resulting Numbers: [7, 102]
Generated Node #0,0,2: 95:[7, 102] Operation: 15+87=102
Exploring Operation: 15+7=22, Resulting Numbers: [87, 22]
Generated Node #0,0,3: 95:[87, 22] Operation: 15+7=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[15, 94], Operations: ['70/10=7', '87+7=94']
Exploring Operation: 15+94=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 15*94=1410, Resulting Numbers: [1410]
1410,95 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[7, 102], Operations: ['70/10=7', '15+87=102']
Exploring Operation: 7+102=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[15, 10, 70, 87], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [15, 87, 7]
Generated Node #0,0: 95:[15, 87, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 95:[15, 87, 7], Operations: ['70/10=7']
Exploring Operation: 15+87=102, Resulting Numbers: [7, 102]
Generated Node #0,0,2: 95:[7, 102] Operation: 15+87=102
Moving to Node #0,0,2
Current State: 95:[7, 102], Operations: ['70/10=7', '15+87=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 |
hs_4
|
mult_heuristic
|
[
34,
33,
59,
39
] | 98 |
[
"34-33=1",
"59+39=98",
"1*98=98"
] |
Current State: 98:[34, 33, 59, 39], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [59, 39, 1]
Generated Node #2: [59, 39, 1] from Operation: 34-33=1
Current State: 98:[59, 39, 1], Operations: ['34-33=1']
Exploring Operation: 59+39=98, Resulting Numbers: [1, 98]
Generated Node #3: [1, 98] from Operation: 59+39=98
Current State: 98:[1, 98], Operations: ['34-33=1', '59+39=98']
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[34, 33, 59, 39], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [34, 59, 6]
Generated Node #0,0: 98:[34, 59, 6] Operation: 39-33=6
Exploring Operation: 34-33=1, Resulting Numbers: [59, 39, 1]
Generated Node #0,1: 98:[59, 39, 1] Operation: 34-33=1
Moving to Node #0,1
Current State: 98:[59, 39, 1], Operations: ['34-33=1']
Exploring Operation: 59+39=98, Resulting Numbers: [1, 98]
Generated Node #0,1,0: 98:[1, 98] Operation: 59+39=98
Exploring Operation: 59-39=20, Resulting Numbers: [1, 20]
Generated Node #0,1,1: 98:[1, 20] Operation: 59-39=20
Moving to Node #0,0
Current State: 98:[34, 59, 6], Operations: ['39-33=6']
Exploring Operation: 34+59=93, Resulting Numbers: [6, 93]
Generated Node #0,0,0: 98:[6, 93] Operation: 34+59=93
Exploring Operation: 59-34=25, Resulting Numbers: [6, 25]
Generated Node #0,0,1: 98:[6, 25] Operation: 59-34=25
Moving to Node #0,1,0
Current State: 98:[1, 98], Operations: ['34-33=1', '59+39=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[34, 33, 59, 39], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [59, 39, 1]
Generated Node #0,1: 98:[59, 39, 1] Operation: 34-33=1
Moving to Node #0,1
Current State: 98:[59, 39, 1], Operations: ['34-33=1']
Exploring Operation: 59+39=98, Resulting Numbers: [1, 98]
Generated Node #0,1,0: 98:[1, 98] Operation: 59+39=98
Moving to Node #0,1,0
Current State: 98:[1, 98], Operations: ['34-33=1', '59+39=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.990451 |
hs_2
|
mult_heuristic
|
[
45,
55,
45,
11
] | 44 |
[
"45+55=100",
"45+11=56",
"100-56=44"
] |
Current State: 44:[45, 55, 45, 11], Operations: []
Exploring Operation: 45+55=100, Resulting Numbers: [11, 100]
Generated Node #2: [11, 100] from Operation: 45+55=100
Current State: 44:[11, 100], Operations: ['45+55=100']
Exploring Operation: 45+11=56, Resulting Numbers: [100, 56]
Generated Node #3: [100, 56] from Operation: 45+11=56
Current State: 44:[100, 56], Operations: ['45+55=100', '45+11=56']
Exploring Operation: 100-56=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[45, 55, 45, 11], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [45, 45, 5]
Generated Node #0,0: 44:[45, 45, 5] Operation: 55/11=5
Exploring Operation: 55-45=10, Resulting Numbers: [45, 11, 10]
Generated Node #0,1: 44:[45, 11, 10] Operation: 55-45=10
Exploring Operation: 55-11=44, Resulting Numbers: [45, 45, 44]
Generated Node #0,2: 44:[45, 45, 44] Operation: 55-11=44
Exploring Operation: 55-45=10, Resulting Numbers: [45, 11, 10]
Generated Node #0,3: 44:[45, 11, 10] Operation: 55-45=10
Moving to Node #0,1
Current State: 44:[45, 11, 10], Operations: ['55-45=10']
Exploring Operation: 11-10=1, Resulting Numbers: [45, 1]
Generated Node #0,1,0: 44:[45, 1] Operation: 11-10=1
Exploring Operation: 45-10=35, Resulting Numbers: [11, 35]
Generated Node #0,1,1: 44:[11, 35] Operation: 45-10=35
Exploring Operation: 11+10=21, Resulting Numbers: [45, 21]
Generated Node #0,1,2: 44:[45, 21] Operation: 11+10=21
Exploring Operation: 45-11=34, Resulting Numbers: [10, 34]
Generated Node #0,1,3: 44:[10, 34] Operation: 45-11=34
Moving to Node #0,3
Current State: 44:[45, 11, 10], Operations: ['55-45=10']
Exploring Operation: 45-11=34, Resulting Numbers: [10, 34]
Generated Node #0,3,0: 44:[10, 34] Operation: 45-11=34
Exploring Operation: 11+10=21, Resulting Numbers: [45, 21]
Generated Node #0,3,1: 44:[45, 21] Operation: 11+10=21
Exploring Operation: 45-10=35, Resulting Numbers: [11, 35]
Generated Node #0,3,2: 44:[11, 35] Operation: 45-10=35
Exploring Operation: 11-10=1, Resulting Numbers: [45, 1]
Generated Node #0,3,3: 44:[45, 1] Operation: 11-10=1
Moving to Node #0,2
Current State: 44:[45, 45, 44], Operations: ['55-11=44']
Exploring Operation: 45-44=1, Resulting Numbers: [45, 1]
Generated Node #0,2,0: 44:[45, 1] Operation: 45-44=1
Exploring Operation: 45/45=1, Resulting Numbers: [44, 1]
Generated Node #0,2,1: 44:[44, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [44, 0]
Generated Node #0,2,2: 44:[44, 0] Operation: 45-45=0
Exploring Operation: 45-44=1, Resulting Numbers: [45, 1]
Generated Node #0,2,3: 44:[45, 1] Operation: 45-44=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[44, 1], Operations: ['55-11=44', '45/45=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[45, 55, 45, 11], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [45, 45, 44]
Generated Node #0,2: 44:[45, 45, 44] Operation: 55-11=44
Moving to Node #0,2
Current State: 44:[45, 45, 44], Operations: ['55-11=44']
Exploring Operation: 45/45=1, Resulting Numbers: [44, 1]
Generated Node #0,2,1: 44:[44, 1] Operation: 45/45=1
Moving to Node #0,2,1
Current State: 44:[44, 1], Operations: ['55-11=44', '45/45=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_4
|
mult_heuristic
|
[
45,
90,
17,
7
] | 85 |
[
"90/45=2",
"7-2=5",
"17*5=85"
] |
Current State: 85:[45, 90, 17, 7], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [17, 7, 2]
Generated Node #2: [17, 7, 2] from Operation: 90/45=2
Current State: 85:[17, 7, 2], Operations: ['90/45=2']
Exploring Operation: 7-2=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 7-2=5
Current State: 85:[17, 5], Operations: ['90/45=2', '7-2=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[45, 90, 17, 7], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [90, 7, 28]
Generated Node #0,0: 85:[90, 7, 28] Operation: 45-17=28
Exploring Operation: 90/45=2, Resulting Numbers: [17, 7, 2]
Generated Node #0,1: 85:[17, 7, 2] Operation: 90/45=2
Exploring Operation: 45-7=38, Resulting Numbers: [90, 17, 38]
Generated Node #0,2: 85:[90, 17, 38] Operation: 45-7=38
Exploring Operation: 90-45=45, Resulting Numbers: [17, 7, 45]
Generated Node #0,3: 85:[17, 7, 45] Operation: 90-45=45
Exploring Operation: 45+17=62, Resulting Numbers: [90, 7, 62]
Generated Node #0,4: 85:[90, 7, 62] Operation: 45+17=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[17, 7, 2], Operations: ['90/45=2']
Exploring Operation: 17+2=19, Resulting Numbers: [7, 19]
Generated Node #0,1,0: 85:[7, 19] Operation: 17+2=19
Exploring Operation: 7+2=9, Resulting Numbers: [17, 9]
Generated Node #0,1,1: 85:[17, 9] Operation: 7+2=9
Exploring Operation: 17-2=15, Resulting Numbers: [7, 15]
Generated Node #0,1,2: 85:[7, 15] Operation: 17-2=15
Exploring Operation: 7-2=5, Resulting Numbers: [17, 5]
Generated Node #0,1,3: 85:[17, 5] Operation: 7-2=5
Exploring Operation: 7*2=14, Resulting Numbers: [17, 14]
Generated Node #0,1,4: 85:[17, 14] Operation: 7*2=14
Moving to Node #0,1,3
Current State: 85:[17, 5], Operations: ['90/45=2', '7-2=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[45, 90, 17, 7], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [17, 7, 2]
Generated Node #0,1: 85:[17, 7, 2] Operation: 90/45=2
Moving to Node #0,1
Current State: 85:[17, 7, 2], Operations: ['90/45=2']
Exploring Operation: 7-2=5, Resulting Numbers: [17, 5]
Generated Node #0,1,3: 85:[17, 5] Operation: 7-2=5
Moving to Node #0,1,3
Current State: 85:[17, 5], Operations: ['90/45=2', '7-2=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
70,
61,
11,
13
] | 33 |
[
"70-61=9",
"11+13=24",
"9+24=33"
] |
Current State: 33:[70, 61, 11, 13], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [11, 13, 9]
Generated Node #2: [11, 13, 9] from Operation: 70-61=9
Current State: 33:[11, 13, 9], Operations: ['70-61=9']
Exploring Operation: 11+13=24, Resulting Numbers: [9, 24]
Generated Node #3: [9, 24] from Operation: 11+13=24
Current State: 33:[9, 24], Operations: ['70-61=9', '11+13=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[70, 61, 11, 13], Operations: []
Exploring Operation: 70-13=57, Resulting Numbers: [61, 11, 57]
Generated Node #0,0: 33:[61, 11, 57] Operation: 70-13=57
Exploring Operation: 70-61=9, Resulting Numbers: [11, 13, 9]
Generated Node #0,1: 33:[11, 13, 9] Operation: 70-61=9
Moving to Node #0,1
Current State: 33:[11, 13, 9], Operations: ['70-61=9']
Exploring Operation: 13-9=4, Resulting Numbers: [11, 4]
Generated Node #0,1,0: 33:[11, 4] Operation: 13-9=4
Exploring Operation: 13-11=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 33:[9, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[11, 4], Operations: ['70-61=9', '13-9=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[9, 2], Operations: ['70-61=9', '13-11=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,33 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: 33:[61, 11, 57], Operations: ['70-13=57']
Exploring Operation: 61-57=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 33:[11, 4] Operation: 61-57=4
Exploring Operation: 61-11=50, Resulting Numbers: [57, 50]
Generated Node #0,0,1: 33:[57, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[11, 4], Operations: ['70-13=57', '61-57=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[57, 50], Operations: ['70-13=57', '61-11=50']
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,33 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
5,
4,
36,
83
] | 58 |
[
"5+83=88",
"88/4=22",
"36+22=58"
] |
Current State: 58:[5, 4, 36, 83], Operations: []
Exploring Operation: 5+83=88, Resulting Numbers: [4, 36, 88]
Generated Node #2: [4, 36, 88] from Operation: 5+83=88
Current State: 58:[4, 36, 88], Operations: ['5+83=88']
Exploring Operation: 88/4=22, Resulting Numbers: [36, 22]
Generated Node #3: [36, 22] from Operation: 88/4=22
Current State: 58:[36, 22], Operations: ['5+83=88', '88/4=22']
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[5, 4, 36, 83], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [5, 36, 79]
Generated Node #0,0: 58:[5, 36, 79] Operation: 83-4=79
Exploring Operation: 83-36=47, Resulting Numbers: [5, 4, 47]
Generated Node #0,1: 58:[5, 4, 47] Operation: 83-36=47
Exploring Operation: 83-5=78, Resulting Numbers: [4, 36, 78]
Generated Node #0,2: 58:[4, 36, 78] Operation: 83-5=78
Exploring Operation: 36-4=32, Resulting Numbers: [5, 83, 32]
Generated Node #0,3: 58:[5, 83, 32] Operation: 36-4=32
Exploring Operation: 36-5=31, Resulting Numbers: [4, 83, 31]
Generated Node #0,4: 58:[4, 83, 31] Operation: 36-5=31
Moving to Node #0,1
Current State: 58:[5, 4, 47], Operations: ['83-36=47']
Exploring Operation: 5+47=52, Resulting Numbers: [4, 52]
Generated Node #0,1,0: 58:[4, 52] Operation: 5+47=52
Exploring Operation: 4+47=51, Resulting Numbers: [5, 51]
Generated Node #0,1,1: 58:[5, 51] Operation: 4+47=51
Exploring Operation: 5-4=1, Resulting Numbers: [47, 1]
Generated Node #0,1,2: 58:[47, 1] Operation: 5-4=1
Exploring Operation: 47-5=42, Resulting Numbers: [4, 42]
Generated Node #0,1,3: 58:[4, 42] Operation: 47-5=42
Exploring Operation: 47-4=43, Resulting Numbers: [5, 43]
Generated Node #0,1,4: 58:[5, 43] Operation: 47-4=43
Moving to Node #0,4
Current State: 58:[4, 83, 31], Operations: ['36-5=31']
Exploring Operation: 4+31=35, Resulting Numbers: [83, 35]
Generated Node #0,4,0: 58:[83, 35] Operation: 4+31=35
Exploring Operation: 83-31=52, Resulting Numbers: [4, 52]
Generated Node #0,4,1: 58:[4, 52] Operation: 83-31=52
Exploring Operation: 4+83=87, Resulting Numbers: [31, 87]
Generated Node #0,4,2: 58:[31, 87] Operation: 4+83=87
Exploring Operation: 83-4=79, Resulting Numbers: [31, 79]
Generated Node #0,4,3: 58:[31, 79] Operation: 83-4=79
Exploring Operation: 31-4=27, Resulting Numbers: [83, 27]
Generated Node #0,4,4: 58:[83, 27] Operation: 31-4=27
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 58:[4, 52], Operations: ['36-5=31', '83-31=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,58 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 58:[31, 79], Operations: ['36-5=31', '83-4=79']
Exploring Operation: 31*79=2449, Resulting Numbers: [2449]
2449,58 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 31+79=110, Resulting Numbers: [110]
110,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 58:[83, 27], Operations: ['36-5=31', '31-4=27']
Exploring Operation: 83+27=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 83*27=2241, Resulting Numbers: [2241]
2241,58 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 58:[83, 35], Operations: ['36-5=31', '4+31=35']
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,58 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 58:[31, 87], Operations: ['36-5=31', '4+83=87']
Exploring Operation: 31+87=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 31*87=2697, Resulting Numbers: [2697]
2697,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 58:[4, 36, 78], Operations: ['83-5=78']
Exploring Operation: 78-4=74, Resulting Numbers: [36, 74]
Generated Node #0,2,0: 58:[36, 74] Operation: 78-4=74
Exploring Operation: 36/4=9, Resulting Numbers: [78, 9]
Generated Node #0,2,1: 58:[78, 9] Operation: 36/4=9
Exploring Operation: 78-36=42, Resulting Numbers: [4, 42]
Generated Node #0,2,2: 58:[4, 42] Operation: 78-36=42
Exploring Operation: 4+36=40, Resulting Numbers: [78, 40]
Generated Node #0,2,3: 58:[78, 40] Operation: 4+36=40
Exploring Operation: 36-4=32, Resulting Numbers: [78, 32]
Generated Node #0,2,4: 58:[78, 32] Operation: 36-4=32
Moving to Node #0,0
Current State: 58:[5, 36, 79], Operations: ['83-4=79']
Exploring Operation: 36-5=31, Resulting Numbers: [79, 31]
Generated Node #0,0,0: 58:[79, 31] Operation: 36-5=31
Exploring Operation: 79-36=43, Resulting Numbers: [5, 43]
Generated Node #0,0,1: 58:[5, 43] Operation: 79-36=43
Exploring Operation: 5+79=84, Resulting Numbers: [36, 84]
Generated Node #0,0,2: 58:[36, 84] Operation: 5+79=84
Exploring Operation: 5+36=41, Resulting Numbers: [79, 41]
Generated Node #0,0,3: 58:[79, 41] Operation: 5+36=41
Exploring Operation: 79-5=74, Resulting Numbers: [36, 74]
Generated Node #0,0,4: 58:[36, 74] Operation: 79-5=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[5, 43], Operations: ['83-4=79', '79-36=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,58 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[79, 31], Operations: ['83-4=79', '36-5=31']
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,58 unequal: No Solution
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 58:[36, 74], Operations: ['83-4=79', '79-5=74']
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,58 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[36, 84], Operations: ['83-4=79', '5+79=84']
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[79, 41], Operations: ['83-4=79', '5+36=41']
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,58 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: 58:[5, 83, 32], Operations: ['36-4=32']
Exploring Operation: 32-5=27, Resulting Numbers: [83, 27]
Generated Node #0,3,0: 58:[83, 27] Operation: 32-5=27
Exploring Operation: 5+83=88, Resulting Numbers: [32, 88]
Generated Node #0,3,1: 58:[32, 88] Operation: 5+83=88
Exploring Operation: 83-32=51, Resulting Numbers: [5, 51]
Generated Node #0,3,2: 58:[5, 51] Operation: 83-32=51
Exploring Operation: 5+32=37, Resulting Numbers: [83, 37]
Generated Node #0,3,3: 58:[83, 37] Operation: 5+32=37
Exploring Operation: 83-5=78, Resulting Numbers: [32, 78]
Generated Node #0,3,4: 58:[32, 78] Operation: 83-5=78
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 58:[5, 51], Operations: ['36-4=32', '83-32=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,58 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 58:[32, 78], Operations: ['36-4=32', '83-5=78']
Exploring Operation: 32+78=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 32*78=2496, Resulting Numbers: [2496]
2496,58 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[83, 27], Operations: ['36-4=32', '32-5=27']
Exploring Operation: 83*27=2241, Resulting Numbers: [2241]
2241,58 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 83+27=110, Resulting Numbers: [110]
110,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[32, 88], Operations: ['36-4=32', '5+83=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,58 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[83, 37], Operations: ['36-4=32', '5+32=37']
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,58 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 58:[4, 52], Operations: ['83-36=47', '5+47=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,58 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[5, 51], Operations: ['83-36=47', '4+47=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,58 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[47, 1], Operations: ['83-36=47', '5-4=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[4, 42], Operations: ['83-5=78', '78-36=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,58 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[4, 42], Operations: ['83-36=47', '47-5=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,58 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[5, 43], Operations: ['83-36=47', '47-4=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,58 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[36, 74], Operations: ['83-5=78', '78-4=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,58 unequal: No Solution
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[78, 32], Operations: ['83-5=78', '36-4=32']
Exploring Operation: 78*32=2496, Resulting Numbers: [2496]
2496,58 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[78, 9], Operations: ['83-5=78', '36/4=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,58 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[78, 40], Operations: ['83-5=78', '4+36=40']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,58 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,58 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
39,
39,
9,
21
] | 37 |
[
"39-21=18",
"18/9=2",
"39-2=37"
] |
Current State: 37:[39, 39, 9, 21], Operations: []
Exploring Operation: 39-21=18, Resulting Numbers: [9, 18]
Generated Node #2: [9, 18] from Operation: 39-21=18
Current State: 37:[9, 18], Operations: ['39-21=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,37 equal: Goal Reached
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[39, 39, 9, 21], Operations: []
Exploring Operation: 39+9=48, Resulting Numbers: [39, 21, 48]
Generated Node #0,0: 37:[39, 21, 48] Operation: 39+9=48
Exploring Operation: 9+21=30, Resulting Numbers: [39, 39, 30]
Generated Node #0,1: 37:[39, 39, 30] Operation: 9+21=30
Exploring Operation: 39-9=30, Resulting Numbers: [39, 21, 30]
Generated Node #0,2: 37:[39, 21, 30] Operation: 39-9=30
Exploring Operation: 39-9=30, Resulting Numbers: [39, 21, 30]
Generated Node #0,3: 37:[39, 21, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[39, 39, 30], Operations: ['9+21=30']
Exploring Operation: 39+30=69, Resulting Numbers: [39, 69]
Generated Node #0,1,0: 37:[39, 69] Operation: 39+30=69
Exploring Operation: 39-30=9, Resulting Numbers: [39, 9]
Generated Node #0,1,1: 37:[39, 9] Operation: 39-30=9
Exploring Operation: 39+30=69, Resulting Numbers: [39, 69]
Generated Node #0,1,2: 37:[39, 69] Operation: 39+30=69
Exploring Operation: 39-30=9, Resulting Numbers: [39, 9]
Generated Node #0,1,3: 37:[39, 9] Operation: 39-30=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[39, 9], Operations: ['9+21=30', '39-30=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,37 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[39, 9], Operations: ['9+21=30', '39-30=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,37 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[39, 69], Operations: ['9+21=30', '39+30=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,37 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[39, 69], Operations: ['9+21=30', '39+30=69']
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,37 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[39, 21, 30], Operations: ['39-9=30']
Exploring Operation: 30-21=9, Resulting Numbers: [39, 9]
Generated Node #0,2,0: 37:[39, 9] Operation: 30-21=9
Exploring Operation: 39+21=60, Resulting Numbers: [30, 60]
Generated Node #0,2,1: 37:[30, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [30, 18]
Generated Node #0,2,2: 37:[30, 18] Operation: 39-21=18
Exploring Operation: 21+30=51, Resulting Numbers: [39, 51]
Generated Node #0,2,3: 37:[39, 51] Operation: 21+30=51
Moving to Node #0,2,3
Current State: 37:[39, 51], Operations: ['39-9=30', '21+30=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,37 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[30, 18], Operations: ['39-9=30', '39-21=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,37 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[30, 60], Operations: ['39-9=30', '39+21=60']
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,37 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[39, 9], Operations: ['39-9=30', '30-21=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,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,3
Current State: 37:[39, 21, 30], Operations: ['39-9=30']
Exploring Operation: 30-21=9, Resulting Numbers: [39, 9]
Generated Node #0,3,0: 37:[39, 9] Operation: 30-21=9
Exploring Operation: 21+30=51, Resulting Numbers: [39, 51]
Generated Node #0,3,1: 37:[39, 51] Operation: 21+30=51
Exploring Operation: 39+21=60, Resulting Numbers: [30, 60]
Generated Node #0,3,2: 37:[30, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [30, 18]
Generated Node #0,3,3: 37:[30, 18] Operation: 39-21=18
Moving to Node #0,3,1
Current State: 37:[39, 51], Operations: ['39-9=30', '21+30=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,37 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[30, 18], Operations: ['39-9=30', '39-21=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,37 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[30, 60], Operations: ['39-9=30', '39+21=60']
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,37 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[39, 9], Operations: ['39-9=30', '30-21=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,37 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,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
Current State: 37:[39, 21, 48], Operations: ['39+9=48']
Exploring Operation: 48-21=27, Resulting Numbers: [39, 27]
Generated Node #0,0,0: 37:[39, 27] Operation: 48-21=27
Exploring Operation: 39-21=18, Resulting Numbers: [48, 18]
Generated Node #0,0,1: 37:[48, 18] Operation: 39-21=18
Exploring Operation: 21+48=69, Resulting Numbers: [39, 69]
Generated Node #0,0,2: 37:[39, 69] Operation: 21+48=69
Exploring Operation: 39+21=60, Resulting Numbers: [48, 60]
Generated Node #0,0,3: 37:[48, 60] Operation: 39+21=60
Moving to Node #0,0,0
Current State: 37:[39, 27], Operations: ['39+9=48', '48-21=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,37 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[48, 18], Operations: ['39+9=48', '39-21=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,37 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[48, 60], Operations: ['39+9=48', '39+21=60']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,37 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[39, 69], Operations: ['39+9=48', '21+48=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,37 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,37 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
|
[
10,
78,
14,
74
] | 100 |
[
"78-14=64",
"74-64=10",
"10*10=100"
] |
Current State: 100:[10, 78, 14, 74], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [10, 74, 64]
Generated Node #2: [10, 74, 64] from Operation: 78-14=64
Current State: 100:[10, 74, 64], Operations: ['78-14=64']
Exploring Operation: 74-64=10, Resulting Numbers: [10, 10]
Generated Node #3: [10, 10] from Operation: 74-64=10
Current State: 100:[10, 10], Operations: ['78-14=64', '74-64=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[10, 78, 14, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [10, 14, 4]
Generated Node #0,0: 100:[10, 14, 4] Operation: 78-74=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[10, 14, 4], Operations: ['78-74=4']
Exploring Operation: 14-10=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 100:[4, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[4, 4], Operations: ['78-74=4', '14-10=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,100 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
|
[
92,
14,
16,
56
] | 27 |
[
"92+16=108",
"56/14=4",
"108/4=27"
] |
Current State: 27:[92, 14, 16, 56], Operations: []
Exploring Operation: 92+16=108, Resulting Numbers: [14, 56, 108]
Generated Node #2: [14, 56, 108] from Operation: 92+16=108
Current State: 27:[14, 56, 108], Operations: ['92+16=108']
Exploring Operation: 56/14=4, Resulting Numbers: [108, 4]
Generated Node #3: [108, 4] from Operation: 56/14=4
Current State: 27:[108, 4], Operations: ['92+16=108', '56/14=4']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[92, 14, 16, 56], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [92, 16, 4]
Generated Node #0,0: 27:[92, 16, 4] Operation: 56/14=4
Exploring Operation: 92-14=78, Resulting Numbers: [16, 56, 78]
Generated Node #0,1: 27:[16, 56, 78] Operation: 92-14=78
Exploring Operation: 92-56=36, Resulting Numbers: [14, 16, 36]
Generated Node #0,2: 27:[14, 16, 36] Operation: 92-56=36
Exploring Operation: 56-16=40, Resulting Numbers: [92, 14, 40]
Generated Node #0,3: 27:[92, 14, 40] Operation: 56-16=40
Exploring Operation: 92-16=76, Resulting Numbers: [14, 56, 76]
Generated Node #0,4: 27:[14, 56, 76] Operation: 92-16=76
Moving to Node #0,2
Current State: 27:[14, 16, 36], Operations: ['92-56=36']
Exploring Operation: 36-14=22, Resulting Numbers: [16, 22]
Generated Node #0,2,0: 27:[16, 22] Operation: 36-14=22
Exploring Operation: 14+16=30, Resulting Numbers: [36, 30]
Generated Node #0,2,1: 27:[36, 30] Operation: 14+16=30
Exploring Operation: 14+36=50, Resulting Numbers: [16, 50]
Generated Node #0,2,2: 27:[16, 50] Operation: 14+36=50
Exploring Operation: 36-16=20, Resulting Numbers: [14, 20]
Generated Node #0,2,3: 27:[14, 20] Operation: 36-16=20
Exploring Operation: 16-14=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 27:[36, 2] Operation: 16-14=2
Moving to Node #0,0
Current State: 27:[92, 16, 4], Operations: ['56/14=4']
Exploring Operation: 92/4=23, Resulting Numbers: [16, 23]
Generated Node #0,0,0: 27:[16, 23] Operation: 92/4=23
Exploring Operation: 92-16=76, Resulting Numbers: [4, 76]
Generated Node #0,0,1: 27:[4, 76] Operation: 92-16=76
Exploring Operation: 92-4=88, Resulting Numbers: [16, 88]
Generated Node #0,0,2: 27:[16, 88] Operation: 92-4=88
Exploring Operation: 16/4=4, Resulting Numbers: [92, 4]
Generated Node #0,0,3: 27:[92, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [92, 12]
Generated Node #0,0,4: 27:[92, 12] Operation: 16-4=12
Moving to Node #0,3
Current State: 27:[92, 14, 40], Operations: ['56-16=40']
Exploring Operation: 40-14=26, Resulting Numbers: [92, 26]
Generated Node #0,3,0: 27:[92, 26] Operation: 40-14=26
Exploring Operation: 92-40=52, Resulting Numbers: [14, 52]
Generated Node #0,3,1: 27:[14, 52] Operation: 92-40=52
Exploring Operation: 92-14=78, Resulting Numbers: [40, 78]
Generated Node #0,3,2: 27:[40, 78] Operation: 92-14=78
Exploring Operation: 92+14=106, Resulting Numbers: [40, 106]
Generated Node #0,3,3: 27:[40, 106] Operation: 92+14=106
Exploring Operation: 14+40=54, Resulting Numbers: [92, 54]
Generated Node #0,3,4: 27:[92, 54] Operation: 14+40=54
Moving to Node #0,4
Current State: 27:[14, 56, 76], Operations: ['92-16=76']
Exploring Operation: 56-14=42, Resulting Numbers: [76, 42]
Generated Node #0,4,0: 27:[76, 42] Operation: 56-14=42
Exploring Operation: 76-14=62, Resulting Numbers: [56, 62]
Generated Node #0,4,1: 27:[56, 62] Operation: 76-14=62
Exploring Operation: 76-56=20, Resulting Numbers: [14, 20]
Generated Node #0,4,2: 27:[14, 20] Operation: 76-56=20
Exploring Operation: 56/14=4, Resulting Numbers: [76, 4]
Generated Node #0,4,3: 27:[76, 4] Operation: 56/14=4
Exploring Operation: 14+56=70, Resulting Numbers: [76, 70]
Generated Node #0,4,4: 27:[76, 70] Operation: 14+56=70
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 27:[14, 20], Operations: ['92-16=76', '76-56=20']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 27:[76, 4], Operations: ['92-16=76', '56/14=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 27:[76, 42], Operations: ['92-16=76', '56-14=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,27 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 27:[56, 62], Operations: ['92-16=76', '76-14=62']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 56+62=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 56*62=3472, Resulting Numbers: [3472]
3472,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 27:[76, 70], Operations: ['92-16=76', '14+56=70']
Exploring Operation: 76*70=5320, Resulting Numbers: [5320]
5320,27 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 76+70=146, Resulting Numbers: [146]
146,27 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: 27:[16, 56, 78], Operations: ['92-14=78']
Exploring Operation: 16+78=94, Resulting Numbers: [56, 94]
Generated Node #0,1,0: 27:[56, 94] Operation: 16+78=94
Exploring Operation: 56-16=40, Resulting Numbers: [78, 40]
Generated Node #0,1,1: 27:[78, 40] Operation: 56-16=40
Exploring Operation: 78-16=62, Resulting Numbers: [56, 62]
Generated Node #0,1,2: 27:[56, 62] Operation: 78-16=62
Exploring Operation: 16+56=72, Resulting Numbers: [78, 72]
Generated Node #0,1,3: 27:[78, 72] Operation: 16+56=72
Exploring Operation: 78-56=22, Resulting Numbers: [16, 22]
Generated Node #0,1,4: 27:[16, 22] Operation: 78-56=22
Moving to Node #0,2,4
Current State: 27:[36, 2], Operations: ['92-56=36', '16-14=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[16, 23], Operations: ['56/14=4', '92/4=23']
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,27 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[36, 30], Operations: ['92-56=36', '14+16=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,27 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[16, 22], Operations: ['92-56=36', '36-14=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,27 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[14, 20], Operations: ['92-56=36', '36-16=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[16, 22], Operations: ['92-14=78', '78-56=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,27 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[16, 50], Operations: ['92-56=36', '14+36=50']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[14, 52], Operations: ['56-16=40', '92-40=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[4, 76], Operations: ['56/14=4', '92-16=76']
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,27 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[40, 78], Operations: ['56-16=40', '92-14=78']
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[56, 62], Operations: ['92-14=78', '78-16=62']
Exploring Operation: 56*62=3472, Resulting Numbers: [3472]
3472,27 unequal: No Solution
Exploring Operation: 56+62=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[78, 40], Operations: ['92-14=78', '56-16=40']
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,27 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[92, 26], Operations: ['56-16=40', '40-14=26']
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,27 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[92, 4], Operations: ['56/14=4', '16/4=4']
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,27 unequal: No Solution
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,27 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[92, 12], Operations: ['56/14=4', '16-4=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,27 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[16, 88], Operations: ['56/14=4', '92-4=88']
Exploring Operation: 16+88=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 16*88=1408, Resulting Numbers: [1408]
1408,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[92, 54], Operations: ['56-16=40', '14+40=54']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 92*54=4968, Resulting Numbers: [4968]
4968,27 unequal: No Solution
Exploring Operation: 92+54=146, Resulting Numbers: [146]
146,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[40, 106], Operations: ['56-16=40', '92+14=106']
Exploring Operation: 40+106=146, Resulting Numbers: [146]
146,27 unequal: No Solution
Exploring Operation: 40*106=4240, Resulting Numbers: [4240]
4240,27 unequal: No Solution
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[56, 94], Operations: ['92-14=78', '16+78=94']
Exploring Operation: 56*94=5264, Resulting Numbers: [5264]
5264,27 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 56+94=150, Resulting Numbers: [150]
150,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[78, 72], Operations: ['92-14=78', '16+56=72']
Exploring Operation: 78+72=150, Resulting Numbers: [150]
150,27 unequal: No Solution
Exploring Operation: 78*72=5616, Resulting Numbers: [5616]
5616,27 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
70,
39,
86,
79
] | 38 |
[
"70-39=31",
"86-79=7",
"31+7=38"
] |
Current State: 38:[70, 39, 86, 79], Operations: []
Exploring Operation: 70-39=31, Resulting Numbers: [86, 79, 31]
Generated Node #2: [86, 79, 31] from Operation: 70-39=31
Current State: 38:[86, 79, 31], Operations: ['70-39=31']
Exploring Operation: 86-79=7, Resulting Numbers: [31, 7]
Generated Node #3: [31, 7] from Operation: 86-79=7
Current State: 38:[31, 7], Operations: ['70-39=31', '86-79=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[70, 39, 86, 79], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [70, 39, 7]
Generated Node #0,0: 38:[70, 39, 7] Operation: 86-79=7
Exploring Operation: 79-70=9, Resulting Numbers: [39, 86, 9]
Generated Node #0,1: 38:[39, 86, 9] Operation: 79-70=9
Exploring Operation: 86-70=16, Resulting Numbers: [39, 79, 16]
Generated Node #0,2: 38:[39, 79, 16] Operation: 86-70=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[70, 39, 7], Operations: ['86-79=7']
Exploring Operation: 70/7=10, Resulting Numbers: [39, 10]
Generated Node #0,0,0: 38:[39, 10] Operation: 70/7=10
Exploring Operation: 70-39=31, Resulting Numbers: [7, 31]
Generated Node #0,0,1: 38:[7, 31] Operation: 70-39=31
Exploring Operation: 70-7=63, Resulting Numbers: [39, 63]
Generated Node #0,0,2: 38:[39, 63] Operation: 70-7=63
Moving to Node #0,0,0
Current State: 38:[39, 10], Operations: ['86-79=7', '70/7=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[7, 31], Operations: ['86-79=7', '70-39=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,38 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[70, 39, 86, 79], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [70, 39, 7]
Generated Node #0,0: 38:[70, 39, 7] Operation: 86-79=7
Moving to Node #0,0
Current State: 38:[70, 39, 7], Operations: ['86-79=7']
Exploring Operation: 70-39=31, Resulting Numbers: [7, 31]
Generated Node #0,0,1: 38:[7, 31] Operation: 70-39=31
Moving to Node #0,0,1
Current State: 38:[7, 31], Operations: ['86-79=7', '70-39=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
16,
27,
48,
92
] | 87 |
[
"16+27=43",
"92-48=44",
"43+44=87"
] |
Current State: 87:[16, 27, 48, 92], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [48, 92, 43]
Generated Node #2: [48, 92, 43] from Operation: 16+27=43
Current State: 87:[48, 92, 43], Operations: ['16+27=43']
Exploring Operation: 92-48=44, Resulting Numbers: [43, 44]
Generated Node #3: [43, 44] from Operation: 92-48=44
Current State: 87:[43, 44], Operations: ['16+27=43', '92-48=44']
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[16, 27, 48, 92], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [16, 92, 21]
Generated Node #0,0: 87:[16, 92, 21] Operation: 48-27=21
Exploring Operation: 48/16=3, Resulting Numbers: [27, 92, 3]
Generated Node #0,1: 87:[27, 92, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [27, 92, 32]
Generated Node #0,2: 87:[27, 92, 32] Operation: 48-16=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[27, 92, 3], Operations: ['48/16=3']
Exploring Operation: 27+3=30, Resulting Numbers: [92, 30]
Generated Node #0,1,0: 87:[92, 30] Operation: 27+3=30
Exploring Operation: 27-3=24, Resulting Numbers: [92, 24]
Generated Node #0,1,1: 87:[92, 24] Operation: 27-3=24
Exploring Operation: 92-3=89, Resulting Numbers: [27, 89]
Generated Node #0,1,2: 87:[27, 89] Operation: 92-3=89
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[27, 89], Operations: ['48/16=3', '92-3=89']
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Exploring Operation: 27*89=2403, Resulting Numbers: [2403]
2403,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[92, 30], Operations: ['48/16=3', '27+3=30']
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,87 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,87 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[92, 24], Operations: ['48/16=3', '27-3=24']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,87 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[27, 92, 32], Operations: ['48-16=32']
Exploring Operation: 92-32=60, Resulting Numbers: [27, 60]
Generated Node #0,2,0: 87:[27, 60] Operation: 92-32=60
Exploring Operation: 92-27=65, Resulting Numbers: [32, 65]
Generated Node #0,2,1: 87:[32, 65] Operation: 92-27=65
Exploring Operation: 32-27=5, Resulting Numbers: [92, 5]
Generated Node #0,2,2: 87:[92, 5] Operation: 32-27=5
Moving to Node #0,2,2
Current State: 87:[92, 5], Operations: ['48-16=32', '32-27=5']
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,87 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[16, 27, 48, 92], Operations: []
Exploring Operation: 48-16=32, Resulting Numbers: [27, 92, 32]
Generated Node #0,2: 87:[27, 92, 32] Operation: 48-16=32
Moving to Node #0,2
Current State: 87:[27, 92, 32], Operations: ['48-16=32']
Exploring Operation: 32-27=5, Resulting Numbers: [92, 5]
Generated Node #0,2,2: 87:[92, 5] Operation: 32-27=5
Moving to Node #0,2,2
Current State: 87:[92, 5], Operations: ['48-16=32', '32-27=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 |
hs_3
|
sum_heuristic
|
[
3,
24,
19,
10
] | 20 |
[
"24-3=21",
"21-19=2",
"10*2=20"
] |
Current State: 20:[3, 24, 19, 10], Operations: []
Exploring Operation: 24-3=21, Resulting Numbers: [19, 10, 21]
Generated Node #2: [19, 10, 21] from Operation: 24-3=21
Current State: 20:[19, 10, 21], Operations: ['24-3=21']
Exploring Operation: 21-19=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 21-19=2
Current State: 20:[10, 2], Operations: ['24-3=21', '21-19=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[3, 24, 19, 10], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [3, 10, 5]
Generated Node #0,0: 20:[3, 10, 5] Operation: 24-19=5
Moving to Node #0,0
Current State: 20:[3, 10, 5], Operations: ['24-19=5']
Exploring Operation: 5-3=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['24-19=5', '5-3=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[3, 24, 19, 10], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [3, 10, 5]
Generated Node #0,0: 20:[3, 10, 5] Operation: 24-19=5
Moving to Node #0,0
Current State: 20:[3, 10, 5], Operations: ['24-19=5']
Exploring Operation: 5-3=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['24-19=5', '5-3=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
10,
71,
80,
56
] | 34 |
[
"80-71=9",
"10*9=90",
"90-56=34"
] |
Current State: 34:[10, 71, 80, 56], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [10, 56, 9]
Generated Node #2: [10, 56, 9] from Operation: 80-71=9
Current State: 34:[10, 56, 9], Operations: ['80-71=9']
Exploring Operation: 10*9=90, Resulting Numbers: [56, 90]
Generated Node #3: [56, 90] from Operation: 10*9=90
Current State: 34:[56, 90], Operations: ['80-71=9', '10*9=90']
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[10, 71, 80, 56], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [10, 71, 24]
Generated Node #0,0: 34:[10, 71, 24] Operation: 80-56=24
Exploring Operation: 80-71=9, Resulting Numbers: [10, 56, 9]
Generated Node #0,1: 34:[10, 56, 9] Operation: 80-71=9
Exploring Operation: 71-56=15, Resulting Numbers: [10, 80, 15]
Generated Node #0,2: 34:[10, 80, 15] Operation: 71-56=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[10, 56, 9], Operations: ['80-71=9']
Exploring Operation: 56-9=47, Resulting Numbers: [10, 47]
Generated Node #0,1,0: 34:[10, 47] Operation: 56-9=47
Exploring Operation: 56-10=46, Resulting Numbers: [9, 46]
Generated Node #0,1,1: 34:[9, 46] Operation: 56-10=46
Exploring Operation: 10-9=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 34:[56, 1] Operation: 10-9=1
Moving to Node #0,1,1
Current State: 34:[9, 46], Operations: ['80-71=9', '56-10=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[10, 47], Operations: ['80-71=9', '56-9=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,34 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[56, 1], Operations: ['80-71=9', '10-9=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[10, 71, 24], Operations: ['80-56=24']
Exploring Operation: 71-10=61, Resulting Numbers: [24, 61]
Generated Node #0,0,0: 34:[24, 61] Operation: 71-10=61
Exploring Operation: 10+24=34, Resulting Numbers: [71, 34]
Generated Node #0,0,1: 34:[71, 34] Operation: 10+24=34
Exploring Operation: 71-24=47, Resulting Numbers: [10, 47]
Generated Node #0,0,2: 34:[10, 47] Operation: 71-24=47
Moving to Node #0,0,2
Current State: 34:[10, 47], Operations: ['80-56=24', '71-24=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,34 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[24, 61], Operations: ['80-56=24', '71-10=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,34 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[71, 34], Operations: ['80-56=24', '10+24=34']
Exploring Operation: 71+34=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 71*34=2414, Resulting Numbers: [2414]
2414,34 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[10, 80, 15], Operations: ['71-56=15']
Exploring Operation: 80/10=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 34:[15, 8] Operation: 80/10=8
Exploring Operation: 80-10=70, Resulting Numbers: [15, 70]
Generated Node #0,2,1: 34:[15, 70] Operation: 80-10=70
Exploring Operation: 80-15=65, Resulting Numbers: [10, 65]
Generated Node #0,2,2: 34:[10, 65] Operation: 80-15=65
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[15, 8], Operations: ['71-56=15', '80/10=8']
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[15, 70], Operations: ['71-56=15', '80-10=70']
Exploring Operation: 15*70=1050, Resulting Numbers: [1050]
1050,34 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[10, 65], Operations: ['71-56=15', '80-15=65']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,34 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,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
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
43,
41,
53,
43
] | 74 |
[
"43+41=84",
"53-43=10",
"84-10=74"
] |
Current State: 74:[43, 41, 53, 43], Operations: []
Exploring Operation: 43+41=84, Resulting Numbers: [53, 84]
Generated Node #2: [53, 84] from Operation: 43+41=84
Current State: 74:[53, 84], Operations: ['43+41=84']
Exploring Operation: 53-43=10, Resulting Numbers: [84, 10]
Generated Node #3: [84, 10] from Operation: 53-43=10
Current State: 74:[84, 10], Operations: ['43+41=84', '53-43=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[43, 41, 53, 43], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [41, 43, 10]
Generated Node #0,0: 74:[41, 43, 10] Operation: 53-43=10
Exploring Operation: 43-41=2, Resulting Numbers: [53, 43, 2]
Generated Node #0,1: 74:[53, 43, 2] Operation: 43-41=2
Exploring Operation: 43/43=1, Resulting Numbers: [41, 53, 1]
Generated Node #0,2: 74:[41, 53, 1] Operation: 43/43=1
Exploring Operation: 53-43=10, Resulting Numbers: [43, 41, 10]
Generated Node #0,3: 74:[43, 41, 10] Operation: 53-43=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[41, 43, 10], Operations: ['53-43=10']
Exploring Operation: 43-41=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 74:[10, 2] Operation: 43-41=2
Exploring Operation: 43-10=33, Resulting Numbers: [41, 33]
Generated Node #0,0,1: 74:[41, 33] Operation: 43-10=33
Exploring Operation: 41-10=31, Resulting Numbers: [43, 31]
Generated Node #0,0,2: 74:[43, 31] Operation: 41-10=31
Exploring Operation: 41+43=84, Resulting Numbers: [10, 84]
Generated Node #0,0,3: 74:[10, 84] Operation: 41+43=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[10, 2], Operations: ['53-43=10', '43-41=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[41, 33], Operations: ['53-43=10', '43-10=33']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,74 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[43, 41, 53, 43], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [41, 43, 10]
Generated Node #0,0: 74:[41, 43, 10] Operation: 53-43=10
Moving to Node #0,0
Current State: 74:[41, 43, 10], Operations: ['53-43=10']
Exploring Operation: 43-10=33, Resulting Numbers: [41, 33]
Generated Node #0,0,1: 74:[41, 33] Operation: 43-10=33
Moving to Node #0,0,1
Current State: 74:[41, 33], Operations: ['53-43=10', '43-10=33']
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 |
hs_4
|
sum_heuristic
|
[
26,
64,
2,
69
] | 63 |
[
"26+69=95",
"64/2=32",
"95-32=63"
] |
Current State: 63:[26, 64, 2, 69], Operations: []
Exploring Operation: 26+69=95, Resulting Numbers: [64, 2, 95]
Generated Node #2: [64, 2, 95] from Operation: 26+69=95
Current State: 63:[64, 2, 95], Operations: ['26+69=95']
Exploring Operation: 64/2=32, Resulting Numbers: [95, 32]
Generated Node #3: [95, 32] from Operation: 64/2=32
Current State: 63:[95, 32], Operations: ['26+69=95', '64/2=32']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[26, 64, 2, 69], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [26, 2, 5]
Generated Node #0,0: 63:[26, 2, 5] Operation: 69-64=5
Moving to Node #0,0
Current State: 63:[26, 2, 5], Operations: ['69-64=5']
Exploring Operation: 26-5=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 63:[2, 21] Operation: 26-5=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[2, 21], Operations: ['69-64=5', '26-5=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
60,
17,
65,
47
] | 35 |
[
"60+17=77",
"65+47=112",
"112-77=35"
] |
Current State: 35:[60, 17, 65, 47], Operations: []
Exploring Operation: 60+17=77, Resulting Numbers: [65, 47, 77]
Generated Node #2: [65, 47, 77] from Operation: 60+17=77
Current State: 35:[65, 47, 77], Operations: ['60+17=77']
Exploring Operation: 65+47=112, Resulting Numbers: [77, 112]
Generated Node #3: [77, 112] from Operation: 65+47=112
Current State: 35:[77, 112], Operations: ['60+17=77', '65+47=112']
Exploring Operation: 112-77=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[60, 17, 65, 47], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [17, 47, 5]
Generated Node #0,0: 35:[17, 47, 5] Operation: 65-60=5
Exploring Operation: 60-47=13, Resulting Numbers: [17, 65, 13]
Generated Node #0,1: 35:[17, 65, 13] Operation: 60-47=13
Moving to Node #0,0
Current State: 35:[17, 47, 5], Operations: ['65-60=5']
Exploring Operation: 47-17=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 35:[5, 30] Operation: 47-17=30
Exploring Operation: 17-5=12, Resulting Numbers: [47, 12]
Generated Node #0,0,1: 35:[47, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[5, 30], Operations: ['65-60=5', '47-17=30']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[60, 17, 65, 47], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [17, 47, 5]
Generated Node #0,0: 35:[17, 47, 5] Operation: 65-60=5
Moving to Node #0,0
Current State: 35:[17, 47, 5], Operations: ['65-60=5']
Exploring Operation: 47-17=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 35:[5, 30] Operation: 47-17=30
Moving to Node #0,0,0
Current State: 35:[5, 30], Operations: ['65-60=5', '47-17=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
10,
17,
57,
54
] | 10 |
[
"17-10=7",
"57-54=3",
"7+3=10"
] |
Current State: 10:[10, 17, 57, 54], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [57, 54, 7]
Generated Node #2: [57, 54, 7] from Operation: 17-10=7
Current State: 10:[57, 54, 7], Operations: ['17-10=7']
Exploring Operation: 57-54=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 57-54=3
Current State: 10:[7, 3], Operations: ['17-10=7', '57-54=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[10, 17, 57, 54], Operations: []
Exploring Operation: 54-17=37, Resulting Numbers: [10, 57, 37]
Generated Node #0,0: 10:[10, 57, 37] Operation: 54-17=37
Exploring Operation: 57-17=40, Resulting Numbers: [10, 54, 40]
Generated Node #0,1: 10:[10, 54, 40] Operation: 57-17=40
Exploring Operation: 57-54=3, Resulting Numbers: [10, 17, 3]
Generated Node #0,2: 10:[10, 17, 3] Operation: 57-54=3
Moving to Node #0,2
Current State: 10:[10, 17, 3], Operations: ['57-54=3']
Exploring Operation: 17-3=14, Resulting Numbers: [10, 14]
Generated Node #0,2,0: 10:[10, 14] Operation: 17-3=14
Exploring Operation: 10-3=7, Resulting Numbers: [17, 7]
Generated Node #0,2,1: 10:[17, 7] Operation: 10-3=7
Exploring Operation: 17-10=7, Resulting Numbers: [3, 7]
Generated Node #0,2,2: 10:[3, 7] Operation: 17-10=7
Moving to Node #0,0
Current State: 10:[10, 57, 37], Operations: ['54-17=37']
Exploring Operation: 57-10=47, Resulting Numbers: [37, 47]
Generated Node #0,0,0: 10:[37, 47] Operation: 57-10=47
Exploring Operation: 37-10=27, Resulting Numbers: [57, 27]
Generated Node #0,0,1: 10:[57, 27] Operation: 37-10=27
Exploring Operation: 57-37=20, Resulting Numbers: [10, 20]
Generated Node #0,0,2: 10:[10, 20] Operation: 57-37=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[10, 20], Operations: ['54-17=37', '57-37=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[10, 17, 57, 54], Operations: []
Exploring Operation: 54-17=37, Resulting Numbers: [10, 57, 37]
Generated Node #0,0: 10:[10, 57, 37] Operation: 54-17=37
Moving to Node #0,0
Current State: 10:[10, 57, 37], Operations: ['54-17=37']
Exploring Operation: 57-37=20, Resulting Numbers: [10, 20]
Generated Node #0,0,2: 10:[10, 20] Operation: 57-37=20
Moving to Node #0,0,2
Current State: 10:[10, 20], Operations: ['54-17=37', '57-37=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
sum_heuristic
|
[
14,
41,
48,
30
] | 37 |
[
"14+41=55",
"48-30=18",
"55-18=37"
] |
Current State: 37:[14, 41, 48, 30], Operations: []
Exploring Operation: 14+41=55, Resulting Numbers: [48, 30, 55]
Generated Node #2: [48, 30, 55] from Operation: 14+41=55
Current State: 37:[48, 30, 55], Operations: ['14+41=55']
Exploring Operation: 48-30=18, Resulting Numbers: [55, 18]
Generated Node #3: [55, 18] from Operation: 48-30=18
Current State: 37:[55, 18], Operations: ['14+41=55', '48-30=18']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[14, 41, 48, 30], Operations: []
Exploring Operation: 48-14=34, Resulting Numbers: [41, 30, 34]
Generated Node #0,0: 37:[41, 30, 34] Operation: 48-14=34
Exploring Operation: 14+30=44, Resulting Numbers: [41, 48, 44]
Generated Node #0,1: 37:[41, 48, 44] Operation: 14+30=44
Exploring Operation: 41-14=27, Resulting Numbers: [48, 30, 27]
Generated Node #0,2: 37:[48, 30, 27] Operation: 41-14=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[41, 30, 34], Operations: ['48-14=34']
Exploring Operation: 41+30=71, Resulting Numbers: [34, 71]
Generated Node #0,0,0: 37:[34, 71] Operation: 41+30=71
Exploring Operation: 30+34=64, Resulting Numbers: [41, 64]
Generated Node #0,0,1: 37:[41, 64] Operation: 30+34=64
Exploring Operation: 41-30=11, Resulting Numbers: [34, 11]
Generated Node #0,0,2: 37:[34, 11] Operation: 41-30=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[34, 11], Operations: ['48-14=34', '41-30=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,37 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[41, 64], Operations: ['48-14=34', '30+34=64']
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[34, 71], Operations: ['48-14=34', '41+30=71']
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,37 unequal: No Solution
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[14, 41, 48, 30], Operations: []
Exploring Operation: 48-14=34, Resulting Numbers: [41, 30, 34]
Generated Node #0,0: 37:[41, 30, 34] Operation: 48-14=34
Moving to Node #0,0
Current State: 37:[41, 30, 34], Operations: ['48-14=34']
Exploring Operation: 41+30=71, Resulting Numbers: [34, 71]
Generated Node #0,0,0: 37:[34, 71] Operation: 41+30=71
Moving to Node #0,0,0
Current State: 37:[34, 71], Operations: ['48-14=34', '41+30=71']
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.