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 |
|---|---|---|---|---|---|---|---|---|
[
85,
14,
56,
66
] | 76
|
[
"85-66=19",
"56/14=4",
"19*4=76"
] |
Current State: 76:[85, 14, 56, 66], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [14, 56, 19]
Generated Node #2: [14, 56, 19] from Operation: 85-66=19
Current State: 76:[14, 56, 19], Operations: ['85-66=19']
Exploring Operation: 56/14=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 56/14=4
Current State: 76:[19, 4], Operations: ['85-66=19', '56/14=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[85, 14, 56, 66], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [85, 14, 10]
Generated Node #0,0: 76:[85, 14, 10] Operation: 66-56=10
Exploring Operation: 56/14=4, Resulting Numbers: [85, 66, 4]
Generated Node #0,1: 76:[85, 66, 4] Operation: 56/14=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[85, 66, 4], Operations: ['56/14=4']
Exploring Operation: 85-66=19, Resulting Numbers: [4, 19]
Generated Node #0,1,0: 76:[4, 19] Operation: 85-66=19
Exploring Operation: 85-4=81, Resulting Numbers: [66, 81]
Generated Node #0,1,1: 76:[66, 81] Operation: 85-4=81
Moving to Node #0,1,0
Current State: 76:[4, 19], Operations: ['56/14=4', '85-66=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[85, 14, 56, 66], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [85, 66, 4]
Generated Node #0,1: 76:[85, 66, 4] Operation: 56/14=4
Moving to Node #0,1
Current State: 76:[85, 66, 4], Operations: ['56/14=4']
Exploring Operation: 85-66=19, Resulting Numbers: [4, 19]
Generated Node #0,1,0: 76:[4, 19] Operation: 85-66=19
Moving to Node #0,1,0
Current State: 76:[4, 19], Operations: ['56/14=4', '85-66=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
sum_heuristic
|
[
82,
87,
4,
38
] | 38
|
[
"87-82=5",
"5-4=1",
"38*1=38"
] |
Current State: 38:[82, 87, 4, 38], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [4, 38, 5]
Generated Node #2: [4, 38, 5] from Operation: 87-82=5
Current State: 38:[4, 38, 5], Operations: ['87-82=5']
Exploring Operation: 5-4=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 5-4=1
Current State: 38:[38, 1], Operations: ['87-82=5', '5-4=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[82, 87, 4, 38], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [4, 38, 5]
Generated Node #0,0: 38:[4, 38, 5] Operation: 87-82=5
Moving to Node #0,0
Current State: 38:[4, 38, 5], Operations: ['87-82=5']
Exploring Operation: 4*5=20, Resulting Numbers: [38, 20]
Generated Node #0,0,0: 38:[38, 20] Operation: 4*5=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[38, 20], Operations: ['87-82=5', '4*5=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,38 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
|
[
45,
32,
8,
85
] | 80
|
[
"45-32=13",
"8+85=93",
"93-13=80"
] |
Current State: 80:[45, 32, 8, 85], Operations: []
Exploring Operation: 45-32=13, Resulting Numbers: [8, 85, 13]
Generated Node #2: [8, 85, 13] from Operation: 45-32=13
Current State: 80:[8, 85, 13], Operations: ['45-32=13']
Exploring Operation: 8+85=93, Resulting Numbers: [13, 93]
Generated Node #3: [13, 93] from Operation: 8+85=93
Current State: 80:[13, 93], Operations: ['45-32=13', '8+85=93']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[45, 32, 8, 85], Operations: []
Exploring Operation: 45+32=77, Resulting Numbers: [8, 85, 77]
Generated Node #0,0: 80:[8, 85, 77] Operation: 45+32=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[8, 85, 77], Operations: ['45+32=77']
Exploring Operation: 85-77=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 80:[8, 8] Operation: 85-77=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[8, 8], Operations: ['45+32=77', '85-77=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
88,
67,
11,
18
] | 93
|
[
"88/11=8",
"67+18=85",
"8+85=93"
] |
Current State: 93:[88, 67, 11, 18], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [67, 18, 8]
Generated Node #2: [67, 18, 8] from Operation: 88/11=8
Current State: 93:[67, 18, 8], Operations: ['88/11=8']
Exploring Operation: 67+18=85, Resulting Numbers: [8, 85]
Generated Node #3: [8, 85] from Operation: 67+18=85
Current State: 93:[8, 85], Operations: ['88/11=8', '67+18=85']
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[88, 67, 11, 18], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [11, 18, 21]
Generated Node #0,0: 93:[11, 18, 21] Operation: 88-67=21
Exploring Operation: 67+18=85, Resulting Numbers: [88, 11, 85]
Generated Node #0,1: 93:[88, 11, 85] Operation: 67+18=85
Exploring Operation: 67-18=49, Resulting Numbers: [88, 11, 49]
Generated Node #0,2: 93:[88, 11, 49] Operation: 67-18=49
Moving to Node #0,1
Current State: 93:[88, 11, 85], Operations: ['67+18=85']
Exploring Operation: 11+85=96, Resulting Numbers: [88, 96]
Generated Node #0,1,0: 93:[88, 96] Operation: 11+85=96
Exploring Operation: 88-85=3, Resulting Numbers: [11, 3]
Generated Node #0,1,1: 93:[11, 3] Operation: 88-85=3
Exploring Operation: 88/11=8, Resulting Numbers: [85, 8]
Generated Node #0,1,2: 93:[85, 8] Operation: 88/11=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[88, 96], Operations: ['67+18=85', '11+85=96']
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,93 unequal: No Solution
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,93 unequal: No Solution
No 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: 93:[11, 3], Operations: ['67+18=85', '88-85=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,93 unequal: No Solution
No 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: 93:[85, 8], Operations: ['67+18=85', '88/11=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[88, 67, 11, 18], Operations: []
Exploring Operation: 67+18=85, Resulting Numbers: [88, 11, 85]
Generated Node #0,1: 93:[88, 11, 85] Operation: 67+18=85
Moving to Node #0,1
Current State: 93:[88, 11, 85], Operations: ['67+18=85']
Exploring Operation: 88/11=8, Resulting Numbers: [85, 8]
Generated Node #0,1,2: 93:[85, 8] Operation: 88/11=8
Moving to Node #0,1,2
Current State: 93:[85, 8], Operations: ['67+18=85', '88/11=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_3
|
sum_heuristic
|
[
10,
81,
21,
32
] | 82
|
[
"81-10=71",
"32-21=11",
"71+11=82"
] |
Current State: 82:[10, 81, 21, 32], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [21, 32, 71]
Generated Node #2: [21, 32, 71] from Operation: 81-10=71
Current State: 82:[21, 32, 71], Operations: ['81-10=71']
Exploring Operation: 32-21=11, Resulting Numbers: [71, 11]
Generated Node #3: [71, 11] from Operation: 32-21=11
Current State: 82:[71, 11], Operations: ['81-10=71', '32-21=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[10, 81, 21, 32], Operations: []
Exploring Operation: 10+21=31, Resulting Numbers: [81, 32, 31]
Generated Node #0,0: 82:[81, 32, 31] Operation: 10+21=31
Exploring Operation: 32-21=11, Resulting Numbers: [10, 81, 11]
Generated Node #0,1: 82:[10, 81, 11] Operation: 32-21=11
Exploring Operation: 21+32=53, Resulting Numbers: [10, 81, 53]
Generated Node #0,2: 82:[10, 81, 53] Operation: 21+32=53
Exploring Operation: 21-10=11, Resulting Numbers: [81, 32, 11]
Generated Node #0,3: 82:[81, 32, 11] Operation: 21-10=11
Exploring Operation: 10+32=42, Resulting Numbers: [81, 21, 42]
Generated Node #0,4: 82:[81, 21, 42] Operation: 10+32=42
Moving to Node #0,1
Current State: 82:[10, 81, 11], Operations: ['32-21=11']
Exploring Operation: 10+81=91, Resulting Numbers: [11, 91]
Generated Node #0,1,0: 82:[11, 91] Operation: 10+81=91
Exploring Operation: 10+11=21, Resulting Numbers: [81, 21]
Generated Node #0,1,1: 82:[81, 21] Operation: 10+11=21
Exploring Operation: 81-10=71, Resulting Numbers: [11, 71]
Generated Node #0,1,2: 82:[11, 71] Operation: 81-10=71
Exploring Operation: 81+11=92, Resulting Numbers: [10, 92]
Generated Node #0,1,3: 82:[10, 92] Operation: 81+11=92
Exploring Operation: 11-10=1, Resulting Numbers: [81, 1]
Generated Node #0,1,4: 82:[81, 1] Operation: 11-10=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 82:[81, 1], Operations: ['32-21=11', '11-10=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[10, 81, 21, 32], Operations: []
Exploring Operation: 32-21=11, Resulting Numbers: [10, 81, 11]
Generated Node #0,1: 82:[10, 81, 11] Operation: 32-21=11
Moving to Node #0,1
Current State: 82:[10, 81, 11], Operations: ['32-21=11']
Exploring Operation: 11-10=1, Resulting Numbers: [81, 1]
Generated Node #0,1,4: 82:[81, 1] Operation: 11-10=1
Moving to Node #0,1,4
Current State: 82:[81, 1], Operations: ['32-21=11', '11-10=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_5
|
sum_heuristic
|
[
14,
26,
38,
16
] | 25
|
[
"16-14=2",
"26/2=13",
"38-13=25"
] |
Current State: 25:[14, 26, 38, 16], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [26, 38, 2]
Generated Node #2: [26, 38, 2] from Operation: 16-14=2
Current State: 25:[26, 38, 2], Operations: ['16-14=2']
Exploring Operation: 26/2=13, Resulting Numbers: [38, 13]
Generated Node #3: [38, 13] from Operation: 26/2=13
Current State: 25:[38, 13], Operations: ['16-14=2', '26/2=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[14, 26, 38, 16], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [26, 16, 24]
Generated Node #0,0: 25:[26, 16, 24] Operation: 38-14=24
Exploring Operation: 38-16=22, Resulting Numbers: [14, 26, 22]
Generated Node #0,1: 25:[14, 26, 22] Operation: 38-16=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[26, 16, 24], Operations: ['38-14=24']
Exploring Operation: 26-16=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 25:[24, 10] Operation: 26-16=10
Exploring Operation: 24-16=8, Resulting Numbers: [26, 8]
Generated Node #0,0,1: 25:[26, 8] Operation: 24-16=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[26, 8], Operations: ['38-14=24', '24-16=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,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,0,0
Current State: 25:[24, 10], Operations: ['38-14=24', '26-16=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,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:[14, 26, 22], Operations: ['38-16=22']
Exploring Operation: 22-14=8, Resulting Numbers: [26, 8]
Generated Node #0,1,0: 25:[26, 8] Operation: 22-14=8
Exploring Operation: 26-14=12, Resulting Numbers: [22, 12]
Generated Node #0,1,1: 25:[22, 12] Operation: 26-14=12
Moving to Node #0,1,0
Current State: 25:[26, 8], Operations: ['38-16=22', '22-14=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[22, 12], Operations: ['38-16=22', '26-14=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,25 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
|
[
69,
48,
3,
62
] | 80
|
[
"69-48=21",
"62-3=59",
"21+59=80"
] |
Current State: 80:[69, 48, 3, 62], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [3, 62, 21]
Generated Node #2: [3, 62, 21] from Operation: 69-48=21
Current State: 80:[3, 62, 21], Operations: ['69-48=21']
Exploring Operation: 62-3=59, Resulting Numbers: [21, 59]
Generated Node #3: [21, 59] from Operation: 62-3=59
Current State: 80:[21, 59], Operations: ['69-48=21', '62-3=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[69, 48, 3, 62], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [48, 62, 23]
Generated Node #0,0: 80:[48, 62, 23] Operation: 69/3=23
Exploring Operation: 62-48=14, Resulting Numbers: [69, 3, 14]
Generated Node #0,1: 80:[69, 3, 14] Operation: 62-48=14
Exploring Operation: 69-48=21, Resulting Numbers: [3, 62, 21]
Generated Node #0,2: 80:[3, 62, 21] Operation: 69-48=21
Exploring Operation: 69-62=7, Resulting Numbers: [48, 3, 7]
Generated Node #0,3: 80:[48, 3, 7] Operation: 69-62=7
Moving to Node #0,3
Current State: 80:[48, 3, 7], Operations: ['69-62=7']
Exploring Operation: 48-3=45, Resulting Numbers: [7, 45]
Generated Node #0,3,0: 80:[7, 45] Operation: 48-3=45
Exploring Operation: 48-7=41, Resulting Numbers: [3, 41]
Generated Node #0,3,1: 80:[3, 41] Operation: 48-7=41
Exploring Operation: 3+7=10, Resulting Numbers: [48, 10]
Generated Node #0,3,2: 80:[48, 10] Operation: 3+7=10
Exploring Operation: 48/3=16, Resulting Numbers: [7, 16]
Generated Node #0,3,3: 80:[7, 16] Operation: 48/3=16
Moving to Node #0,1
Current State: 80:[69, 3, 14], Operations: ['62-48=14']
Exploring Operation: 3+14=17, Resulting Numbers: [69, 17]
Generated Node #0,1,0: 80:[69, 17] Operation: 3+14=17
Exploring Operation: 69+3=72, Resulting Numbers: [14, 72]
Generated Node #0,1,1: 80:[14, 72] Operation: 69+3=72
Exploring Operation: 69+14=83, Resulting Numbers: [3, 83]
Generated Node #0,1,2: 80:[3, 83] Operation: 69+14=83
Exploring Operation: 69/3=23, Resulting Numbers: [14, 23]
Generated Node #0,1,3: 80:[14, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[3, 83], Operations: ['62-48=14', '69+14=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[69, 48, 3, 62], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [69, 3, 14]
Generated Node #0,1: 80:[69, 3, 14] Operation: 62-48=14
Moving to Node #0,1
Current State: 80:[69, 3, 14], Operations: ['62-48=14']
Exploring Operation: 69+14=83, Resulting Numbers: [3, 83]
Generated Node #0,1,2: 80:[3, 83] Operation: 69+14=83
Moving to Node #0,1,2
Current State: 80:[3, 83], Operations: ['62-48=14', '69+14=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_4
|
mult_heuristic
|
[
46,
5,
92,
64
] | 70
|
[
"46+64=110",
"110/5=22",
"92-22=70"
] |
Current State: 70:[46, 5, 92, 64], Operations: []
Exploring Operation: 46+64=110, Resulting Numbers: [5, 92, 110]
Generated Node #2: [5, 92, 110] from Operation: 46+64=110
Current State: 70:[5, 92, 110], Operations: ['46+64=110']
Exploring Operation: 110/5=22, Resulting Numbers: [92, 22]
Generated Node #3: [92, 22] from Operation: 110/5=22
Current State: 70:[92, 22], Operations: ['46+64=110', '110/5=22']
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[46, 5, 92, 64], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [5, 64, 2]
Generated Node #0,0: 70:[5, 64, 2] Operation: 92/46=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[5, 64, 2], Operations: ['92/46=2']
Exploring Operation: 5+64=69, Resulting Numbers: [2, 69]
Generated Node #0,0,0: 70:[2, 69] Operation: 5+64=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[2, 69], Operations: ['92/46=2', '5+64=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,70 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
|
[
3,
35,
29,
53
] | 95
|
[
"3*53=159",
"35+29=64",
"159-64=95"
] |
Current State: 95:[3, 35, 29, 53], Operations: []
Exploring Operation: 3*53=159, Resulting Numbers: [35, 29, 159]
Generated Node #2: [35, 29, 159] from Operation: 3*53=159
Current State: 95:[35, 29, 159], Operations: ['3*53=159']
Exploring Operation: 35+29=64, Resulting Numbers: [159, 64]
Generated Node #3: [159, 64] from Operation: 35+29=64
Current State: 95:[159, 64], Operations: ['3*53=159', '35+29=64']
Exploring Operation: 159-64=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[3, 35, 29, 53], Operations: []
Exploring Operation: 53-35=18, Resulting Numbers: [3, 29, 18]
Generated Node #0,0: 95:[3, 29, 18] Operation: 53-35=18
Moving to Node #0,0
Current State: 95:[3, 29, 18], Operations: ['53-35=18']
Exploring Operation: 29-3=26, Resulting Numbers: [18, 26]
Generated Node #0,0,0: 95:[18, 26] Operation: 29-3=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[18, 26], Operations: ['53-35=18', '29-3=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
16,
84,
69,
85
] | 83
|
[
"16+69=85",
"85/85=1",
"84-1=83"
] |
Current State: 83:[16, 84, 69, 85], Operations: []
Exploring Operation: 16+69=85, Resulting Numbers: [84, 85, 85]
Generated Node #2: [84, 85, 85] from Operation: 16+69=85
Current State: 83:[84, 85, 85], Operations: ['16+69=85']
Exploring Operation: 85/85=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 85/85=1
Current State: 83:[84, 1], Operations: ['16+69=85', '85/85=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[16, 84, 69, 85], Operations: []
Exploring Operation: 85-16=69, Resulting Numbers: [84, 69, 69]
Generated Node #0,0: 83:[84, 69, 69] Operation: 85-16=69
Exploring Operation: 16+69=85, Resulting Numbers: [84, 85, 85]
Generated Node #0,1: 83:[84, 85, 85] Operation: 16+69=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[84, 85, 85], Operations: ['16+69=85']
Exploring Operation: 85/85=1, Resulting Numbers: [84, 1]
Generated Node #0,1,0: 83:[84, 1] Operation: 85/85=1
Exploring Operation: 85-84=1, Resulting Numbers: [85, 1]
Generated Node #0,1,1: 83:[85, 1] Operation: 85-84=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[84, 1], Operations: ['16+69=85', '85/85=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[16, 84, 69, 85], Operations: []
Exploring Operation: 16+69=85, Resulting Numbers: [84, 85, 85]
Generated Node #0,1: 83:[84, 85, 85] Operation: 16+69=85
Moving to Node #0,1
Current State: 83:[84, 85, 85], Operations: ['16+69=85']
Exploring Operation: 85/85=1, Resulting Numbers: [84, 1]
Generated Node #0,1,0: 83:[84, 1] Operation: 85/85=1
Moving to Node #0,1,0
Current State: 83:[84, 1], Operations: ['16+69=85', '85/85=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
sum_heuristic
|
[
5,
18,
2,
13
] | 13
|
[
"18-5=13",
"2*13=26",
"26-13=13"
] |
Current State: 13:[5, 18, 2, 13], Operations: []
Exploring Operation: 18-5=13, Resulting Numbers: [2, 13, 13]
Generated Node #2: [2, 13, 13] from Operation: 18-5=13
Current State: 13:[2, 13, 13], Operations: ['18-5=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,13 equal: Goal Reached
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[5, 18, 2, 13], Operations: []
Exploring Operation: 18-5=13, Resulting Numbers: [2, 13, 13]
Generated Node #0,0: 13:[2, 13, 13] Operation: 18-5=13
Exploring Operation: 5+2=7, Resulting Numbers: [18, 13, 7]
Generated Node #0,1: 13:[18, 13, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [18, 13, 10]
Generated Node #0,2: 13:[18, 13, 10] Operation: 5*2=10
Exploring Operation: 18-2=16, Resulting Numbers: [5, 13, 16]
Generated Node #0,3: 13:[5, 13, 16] Operation: 18-2=16
Moving to Node #0,2
Current State: 13:[18, 13, 10], Operations: ['5*2=10']
Exploring Operation: 13+10=23, Resulting Numbers: [18, 23]
Generated Node #0,2,0: 13:[18, 23] Operation: 13+10=23
Exploring Operation: 18+10=28, Resulting Numbers: [13, 28]
Generated Node #0,2,1: 13:[13, 28] Operation: 18+10=28
Exploring Operation: 18-13=5, Resulting Numbers: [10, 5]
Generated Node #0,2,2: 13:[10, 5] Operation: 18-13=5
Exploring Operation: 18-10=8, Resulting Numbers: [13, 8]
Generated Node #0,2,3: 13:[13, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[13, 8], Operations: ['5*2=10', '18-10=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[10, 5], Operations: ['5*2=10', '18-13=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[18, 23], Operations: ['5*2=10', '13+10=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,13 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[13, 28], Operations: ['5*2=10', '18+10=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,13 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,13 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: 13:[18, 13, 7], Operations: ['5+2=7']
Exploring Operation: 18+7=25, Resulting Numbers: [13, 25]
Generated Node #0,1,0: 13:[13, 25] Operation: 18+7=25
Exploring Operation: 13-7=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 13:[18, 6] Operation: 13-7=6
Exploring Operation: 18-7=11, Resulting Numbers: [13, 11]
Generated Node #0,1,2: 13:[13, 11] Operation: 18-7=11
Exploring Operation: 13+7=20, Resulting Numbers: [18, 20]
Generated Node #0,1,3: 13:[18, 20] Operation: 13+7=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[13, 11], Operations: ['5+2=7', '18-7=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[13, 25], Operations: ['5+2=7', '18+7=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[18, 6], Operations: ['5+2=7', '13-7=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[18, 20], Operations: ['5+2=7', '13+7=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,13 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[2, 13, 13], Operations: ['18-5=13']
Exploring Operation: 13-2=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 13:[13, 11] Operation: 13-2=11
Exploring Operation: 2+13=15, Resulting Numbers: [13, 15]
Generated Node #0,0,1: 13:[13, 15] Operation: 2+13=15
Exploring Operation: 2+13=15, Resulting Numbers: [13, 15]
Generated Node #0,0,2: 13:[13, 15] Operation: 2+13=15
Exploring Operation: 13-2=11, Resulting Numbers: [13, 11]
Generated Node #0,0,3: 13:[13, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[13, 11], Operations: ['18-5=13', '13-2=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[13, 15], Operations: ['18-5=13', '2+13=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,13 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[13, 15], Operations: ['18-5=13', '2+13=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,13 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[13, 11], Operations: ['18-5=13', '13-2=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,13 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: 13:[5, 13, 16], Operations: ['18-2=16']
Exploring Operation: 5+16=21, Resulting Numbers: [13, 21]
Generated Node #0,3,0: 13:[13, 21] Operation: 5+16=21
Exploring Operation: 16-5=11, Resulting Numbers: [13, 11]
Generated Node #0,3,1: 13:[13, 11] Operation: 16-5=11
Exploring Operation: 13-5=8, Resulting Numbers: [16, 8]
Generated Node #0,3,2: 13:[16, 8] Operation: 13-5=8
Exploring Operation: 5+13=18, Resulting Numbers: [16, 18]
Generated Node #0,3,3: 13:[16, 18] Operation: 5+13=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[13, 11], Operations: ['18-2=16', '16-5=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[13, 21], Operations: ['18-2=16', '5+16=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,13 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[16, 8], Operations: ['18-2=16', '13-5=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[16, 18], Operations: ['18-2=16', '5+13=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,13 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,13 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
|
[
84,
88,
9,
42
] | 35
|
[
"84/42=2",
"88/2=44",
"44-9=35"
] |
Current State: 35:[84, 88, 9, 42], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [88, 9, 2]
Generated Node #2: [88, 9, 2] from Operation: 84/42=2
Current State: 35:[88, 9, 2], Operations: ['84/42=2']
Exploring Operation: 88/2=44, Resulting Numbers: [9, 44]
Generated Node #3: [9, 44] from Operation: 88/2=44
Current State: 35:[9, 44], Operations: ['84/42=2', '88/2=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[84, 88, 9, 42], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [9, 42, 4]
Generated Node #0,0: 35:[9, 42, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[9, 42, 4], Operations: ['88-84=4']
Exploring Operation: 42-9=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 35:[4, 33] Operation: 42-9=33
Moving to Node #0,0,0
Current State: 35:[4, 33], Operations: ['88-84=4', '42-9=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,35 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
|
[
88,
55,
16,
31
] | 80
|
[
"88-55=33",
"16+31=47",
"33+47=80"
] |
Current State: 80:[88, 55, 16, 31], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [16, 31, 33]
Generated Node #2: [16, 31, 33] from Operation: 88-55=33
Current State: 80:[16, 31, 33], Operations: ['88-55=33']
Exploring Operation: 16+31=47, Resulting Numbers: [33, 47]
Generated Node #3: [33, 47] from Operation: 16+31=47
Current State: 80:[33, 47], Operations: ['88-55=33', '16+31=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[88, 55, 16, 31], Operations: []
Exploring Operation: 55+31=86, Resulting Numbers: [88, 16, 86]
Generated Node #0,0: 80:[88, 16, 86] Operation: 55+31=86
Exploring Operation: 88-55=33, Resulting Numbers: [16, 31, 33]
Generated Node #0,1: 80:[16, 31, 33] Operation: 88-55=33
Exploring Operation: 55-31=24, Resulting Numbers: [88, 16, 24]
Generated Node #0,2: 80:[88, 16, 24] Operation: 55-31=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[88, 16, 24], Operations: ['55-31=24']
Exploring Operation: 24-16=8, Resulting Numbers: [88, 8]
Generated Node #0,2,0: 80:[88, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [88, 40]
Generated Node #0,2,1: 80:[88, 40] Operation: 16+24=40
Exploring Operation: 88-16=72, Resulting Numbers: [24, 72]
Generated Node #0,2,2: 80:[24, 72] Operation: 88-16=72
Moving to Node #0,2,0
Current State: 80:[88, 8], Operations: ['55-31=24', '24-16=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[88, 55, 16, 31], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [88, 16, 24]
Generated Node #0,2: 80:[88, 16, 24] Operation: 55-31=24
Moving to Node #0,2
Current State: 80:[88, 16, 24], Operations: ['55-31=24']
Exploring Operation: 24-16=8, Resulting Numbers: [88, 8]
Generated Node #0,2,0: 80:[88, 8] Operation: 24-16=8
Moving to Node #0,2,0
Current State: 80:[88, 8], Operations: ['55-31=24', '24-16=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
60,
31,
47,
12
] | 80
|
[
"60/12=5",
"47-31=16",
"5*16=80"
] |
Current State: 80:[60, 31, 47, 12], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [31, 47, 5]
Generated Node #2: [31, 47, 5] from Operation: 60/12=5
Current State: 80:[31, 47, 5], Operations: ['60/12=5']
Exploring Operation: 47-31=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 47-31=16
Current State: 80:[5, 16], Operations: ['60/12=5', '47-31=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[60, 31, 47, 12], Operations: []
Exploring Operation: 60-31=29, Resulting Numbers: [47, 12, 29]
Generated Node #0,0: 80:[47, 12, 29] Operation: 60-31=29
Exploring Operation: 60/12=5, Resulting Numbers: [31, 47, 5]
Generated Node #0,1: 80:[31, 47, 5] Operation: 60/12=5
Exploring Operation: 60-47=13, Resulting Numbers: [31, 12, 13]
Generated Node #0,2: 80:[31, 12, 13] Operation: 60-47=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[31, 12, 13], Operations: ['60-47=13']
Exploring Operation: 31+12=43, Resulting Numbers: [13, 43]
Generated Node #0,2,0: 80:[13, 43] Operation: 31+12=43
Exploring Operation: 31-12=19, Resulting Numbers: [13, 19]
Generated Node #0,2,1: 80:[13, 19] Operation: 31-12=19
Exploring Operation: 31-13=18, Resulting Numbers: [12, 18]
Generated Node #0,2,2: 80:[12, 18] Operation: 31-13=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[13, 19], Operations: ['60-47=13', '31-12=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[12, 18], Operations: ['60-47=13', '31-13=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,80 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[13, 43], Operations: ['60-47=13', '31+12=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,80 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[31, 47, 5], Operations: ['60/12=5']
Exploring Operation: 31+47=78, Resulting Numbers: [5, 78]
Generated Node #0,1,0: 80:[5, 78] Operation: 31+47=78
Exploring Operation: 47-31=16, Resulting Numbers: [5, 16]
Generated Node #0,1,1: 80:[5, 16] Operation: 47-31=16
Exploring Operation: 31+5=36, Resulting Numbers: [47, 36]
Generated Node #0,1,2: 80:[47, 36] Operation: 31+5=36
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[5, 16], Operations: ['60/12=5', '47-31=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[60, 31, 47, 12], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [31, 47, 5]
Generated Node #0,1: 80:[31, 47, 5] Operation: 60/12=5
Moving to Node #0,1
Current State: 80:[31, 47, 5], Operations: ['60/12=5']
Exploring Operation: 47-31=16, Resulting Numbers: [5, 16]
Generated Node #0,1,1: 80:[5, 16] Operation: 47-31=16
Moving to Node #0,1,1
Current State: 80:[5, 16], Operations: ['60/12=5', '47-31=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035
|
hs_3
|
mult_heuristic
|
[
34,
60,
41,
29
] | 95
|
[
"34-29=5",
"60-41=19",
"5*19=95"
] |
Current State: 95:[34, 60, 41, 29], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [60, 41, 5]
Generated Node #2: [60, 41, 5] from Operation: 34-29=5
Current State: 95:[60, 41, 5], Operations: ['34-29=5']
Exploring Operation: 60-41=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 60-41=19
Current State: 95:[5, 19], Operations: ['34-29=5', '60-41=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[34, 60, 41, 29], Operations: []
Exploring Operation: 60+41=101, Resulting Numbers: [34, 29, 101]
Generated Node #0,0: 95:[34, 29, 101] Operation: 60+41=101
Exploring Operation: 60-34=26, Resulting Numbers: [41, 29, 26]
Generated Node #0,1: 95:[41, 29, 26] Operation: 60-34=26
Exploring Operation: 60-41=19, Resulting Numbers: [34, 29, 19]
Generated Node #0,2: 95:[34, 29, 19] Operation: 60-41=19
Exploring Operation: 34+60=94, Resulting Numbers: [41, 29, 94]
Generated Node #0,3: 95:[41, 29, 94] Operation: 34+60=94
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[34, 29, 19], Operations: ['60-41=19']
Exploring Operation: 34-29=5, Resulting Numbers: [19, 5]
Generated Node #0,2,0: 95:[19, 5] Operation: 34-29=5
Exploring Operation: 29-19=10, Resulting Numbers: [34, 10]
Generated Node #0,2,1: 95:[34, 10] Operation: 29-19=10
Exploring Operation: 34+29=63, Resulting Numbers: [19, 63]
Generated Node #0,2,2: 95:[19, 63] Operation: 34+29=63
Exploring Operation: 34-19=15, Resulting Numbers: [29, 15]
Generated Node #0,2,3: 95:[29, 15] Operation: 34-19=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[19, 5], Operations: ['60-41=19', '34-29=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[34, 60, 41, 29], Operations: []
Exploring Operation: 60-41=19, Resulting Numbers: [34, 29, 19]
Generated Node #0,2: 95:[34, 29, 19] Operation: 60-41=19
Moving to Node #0,2
Current State: 95:[34, 29, 19], Operations: ['60-41=19']
Exploring Operation: 34-29=5, Resulting Numbers: [19, 5]
Generated Node #0,2,0: 95:[19, 5] Operation: 34-29=5
Moving to Node #0,2,0
Current State: 95:[19, 5], Operations: ['60-41=19', '34-29=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
19,
23,
75,
16
] | 71
|
[
"23-19=4",
"16/4=4",
"75-4=71"
] |
Current State: 71:[19, 23, 75, 16], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [75, 16, 4]
Generated Node #2: [75, 16, 4] from Operation: 23-19=4
Current State: 71:[75, 16, 4], Operations: ['23-19=4']
Exploring Operation: 16/4=4, Resulting Numbers: [75, 4]
Generated Node #3: [75, 4] from Operation: 16/4=4
Current State: 71:[75, 4], Operations: ['23-19=4', '16/4=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[19, 23, 75, 16], Operations: []
Exploring Operation: 19+23=42, Resulting Numbers: [75, 16, 42]
Generated Node #0,0: 71:[75, 16, 42] Operation: 19+23=42
Exploring Operation: 19+16=35, Resulting Numbers: [23, 75, 35]
Generated Node #0,1: 71:[23, 75, 35] Operation: 19+16=35
Moving to Node #0,0
Current State: 71:[75, 16, 42], Operations: ['19+23=42']
Exploring Operation: 16+42=58, Resulting Numbers: [75, 58]
Generated Node #0,0,0: 71:[75, 58] Operation: 16+42=58
Exploring Operation: 75-16=59, Resulting Numbers: [42, 59]
Generated Node #0,0,1: 71:[42, 59] Operation: 75-16=59
Moving to Node #0,1
Current State: 71:[23, 75, 35], Operations: ['19+16=35']
Exploring Operation: 23+35=58, Resulting Numbers: [75, 58]
Generated Node #0,1,0: 71:[75, 58] Operation: 23+35=58
Exploring Operation: 75-23=52, Resulting Numbers: [35, 52]
Generated Node #0,1,1: 71:[35, 52] Operation: 75-23=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[75, 58], Operations: ['19+16=35', '23+35=58']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[35, 52], Operations: ['19+16=35', '75-23=52']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,71 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: 71:[75, 58], Operations: ['19+23=42', '16+42=58']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[42, 59], Operations: ['19+23=42', '75-16=59']
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
68,
5,
4,
36
] | 20
|
[
"68-4=64",
"36+64=100",
"100/5=20"
] |
Current State: 20:[68, 5, 4, 36], Operations: []
Exploring Operation: 68-4=64, Resulting Numbers: [5, 36, 64]
Generated Node #2: [5, 36, 64] from Operation: 68-4=64
Current State: 20:[5, 36, 64], Operations: ['68-4=64']
Exploring Operation: 36+64=100, Resulting Numbers: [5, 100]
Generated Node #3: [5, 100] from Operation: 36+64=100
Current State: 20:[5, 100], Operations: ['68-4=64', '36+64=100']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[68, 5, 4, 36], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [68, 4, 31]
Generated Node #0,0: 20:[68, 4, 31] Operation: 36-5=31
Exploring Operation: 68/4=17, Resulting Numbers: [5, 36, 17]
Generated Node #0,1: 20:[5, 36, 17] Operation: 68/4=17
Exploring Operation: 68-36=32, Resulting Numbers: [5, 4, 32]
Generated Node #0,2: 20:[5, 4, 32] Operation: 68-36=32
Exploring Operation: 68-5=63, Resulting Numbers: [4, 36, 63]
Generated Node #0,3: 20:[4, 36, 63] Operation: 68-5=63
Exploring Operation: 36/4=9, Resulting Numbers: [68, 5, 9]
Generated Node #0,4: 20:[68, 5, 9] Operation: 36/4=9
Moving to Node #0,2
Current State: 20:[5, 4, 32], Operations: ['68-36=32']
Exploring Operation: 5*4=20, Resulting Numbers: [32, 20]
Generated Node #0,2,0: 20:[32, 20] Operation: 5*4=20
Exploring Operation: 32/4=8, Resulting Numbers: [5, 8]
Generated Node #0,2,1: 20:[5, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [5, 28]
Generated Node #0,2,2: 20:[5, 28] Operation: 32-4=28
Exploring Operation: 32-5=27, Resulting Numbers: [4, 27]
Generated Node #0,2,3: 20:[4, 27] Operation: 32-5=27
Exploring Operation: 5+4=9, Resulting Numbers: [32, 9]
Generated Node #0,2,4: 20:[32, 9] Operation: 5+4=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[5, 8], Operations: ['68-36=32', '32/4=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[4, 27], Operations: ['68-36=32', '32-5=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[5, 28], Operations: ['68-36=32', '32-4=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[32, 20], Operations: ['68-36=32', '5*4=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,20 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[32, 9], Operations: ['68-36=32', '5+4=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[5, 36, 17], Operations: ['68/4=17']
Exploring Operation: 36-17=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 20:[5, 19] Operation: 36-17=19
Exploring Operation: 5+17=22, Resulting Numbers: [36, 22]
Generated Node #0,1,1: 20:[36, 22] Operation: 5+17=22
Exploring Operation: 36-5=31, Resulting Numbers: [17, 31]
Generated Node #0,1,2: 20:[17, 31] Operation: 36-5=31
Exploring Operation: 17-5=12, Resulting Numbers: [36, 12]
Generated Node #0,1,3: 20:[36, 12] Operation: 17-5=12
Exploring Operation: 5+36=41, Resulting Numbers: [17, 41]
Generated Node #0,1,4: 20:[17, 41] Operation: 5+36=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[5, 19], Operations: ['68/4=17', '36-17=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[17, 31], Operations: ['68/4=17', '36-5=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,20 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[36, 22], Operations: ['68/4=17', '5+17=22']
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,20 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[36, 12], Operations: ['68/4=17', '17-5=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,20 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[17, 41], Operations: ['68/4=17', '5+36=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,20 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: 20:[68, 5, 9], Operations: ['36/4=9']
Exploring Operation: 5+9=14, Resulting Numbers: [68, 14]
Generated Node #0,4,0: 20:[68, 14] Operation: 5+9=14
Exploring Operation: 9-5=4, Resulting Numbers: [68, 4]
Generated Node #0,4,1: 20:[68, 4] Operation: 9-5=4
Exploring Operation: 68+5=73, Resulting Numbers: [9, 73]
Generated Node #0,4,2: 20:[9, 73] Operation: 68+5=73
Exploring Operation: 68-9=59, Resulting Numbers: [5, 59]
Generated Node #0,4,3: 20:[5, 59] Operation: 68-9=59
Exploring Operation: 68-5=63, Resulting Numbers: [9, 63]
Generated Node #0,4,4: 20:[9, 63] Operation: 68-5=63
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[5, 59], Operations: ['36/4=9', '68-9=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[9, 63], Operations: ['36/4=9', '68-5=63']
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,20 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 20:[68, 4], Operations: ['36/4=9', '9-5=4']
Exploring Operation: 68*4=272, Resulting Numbers: [272]
272,20 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[68, 14], Operations: ['36/4=9', '5+9=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,20 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[9, 73], Operations: ['36/4=9', '68+5=73']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 9*73=657, Resulting Numbers: [657]
657,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 20:[68, 4, 31], Operations: ['36-5=31']
Exploring Operation: 31-4=27, Resulting Numbers: [68, 27]
Generated Node #0,0,0: 20:[68, 27] Operation: 31-4=27
Exploring Operation: 68/4=17, Resulting Numbers: [31, 17]
Generated Node #0,0,1: 20:[31, 17] Operation: 68/4=17
Exploring Operation: 68+4=72, Resulting Numbers: [31, 72]
Generated Node #0,0,2: 20:[31, 72] Operation: 68+4=72
Exploring Operation: 68-31=37, Resulting Numbers: [4, 37]
Generated Node #0,0,3: 20:[4, 37] Operation: 68-31=37
Exploring Operation: 68-4=64, Resulting Numbers: [31, 64]
Generated Node #0,0,4: 20:[31, 64] Operation: 68-4=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[31, 17], Operations: ['36-5=31', '68/4=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[4, 37], Operations: ['36-5=31', '68-31=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,20 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[68, 27], Operations: ['36-5=31', '31-4=27']
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[31, 64], Operations: ['36-5=31', '68-4=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,20 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[31, 72], Operations: ['36-5=31', '68+4=72']
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,20 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,20 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: 20:[4, 36, 63], Operations: ['68-5=63']
Exploring Operation: 4+36=40, Resulting Numbers: [63, 40]
Generated Node #0,3,0: 20:[63, 40] Operation: 4+36=40
Exploring Operation: 36-4=32, Resulting Numbers: [63, 32]
Generated Node #0,3,1: 20:[63, 32] Operation: 36-4=32
Exploring Operation: 63-36=27, Resulting Numbers: [4, 27]
Generated Node #0,3,2: 20:[4, 27] Operation: 63-36=27
Exploring Operation: 63-4=59, Resulting Numbers: [36, 59]
Generated Node #0,3,3: 20:[36, 59] Operation: 63-4=59
Exploring Operation: 36/4=9, Resulting Numbers: [63, 9]
Generated Node #0,3,4: 20:[63, 9] Operation: 36/4=9
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[4, 27], Operations: ['68-5=63', '63-36=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 20:[63, 9], Operations: ['68-5=63', '36/4=9']
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,20 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[63, 32], Operations: ['68-5=63', '36-4=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,20 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[36, 59], Operations: ['68-5=63', '63-4=59']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,20 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[63, 40], Operations: ['68-5=63', '4+36=40']
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,20 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
83,
65,
78,
90
] | 77
|
[
"83-78=5",
"65/5=13",
"90-13=77"
] |
Current State: 77:[83, 65, 78, 90], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [65, 90, 5]
Generated Node #2: [65, 90, 5] from Operation: 83-78=5
Current State: 77:[65, 90, 5], Operations: ['83-78=5']
Exploring Operation: 65/5=13, Resulting Numbers: [90, 13]
Generated Node #3: [90, 13] from Operation: 65/5=13
Current State: 77:[90, 13], Operations: ['83-78=5', '65/5=13']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[83, 65, 78, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [65, 78, 7]
Generated Node #0,0: 77:[65, 78, 7] Operation: 90-83=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[65, 78, 7], Operations: ['90-83=7']
Exploring Operation: 78-65=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 77:[7, 13] Operation: 78-65=13
Moving to Node #0,0,0
Current State: 77:[7, 13], Operations: ['90-83=7', '78-65=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
36,
21,
14,
53
] | 52
|
[
"36-21=15",
"14+53=67",
"67-15=52"
] |
Current State: 52:[36, 21, 14, 53], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [14, 53, 15]
Generated Node #2: [14, 53, 15] from Operation: 36-21=15
Current State: 52:[14, 53, 15], Operations: ['36-21=15']
Exploring Operation: 14+53=67, Resulting Numbers: [15, 67]
Generated Node #3: [15, 67] from Operation: 14+53=67
Current State: 52:[15, 67], Operations: ['36-21=15', '14+53=67']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4
|
Current State: 52:[36, 21, 14, 53], Operations: []
Exploring Operation: 36+14=50, Resulting Numbers: [21, 53, 50]
Generated Node #0,0: 52:[21, 53, 50] Operation: 36+14=50
Exploring Operation: 36+21=57, Resulting Numbers: [14, 53, 57]
Generated Node #0,1: 52:[14, 53, 57] Operation: 36+21=57
Exploring Operation: 36-21=15, Resulting Numbers: [14, 53, 15]
Generated Node #0,2: 52:[14, 53, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[14, 53, 15], Operations: ['36-21=15']
Exploring Operation: 14+15=29, Resulting Numbers: [53, 29]
Generated Node #0,2,0: 52:[53, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [53, 1]
Generated Node #0,2,1: 52:[53, 1] Operation: 15-14=1
Exploring Operation: 53-15=38, Resulting Numbers: [14, 38]
Generated Node #0,2,2: 52:[14, 38] Operation: 53-15=38
Moving to Node #0,2,1
Current State: 52:[53, 1], Operations: ['36-21=15', '15-14=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[36, 21, 14, 53], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [14, 53, 15]
Generated Node #0,2: 52:[14, 53, 15] Operation: 36-21=15
Moving to Node #0,2
Current State: 52:[14, 53, 15], Operations: ['36-21=15']
Exploring Operation: 15-14=1, Resulting Numbers: [53, 1]
Generated Node #0,2,1: 52:[53, 1] Operation: 15-14=1
Moving to Node #0,2,1
Current State: 52:[53, 1], Operations: ['36-21=15', '15-14=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
28,
9,
35,
63
] | 61
|
[
"28+9=37",
"35+63=98",
"98-37=61"
] |
Current State: 61:[28, 9, 35, 63], Operations: []
Exploring Operation: 28+9=37, Resulting Numbers: [35, 63, 37]
Generated Node #2: [35, 63, 37] from Operation: 28+9=37
Current State: 61:[35, 63, 37], Operations: ['28+9=37']
Exploring Operation: 35+63=98, Resulting Numbers: [37, 98]
Generated Node #3: [37, 98] from Operation: 35+63=98
Current State: 61:[37, 98], Operations: ['28+9=37', '35+63=98']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[28, 9, 35, 63], Operations: []
Exploring Operation: 9+35=44, Resulting Numbers: [28, 63, 44]
Generated Node #0,0: 61:[28, 63, 44] Operation: 9+35=44
Exploring Operation: 28+35=63, Resulting Numbers: [9, 63, 63]
Generated Node #0,1: 61:[9, 63, 63] Operation: 28+35=63
Exploring Operation: 28+9=37, Resulting Numbers: [35, 63, 37]
Generated Node #0,2: 61:[35, 63, 37] Operation: 28+9=37
Exploring Operation: 63-9=54, Resulting Numbers: [28, 35, 54]
Generated Node #0,3: 61:[28, 35, 54] Operation: 63-9=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[28, 63, 44], Operations: ['9+35=44']
Exploring Operation: 44-28=16, Resulting Numbers: [63, 16]
Generated Node #0,0,0: 61:[63, 16] Operation: 44-28=16
Exploring Operation: 63-28=35, Resulting Numbers: [44, 35]
Generated Node #0,0,1: 61:[44, 35] Operation: 63-28=35
Exploring Operation: 28+44=72, Resulting Numbers: [63, 72]
Generated Node #0,0,2: 61:[63, 72] Operation: 28+44=72
Exploring Operation: 28+63=91, Resulting Numbers: [44, 91]
Generated Node #0,0,3: 61:[44, 91] Operation: 28+63=91
Moving to Node #0,0,2
Current State: 61:[63, 72], Operations: ['9+35=44', '28+44=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[44, 35], Operations: ['9+35=44', '63-28=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,61 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[44, 91], Operations: ['9+35=44', '28+63=91']
Exploring Operation: 44*91=4004, Resulting Numbers: [4004]
4004,61 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 44+91=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[63, 16], Operations: ['9+35=44', '44-28=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,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
Current State: 61:[35, 63, 37], Operations: ['28+9=37']
Exploring Operation: 37-35=2, Resulting Numbers: [63, 2]
Generated Node #0,2,0: 61:[63, 2] Operation: 37-35=2
Exploring Operation: 35+63=98, Resulting Numbers: [37, 98]
Generated Node #0,2,1: 61:[37, 98] Operation: 35+63=98
Exploring Operation: 35+37=72, Resulting Numbers: [63, 72]
Generated Node #0,2,2: 61:[63, 72] Operation: 35+37=72
Exploring Operation: 63-35=28, Resulting Numbers: [37, 28]
Generated Node #0,2,3: 61:[37, 28] Operation: 63-35=28
Moving to Node #0,2,2
Current State: 61:[63, 72], Operations: ['28+9=37', '35+37=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,61 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[37, 28], Operations: ['28+9=37', '63-35=28']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[37, 98], Operations: ['28+9=37', '35+63=98']
Exploring Operation: 37*98=3626, Resulting Numbers: [3626]
3626,61 unequal: No Solution
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[28, 9, 35, 63], Operations: []
Exploring Operation: 28+9=37, Resulting Numbers: [35, 63, 37]
Generated Node #0,2: 61:[35, 63, 37] Operation: 28+9=37
Moving to Node #0,2
Current State: 61:[35, 63, 37], Operations: ['28+9=37']
Exploring Operation: 35+63=98, Resulting Numbers: [37, 98]
Generated Node #0,2,1: 61:[37, 98] Operation: 35+63=98
Moving to Node #0,2,1
Current State: 61:[37, 98], Operations: ['28+9=37', '35+63=98']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875
|
hs_4
|
sum_heuristic
|
[
83,
10,
58,
81
] | 53
|
[
"83-81=2",
"10/2=5",
"58-5=53"
] |
Current State: 53:[83, 10, 58, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [10, 58, 2]
Generated Node #2: [10, 58, 2] from Operation: 83-81=2
Current State: 53:[10, 58, 2], Operations: ['83-81=2']
Exploring Operation: 10/2=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 10/2=5
Current State: 53:[58, 5], Operations: ['83-81=2', '10/2=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[83, 10, 58, 81], Operations: []
Exploring Operation: 83+10=93, Resulting Numbers: [58, 81, 93]
Generated Node #0,0: 53:[58, 81, 93] Operation: 83+10=93
Exploring Operation: 81-10=71, Resulting Numbers: [83, 58, 71]
Generated Node #0,1: 53:[83, 58, 71] Operation: 81-10=71
Exploring Operation: 83-10=73, Resulting Numbers: [58, 81, 73]
Generated Node #0,2: 53:[58, 81, 73] Operation: 83-10=73
Exploring Operation: 58-10=48, Resulting Numbers: [83, 81, 48]
Generated Node #0,3: 53:[83, 81, 48] Operation: 58-10=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[83, 58, 71], Operations: ['81-10=71']
Exploring Operation: 83-71=12, Resulting Numbers: [58, 12]
Generated Node #0,1,0: 53:[58, 12] Operation: 83-71=12
Exploring Operation: 71-58=13, Resulting Numbers: [83, 13]
Generated Node #0,1,1: 53:[83, 13] Operation: 71-58=13
Exploring Operation: 83+58=141, Resulting Numbers: [71, 141]
Generated Node #0,1,2: 53:[71, 141] Operation: 83+58=141
Exploring Operation: 83-58=25, Resulting Numbers: [71, 25]
Generated Node #0,1,3: 53:[71, 25] Operation: 83-58=25
Moving to Node #0,1,0
Current State: 53:[58, 12], Operations: ['81-10=71', '83-71=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,53 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[71, 25], Operations: ['81-10=71', '83-58=25']
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,53 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[83, 13], Operations: ['81-10=71', '71-58=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,53 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[71, 141], Operations: ['81-10=71', '83+58=141']
Exploring Operation: 71*141=10011, Resulting Numbers: [10011]
10011,53 unequal: No Solution
Exploring Operation: 141-71=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 71+141=212, Resulting Numbers: [212]
212,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[58, 81, 73], Operations: ['83-10=73']
Exploring Operation: 81-58=23, Resulting Numbers: [73, 23]
Generated Node #0,2,0: 53:[73, 23] Operation: 81-58=23
Exploring Operation: 73-58=15, Resulting Numbers: [81, 15]
Generated Node #0,2,1: 53:[81, 15] Operation: 73-58=15
Exploring Operation: 81-73=8, Resulting Numbers: [58, 8]
Generated Node #0,2,2: 53:[58, 8] Operation: 81-73=8
Exploring Operation: 58+81=139, Resulting Numbers: [73, 139]
Generated Node #0,2,3: 53:[73, 139] Operation: 58+81=139
Moving to Node #0,2,0
Current State: 53:[73, 23], Operations: ['83-10=73', '81-58=23']
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[58, 8], Operations: ['83-10=73', '81-73=8']
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,53 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[81, 15], Operations: ['83-10=73', '73-58=15']
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[73, 139], Operations: ['83-10=73', '58+81=139']
Exploring Operation: 73*139=10147, Resulting Numbers: [10147]
10147,53 unequal: No Solution
Exploring Operation: 139-73=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 73+139=212, Resulting Numbers: [212]
212,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[83, 81, 48], Operations: ['58-10=48']
Exploring Operation: 83-81=2, Resulting Numbers: [48, 2]
Generated Node #0,3,0: 53:[48, 2] Operation: 83-81=2
Exploring Operation: 83-48=35, Resulting Numbers: [81, 35]
Generated Node #0,3,1: 53:[81, 35] Operation: 83-48=35
Exploring Operation: 83+48=131, Resulting Numbers: [81, 131]
Generated Node #0,3,2: 53:[81, 131] Operation: 83+48=131
Exploring Operation: 81-48=33, Resulting Numbers: [83, 33]
Generated Node #0,3,3: 53:[83, 33] Operation: 81-48=33
Moving to Node #0,3,1
Current State: 53:[81, 35], Operations: ['58-10=48', '83-48=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[83, 33], Operations: ['58-10=48', '81-48=33']
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,53 unequal: No Solution
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[48, 2], Operations: ['58-10=48', '83-81=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[81, 131], Operations: ['58-10=48', '83+48=131']
Exploring Operation: 81*131=10611, Resulting Numbers: [10611]
10611,53 unequal: No Solution
Exploring Operation: 81+131=212, Resulting Numbers: [212]
212,53 unequal: No Solution
Exploring Operation: 131-81=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[58, 81, 93], Operations: ['83+10=93']
Exploring Operation: 58+81=139, Resulting Numbers: [93, 139]
Generated Node #0,0,0: 53:[93, 139] Operation: 58+81=139
Exploring Operation: 93-81=12, Resulting Numbers: [58, 12]
Generated Node #0,0,1: 53:[58, 12] Operation: 93-81=12
Exploring Operation: 93-58=35, Resulting Numbers: [81, 35]
Generated Node #0,0,2: 53:[81, 35] Operation: 93-58=35
Exploring Operation: 81-58=23, Resulting Numbers: [93, 23]
Generated Node #0,0,3: 53:[93, 23] Operation: 81-58=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[58, 12], Operations: ['83+10=93', '93-81=12']
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,53 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,53 unequal: No Solution
No 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: 53:[81, 35], Operations: ['83+10=93', '93-58=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,53 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 53:[93, 23], Operations: ['83+10=93', '81-58=23']
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,53 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,53 unequal: No Solution
No 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: 53:[93, 139], Operations: ['83+10=93', '58+81=139']
Exploring Operation: 139-93=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 93+139=232, Resulting Numbers: [232]
232,53 unequal: No Solution
Exploring Operation: 93*139=12927, Resulting Numbers: [12927]
12927,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
6,
4,
12,
43
] | 65
|
[
"6+4=10",
"12+43=55",
"10+55=65"
] |
Current State: 65:[6, 4, 12, 43], Operations: []
Exploring Operation: 6+4=10, Resulting Numbers: [12, 43, 10]
Generated Node #2: [12, 43, 10] from Operation: 6+4=10
Current State: 65:[12, 43, 10], Operations: ['6+4=10']
Exploring Operation: 12+43=55, Resulting Numbers: [10, 55]
Generated Node #3: [10, 55] from Operation: 12+43=55
Current State: 65:[10, 55], Operations: ['6+4=10', '12+43=55']
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[6, 4, 12, 43], Operations: []
Exploring Operation: 4+43=47, Resulting Numbers: [6, 12, 47]
Generated Node #0,0: 65:[6, 12, 47] Operation: 4+43=47
Exploring Operation: 6+43=49, Resulting Numbers: [4, 12, 49]
Generated Node #0,1: 65:[4, 12, 49] Operation: 6+43=49
Exploring Operation: 12+43=55, Resulting Numbers: [6, 4, 55]
Generated Node #0,2: 65:[6, 4, 55] Operation: 12+43=55
Moving to Node #0,2
Current State: 65:[6, 4, 55], Operations: ['12+43=55']
Exploring Operation: 4+55=59, Resulting Numbers: [6, 59]
Generated Node #0,2,0: 65:[6, 59] Operation: 4+55=59
Exploring Operation: 6+55=61, Resulting Numbers: [4, 61]
Generated Node #0,2,1: 65:[4, 61] Operation: 6+55=61
Exploring Operation: 6+4=10, Resulting Numbers: [55, 10]
Generated Node #0,2,2: 65:[55, 10] Operation: 6+4=10
Moving to Node #0,1
Current State: 65:[4, 12, 49], Operations: ['6+43=49']
Exploring Operation: 4+49=53, Resulting Numbers: [12, 53]
Generated Node #0,1,0: 65:[12, 53] Operation: 4+49=53
Exploring Operation: 12/4=3, Resulting Numbers: [49, 3]
Generated Node #0,1,1: 65:[49, 3] Operation: 12/4=3
Exploring Operation: 12+49=61, Resulting Numbers: [4, 61]
Generated Node #0,1,2: 65:[4, 61] Operation: 12+49=61
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[4, 61], Operations: ['6+43=49', '12+49=61']
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,65 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[6, 4, 12, 43], Operations: []
Exploring Operation: 6+43=49, Resulting Numbers: [4, 12, 49]
Generated Node #0,1: 65:[4, 12, 49] Operation: 6+43=49
Moving to Node #0,1
Current State: 65:[4, 12, 49], Operations: ['6+43=49']
Exploring Operation: 12+49=61, Resulting Numbers: [4, 61]
Generated Node #0,1,2: 65:[4, 61] Operation: 12+49=61
Moving to Node #0,1,2
Current State: 65:[4, 61], Operations: ['6+43=49', '12+49=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_3
|
mult_heuristic
|
[
4,
8,
30,
36
] | 47
|
[
"36/4=9",
"8+30=38",
"9+38=47"
] |
Current State: 47:[4, 8, 30, 36], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [8, 30, 9]
Generated Node #2: [8, 30, 9] from Operation: 36/4=9
Current State: 47:[8, 30, 9], Operations: ['36/4=9']
Exploring Operation: 8+30=38, Resulting Numbers: [9, 38]
Generated Node #3: [9, 38] from Operation: 8+30=38
Current State: 47:[9, 38], Operations: ['36/4=9', '8+30=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4
|
Current State: 47:[4, 8, 30, 36], Operations: []
Exploring Operation: 8+30=38, Resulting Numbers: [4, 36, 38]
Generated Node #0,0: 47:[4, 36, 38] Operation: 8+30=38
Exploring Operation: 4+30=34, Resulting Numbers: [8, 36, 34]
Generated Node #0,1: 47:[8, 36, 34] Operation: 4+30=34
Exploring Operation: 4+36=40, Resulting Numbers: [8, 30, 40]
Generated Node #0,2: 47:[8, 30, 40] Operation: 4+36=40
Exploring Operation: 4*8=32, Resulting Numbers: [30, 36, 32]
Generated Node #0,3: 47:[30, 36, 32] Operation: 4*8=32
Exploring Operation: 4+8=12, Resulting Numbers: [30, 36, 12]
Generated Node #0,4: 47:[30, 36, 12] Operation: 4+8=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[30, 36, 32], Operations: ['4*8=32']
Exploring Operation: 36+32=68, Resulting Numbers: [30, 68]
Generated Node #0,3,0: 47:[30, 68] Operation: 36+32=68
Exploring Operation: 32-30=2, Resulting Numbers: [36, 2]
Generated Node #0,3,1: 47:[36, 2] Operation: 32-30=2
Exploring Operation: 36-30=6, Resulting Numbers: [32, 6]
Generated Node #0,3,2: 47:[32, 6] Operation: 36-30=6
Exploring Operation: 30+36=66, Resulting Numbers: [32, 66]
Generated Node #0,3,3: 47:[32, 66] Operation: 30+36=66
Exploring Operation: 30+32=62, Resulting Numbers: [36, 62]
Generated Node #0,3,4: 47:[36, 62] Operation: 30+32=62
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 47:[36, 62], Operations: ['4*8=32', '30+32=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,47 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[32, 66], Operations: ['4*8=32', '30+36=66']
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[30, 68], Operations: ['4*8=32', '36+32=68']
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,47 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[36, 2], Operations: ['4*8=32', '32-30=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[32, 6], Operations: ['4*8=32', '36-30=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,47 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[4, 36, 38], Operations: ['8+30=38']
Exploring Operation: 4+38=42, Resulting Numbers: [36, 42]
Generated Node #0,0,0: 47:[36, 42] Operation: 4+38=42
Exploring Operation: 36/4=9, Resulting Numbers: [38, 9]
Generated Node #0,0,1: 47:[38, 9] Operation: 36/4=9
Exploring Operation: 38-4=34, Resulting Numbers: [36, 34]
Generated Node #0,0,2: 47:[36, 34] Operation: 38-4=34
Exploring Operation: 36-4=32, Resulting Numbers: [38, 32]
Generated Node #0,0,3: 47:[38, 32] Operation: 36-4=32
Exploring Operation: 4+36=40, Resulting Numbers: [38, 40]
Generated Node #0,0,4: 47:[38, 40] Operation: 4+36=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[36, 42], Operations: ['8+30=38', '4+38=42']
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,47 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[38, 40], Operations: ['8+30=38', '4+36=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[36, 34], Operations: ['8+30=38', '38-4=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,47 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[38, 32], Operations: ['8+30=38', '36-4=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,47 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[38, 9], Operations: ['8+30=38', '36/4=9']
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,47 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[4, 8, 30, 36], Operations: []
Exploring Operation: 8+30=38, Resulting Numbers: [4, 36, 38]
Generated Node #0,0: 47:[4, 36, 38] Operation: 8+30=38
Moving to Node #0,0
Current State: 47:[4, 36, 38], Operations: ['8+30=38']
Exploring Operation: 36/4=9, Resulting Numbers: [38, 9]
Generated Node #0,0,1: 47:[38, 9] Operation: 36/4=9
Moving to Node #0,0,1
Current State: 47:[38, 9], Operations: ['8+30=38', '36/4=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597
|
hs_5
|
mult_heuristic
|
[
4,
46,
88,
35
] | 32
|
[
"4*88=352",
"46-35=11",
"352/11=32"
] |
Current State: 32:[4, 46, 88, 35], Operations: []
Exploring Operation: 4*88=352, Resulting Numbers: [46, 35, 352]
Generated Node #2: [46, 35, 352] from Operation: 4*88=352
Current State: 32:[46, 35, 352], Operations: ['4*88=352']
Exploring Operation: 46-35=11, Resulting Numbers: [352, 11]
Generated Node #3: [352, 11] from Operation: 46-35=11
Current State: 32:[352, 11], Operations: ['4*88=352', '46-35=11']
Exploring Operation: 352/11=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[4, 46, 88, 35], Operations: []
Exploring Operation: 88-46=42, Resulting Numbers: [4, 35, 42]
Generated Node #0,0: 32:[4, 35, 42] Operation: 88-46=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[4, 35, 42], Operations: ['88-46=42']
Exploring Operation: 42-35=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 32:[4, 7] Operation: 42-35=7
Moving to Node #0,0,0
Current State: 32:[4, 7], Operations: ['88-46=42', '42-35=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,32 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
|
[
35,
27,
6,
32
] | 10
|
[
"35-27=8",
"32/8=4",
"6+4=10"
] |
Current State: 10:[35, 27, 6, 32], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [6, 32, 8]
Generated Node #2: [6, 32, 8] from Operation: 35-27=8
Current State: 10:[6, 32, 8], Operations: ['35-27=8']
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #3: [6, 4] from Operation: 32/8=4
Current State: 10:[6, 4], Operations: ['35-27=8', '32/8=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[35, 27, 6, 32], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [27, 32, 29]
Generated Node #0,0: 10:[27, 32, 29] Operation: 35-6=29
Exploring Operation: 27-6=21, Resulting Numbers: [35, 32, 21]
Generated Node #0,1: 10:[35, 32, 21] Operation: 27-6=21
Exploring Operation: 35-32=3, Resulting Numbers: [27, 6, 3]
Generated Node #0,2: 10:[27, 6, 3] Operation: 35-32=3
Exploring Operation: 35-27=8, Resulting Numbers: [6, 32, 8]
Generated Node #0,3: 10:[6, 32, 8] Operation: 35-27=8
Exploring Operation: 32-27=5, Resulting Numbers: [35, 6, 5]
Generated Node #0,4: 10:[35, 6, 5] Operation: 32-27=5
Moving to Node #0,2
Current State: 10:[27, 6, 3], Operations: ['35-32=3']
Exploring Operation: 6+3=9, Resulting Numbers: [27, 9]
Generated Node #0,2,0: 10:[27, 9] Operation: 6+3=9
Exploring Operation: 27/3=9, Resulting Numbers: [6, 9]
Generated Node #0,2,1: 10:[6, 9] Operation: 27/3=9
Exploring Operation: 6/3=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 10:[27, 2] Operation: 6/3=2
Exploring Operation: 27-6=21, Resulting Numbers: [3, 21]
Generated Node #0,2,3: 10:[3, 21] Operation: 27-6=21
Exploring Operation: 27-3=24, Resulting Numbers: [6, 24]
Generated Node #0,2,4: 10:[6, 24] Operation: 27-3=24
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[6, 9], Operations: ['35-32=3', '27/3=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[3, 21], Operations: ['35-32=3', '27-6=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,10 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 10:[6, 24], Operations: ['35-32=3', '27-3=24']
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,10 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[27, 2], Operations: ['35-32=3', '6/3=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[27, 9], Operations: ['35-32=3', '6+3=9']
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,10 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,10 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: 10:[6, 32, 8], Operations: ['35-27=8']
Exploring Operation: 6+8=14, Resulting Numbers: [32, 14]
Generated Node #0,3,0: 10:[32, 14] Operation: 6+8=14
Exploring Operation: 32-6=26, Resulting Numbers: [8, 26]
Generated Node #0,3,1: 10:[8, 26] Operation: 32-6=26
Exploring Operation: 32-8=24, Resulting Numbers: [6, 24]
Generated Node #0,3,2: 10:[6, 24] Operation: 32-8=24
Exploring Operation: 8-6=2, Resulting Numbers: [32, 2]
Generated Node #0,3,3: 10:[32, 2] Operation: 8-6=2
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #0,3,4: 10:[6, 4] Operation: 32/8=4
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[6, 4], Operations: ['35-27=8', '32/8=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[35, 27, 6, 32], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [6, 32, 8]
Generated Node #0,3: 10:[6, 32, 8] Operation: 35-27=8
Moving to Node #0,3
Current State: 10:[6, 32, 8], Operations: ['35-27=8']
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #0,3,4: 10:[6, 4] Operation: 32/8=4
Moving to Node #0,3,4
Current State: 10:[6, 4], Operations: ['35-27=8', '32/8=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014
|
hs_5
|
sum_heuristic
|
[
21,
55,
72,
83
] | 45
|
[
"55-21=34",
"83-72=11",
"34+11=45"
] |
Current State: 45:[21, 55, 72, 83], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [72, 83, 34]
Generated Node #2: [72, 83, 34] from Operation: 55-21=34
Current State: 45:[72, 83, 34], Operations: ['55-21=34']
Exploring Operation: 83-72=11, Resulting Numbers: [34, 11]
Generated Node #3: [34, 11] from Operation: 83-72=11
Current State: 45:[34, 11], Operations: ['55-21=34', '83-72=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4
|
Current State: 45:[21, 55, 72, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [21, 55, 11]
Generated Node #0,0: 45:[21, 55, 11] Operation: 83-72=11
Moving to Node #0,0
Current State: 45:[21, 55, 11], Operations: ['83-72=11']
Exploring Operation: 55/11=5, Resulting Numbers: [21, 5]
Generated Node #0,0,0: 45:[21, 5] Operation: 55/11=5
Moving to Node #0,0,0
Current State: 45:[21, 5], Operations: ['83-72=11', '55/11=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,45 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
8,
33,
63,
61
] | 17
|
[
"63-61=2",
"8*2=16",
"33-16=17"
] |
Current State: 17:[8, 33, 63, 61], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [8, 33, 2]
Generated Node #2: [8, 33, 2] from Operation: 63-61=2
Current State: 17:[8, 33, 2], Operations: ['63-61=2']
Exploring Operation: 8*2=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 8*2=16
Current State: 17:[33, 16], Operations: ['63-61=2', '8*2=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4
|
Current State: 17:[8, 33, 63, 61], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [8, 61, 30]
Generated Node #0,0: 17:[8, 61, 30] Operation: 63-33=30
Exploring Operation: 63-61=2, Resulting Numbers: [8, 33, 2]
Generated Node #0,1: 17:[8, 33, 2] Operation: 63-61=2
Exploring Operation: 61-33=28, Resulting Numbers: [8, 63, 28]
Generated Node #0,2: 17:[8, 63, 28] Operation: 61-33=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[8, 33, 2], Operations: ['63-61=2']
Exploring Operation: 8+2=10, Resulting Numbers: [33, 10]
Generated Node #0,1,0: 17:[33, 10] Operation: 8+2=10
Exploring Operation: 33-8=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 17:[2, 25] Operation: 33-8=25
Exploring Operation: 8*2=16, Resulting Numbers: [33, 16]
Generated Node #0,1,2: 17:[33, 16] Operation: 8*2=16
Moving to Node #0,1,2
Current State: 17:[33, 16], Operations: ['63-61=2', '8*2=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,17 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[8, 33, 63, 61], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [8, 33, 2]
Generated Node #0,1: 17:[8, 33, 2] Operation: 63-61=2
Moving to Node #0,1
Current State: 17:[8, 33, 2], Operations: ['63-61=2']
Exploring Operation: 8*2=16, Resulting Numbers: [33, 16]
Generated Node #0,1,2: 17:[33, 16] Operation: 8*2=16
Moving to Node #0,1,2
Current State: 17:[33, 16], Operations: ['63-61=2', '8*2=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
54,
4,
5,
7
] | 48
|
[
"54-4=50",
"7-5=2",
"50-2=48"
] |
Current State: 48:[54, 4, 5, 7], Operations: []
Exploring Operation: 54-4=50, Resulting Numbers: [5, 7, 50]
Generated Node #2: [5, 7, 50] from Operation: 54-4=50
Current State: 48:[5, 7, 50], Operations: ['54-4=50']
Exploring Operation: 7-5=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 7-5=2
Current State: 48:[50, 2], Operations: ['54-4=50', '7-5=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[54, 4, 5, 7], Operations: []
Exploring Operation: 54-4=50, Resulting Numbers: [5, 7, 50]
Generated Node #0,0: 48:[5, 7, 50] Operation: 54-4=50
Exploring Operation: 54-5=49, Resulting Numbers: [4, 7, 49]
Generated Node #0,1: 48:[4, 7, 49] Operation: 54-5=49
Exploring Operation: 54-7=47, Resulting Numbers: [4, 5, 47]
Generated Node #0,2: 48:[4, 5, 47] Operation: 54-7=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[4, 7, 49], Operations: ['54-5=49']
Exploring Operation: 49/7=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 48:[4, 7] Operation: 49/7=7
Exploring Operation: 7-4=3, Resulting Numbers: [49, 3]
Generated Node #0,1,1: 48:[49, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [49, 11]
Generated Node #0,1,2: 48:[49, 11] Operation: 4+7=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[4, 7], Operations: ['54-5=49', '49/7=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,48 unequal: No Solution
No 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: 48:[49, 3], Operations: ['54-5=49', '7-4=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,48 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,48 unequal: No Solution
No 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: 48:[49, 11], Operations: ['54-5=49', '4+7=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,48 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: 48:[4, 5, 47], Operations: ['54-7=47']
Exploring Operation: 4+5=9, Resulting Numbers: [47, 9]
Generated Node #0,2,0: 48:[47, 9] Operation: 4+5=9
Exploring Operation: 5-4=1, Resulting Numbers: [47, 1]
Generated Node #0,2,1: 48:[47, 1] Operation: 5-4=1
Exploring Operation: 4+47=51, Resulting Numbers: [5, 51]
Generated Node #0,2,2: 48:[5, 51] Operation: 4+47=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[47, 9], Operations: ['54-7=47', '4+5=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,48 unequal: No Solution
No 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: 48:[47, 1], Operations: ['54-7=47', '5-4=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[54, 4, 5, 7], Operations: []
Exploring Operation: 54-7=47, Resulting Numbers: [4, 5, 47]
Generated Node #0,2: 48:[4, 5, 47] Operation: 54-7=47
Moving to Node #0,2
Current State: 48:[4, 5, 47], Operations: ['54-7=47']
Exploring Operation: 5-4=1, Resulting Numbers: [47, 1]
Generated Node #0,2,1: 48:[47, 1] Operation: 5-4=1
Moving to Node #0,2,1
Current State: 48:[47, 1], Operations: ['54-7=47', '5-4=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431
|
hs_3
|
sum_heuristic
|
[
80,
50,
27,
81
] | 70
|
[
"50*81=4050",
"4050/27=150",
"150-80=70"
] |
Current State: 70:[80, 50, 27, 81], Operations: []
Exploring Operation: 50*81=4050, Resulting Numbers: [80, 27, 4050]
Generated Node #2: [80, 27, 4050] from Operation: 50*81=4050
Current State: 70:[80, 27, 4050], Operations: ['50*81=4050']
Exploring Operation: 4050/27=150, Resulting Numbers: [80, 150]
Generated Node #3: [80, 150] from Operation: 4050/27=150
Current State: 70:[80, 150], Operations: ['50*81=4050', '4050/27=150']
Exploring Operation: 150-80=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[80, 50, 27, 81], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [80, 27, 31]
Generated Node #0,0: 70:[80, 27, 31] Operation: 81-50=31
Exploring Operation: 80-50=30, Resulting Numbers: [27, 81, 30]
Generated Node #0,1: 70:[27, 81, 30] Operation: 80-50=30
Exploring Operation: 81/27=3, Resulting Numbers: [80, 50, 3]
Generated Node #0,2: 70:[80, 50, 3] Operation: 81/27=3
Exploring Operation: 81-80=1, Resulting Numbers: [50, 27, 1]
Generated Node #0,3: 70:[50, 27, 1] Operation: 81-80=1
Exploring Operation: 50+27=77, Resulting Numbers: [80, 81, 77]
Generated Node #0,4: 70:[80, 81, 77] Operation: 50+27=77
Moving to Node #0,0
Current State: 70:[80, 27, 31], Operations: ['81-50=31']
Exploring Operation: 80-27=53, Resulting Numbers: [31, 53]
Generated Node #0,0,0: 70:[31, 53] Operation: 80-27=53
Exploring Operation: 80+27=107, Resulting Numbers: [31, 107]
Generated Node #0,0,1: 70:[31, 107] Operation: 80+27=107
Exploring Operation: 27+31=58, Resulting Numbers: [80, 58]
Generated Node #0,0,2: 70:[80, 58] Operation: 27+31=58
Exploring Operation: 31-27=4, Resulting Numbers: [80, 4]
Generated Node #0,0,3: 70:[80, 4] Operation: 31-27=4
Exploring Operation: 80-31=49, Resulting Numbers: [27, 49]
Generated Node #0,0,4: 70:[27, 49] Operation: 80-31=49
Moving to Node #0,3
Current State: 70:[50, 27, 1], Operations: ['81-80=1']
Exploring Operation: 50-1=49, Resulting Numbers: [27, 49]
Generated Node #0,3,0: 70:[27, 49] Operation: 50-1=49
Exploring Operation: 50-27=23, Resulting Numbers: [1, 23]
Generated Node #0,3,1: 70:[1, 23] Operation: 50-27=23
Exploring Operation: 50+27=77, Resulting Numbers: [1, 77]
Generated Node #0,3,2: 70:[1, 77] Operation: 50+27=77
Exploring Operation: 50*1=50, Resulting Numbers: [27, 50]
Generated Node #0,3,3: 70:[27, 50] Operation: 50*1=50
Exploring Operation: 27+1=28, Resulting Numbers: [50, 28]
Generated Node #0,3,4: 70:[50, 28] Operation: 27+1=28
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[1, 77], Operations: ['81-80=1', '50+27=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[1, 23], Operations: ['81-80=1', '50-27=23']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[27, 49], Operations: ['81-80=1', '50-1=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 70:[50, 28], Operations: ['81-80=1', '27+1=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,70 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[27, 50], Operations: ['81-80=1', '50*1=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,70 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,70 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: 70:[27, 81, 30], Operations: ['80-50=30']
Exploring Operation: 30-27=3, Resulting Numbers: [81, 3]
Generated Node #0,1,0: 70:[81, 3] Operation: 30-27=3
Exploring Operation: 81-27=54, Resulting Numbers: [30, 54]
Generated Node #0,1,1: 70:[30, 54] Operation: 81-27=54
Exploring Operation: 81/27=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 70:[30, 3] Operation: 81/27=3
Exploring Operation: 81-30=51, Resulting Numbers: [27, 51]
Generated Node #0,1,3: 70:[27, 51] Operation: 81-30=51
Exploring Operation: 27+30=57, Resulting Numbers: [81, 57]
Generated Node #0,1,4: 70:[81, 57] Operation: 27+30=57
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[30, 3], Operations: ['80-50=30', '81/27=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[81, 3], Operations: ['80-50=30', '30-27=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,70 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[30, 54], Operations: ['80-50=30', '81-27=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,70 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[27, 51], Operations: ['80-50=30', '81-30=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,70 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[81, 57], Operations: ['80-50=30', '27+30=57']
Exploring Operation: 81*57=4617, Resulting Numbers: [4617]
4617,70 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 81+57=138, Resulting Numbers: [138]
138,70 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: 70:[80, 50, 3], Operations: ['81/27=3']
Exploring Operation: 50+3=53, Resulting Numbers: [80, 53]
Generated Node #0,2,0: 70:[80, 53] Operation: 50+3=53
Exploring Operation: 80-50=30, Resulting Numbers: [3, 30]
Generated Node #0,2,1: 70:[3, 30] Operation: 80-50=30
Exploring Operation: 80-3=77, Resulting Numbers: [50, 77]
Generated Node #0,2,2: 70:[50, 77] Operation: 80-3=77
Exploring Operation: 50-3=47, Resulting Numbers: [80, 47]
Generated Node #0,2,3: 70:[80, 47] Operation: 50-3=47
Exploring Operation: 80+3=83, Resulting Numbers: [50, 83]
Generated Node #0,2,4: 70:[50, 83] Operation: 80+3=83
Moving to Node #0,4
Current State: 70:[80, 81, 77], Operations: ['50+27=77']
Exploring Operation: 81-80=1, Resulting Numbers: [77, 1]
Generated Node #0,4,0: 70:[77, 1] Operation: 81-80=1
Exploring Operation: 81-77=4, Resulting Numbers: [80, 4]
Generated Node #0,4,1: 70:[80, 4] Operation: 81-77=4
Exploring Operation: 80-77=3, Resulting Numbers: [81, 3]
Generated Node #0,4,2: 70:[81, 3] Operation: 80-77=3
Exploring Operation: 80+81=161, Resulting Numbers: [77, 161]
Generated Node #0,4,3: 70:[77, 161] Operation: 80+81=161
Exploring Operation: 80+77=157, Resulting Numbers: [81, 157]
Generated Node #0,4,4: 70:[81, 157] Operation: 80+77=157
Moving to Node #0,2,1
Current State: 70:[3, 30], Operations: ['81/27=3', '80-50=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[77, 1], Operations: ['50+27=77', '81-80=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[80, 4], Operations: ['81-50=31', '31-27=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,70 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[80, 4], Operations: ['50+27=77', '81-77=4']
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,70 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[81, 3], Operations: ['50+27=77', '80-77=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,70 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[31, 53], Operations: ['81-50=31', '80-27=53']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 31*53=1643, Resulting Numbers: [1643]
1643,70 unequal: No Solution
Exploring Operation: 31+53=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[50, 77], Operations: ['81/27=3', '80-3=77']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 50+77=127, Resulting Numbers: [127]
127,70 unequal: No Solution
Exploring Operation: 50*77=3850, Resulting Numbers: [3850]
3850,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[80, 58], Operations: ['81-50=31', '27+31=58']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 80*58=4640, Resulting Numbers: [4640]
4640,70 unequal: No Solution
Exploring Operation: 80+58=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[27, 49], Operations: ['81-50=31', '80-31=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,70 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[80, 47], Operations: ['81/27=3', '50-3=47']
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,70 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[80, 53], Operations: ['81/27=3', '50+3=53']
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,70 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[50, 83], Operations: ['81/27=3', '80+3=83']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 50*83=4150, Resulting Numbers: [4150]
4150,70 unequal: No Solution
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[31, 107], Operations: ['81-50=31', '80+27=107']
Exploring Operation: 31+107=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 107-31=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 31*107=3317, Resulting Numbers: [3317]
3317,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[81, 157], Operations: ['50+27=77', '80+77=157']
Exploring Operation: 81*157=12717, Resulting Numbers: [12717]
12717,70 unequal: No Solution
Exploring Operation: 157-81=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 81+157=238, Resulting Numbers: [238]
238,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[77, 161], Operations: ['50+27=77', '80+81=161']
Exploring Operation: 77*161=12397, Resulting Numbers: [12397]
12397,70 unequal: No Solution
Exploring Operation: 77+161=238, Resulting Numbers: [238]
238,70 unequal: No Solution
Exploring Operation: 161-77=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
89,
12,
94,
87
] | 100
|
[
"89-87=2",
"12/2=6",
"94+6=100"
] |
Current State: 100:[89, 12, 94, 87], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [12, 94, 2]
Generated Node #2: [12, 94, 2] from Operation: 89-87=2
Current State: 100:[12, 94, 2], Operations: ['89-87=2']
Exploring Operation: 12/2=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 12/2=6
Current State: 100:[94, 6], Operations: ['89-87=2', '12/2=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4
|
Current State: 100:[89, 12, 94, 87], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [89, 12, 7]
Generated Node #0,0: 100:[89, 12, 7] Operation: 94-87=7
Exploring Operation: 89-87=2, Resulting Numbers: [12, 94, 2]
Generated Node #0,1: 100:[12, 94, 2] Operation: 89-87=2
Exploring Operation: 94-89=5, Resulting Numbers: [12, 87, 5]
Generated Node #0,2: 100:[12, 87, 5] Operation: 94-89=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[12, 94, 2], Operations: ['89-87=2']
Exploring Operation: 12+94=106, Resulting Numbers: [2, 106]
Generated Node #0,1,0: 100:[2, 106] Operation: 12+94=106
Exploring Operation: 12-2=10, Resulting Numbers: [94, 10]
Generated Node #0,1,1: 100:[94, 10] Operation: 12-2=10
Exploring Operation: 94/2=47, Resulting Numbers: [12, 47]
Generated Node #0,1,2: 100:[12, 47] Operation: 94/2=47
Moving to Node #0,1,2
Current State: 100:[12, 47], Operations: ['89-87=2', '94/2=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[2, 106], Operations: ['89-87=2', '12+94=106']
Exploring Operation: 2+106=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 106/2=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 106-2=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[94, 10], Operations: ['89-87=2', '12-2=10']
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,100 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,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,0
Current State: 100:[89, 12, 7], Operations: ['94-87=7']
Exploring Operation: 89+12=101, Resulting Numbers: [7, 101]
Generated Node #0,0,0: 100:[7, 101] Operation: 89+12=101
Exploring Operation: 12-7=5, Resulting Numbers: [89, 5]
Generated Node #0,0,1: 100:[89, 5] Operation: 12-7=5
Exploring Operation: 89+7=96, Resulting Numbers: [12, 96]
Generated Node #0,0,2: 100:[12, 96] Operation: 89+7=96
Moving to Node #0,0,0
Current State: 100:[7, 101], Operations: ['94-87=7', '89+12=101']
Exploring Operation: 7+101=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 7*101=707, Resulting Numbers: [707]
707,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[12, 96], Operations: ['94-87=7', '89+7=96']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 12+96=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[89, 5], Operations: ['94-87=7', '12-7=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,100 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,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
Current State: 100:[12, 87, 5], Operations: ['94-89=5']
Exploring Operation: 12+87=99, Resulting Numbers: [5, 99]
Generated Node #0,2,0: 100:[5, 99] Operation: 12+87=99
Exploring Operation: 12-5=7, Resulting Numbers: [87, 7]
Generated Node #0,2,1: 100:[87, 7] Operation: 12-5=7
Exploring Operation: 87+5=92, Resulting Numbers: [12, 92]
Generated Node #0,2,2: 100:[12, 92] Operation: 87+5=92
Moving to Node #0,2,0
Current State: 100:[5, 99], Operations: ['94-89=5', '12+87=99']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 5+99=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 5*99=495, Resulting Numbers: [495]
495,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[12, 92], Operations: ['94-89=5', '87+5=92']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 12+92=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 12*92=1104, Resulting Numbers: [1104]
1104,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[87, 7], Operations: ['94-89=5', '12-5=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,100 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,100 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
|
[
69,
2,
83,
26
] | 81
|
[
"69*2=138",
"83-26=57",
"138-57=81"
] |
Current State: 81:[69, 2, 83, 26], Operations: []
Exploring Operation: 69*2=138, Resulting Numbers: [83, 26, 138]
Generated Node #2: [83, 26, 138] from Operation: 69*2=138
Current State: 81:[83, 26, 138], Operations: ['69*2=138']
Exploring Operation: 83-26=57, Resulting Numbers: [138, 57]
Generated Node #3: [138, 57] from Operation: 83-26=57
Current State: 81:[138, 57], Operations: ['69*2=138', '83-26=57']
Exploring Operation: 138-57=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[69, 2, 83, 26], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [2, 26, 14]
Generated Node #0,0: 81:[2, 26, 14] Operation: 83-69=14
Exploring Operation: 69+2=71, Resulting Numbers: [83, 26, 71]
Generated Node #0,1: 81:[83, 26, 71] Operation: 69+2=71
Exploring Operation: 83-2=81, Resulting Numbers: [69, 26, 81]
Generated Node #0,2: 81:[69, 26, 81] Operation: 83-2=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[2, 26, 14], Operations: ['83-69=14']
Exploring Operation: 14-2=12, Resulting Numbers: [26, 12]
Generated Node #0,0,0: 81:[26, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [26, 7]
Generated Node #0,0,1: 81:[26, 7] Operation: 14/2=7
Exploring Operation: 2*14=28, Resulting Numbers: [26, 28]
Generated Node #0,0,2: 81:[26, 28] Operation: 2*14=28
Moving to Node #0,0,2
Current State: 81:[26, 28], Operations: ['83-69=14', '2*14=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,81 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[26, 7], Operations: ['83-69=14', '14/2=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[26, 12], Operations: ['83-69=14', '14-2=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,81 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No 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: 81:[83, 26, 71], Operations: ['69+2=71']
Exploring Operation: 26+71=97, Resulting Numbers: [83, 97]
Generated Node #0,1,0: 81:[83, 97] Operation: 26+71=97
Exploring Operation: 83-71=12, Resulting Numbers: [26, 12]
Generated Node #0,1,1: 81:[26, 12] Operation: 83-71=12
Exploring Operation: 71-26=45, Resulting Numbers: [83, 45]
Generated Node #0,1,2: 81:[83, 45] Operation: 71-26=45
Moving to Node #0,1,1
Current State: 81:[26, 12], Operations: ['69+2=71', '83-71=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[83, 97], Operations: ['69+2=71', '26+71=97']
Exploring Operation: 83*97=8051, Resulting Numbers: [8051]
8051,81 unequal: No Solution
Exploring Operation: 83+97=180, Resulting Numbers: [180]
180,81 unequal: No Solution
Exploring Operation: 97-83=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[83, 45], Operations: ['69+2=71', '71-26=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,81 unequal: No Solution
No 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: 81:[69, 26, 81], Operations: ['83-2=81']
Exploring Operation: 81-69=12, Resulting Numbers: [26, 12]
Generated Node #0,2,0: 81:[26, 12] Operation: 81-69=12
Exploring Operation: 69+26=95, Resulting Numbers: [81, 95]
Generated Node #0,2,1: 81:[81, 95] Operation: 69+26=95
Exploring Operation: 69-26=43, Resulting Numbers: [81, 43]
Generated Node #0,2,2: 81:[81, 43] Operation: 69-26=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[26, 12], Operations: ['83-2=81', '81-69=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,81 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No 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: 81:[81, 95], Operations: ['83-2=81', '69+26=95']
Exploring Operation: 81*95=7695, Resulting Numbers: [7695]
7695,81 unequal: No Solution
Exploring Operation: 81+95=176, Resulting Numbers: [176]
176,81 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,81 unequal: No Solution
No 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: 81:[81, 43], Operations: ['83-2=81', '69-26=43']
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,81 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
83,
21,
7,
56
] | 81
|
[
"83-56=27",
"21/7=3",
"27*3=81"
] |
Current State: 81:[83, 21, 7, 56], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [21, 7, 27]
Generated Node #2: [21, 7, 27] from Operation: 83-56=27
Current State: 81:[21, 7, 27], Operations: ['83-56=27']
Exploring Operation: 21/7=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 21/7=3
Current State: 81:[27, 3], Operations: ['83-56=27', '21/7=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[83, 21, 7, 56], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [21, 7, 27]
Generated Node #0,0: 81:[21, 7, 27] Operation: 83-56=27
Moving to Node #0,0
Current State: 81:[21, 7, 27], Operations: ['83-56=27']
Exploring Operation: 21/7=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 81:[27, 3] Operation: 21/7=3
Moving to Node #0,0,0
Current State: 81:[27, 3], Operations: ['83-56=27', '21/7=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 21, 7, 56], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [21, 7, 27]
Generated Node #0,0: 81:[21, 7, 27] Operation: 83-56=27
Moving to Node #0,0
Current State: 81:[21, 7, 27], Operations: ['83-56=27']
Exploring Operation: 21/7=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 81:[27, 3] Operation: 21/7=3
Moving to Node #0,0,0
Current State: 81:[27, 3], Operations: ['83-56=27', '21/7=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
63,
98,
91,
70
] | 79
|
[
"98-91=7",
"63/7=9",
"70+9=79"
] |
Current State: 79:[63, 98, 91, 70], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [63, 70, 7]
Generated Node #2: [63, 70, 7] from Operation: 98-91=7
Current State: 79:[63, 70, 7], Operations: ['98-91=7']
Exploring Operation: 63/7=9, Resulting Numbers: [70, 9]
Generated Node #3: [70, 9] from Operation: 63/7=9
Current State: 79:[70, 9], Operations: ['98-91=7', '63/7=9']
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4
|
Current State: 79:[63, 98, 91, 70], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [91, 70, 35]
Generated Node #0,0: 79:[91, 70, 35] Operation: 98-63=35
Moving to Node #0,0
Current State: 79:[91, 70, 35], Operations: ['98-63=35']
Exploring Operation: 91-35=56, Resulting Numbers: [70, 56]
Generated Node #0,0,0: 79:[70, 56] Operation: 91-35=56
Moving to Node #0,0,0
Current State: 79:[70, 56], Operations: ['98-63=35', '91-35=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,79 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
64,
7,
49,
98
] | 85
|
[
"49+98=147",
"147/7=21",
"64+21=85"
] |
Current State: 85:[64, 7, 49, 98], Operations: []
Exploring Operation: 49+98=147, Resulting Numbers: [64, 7, 147]
Generated Node #2: [64, 7, 147] from Operation: 49+98=147
Current State: 85:[64, 7, 147], Operations: ['49+98=147']
Exploring Operation: 147/7=21, Resulting Numbers: [64, 21]
Generated Node #3: [64, 21] from Operation: 147/7=21
Current State: 85:[64, 21], Operations: ['49+98=147', '147/7=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[64, 7, 49, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [64, 7, 2]
Generated Node #0,0: 85:[64, 7, 2] Operation: 98/49=2
Exploring Operation: 49/7=7, Resulting Numbers: [64, 98, 7]
Generated Node #0,1: 85:[64, 98, 7] Operation: 49/7=7
Exploring Operation: 64-49=15, Resulting Numbers: [7, 98, 15]
Generated Node #0,2: 85:[7, 98, 15] Operation: 64-49=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[7, 98, 15], Operations: ['64-49=15']
Exploring Operation: 98-7=91, Resulting Numbers: [15, 91]
Generated Node #0,2,0: 85:[15, 91] Operation: 98-7=91
Exploring Operation: 98-15=83, Resulting Numbers: [7, 83]
Generated Node #0,2,1: 85:[7, 83] Operation: 98-15=83
Exploring Operation: 98/7=14, Resulting Numbers: [15, 14]
Generated Node #0,2,2: 85:[15, 14] Operation: 98/7=14
Moving to Node #0,2,1
Current State: 85:[7, 83], Operations: ['64-49=15', '98-15=83']
Exploring Operation: 7*83=581, Resulting Numbers: [581]
581,85 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[15, 14], Operations: ['64-49=15', '98/7=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[15, 91], Operations: ['64-49=15', '98-7=91']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,85 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[64, 7, 2], Operations: ['98/49=2']
Exploring Operation: 64/2=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 85:[7, 32] Operation: 64/2=32
Exploring Operation: 64+7=71, Resulting Numbers: [2, 71]
Generated Node #0,0,1: 85:[2, 71] Operation: 64+7=71
Exploring Operation: 64+2=66, Resulting Numbers: [7, 66]
Generated Node #0,0,2: 85:[7, 66] Operation: 64+2=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[7, 32], Operations: ['98/49=2', '64/2=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,85 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[2, 71], Operations: ['98/49=2', '64+7=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[7, 66], Operations: ['98/49=2', '64+2=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,85 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[64, 98, 7], Operations: ['49/7=7']
Exploring Operation: 98/7=14, Resulting Numbers: [64, 14]
Generated Node #0,1,0: 85:[64, 14] Operation: 98/7=14
Exploring Operation: 64+7=71, Resulting Numbers: [98, 71]
Generated Node #0,1,1: 85:[98, 71] Operation: 64+7=71
Exploring Operation: 98-64=34, Resulting Numbers: [7, 34]
Generated Node #0,1,2: 85:[7, 34] Operation: 98-64=34
Moving to Node #0,1,2
Current State: 85:[7, 34], Operations: ['49/7=7', '98-64=34']
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,85 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[64, 14], Operations: ['49/7=7', '98/7=14']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,85 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[98, 71], Operations: ['49/7=7', '64+7=71']
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,85 unequal: No Solution
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
6,
94,
52,
22
] | 26
|
[
"6+94=100",
"52+22=74",
"100-74=26"
] |
Current State: 26:[6, 94, 52, 22], Operations: []
Exploring Operation: 6+94=100, Resulting Numbers: [52, 22, 100]
Generated Node #2: [52, 22, 100] from Operation: 6+94=100
Current State: 26:[52, 22, 100], Operations: ['6+94=100']
Exploring Operation: 52+22=74, Resulting Numbers: [100, 74]
Generated Node #3: [100, 74] from Operation: 52+22=74
Current State: 26:[100, 74], Operations: ['6+94=100', '52+22=74']
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[6, 94, 52, 22], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [6, 22, 42]
Generated Node #0,0: 26:[6, 22, 42] Operation: 94-52=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[6, 22, 42], Operations: ['94-52=42']
Exploring Operation: 42/6=7, Resulting Numbers: [22, 7]
Generated Node #0,0,0: 26:[22, 7] Operation: 42/6=7
Moving to Node #0,0,0
Current State: 26:[22, 7], Operations: ['94-52=42', '42/6=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
2,
73,
92,
98
] | 70
|
[
"98-92=6",
"6/2=3",
"73-3=70"
] |
Current State: 70:[2, 73, 92, 98], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [2, 73, 6]
Generated Node #2: [2, 73, 6] from Operation: 98-92=6
Current State: 70:[2, 73, 6], Operations: ['98-92=6']
Exploring Operation: 6/2=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 6/2=3
Current State: 70:[73, 3], Operations: ['98-92=6', '6/2=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[2, 73, 92, 98], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [2, 73, 6]
Generated Node #0,0: 70:[2, 73, 6] Operation: 98-92=6
Exploring Operation: 98-73=25, Resulting Numbers: [2, 92, 25]
Generated Node #0,1: 70:[2, 92, 25] Operation: 98-73=25
Exploring Operation: 92-73=19, Resulting Numbers: [2, 98, 19]
Generated Node #0,2: 70:[2, 98, 19] Operation: 92-73=19
Moving to Node #0,0
Current State: 70:[2, 73, 6], Operations: ['98-92=6']
Exploring Operation: 2+6=8, Resulting Numbers: [73, 8]
Generated Node #0,0,0: 70:[73, 8] Operation: 2+6=8
Exploring Operation: 73-2=71, Resulting Numbers: [6, 71]
Generated Node #0,0,1: 70:[6, 71] Operation: 73-2=71
Exploring Operation: 73-6=67, Resulting Numbers: [2, 67]
Generated Node #0,0,2: 70:[2, 67] Operation: 73-6=67
Moving to Node #0,1
Current State: 70:[2, 92, 25], Operations: ['98-73=25']
Exploring Operation: 92/2=46, Resulting Numbers: [25, 46]
Generated Node #0,1,0: 70:[25, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [25, 90]
Generated Node #0,1,1: 70:[25, 90] Operation: 92-2=90
Exploring Operation: 92-25=67, Resulting Numbers: [2, 67]
Generated Node #0,1,2: 70:[2, 67] Operation: 92-25=67
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[2, 67], Operations: ['98-73=25', '92-25=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[25, 46], Operations: ['98-73=25', '92/2=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,70 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[25, 90], Operations: ['98-73=25', '92-2=90']
Exploring Operation: 25*90=2250, Resulting Numbers: [2250]
2250,70 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 25+90=115, Resulting Numbers: [115]
115,70 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: 70:[2, 98, 19], Operations: ['92-73=19']
Exploring Operation: 98/2=49, Resulting Numbers: [19, 49]
Generated Node #0,2,0: 70:[19, 49] Operation: 98/2=49
Exploring Operation: 98-19=79, Resulting Numbers: [2, 79]
Generated Node #0,2,1: 70:[2, 79] Operation: 98-19=79
Exploring Operation: 98-2=96, Resulting Numbers: [19, 96]
Generated Node #0,2,2: 70:[19, 96] Operation: 98-2=96
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[2, 79], Operations: ['92-73=19', '98-19=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[19, 49], Operations: ['92-73=19', '98/2=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,70 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[19, 96], Operations: ['92-73=19', '98-2=96']
Exploring Operation: 19*96=1824, Resulting Numbers: [1824]
1824,70 unequal: No Solution
Exploring Operation: 19+96=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 70:[6, 71], Operations: ['98-92=6', '73-2=71']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,70 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[2, 67], Operations: ['98-92=6', '73-6=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[73, 8], Operations: ['98-92=6', '2+6=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,70 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
88,
22,
78,
7
] | 50
|
[
"88/22=4",
"7*4=28",
"78-28=50"
] |
Current State: 50:[88, 22, 78, 7], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [78, 7, 4]
Generated Node #2: [78, 7, 4] from Operation: 88/22=4
Current State: 50:[78, 7, 4], Operations: ['88/22=4']
Exploring Operation: 7*4=28, Resulting Numbers: [78, 28]
Generated Node #3: [78, 28] from Operation: 7*4=28
Current State: 50:[78, 28], Operations: ['88/22=4', '7*4=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4
|
Current State: 50:[88, 22, 78, 7], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [78, 7, 4]
Generated Node #0,0: 50:[78, 7, 4] Operation: 88/22=4
Exploring Operation: 88-78=10, Resulting Numbers: [22, 7, 10]
Generated Node #0,1: 50:[22, 7, 10] Operation: 88-78=10
Moving to Node #0,1
Current State: 50:[22, 7, 10], Operations: ['88-78=10']
Exploring Operation: 22-10=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 50:[7, 12] Operation: 22-10=12
Exploring Operation: 22+7=29, Resulting Numbers: [10, 29]
Generated Node #0,1,1: 50:[10, 29] Operation: 22+7=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[7, 12], Operations: ['88-78=10', '22-10=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[10, 29], Operations: ['88-78=10', '22+7=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 50:[78, 7, 4], Operations: ['88/22=4']
Exploring Operation: 78-7=71, Resulting Numbers: [4, 71]
Generated Node #0,0,0: 50:[4, 71] Operation: 78-7=71
Exploring Operation: 78-4=74, Resulting Numbers: [7, 74]
Generated Node #0,0,1: 50:[7, 74] Operation: 78-4=74
Moving to Node #0,0,0
Current State: 50:[4, 71], Operations: ['88/22=4', '78-7=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[7, 74], Operations: ['88/22=4', '78-4=74']
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,50 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,50 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
1,
23,
44,
11
] | 31
|
[
"1+23=24",
"44+11=55",
"55-24=31"
] |
Current State: 31:[1, 23, 44, 11], Operations: []
Exploring Operation: 1+23=24, Resulting Numbers: [44, 11, 24]
Generated Node #2: [44, 11, 24] from Operation: 1+23=24
Current State: 31:[44, 11, 24], Operations: ['1+23=24']
Exploring Operation: 44+11=55, Resulting Numbers: [24, 55]
Generated Node #3: [24, 55] from Operation: 44+11=55
Current State: 31:[24, 55], Operations: ['1+23=24', '44+11=55']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[1, 23, 44, 11], Operations: []
Exploring Operation: 1+23=24, Resulting Numbers: [44, 11, 24]
Generated Node #0,0: 31:[44, 11, 24] Operation: 1+23=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[44, 11, 24], Operations: ['1+23=24']
Exploring Operation: 44-11=33, Resulting Numbers: [24, 33]
Generated Node #0,0,0: 31:[24, 33] Operation: 44-11=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[24, 33], Operations: ['1+23=24', '44-11=33']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
82,
3,
84,
52
] | 51
|
[
"82+3=85",
"84+52=136",
"136-85=51"
] |
Current State: 51:[82, 3, 84, 52], Operations: []
Exploring Operation: 82+3=85, Resulting Numbers: [84, 52, 85]
Generated Node #2: [84, 52, 85] from Operation: 82+3=85
Current State: 51:[84, 52, 85], Operations: ['82+3=85']
Exploring Operation: 84+52=136, Resulting Numbers: [85, 136]
Generated Node #3: [85, 136] from Operation: 84+52=136
Current State: 51:[85, 136], Operations: ['82+3=85', '84+52=136']
Exploring Operation: 136-85=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[82, 3, 84, 52], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [3, 52, 2]
Generated Node #0,0: 51:[3, 52, 2] Operation: 84-82=2
Moving to Node #0,0
Current State: 51:[3, 52, 2], Operations: ['84-82=2']
Exploring Operation: 52-2=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 51:[3, 50] Operation: 52-2=50
Moving to Node #0,0,0
Current State: 51:[3, 50], Operations: ['84-82=2', '52-2=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,51 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
57,
12,
11,
2
] | 32
|
[
"57-12=45",
"11+2=13",
"45-13=32"
] |
Current State: 32:[57, 12, 11, 2], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [11, 2, 45]
Generated Node #2: [11, 2, 45] from Operation: 57-12=45
Current State: 32:[11, 2, 45], Operations: ['57-12=45']
Exploring Operation: 11+2=13, Resulting Numbers: [45, 13]
Generated Node #3: [45, 13] from Operation: 11+2=13
Current State: 32:[45, 13], Operations: ['57-12=45', '11+2=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4
|
Current State: 32:[57, 12, 11, 2], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [11, 2, 45]
Generated Node #0,0: 32:[11, 2, 45] Operation: 57-12=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[11, 2, 45], Operations: ['57-12=45']
Exploring Operation: 45-11=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 32:[2, 34] Operation: 45-11=34
Moving to Node #0,0,0
Current State: 32:[2, 34], Operations: ['57-12=45', '45-11=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[57, 12, 11, 2], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [11, 2, 45]
Generated Node #0,0: 32:[11, 2, 45] Operation: 57-12=45
Moving to Node #0,0
Current State: 32:[11, 2, 45], Operations: ['57-12=45']
Exploring Operation: 45-11=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 32:[2, 34] Operation: 45-11=34
Moving to Node #0,0,0
Current State: 32:[2, 34], Operations: ['57-12=45', '45-11=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
82,
7,
14,
61
] | 20
|
[
"82*7=574",
"574/14=41",
"61-41=20"
] |
Current State: 20:[82, 7, 14, 61], Operations: []
Exploring Operation: 82*7=574, Resulting Numbers: [14, 61, 574]
Generated Node #2: [14, 61, 574] from Operation: 82*7=574
Current State: 20:[14, 61, 574], Operations: ['82*7=574']
Exploring Operation: 574/14=41, Resulting Numbers: [61, 41]
Generated Node #3: [61, 41] from Operation: 574/14=41
Current State: 20:[61, 41], Operations: ['82*7=574', '574/14=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[82, 7, 14, 61], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [7, 14, 21]
Generated Node #0,0: 20:[7, 14, 21] Operation: 82-61=21
Exploring Operation: 82-14=68, Resulting Numbers: [7, 61, 68]
Generated Node #0,1: 20:[7, 61, 68] Operation: 82-14=68
Moving to Node #0,0
Current State: 20:[7, 14, 21], Operations: ['82-61=21']
Exploring Operation: 14/7=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 20:[21, 2] Operation: 14/7=2
Exploring Operation: 7+14=21, Resulting Numbers: [21, 21]
Generated Node #0,0,1: 20:[21, 21] Operation: 7+14=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[21, 2], Operations: ['82-61=21', '14/7=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[21, 21], Operations: ['82-61=21', '7+14=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[7, 61, 68], Operations: ['82-14=68']
Exploring Operation: 68-61=7, Resulting Numbers: [7, 7]
Generated Node #0,1,0: 20:[7, 7] Operation: 68-61=7
Exploring Operation: 61-7=54, Resulting Numbers: [68, 54]
Generated Node #0,1,1: 20:[68, 54] Operation: 61-7=54
Moving to Node #0,1,0
Current State: 20:[7, 7], Operations: ['82-14=68', '68-61=7']
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[68, 54], Operations: ['82-14=68', '61-7=54']
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,20 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,20 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
56,
75,
30,
93
] | 33
|
[
"75+93=168",
"168/56=3",
"30+3=33"
] |
Current State: 33:[56, 75, 30, 93], Operations: []
Exploring Operation: 75+93=168, Resulting Numbers: [56, 30, 168]
Generated Node #2: [56, 30, 168] from Operation: 75+93=168
Current State: 33:[56, 30, 168], Operations: ['75+93=168']
Exploring Operation: 168/56=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 168/56=3
Current State: 33:[30, 3], Operations: ['75+93=168', '168/56=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[56, 75, 30, 93], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [30, 93, 19]
Generated Node #0,0: 33:[30, 93, 19] Operation: 75-56=19
Exploring Operation: 93-56=37, Resulting Numbers: [75, 30, 37]
Generated Node #0,1: 33:[75, 30, 37] Operation: 93-56=37
Exploring Operation: 93-75=18, Resulting Numbers: [56, 30, 18]
Generated Node #0,2: 33:[56, 30, 18] Operation: 93-75=18
Moving to Node #0,2
Current State: 33:[56, 30, 18], Operations: ['93-75=18']
Exploring Operation: 30-18=12, Resulting Numbers: [56, 12]
Generated Node #0,2,0: 33:[56, 12] Operation: 30-18=12
Exploring Operation: 56-18=38, Resulting Numbers: [30, 38]
Generated Node #0,2,1: 33:[30, 38] Operation: 56-18=38
Exploring Operation: 56-30=26, Resulting Numbers: [18, 26]
Generated Node #0,2,2: 33:[18, 26] Operation: 56-30=26
Moving to Node #0,1
Current State: 33:[75, 30, 37], Operations: ['93-56=37']
Exploring Operation: 75-37=38, Resulting Numbers: [30, 38]
Generated Node #0,1,0: 33:[30, 38] Operation: 75-37=38
Exploring Operation: 37-30=7, Resulting Numbers: [75, 7]
Generated Node #0,1,1: 33:[75, 7] Operation: 37-30=7
Exploring Operation: 75-30=45, Resulting Numbers: [37, 45]
Generated Node #0,1,2: 33:[37, 45] Operation: 75-30=45
Moving to Node #0,0
Current State: 33:[30, 93, 19], Operations: ['75-56=19']
Exploring Operation: 30-19=11, Resulting Numbers: [93, 11]
Generated Node #0,0,0: 33:[93, 11] Operation: 30-19=11
Exploring Operation: 93-19=74, Resulting Numbers: [30, 74]
Generated Node #0,0,1: 33:[30, 74] Operation: 93-19=74
Exploring Operation: 93-30=63, Resulting Numbers: [19, 63]
Generated Node #0,0,2: 33:[19, 63] Operation: 93-30=63
Moving to Node #0,2,1
Current State: 33:[30, 38], Operations: ['93-75=18', '56-18=38']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[30, 38], Operations: ['93-56=37', '75-37=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[18, 26], Operations: ['93-75=18', '56-30=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,33 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[37, 45], Operations: ['93-56=37', '75-30=45']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[56, 12], Operations: ['93-75=18', '30-18=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[19, 63], Operations: ['75-56=19', '93-30=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[30, 74], Operations: ['75-56=19', '93-19=74']
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,33 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[75, 7], Operations: ['93-56=37', '37-30=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[93, 11], Operations: ['75-56=19', '30-19=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,33 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,33 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,33 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
14,
85,
15,
17
] | 85
|
[
"14*85=1190",
"1190/17=70",
"15+70=85"
] |
Current State: 85:[14, 85, 15, 17], Operations: []
Exploring Operation: 14*85=1190, Resulting Numbers: [15, 17, 1190]
Generated Node #2: [15, 17, 1190] from Operation: 14*85=1190
Current State: 85:[15, 17, 1190], Operations: ['14*85=1190']
Exploring Operation: 1190/17=70, Resulting Numbers: [15, 70]
Generated Node #3: [15, 70] from Operation: 1190/17=70
Current State: 85:[15, 70], Operations: ['14*85=1190', '1190/17=70']
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[14, 85, 15, 17], Operations: []
Exploring Operation: 15-14=1, Resulting Numbers: [85, 17, 1]
Generated Node #0,0: 85:[85, 17, 1] Operation: 15-14=1
Moving to Node #0,0
Current State: 85:[85, 17, 1], Operations: ['15-14=1']
Exploring Operation: 85*1=85, Resulting Numbers: [17, 85]
Generated Node #0,0,0: 85:[17, 85] Operation: 85*1=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[17, 85], Operations: ['15-14=1', '85*1=85']
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
32,
23,
15,
16
] | 64
|
[
"32*16=512",
"23-15=8",
"512/8=64"
] |
Current State: 64:[32, 23, 15, 16], Operations: []
Exploring Operation: 32*16=512, Resulting Numbers: [23, 15, 512]
Generated Node #2: [23, 15, 512] from Operation: 32*16=512
Current State: 64:[23, 15, 512], Operations: ['32*16=512']
Exploring Operation: 23-15=8, Resulting Numbers: [512, 8]
Generated Node #3: [512, 8] from Operation: 23-15=8
Current State: 64:[512, 8], Operations: ['32*16=512', '23-15=8']
Exploring Operation: 512/8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[32, 23, 15, 16], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [32, 16, 8]
Generated Node #0,0: 64:[32, 16, 8] Operation: 23-15=8
Exploring Operation: 32-23=9, Resulting Numbers: [15, 16, 9]
Generated Node #0,1: 64:[15, 16, 9] Operation: 32-23=9
Exploring Operation: 23-16=7, Resulting Numbers: [32, 15, 7]
Generated Node #0,2: 64:[32, 15, 7] Operation: 23-16=7
Moving to Node #0,0
Current State: 64:[32, 16, 8], Operations: ['23-15=8']
Exploring Operation: 32-16=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 64:[8, 16] Operation: 32-16=16
Exploring Operation: 32/8=4, Resulting Numbers: [16, 4]
Generated Node #0,0,1: 64:[16, 4] Operation: 32/8=4
Exploring Operation: 32/16=2, Resulting Numbers: [8, 2]
Generated Node #0,0,2: 64:[8, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[8, 16], Operations: ['23-15=8', '32-16=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[16, 4], Operations: ['23-15=8', '32/8=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[32, 23, 15, 16], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [32, 16, 8]
Generated Node #0,0: 64:[32, 16, 8] Operation: 23-15=8
Moving to Node #0,0
Current State: 64:[32, 16, 8], Operations: ['23-15=8']
Exploring Operation: 32/8=4, Resulting Numbers: [16, 4]
Generated Node #0,0,1: 64:[16, 4] Operation: 32/8=4
Moving to Node #0,0,1
Current State: 64:[16, 4], Operations: ['23-15=8', '32/8=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_3
|
sum_heuristic
|
[
43,
66,
88,
51
] | 11
|
[
"88-43=45",
"51-45=6",
"66/6=11"
] |
Current State: 11:[43, 66, 88, 51], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [66, 51, 45]
Generated Node #2: [66, 51, 45] from Operation: 88-43=45
Current State: 11:[66, 51, 45], Operations: ['88-43=45']
Exploring Operation: 51-45=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 51-45=6
Current State: 11:[66, 6], Operations: ['88-43=45', '51-45=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[43, 66, 88, 51], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [43, 51, 22]
Generated Node #0,0: 11:[43, 51, 22] Operation: 88-66=22
Exploring Operation: 66-51=15, Resulting Numbers: [43, 88, 15]
Generated Node #0,1: 11:[43, 88, 15] Operation: 66-51=15
Moving to Node #0,0
Current State: 11:[43, 51, 22], Operations: ['88-66=22']
Exploring Operation: 51-43=8, Resulting Numbers: [22, 8]
Generated Node #0,0,0: 11:[22, 8] Operation: 51-43=8
Exploring Operation: 43-22=21, Resulting Numbers: [51, 21]
Generated Node #0,0,1: 11:[51, 21] Operation: 43-22=21
Moving to Node #0,1
Current State: 11:[43, 88, 15], Operations: ['66-51=15']
Exploring Operation: 43-15=28, Resulting Numbers: [88, 28]
Generated Node #0,1,0: 11:[88, 28] Operation: 43-15=28
Exploring Operation: 88-43=45, Resulting Numbers: [15, 45]
Generated Node #0,1,1: 11:[15, 45] Operation: 88-43=45
Moving to Node #0,0,0
Current State: 11:[22, 8], Operations: ['88-66=22', '51-43=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[15, 45], Operations: ['66-51=15', '88-43=45']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[51, 21], Operations: ['88-66=22', '43-22=21']
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[88, 28], Operations: ['66-51=15', '43-15=28']
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,11 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
4,
73,
15,
45
] | 85
|
[
"4*45=180",
"180/15=12",
"73+12=85"
] |
Current State: 85:[4, 73, 15, 45], Operations: []
Exploring Operation: 4*45=180, Resulting Numbers: [73, 15, 180]
Generated Node #2: [73, 15, 180] from Operation: 4*45=180
Current State: 85:[73, 15, 180], Operations: ['4*45=180']
Exploring Operation: 180/15=12, Resulting Numbers: [73, 12]
Generated Node #3: [73, 12] from Operation: 180/15=12
Current State: 85:[73, 12], Operations: ['4*45=180', '180/15=12']
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[4, 73, 15, 45], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [4, 73, 3]
Generated Node #0,0: 85:[4, 73, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [4, 73, 30]
Generated Node #0,1: 85:[4, 73, 30] Operation: 45-15=30
Exploring Operation: 73-45=28, Resulting Numbers: [4, 15, 28]
Generated Node #0,2: 85:[4, 15, 28] Operation: 73-45=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[4, 15, 28], Operations: ['73-45=28']
Exploring Operation: 28/4=7, Resulting Numbers: [15, 7]
Generated Node #0,2,0: 85:[15, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [15, 24]
Generated Node #0,2,1: 85:[15, 24] Operation: 28-4=24
Exploring Operation: 28-15=13, Resulting Numbers: [4, 13]
Generated Node #0,2,2: 85:[4, 13] Operation: 28-15=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[15, 7], Operations: ['73-45=28', '28/4=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[4, 13], Operations: ['73-45=28', '28-15=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[15, 24], Operations: ['73-45=28', '28-4=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,85 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[4, 73, 3], Operations: ['45/15=3']
Exploring Operation: 4+73=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 85:[3, 77] Operation: 4+73=77
Exploring Operation: 4+3=7, Resulting Numbers: [73, 7]
Generated Node #0,0,1: 85:[73, 7] Operation: 4+3=7
Exploring Operation: 73+3=76, Resulting Numbers: [4, 76]
Generated Node #0,0,2: 85:[4, 76] Operation: 73+3=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[3, 77], Operations: ['45/15=3', '4+73=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[4, 76], Operations: ['45/15=3', '73+3=76']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[73, 7], Operations: ['45/15=3', '4+3=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[4, 73, 30], Operations: ['45-15=30']
Exploring Operation: 73+30=103, Resulting Numbers: [4, 103]
Generated Node #0,1,0: 85:[4, 103] Operation: 73+30=103
Exploring Operation: 4+73=77, Resulting Numbers: [30, 77]
Generated Node #0,1,1: 85:[30, 77] Operation: 4+73=77
Exploring Operation: 30-4=26, Resulting Numbers: [73, 26]
Generated Node #0,1,2: 85:[73, 26] Operation: 30-4=26
Moving to Node #0,1,0
Current State: 85:[4, 103], Operations: ['45-15=30', '73+30=103']
Exploring Operation: 4+103=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,85 unequal: No Solution
Exploring Operation: 4*103=412, Resulting Numbers: [412]
412,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[30, 77], Operations: ['45-15=30', '4+73=77']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[73, 26], Operations: ['45-15=30', '30-4=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,85 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
12,
7,
83,
49
] | 48
|
[
"12*7=84",
"83+49=132",
"132-84=48"
] |
Current State: 48:[12, 7, 83, 49], Operations: []
Exploring Operation: 12*7=84, Resulting Numbers: [83, 49, 84]
Generated Node #2: [83, 49, 84] from Operation: 12*7=84
Current State: 48:[83, 49, 84], Operations: ['12*7=84']
Exploring Operation: 83+49=132, Resulting Numbers: [84, 132]
Generated Node #3: [84, 132] from Operation: 83+49=132
Current State: 48:[84, 132], Operations: ['12*7=84', '83+49=132']
Exploring Operation: 132-84=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4
|
Current State: 48:[12, 7, 83, 49], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [12, 7, 34]
Generated Node #0,0: 48:[12, 7, 34] Operation: 83-49=34
Exploring Operation: 83-7=76, Resulting Numbers: [12, 49, 76]
Generated Node #0,1: 48:[12, 49, 76] Operation: 83-7=76
Exploring Operation: 49/7=7, Resulting Numbers: [12, 83, 7]
Generated Node #0,2: 48:[12, 83, 7] Operation: 49/7=7
Exploring Operation: 83-12=71, Resulting Numbers: [7, 49, 71]
Generated Node #0,3: 48:[7, 49, 71] Operation: 83-12=71
Moving to Node #0,0
Current State: 48:[12, 7, 34], Operations: ['83-49=34']
Exploring Operation: 34-12=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 48:[7, 22] Operation: 34-12=22
Exploring Operation: 12+34=46, Resulting Numbers: [7, 46]
Generated Node #0,0,1: 48:[7, 46] Operation: 12+34=46
Exploring Operation: 7+34=41, Resulting Numbers: [12, 41]
Generated Node #0,0,2: 48:[12, 41] Operation: 7+34=41
Exploring Operation: 34-7=27, Resulting Numbers: [12, 27]
Generated Node #0,0,3: 48:[12, 27] Operation: 34-7=27
Moving to Node #0,3
Current State: 48:[7, 49, 71], Operations: ['83-12=71']
Exploring Operation: 49-7=42, Resulting Numbers: [71, 42]
Generated Node #0,3,0: 48:[71, 42] Operation: 49-7=42
Exploring Operation: 71-49=22, Resulting Numbers: [7, 22]
Generated Node #0,3,1: 48:[7, 22] Operation: 71-49=22
Exploring Operation: 71-7=64, Resulting Numbers: [49, 64]
Generated Node #0,3,2: 48:[49, 64] Operation: 71-7=64
Exploring Operation: 49/7=7, Resulting Numbers: [71, 7]
Generated Node #0,3,3: 48:[71, 7] Operation: 49/7=7
Moving to Node #0,1
Current State: 48:[12, 49, 76], Operations: ['83-7=76']
Exploring Operation: 76-12=64, Resulting Numbers: [49, 64]
Generated Node #0,1,0: 48:[49, 64] Operation: 76-12=64
Exploring Operation: 12+49=61, Resulting Numbers: [76, 61]
Generated Node #0,1,1: 48:[76, 61] Operation: 12+49=61
Exploring Operation: 76-49=27, Resulting Numbers: [12, 27]
Generated Node #0,1,2: 48:[12, 27] Operation: 76-49=27
Exploring Operation: 49-12=37, Resulting Numbers: [76, 37]
Generated Node #0,1,3: 48:[76, 37] Operation: 49-12=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[12, 27], Operations: ['83-7=76', '76-49=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[49, 64], Operations: ['83-7=76', '76-12=64']
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,48 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[76, 37], Operations: ['83-7=76', '49-12=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,48 unequal: No Solution
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[76, 61], Operations: ['83-7=76', '12+49=61']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 48:[12, 83, 7], Operations: ['49/7=7']
Exploring Operation: 83-7=76, Resulting Numbers: [12, 76]
Generated Node #0,2,0: 48:[12, 76] Operation: 83-7=76
Exploring Operation: 12-7=5, Resulting Numbers: [83, 5]
Generated Node #0,2,1: 48:[83, 5] Operation: 12-7=5
Exploring Operation: 83-12=71, Resulting Numbers: [7, 71]
Generated Node #0,2,2: 48:[7, 71] Operation: 83-12=71
Exploring Operation: 12+7=19, Resulting Numbers: [83, 19]
Generated Node #0,2,3: 48:[83, 19] Operation: 12+7=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[7, 71], Operations: ['49/7=7', '83-12=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,48 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[12, 76], Operations: ['49/7=7', '83-7=76']
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[83, 5], Operations: ['49/7=7', '12-7=5']
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,48 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[83, 19], Operations: ['49/7=7', '12+7=19']
Exploring Operation: 83*19=1577, Resulting Numbers: [1577]
1577,48 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 83+19=102, Resulting Numbers: [102]
102,48 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: 48:[7, 22], Operations: ['83-49=34', '34-12=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[12, 27], Operations: ['83-49=34', '34-7=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,48 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[7, 46], Operations: ['83-49=34', '12+34=46']
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,48 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[7, 22], Operations: ['83-12=71', '71-49=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[12, 41], Operations: ['83-49=34', '7+34=41']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,48 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[49, 64], Operations: ['83-12=71', '71-7=64']
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[71, 7], Operations: ['83-12=71', '49/7=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,48 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[71, 42], Operations: ['83-12=71', '49-7=42']
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,48 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
35,
54,
85,
11
] | 77
|
[
"54-35=19",
"85+11=96",
"96-19=77"
] |
Current State: 77:[35, 54, 85, 11], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [85, 11, 19]
Generated Node #2: [85, 11, 19] from Operation: 54-35=19
Current State: 77:[85, 11, 19], Operations: ['54-35=19']
Exploring Operation: 85+11=96, Resulting Numbers: [19, 96]
Generated Node #3: [19, 96] from Operation: 85+11=96
Current State: 77:[19, 96], Operations: ['54-35=19', '85+11=96']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[35, 54, 85, 11], Operations: []
Exploring Operation: 35-11=24, Resulting Numbers: [54, 85, 24]
Generated Node #0,0: 77:[54, 85, 24] Operation: 35-11=24
Exploring Operation: 35+54=89, Resulting Numbers: [85, 11, 89]
Generated Node #0,1: 77:[85, 11, 89] Operation: 35+54=89
Exploring Operation: 85-54=31, Resulting Numbers: [35, 11, 31]
Generated Node #0,2: 77:[35, 11, 31] Operation: 85-54=31
Exploring Operation: 54-35=19, Resulting Numbers: [85, 11, 19]
Generated Node #0,3: 77:[85, 11, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[85, 11, 19], Operations: ['54-35=19']
Exploring Operation: 85-11=74, Resulting Numbers: [19, 74]
Generated Node #0,3,0: 77:[19, 74] Operation: 85-11=74
Exploring Operation: 85-19=66, Resulting Numbers: [11, 66]
Generated Node #0,3,1: 77:[11, 66] Operation: 85-19=66
Exploring Operation: 19-11=8, Resulting Numbers: [85, 8]
Generated Node #0,3,2: 77:[85, 8] Operation: 19-11=8
Exploring Operation: 85+11=96, Resulting Numbers: [19, 96]
Generated Node #0,3,3: 77:[19, 96] Operation: 85+11=96
Moving to Node #0,3,2
Current State: 77:[85, 8], Operations: ['54-35=19', '19-11=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[35, 54, 85, 11], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [85, 11, 19]
Generated Node #0,3: 77:[85, 11, 19] Operation: 54-35=19
Moving to Node #0,3
Current State: 77:[85, 11, 19], Operations: ['54-35=19']
Exploring Operation: 19-11=8, Resulting Numbers: [85, 8]
Generated Node #0,3,2: 77:[85, 8] Operation: 19-11=8
Moving to Node #0,3,2
Current State: 77:[85, 8], Operations: ['54-35=19', '19-11=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
mult_heuristic
|
[
76,
36,
6,
12
] | 13
|
[
"76*6=456",
"12+456=468",
"468/36=13"
] |
Current State: 13:[76, 36, 6, 12], Operations: []
Exploring Operation: 76*6=456, Resulting Numbers: [36, 12, 456]
Generated Node #2: [36, 12, 456] from Operation: 76*6=456
Current State: 13:[36, 12, 456], Operations: ['76*6=456']
Exploring Operation: 12+456=468, Resulting Numbers: [36, 468]
Generated Node #3: [36, 468] from Operation: 12+456=468
Current State: 13:[36, 468], Operations: ['76*6=456', '12+456=468']
Exploring Operation: 468/36=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[76, 36, 6, 12], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [76, 6, 3]
Generated Node #0,0: 13:[76, 6, 3] Operation: 36/12=3
Exploring Operation: 76-6=70, Resulting Numbers: [36, 12, 70]
Generated Node #0,1: 13:[36, 12, 70] Operation: 76-6=70
Exploring Operation: 76-12=64, Resulting Numbers: [36, 6, 64]
Generated Node #0,2: 13:[36, 6, 64] Operation: 76-12=64
Exploring Operation: 36/6=6, Resulting Numbers: [76, 12, 6]
Generated Node #0,3: 13:[76, 12, 6] Operation: 36/6=6
Exploring Operation: 76-36=40, Resulting Numbers: [6, 12, 40]
Generated Node #0,4: 13:[6, 12, 40] Operation: 76-36=40
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[6, 12, 40], Operations: ['76-36=40']
Exploring Operation: 40-6=34, Resulting Numbers: [12, 34]
Generated Node #0,4,0: 13:[12, 34] Operation: 40-6=34
Exploring Operation: 40-12=28, Resulting Numbers: [6, 28]
Generated Node #0,4,1: 13:[6, 28] Operation: 40-12=28
Exploring Operation: 6+12=18, Resulting Numbers: [40, 18]
Generated Node #0,4,2: 13:[40, 18] Operation: 6+12=18
Exploring Operation: 12-6=6, Resulting Numbers: [40, 6]
Generated Node #0,4,3: 13:[40, 6] Operation: 12-6=6
Exploring Operation: 6+40=46, Resulting Numbers: [12, 46]
Generated Node #0,4,4: 13:[12, 46] Operation: 6+40=46
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 13:[12, 34], Operations: ['76-36=40', '40-6=34']
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,13 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[6, 28], Operations: ['76-36=40', '40-12=28']
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 13:[40, 18], Operations: ['76-36=40', '6+12=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 13:[40, 6], Operations: ['76-36=40', '12-6=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 13:[12, 46], Operations: ['76-36=40', '6+40=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,13 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[76, 12, 6], Operations: ['36/6=6']
Exploring Operation: 76-6=70, Resulting Numbers: [12, 70]
Generated Node #0,3,0: 13:[12, 70] Operation: 76-6=70
Exploring Operation: 76+6=82, Resulting Numbers: [12, 82]
Generated Node #0,3,1: 13:[12, 82] Operation: 76+6=82
Exploring Operation: 76-12=64, Resulting Numbers: [6, 64]
Generated Node #0,3,2: 13:[6, 64] Operation: 76-12=64
Exploring Operation: 12-6=6, Resulting Numbers: [76, 6]
Generated Node #0,3,3: 13:[76, 6] Operation: 12-6=6
Exploring Operation: 12+6=18, Resulting Numbers: [76, 18]
Generated Node #0,3,4: 13:[76, 18] Operation: 12+6=18
Moving to Node #0,3,0
Current State: 13:[12, 70], Operations: ['36/6=6', '76-6=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,13 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[6, 64], Operations: ['36/6=6', '76-12=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[76, 18], Operations: ['36/6=6', '12+6=18']
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,13 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[12, 82], Operations: ['36/6=6', '76+6=82']
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,13 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[76, 6], Operations: ['36/6=6', '12-6=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,13 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[76, 6, 3], Operations: ['36/12=3']
Exploring Operation: 76-6=70, Resulting Numbers: [3, 70]
Generated Node #0,0,0: 13:[3, 70] Operation: 76-6=70
Exploring Operation: 76+3=79, Resulting Numbers: [6, 79]
Generated Node #0,0,1: 13:[6, 79] Operation: 76+3=79
Exploring Operation: 6+3=9, Resulting Numbers: [76, 9]
Generated Node #0,0,2: 13:[76, 9] Operation: 6+3=9
Exploring Operation: 76-3=73, Resulting Numbers: [6, 73]
Generated Node #0,0,3: 13:[6, 73] Operation: 76-3=73
Exploring Operation: 6*3=18, Resulting Numbers: [76, 18]
Generated Node #0,0,4: 13:[76, 18] Operation: 6*3=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[3, 70], Operations: ['36/12=3', '76-6=70']
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,13 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[76, 9], Operations: ['36/12=3', '6+3=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,13 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[6, 73], Operations: ['36/12=3', '76-3=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 13:[76, 18], Operations: ['36/12=3', '6*3=18']
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[6, 79], Operations: ['36/12=3', '76+3=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,13 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[36, 12, 70], Operations: ['76-6=70']
Exploring Operation: 36/12=3, Resulting Numbers: [70, 3]
Generated Node #0,1,0: 13:[70, 3] Operation: 36/12=3
Exploring Operation: 36+12=48, Resulting Numbers: [70, 48]
Generated Node #0,1,1: 13:[70, 48] Operation: 36+12=48
Exploring Operation: 36-12=24, Resulting Numbers: [70, 24]
Generated Node #0,1,2: 13:[70, 24] Operation: 36-12=24
Exploring Operation: 70-36=34, Resulting Numbers: [12, 34]
Generated Node #0,1,3: 13:[12, 34] Operation: 70-36=34
Exploring Operation: 70-12=58, Resulting Numbers: [36, 58]
Generated Node #0,1,4: 13:[36, 58] Operation: 70-12=58
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[12, 34], Operations: ['76-6=70', '70-36=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,13 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[70, 3], Operations: ['76-6=70', '36/12=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,13 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[70, 24], Operations: ['76-6=70', '36-12=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,13 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 13:[36, 58], Operations: ['76-6=70', '70-12=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,13 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[70, 48], Operations: ['76-6=70', '36+12=48']
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,13 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[36, 6, 64], Operations: ['76-12=64']
Exploring Operation: 36/6=6, Resulting Numbers: [64, 6]
Generated Node #0,2,0: 13:[64, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [64, 30]
Generated Node #0,2,1: 13:[64, 30] Operation: 36-6=30
Exploring Operation: 64-36=28, Resulting Numbers: [6, 28]
Generated Node #0,2,2: 13:[6, 28] Operation: 64-36=28
Exploring Operation: 64-6=58, Resulting Numbers: [36, 58]
Generated Node #0,2,3: 13:[36, 58] Operation: 64-6=58
Exploring Operation: 36+6=42, Resulting Numbers: [64, 42]
Generated Node #0,2,4: 13:[64, 42] Operation: 36+6=42
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[6, 28], Operations: ['76-12=64', '64-36=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[64, 6], Operations: ['76-12=64', '36/6=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[64, 30], Operations: ['76-12=64', '36-6=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,13 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[36, 58], Operations: ['76-12=64', '64-6=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[64, 42], Operations: ['76-12=64', '36+6=42']
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
65,
19,
81,
65
] | 19
|
[
"65-65=0",
"81*0=0",
"19+0=19"
] |
Current State: 19:[65, 19, 81, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [19, 81, 0]
Generated Node #2: [19, 81, 0] from Operation: 65-65=0
Current State: 19:[19, 81, 0], Operations: ['65-65=0']
Exploring Operation: 81*0=0, Resulting Numbers: [19, 0]
Generated Node #3: [19, 0] from Operation: 81*0=0
Current State: 19:[19, 0], Operations: ['65-65=0', '81*0=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[65, 19, 81, 65], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [19, 65, 16]
Generated Node #0,0: 19:[19, 65, 16] Operation: 81-65=16
Exploring Operation: 81-65=16, Resulting Numbers: [65, 19, 16]
Generated Node #0,1: 19:[65, 19, 16] Operation: 81-65=16
Exploring Operation: 65/65=1, Resulting Numbers: [19, 81, 1]
Generated Node #0,2: 19:[19, 81, 1] Operation: 65/65=1
Moving to Node #0,0
Current State: 19:[19, 65, 16], Operations: ['81-65=16']
Exploring Operation: 19+16=35, Resulting Numbers: [65, 35]
Generated Node #0,0,0: 19:[65, 35] Operation: 19+16=35
Exploring Operation: 65-16=49, Resulting Numbers: [19, 49]
Generated Node #0,0,1: 19:[19, 49] Operation: 65-16=49
Exploring Operation: 65-19=46, Resulting Numbers: [16, 46]
Generated Node #0,0,2: 19:[16, 46] Operation: 65-19=46
Moving to Node #0,1
Current State: 19:[65, 19, 16], Operations: ['81-65=16']
Exploring Operation: 65+16=81, Resulting Numbers: [19, 81]
Generated Node #0,1,0: 19:[19, 81] Operation: 65+16=81
Exploring Operation: 65-19=46, Resulting Numbers: [16, 46]
Generated Node #0,1,1: 19:[16, 46] Operation: 65-19=46
Exploring Operation: 65-16=49, Resulting Numbers: [19, 49]
Generated Node #0,1,2: 19:[19, 49] Operation: 65-16=49
Moving to Node #0,2
Current State: 19:[19, 81, 1], Operations: ['65/65=1']
Exploring Operation: 19*1=19, Resulting Numbers: [81, 19]
Generated Node #0,2,0: 19:[81, 19] Operation: 19*1=19
Exploring Operation: 81-1=80, Resulting Numbers: [19, 80]
Generated Node #0,2,1: 19:[19, 80] Operation: 81-1=80
Exploring Operation: 81-19=62, Resulting Numbers: [1, 62]
Generated Node #0,2,2: 19:[1, 62] Operation: 81-19=62
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[19, 80], Operations: ['65/65=1', '81-1=80']
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 19*80=1520, Resulting Numbers: [1520]
1520,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[1, 62], Operations: ['65/65=1', '81-19=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,19 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[81, 19], Operations: ['65/65=1', '19*1=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,19 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 19:[19, 49], Operations: ['81-65=16', '65-16=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,19 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[16, 46], Operations: ['81-65=16', '65-19=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,19 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,19 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[19, 49], Operations: ['81-65=16', '65-16=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,19 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[16, 46], Operations: ['81-65=16', '65-19=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,19 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,19 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[19, 81], Operations: ['81-65=16', '65+16=81']
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,19 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,19 unequal: No Solution
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[65, 35], Operations: ['81-65=16', '19+16=35']
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,19 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,19 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
17,
35,
97,
19
] | 27
|
[
"19-17=2",
"35*2=70",
"97-70=27"
] |
Current State: 27:[17, 35, 97, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [35, 97, 2]
Generated Node #2: [35, 97, 2] from Operation: 19-17=2
Current State: 27:[35, 97, 2], Operations: ['19-17=2']
Exploring Operation: 35*2=70, Resulting Numbers: [97, 70]
Generated Node #3: [97, 70] from Operation: 35*2=70
Current State: 27:[97, 70], Operations: ['19-17=2', '35*2=70']
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[17, 35, 97, 19], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [17, 35, 78]
Generated Node #0,0: 27:[17, 35, 78] Operation: 97-19=78
Exploring Operation: 97-35=62, Resulting Numbers: [17, 19, 62]
Generated Node #0,1: 27:[17, 19, 62] Operation: 97-35=62
Exploring Operation: 97-17=80, Resulting Numbers: [35, 19, 80]
Generated Node #0,2: 27:[35, 19, 80] Operation: 97-17=80
Exploring Operation: 19-17=2, Resulting Numbers: [35, 97, 2]
Generated Node #0,3: 27:[35, 97, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[17, 19, 62], Operations: ['97-35=62']
Exploring Operation: 17+19=36, Resulting Numbers: [62, 36]
Generated Node #0,1,0: 27:[62, 36] Operation: 17+19=36
Exploring Operation: 62-19=43, Resulting Numbers: [17, 43]
Generated Node #0,1,1: 27:[17, 43] Operation: 62-19=43
Exploring Operation: 62-17=45, Resulting Numbers: [19, 45]
Generated Node #0,1,2: 27:[19, 45] Operation: 62-17=45
Exploring Operation: 19-17=2, Resulting Numbers: [62, 2]
Generated Node #0,1,3: 27:[62, 2] Operation: 19-17=2
Moving to Node #0,1,1
Current State: 27:[17, 43], Operations: ['97-35=62', '62-19=43']
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,27 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[19, 45], Operations: ['97-35=62', '62-17=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,27 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[62, 2], Operations: ['97-35=62', '19-17=2']
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,27 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[62, 36], Operations: ['97-35=62', '17+19=36']
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,27 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,27 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,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,0
Current State: 27:[17, 35, 78], Operations: ['97-19=78']
Exploring Operation: 35-17=18, Resulting Numbers: [78, 18]
Generated Node #0,0,0: 27:[78, 18] Operation: 35-17=18
Exploring Operation: 17+35=52, Resulting Numbers: [78, 52]
Generated Node #0,0,1: 27:[78, 52] Operation: 17+35=52
Exploring Operation: 78-17=61, Resulting Numbers: [35, 61]
Generated Node #0,0,2: 27:[35, 61] Operation: 78-17=61
Exploring Operation: 78-35=43, Resulting Numbers: [17, 43]
Generated Node #0,0,3: 27:[17, 43] Operation: 78-35=43
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[17, 43], Operations: ['97-19=78', '78-35=43']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,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:[35, 61], Operations: ['97-19=78', '78-17=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,27 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,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:[78, 18], Operations: ['97-19=78', '35-17=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,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,1
Current State: 27:[78, 52], Operations: ['97-19=78', '17+35=52']
Exploring Operation: 78*52=4056, Resulting Numbers: [4056]
4056,27 unequal: No Solution
Exploring Operation: 78+52=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,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,2
Current State: 27:[35, 19, 80], Operations: ['97-17=80']
Exploring Operation: 80-35=45, Resulting Numbers: [19, 45]
Generated Node #0,2,0: 27:[19, 45] Operation: 80-35=45
Exploring Operation: 35-19=16, Resulting Numbers: [80, 16]
Generated Node #0,2,1: 27:[80, 16] Operation: 35-19=16
Exploring Operation: 80-19=61, Resulting Numbers: [35, 61]
Generated Node #0,2,2: 27:[35, 61] Operation: 80-19=61
Exploring Operation: 35+19=54, Resulting Numbers: [80, 54]
Generated Node #0,2,3: 27:[80, 54] Operation: 35+19=54
Moving to Node #0,2,0
Current State: 27:[19, 45], Operations: ['97-17=80', '80-35=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,27 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[35, 61], Operations: ['97-17=80', '80-19=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[80, 16], Operations: ['97-17=80', '35-19=16']
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[80, 54], Operations: ['97-17=80', '35+19=54']
Exploring Operation: 80*54=4320, Resulting Numbers: [4320]
4320,27 unequal: No Solution
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 80+54=134, Resulting Numbers: [134]
134,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
Current State: 27:[35, 97, 2], Operations: ['19-17=2']
Exploring Operation: 97-35=62, Resulting Numbers: [2, 62]
Generated Node #0,3,0: 27:[2, 62] Operation: 97-35=62
Exploring Operation: 35+2=37, Resulting Numbers: [97, 37]
Generated Node #0,3,1: 27:[97, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [97, 33]
Generated Node #0,3,2: 27:[97, 33] Operation: 35-2=33
Exploring Operation: 97-2=95, Resulting Numbers: [35, 95]
Generated Node #0,3,3: 27:[35, 95] Operation: 97-2=95
Moving to Node #0,3,0
Current State: 27:[2, 62], Operations: ['19-17=2', '97-35=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,27 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[35, 95], Operations: ['19-17=2', '97-2=95']
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[97, 33], Operations: ['19-17=2', '35-2=33']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 97*33=3201, Resulting Numbers: [3201]
3201,27 unequal: No Solution
Exploring Operation: 97+33=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[97, 37], Operations: ['19-17=2', '35+2=37']
Exploring Operation: 97*37=3589, Resulting Numbers: [3589]
3589,27 unequal: No Solution
Exploring Operation: 97+37=134, Resulting Numbers: [134]
134,27 unequal: No Solution
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
57,
50,
3,
5
] | 14
|
[
"57-50=7",
"5-3=2",
"7*2=14"
] |
Current State: 14:[57, 50, 3, 5], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [3, 5, 7]
Generated Node #2: [3, 5, 7] from Operation: 57-50=7
Current State: 14:[3, 5, 7], Operations: ['57-50=7']
Exploring Operation: 5-3=2, Resulting Numbers: [7, 2]
Generated Node #3: [7, 2] from Operation: 5-3=2
Current State: 14:[7, 2], Operations: ['57-50=7', '5-3=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[57, 50, 3, 5], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [3, 5, 7]
Generated Node #0,0: 14:[3, 5, 7] Operation: 57-50=7
Exploring Operation: 57/3=19, Resulting Numbers: [50, 5, 19]
Generated Node #0,1: 14:[50, 5, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[3, 5, 7], Operations: ['57-50=7']
Exploring Operation: 5-3=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 14:[7, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [7, 8]
Generated Node #0,0,1: 14:[7, 8] Operation: 3+5=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[7, 2], Operations: ['57-50=7', '5-3=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[57, 50, 3, 5], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [3, 5, 7]
Generated Node #0,0: 14:[3, 5, 7] Operation: 57-50=7
Moving to Node #0,0
Current State: 14:[3, 5, 7], Operations: ['57-50=7']
Exploring Operation: 5-3=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 14:[7, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 14:[7, 2], Operations: ['57-50=7', '5-3=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
27,
25,
95,
10
] | 77
|
[
"27*25=675",
"95+675=770",
"770/10=77"
] |
Current State: 77:[27, 25, 95, 10], Operations: []
Exploring Operation: 27*25=675, Resulting Numbers: [95, 10, 675]
Generated Node #2: [95, 10, 675] from Operation: 27*25=675
Current State: 77:[95, 10, 675], Operations: ['27*25=675']
Exploring Operation: 95+675=770, Resulting Numbers: [10, 770]
Generated Node #3: [10, 770] from Operation: 95+675=770
Current State: 77:[10, 770], Operations: ['27*25=675', '95+675=770']
Exploring Operation: 770/10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[27, 25, 95, 10], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [25, 95, 17]
Generated Node #0,0: 77:[25, 95, 17] Operation: 27-10=17
Exploring Operation: 27-25=2, Resulting Numbers: [95, 10, 2]
Generated Node #0,1: 77:[95, 10, 2] Operation: 27-25=2
Exploring Operation: 95-25=70, Resulting Numbers: [27, 10, 70]
Generated Node #0,2: 77:[27, 10, 70] Operation: 95-25=70
Exploring Operation: 95-27=68, Resulting Numbers: [25, 10, 68]
Generated Node #0,3: 77:[25, 10, 68] Operation: 95-27=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[95, 10, 2], Operations: ['27-25=2']
Exploring Operation: 10-2=8, Resulting Numbers: [95, 8]
Generated Node #0,1,0: 77:[95, 8] Operation: 10-2=8
Exploring Operation: 10+2=12, Resulting Numbers: [95, 12]
Generated Node #0,1,1: 77:[95, 12] Operation: 10+2=12
Exploring Operation: 95-2=93, Resulting Numbers: [10, 93]
Generated Node #0,1,2: 77:[10, 93] Operation: 95-2=93
Exploring Operation: 95-10=85, Resulting Numbers: [2, 85]
Generated Node #0,1,3: 77:[2, 85] Operation: 95-10=85
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[2, 85], Operations: ['27-25=2', '95-10=85']
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,77 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[10, 93], Operations: ['27-25=2', '95-2=93']
Exploring Operation: 10+93=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Exploring Operation: 10*93=930, Resulting Numbers: [930]
930,77 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[95, 8], Operations: ['27-25=2', '10-2=8']
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,77 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[95, 12], Operations: ['27-25=2', '10+2=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[27, 10, 70], Operations: ['95-25=70']
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #0,2,0: 77:[27, 7] Operation: 70/10=7
Exploring Operation: 10+70=80, Resulting Numbers: [27, 80]
Generated Node #0,2,1: 77:[27, 80] Operation: 10+70=80
Exploring Operation: 27-10=17, Resulting Numbers: [70, 17]
Generated Node #0,2,2: 77:[70, 17] Operation: 27-10=17
Exploring Operation: 27+70=97, Resulting Numbers: [10, 97]
Generated Node #0,2,3: 77:[10, 97] Operation: 27+70=97
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[70, 17], Operations: ['95-25=70', '27-10=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[27, 7], Operations: ['95-25=70', '70/10=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[27, 80], Operations: ['95-25=70', '10+70=80']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 27+80=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Exploring Operation: 27*80=2160, Resulting Numbers: [2160]
2160,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[10, 97], Operations: ['95-25=70', '27+70=97']
Exploring Operation: 10+97=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Exploring Operation: 10*97=970, Resulting Numbers: [970]
970,77 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[25, 10, 68], Operations: ['95-27=68']
Exploring Operation: 25+68=93, Resulting Numbers: [10, 93]
Generated Node #0,3,0: 77:[10, 93] Operation: 25+68=93
Exploring Operation: 25+10=35, Resulting Numbers: [68, 35]
Generated Node #0,3,1: 77:[68, 35] Operation: 25+10=35
Exploring Operation: 10+68=78, Resulting Numbers: [25, 78]
Generated Node #0,3,2: 77:[25, 78] Operation: 10+68=78
Exploring Operation: 25-10=15, Resulting Numbers: [68, 15]
Generated Node #0,3,3: 77:[68, 15] Operation: 25-10=15
Moving to Node #0,3,3
Current State: 77:[68, 15], Operations: ['95-27=68', '25-10=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,77 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[25, 78], Operations: ['95-27=68', '10+68=78']
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,77 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[10, 93], Operations: ['95-27=68', '25+68=93']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 10+93=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Exploring Operation: 10*93=930, Resulting Numbers: [930]
930,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[68, 35], Operations: ['95-27=68', '25+10=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,77 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,77 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[25, 95, 17], Operations: ['27-10=17']
Exploring Operation: 25-17=8, Resulting Numbers: [95, 8]
Generated Node #0,0,0: 77:[95, 8] Operation: 25-17=8
Exploring Operation: 95-17=78, Resulting Numbers: [25, 78]
Generated Node #0,0,1: 77:[25, 78] Operation: 95-17=78
Exploring Operation: 25+95=120, Resulting Numbers: [17, 120]
Generated Node #0,0,2: 77:[17, 120] Operation: 25+95=120
Exploring Operation: 95-25=70, Resulting Numbers: [17, 70]
Generated Node #0,0,3: 77:[17, 70] Operation: 95-25=70
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[17, 70], Operations: ['27-10=17', '95-25=70']
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,77 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[25, 78], Operations: ['27-10=17', '95-17=78']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[95, 8], Operations: ['27-10=17', '25-17=8']
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,77 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[17, 120], Operations: ['27-10=17', '25+95=120']
Exploring Operation: 17*120=2040, Resulting Numbers: [2040]
2040,77 unequal: No Solution
Exploring Operation: 120-17=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Exploring Operation: 17+120=137, Resulting Numbers: [137]
137,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
40,
3,
30,
32
] | 25
|
[
"40-3=37",
"30+32=62",
"62-37=25"
] |
Current State: 25:[40, 3, 30, 32], Operations: []
Exploring Operation: 40-3=37, Resulting Numbers: [30, 32, 37]
Generated Node #2: [30, 32, 37] from Operation: 40-3=37
Current State: 25:[30, 32, 37], Operations: ['40-3=37']
Exploring Operation: 30+32=62, Resulting Numbers: [37, 62]
Generated Node #3: [37, 62] from Operation: 30+32=62
Current State: 25:[37, 62], Operations: ['40-3=37', '30+32=62']
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[40, 3, 30, 32], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [3, 30, 8]
Generated Node #0,0: 25:[3, 30, 8] Operation: 40-32=8
Exploring Operation: 30-3=27, Resulting Numbers: [40, 32, 27]
Generated Node #0,1: 25:[40, 32, 27] Operation: 30-3=27
Exploring Operation: 32-30=2, Resulting Numbers: [40, 3, 2]
Generated Node #0,2: 25:[40, 3, 2] Operation: 32-30=2
Exploring Operation: 40-3=37, Resulting Numbers: [30, 32, 37]
Generated Node #0,3: 25:[30, 32, 37] Operation: 40-3=37
Exploring Operation: 40-30=10, Resulting Numbers: [3, 32, 10]
Generated Node #0,4: 25:[3, 32, 10] Operation: 40-30=10
Moving to Node #0,0
Current State: 25:[3, 30, 8], Operations: ['40-32=8']
Exploring Operation: 3*8=24, Resulting Numbers: [30, 24]
Generated Node #0,0,0: 25:[30, 24] Operation: 3*8=24
Exploring Operation: 8-3=5, Resulting Numbers: [30, 5]
Generated Node #0,0,1: 25:[30, 5] Operation: 8-3=5
Exploring Operation: 30-3=27, Resulting Numbers: [8, 27]
Generated Node #0,0,2: 25:[8, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [8, 10]
Generated Node #0,0,3: 25:[8, 10] Operation: 30/3=10
Exploring Operation: 30-8=22, Resulting Numbers: [3, 22]
Generated Node #0,0,4: 25:[3, 22] Operation: 30-8=22
Moving to Node #0,4
Current State: 25:[3, 32, 10], Operations: ['40-30=10']
Exploring Operation: 3+32=35, Resulting Numbers: [10, 35]
Generated Node #0,4,0: 25:[10, 35] Operation: 3+32=35
Exploring Operation: 10-3=7, Resulting Numbers: [32, 7]
Generated Node #0,4,1: 25:[32, 7] Operation: 10-3=7
Exploring Operation: 3*10=30, Resulting Numbers: [32, 30]
Generated Node #0,4,2: 25:[32, 30] Operation: 3*10=30
Exploring Operation: 32-10=22, Resulting Numbers: [3, 22]
Generated Node #0,4,3: 25:[3, 22] Operation: 32-10=22
Exploring Operation: 32-3=29, Resulting Numbers: [10, 29]
Generated Node #0,4,4: 25:[10, 29] Operation: 32-3=29
Moving to Node #0,2
Current State: 25:[40, 3, 2], Operations: ['32-30=2']
Exploring Operation: 3+2=5, Resulting Numbers: [40, 5]
Generated Node #0,2,0: 25:[40, 5] Operation: 3+2=5
Exploring Operation: 40-2=38, Resulting Numbers: [3, 38]
Generated Node #0,2,1: 25:[3, 38] Operation: 40-2=38
Exploring Operation: 3*2=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 25:[40, 6] Operation: 3*2=6
Exploring Operation: 40/2=20, Resulting Numbers: [3, 20]
Generated Node #0,2,3: 25:[3, 20] Operation: 40/2=20
Exploring Operation: 40-3=37, Resulting Numbers: [2, 37]
Generated Node #0,2,4: 25:[2, 37] Operation: 40-3=37
Moving to Node #0,1
Current State: 25:[40, 32, 27], Operations: ['30-3=27']
Exploring Operation: 40-27=13, Resulting Numbers: [32, 13]
Generated Node #0,1,0: 25:[32, 13] Operation: 40-27=13
Exploring Operation: 40+27=67, Resulting Numbers: [32, 67]
Generated Node #0,1,1: 25:[32, 67] Operation: 40+27=67
Exploring Operation: 40-32=8, Resulting Numbers: [27, 8]
Generated Node #0,1,2: 25:[27, 8] Operation: 40-32=8
Exploring Operation: 32-27=5, Resulting Numbers: [40, 5]
Generated Node #0,1,3: 25:[40, 5] Operation: 32-27=5
Exploring Operation: 40+32=72, Resulting Numbers: [27, 72]
Generated Node #0,1,4: 25:[27, 72] Operation: 40+32=72
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[27, 8], Operations: ['30-3=27', '40-32=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,25 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[32, 13], Operations: ['30-3=27', '40-27=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,25 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,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:[40, 5], Operations: ['30-3=27', '32-27=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,25 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,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:[32, 67], Operations: ['30-3=27', '40+27=67']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,25 unequal: No Solution
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,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:[27, 72], Operations: ['30-3=27', '40+32=72']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 27*72=1944, Resulting Numbers: [1944]
1944,25 unequal: No Solution
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,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:[30, 32, 37], Operations: ['40-3=37']
Exploring Operation: 30+32=62, Resulting Numbers: [37, 62]
Generated Node #0,3,0: 25:[37, 62] Operation: 30+32=62
Exploring Operation: 32-30=2, Resulting Numbers: [37, 2]
Generated Node #0,3,1: 25:[37, 2] Operation: 32-30=2
Exploring Operation: 30+37=67, Resulting Numbers: [32, 67]
Generated Node #0,3,2: 25:[32, 67] Operation: 30+37=67
Exploring Operation: 37-30=7, Resulting Numbers: [32, 7]
Generated Node #0,3,3: 25:[32, 7] Operation: 37-30=7
Exploring Operation: 37-32=5, Resulting Numbers: [30, 5]
Generated Node #0,3,4: 25:[30, 5] Operation: 37-32=5
Moving to Node #0,0,1
Current State: 25:[30, 5], Operations: ['40-32=8', '8-3=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[40, 3, 30, 32], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [3, 30, 8]
Generated Node #0,0: 25:[3, 30, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 25:[3, 30, 8], Operations: ['40-32=8']
Exploring Operation: 8-3=5, Resulting Numbers: [30, 5]
Generated Node #0,0,1: 25:[30, 5] Operation: 8-3=5
Moving to Node #0,0,1
Current State: 25:[30, 5], Operations: ['40-32=8', '8-3=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.955729
|
hs_5
|
mult_heuristic
|
[
14,
73,
75,
9
] | 67
|
[
"75+9=84",
"84/14=6",
"73-6=67"
] |
Current State: 67:[14, 73, 75, 9], Operations: []
Exploring Operation: 75+9=84, Resulting Numbers: [14, 73, 84]
Generated Node #2: [14, 73, 84] from Operation: 75+9=84
Current State: 67:[14, 73, 84], Operations: ['75+9=84']
Exploring Operation: 84/14=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 84/14=6
Current State: 67:[73, 6], Operations: ['75+9=84', '84/14=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4
|
Current State: 67:[14, 73, 75, 9], Operations: []
Exploring Operation: 75-9=66, Resulting Numbers: [14, 73, 66]
Generated Node #0,0: 67:[14, 73, 66] Operation: 75-9=66
Exploring Operation: 14+9=23, Resulting Numbers: [73, 75, 23]
Generated Node #0,1: 67:[73, 75, 23] Operation: 14+9=23
Moving to Node #0,1
Current State: 67:[73, 75, 23], Operations: ['14+9=23']
Exploring Operation: 75-23=52, Resulting Numbers: [73, 52]
Generated Node #0,1,0: 67:[73, 52] Operation: 75-23=52
Exploring Operation: 73-23=50, Resulting Numbers: [75, 50]
Generated Node #0,1,1: 67:[75, 50] Operation: 73-23=50
Moving to Node #0,0
Current State: 67:[14, 73, 66], Operations: ['75-9=66']
Exploring Operation: 73-14=59, Resulting Numbers: [66, 59]
Generated Node #0,0,0: 67:[66, 59] Operation: 73-14=59
Exploring Operation: 14+66=80, Resulting Numbers: [73, 80]
Generated Node #0,0,1: 67:[73, 80] Operation: 14+66=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[66, 59], Operations: ['75-9=66', '73-14=59']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[73, 80], Operations: ['75-9=66', '14+66=80']
Exploring Operation: 73+80=153, Resulting Numbers: [153]
153,67 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,67 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: 67:[73, 52], Operations: ['14+9=23', '75-23=52']
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[75, 50], Operations: ['14+9=23', '73-23=50']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,67 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
76,
56,
32,
18
] | 62
|
[
"76+32=108",
"108/18=6",
"56+6=62"
] |
Current State: 62:[76, 56, 32, 18], Operations: []
Exploring Operation: 76+32=108, Resulting Numbers: [56, 18, 108]
Generated Node #2: [56, 18, 108] from Operation: 76+32=108
Current State: 62:[56, 18, 108], Operations: ['76+32=108']
Exploring Operation: 108/18=6, Resulting Numbers: [56, 6]
Generated Node #3: [56, 6] from Operation: 108/18=6
Current State: 62:[56, 6], Operations: ['76+32=108', '108/18=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[76, 56, 32, 18], Operations: []
Exploring Operation: 76-18=58, Resulting Numbers: [56, 32, 58]
Generated Node #0,0: 62:[56, 32, 58] Operation: 76-18=58
Moving to Node #0,0
Current State: 62:[56, 32, 58], Operations: ['76-18=58']
Exploring Operation: 58-56=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 62:[32, 2] Operation: 58-56=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[32, 2], Operations: ['76-18=58', '58-56=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 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
|
[
24,
21,
39,
59
] | 60
|
[
"24-21=3",
"59-39=20",
"3*20=60"
] |
Current State: 60:[24, 21, 39, 59], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [39, 59, 3]
Generated Node #2: [39, 59, 3] from Operation: 24-21=3
Current State: 60:[39, 59, 3], Operations: ['24-21=3']
Exploring Operation: 59-39=20, Resulting Numbers: [3, 20]
Generated Node #3: [3, 20] from Operation: 59-39=20
Current State: 60:[3, 20], Operations: ['24-21=3', '59-39=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[24, 21, 39, 59], Operations: []
Exploring Operation: 21+39=60, Resulting Numbers: [24, 59, 60]
Generated Node #0,0: 60:[24, 59, 60] Operation: 21+39=60
Exploring Operation: 39-21=18, Resulting Numbers: [24, 59, 18]
Generated Node #0,1: 60:[24, 59, 18] Operation: 39-21=18
Exploring Operation: 59-39=20, Resulting Numbers: [24, 21, 20]
Generated Node #0,2: 60:[24, 21, 20] Operation: 59-39=20
Exploring Operation: 39-24=15, Resulting Numbers: [21, 59, 15]
Generated Node #0,3: 60:[21, 59, 15] Operation: 39-24=15
Exploring Operation: 24+39=63, Resulting Numbers: [21, 59, 63]
Generated Node #0,4: 60:[21, 59, 63] Operation: 24+39=63
Moving to Node #0,3
Current State: 60:[21, 59, 15], Operations: ['39-24=15']
Exploring Operation: 21+15=36, Resulting Numbers: [59, 36]
Generated Node #0,3,0: 60:[59, 36] Operation: 21+15=36
Exploring Operation: 59+15=74, Resulting Numbers: [21, 74]
Generated Node #0,3,1: 60:[21, 74] Operation: 59+15=74
Exploring Operation: 59-21=38, Resulting Numbers: [15, 38]
Generated Node #0,3,2: 60:[15, 38] Operation: 59-21=38
Exploring Operation: 21-15=6, Resulting Numbers: [59, 6]
Generated Node #0,3,3: 60:[59, 6] Operation: 21-15=6
Exploring Operation: 59-15=44, Resulting Numbers: [21, 44]
Generated Node #0,3,4: 60:[21, 44] Operation: 59-15=44
Moving to Node #0,2
Current State: 60:[24, 21, 20], Operations: ['59-39=20']
Exploring Operation: 24-21=3, Resulting Numbers: [20, 3]
Generated Node #0,2,0: 60:[20, 3] Operation: 24-21=3
Exploring Operation: 24+20=44, Resulting Numbers: [21, 44]
Generated Node #0,2,1: 60:[21, 44] Operation: 24+20=44
Exploring Operation: 24+21=45, Resulting Numbers: [20, 45]
Generated Node #0,2,2: 60:[20, 45] Operation: 24+21=45
Exploring Operation: 24-20=4, Resulting Numbers: [21, 4]
Generated Node #0,2,3: 60:[21, 4] Operation: 24-20=4
Exploring Operation: 21-20=1, Resulting Numbers: [24, 1]
Generated Node #0,2,4: 60:[24, 1] Operation: 21-20=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[20, 3], Operations: ['59-39=20', '24-21=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[24, 21, 39, 59], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [24, 21, 20]
Generated Node #0,2: 60:[24, 21, 20] Operation: 59-39=20
Moving to Node #0,2
Current State: 60:[24, 21, 20], Operations: ['59-39=20']
Exploring Operation: 24-21=3, Resulting Numbers: [20, 3]
Generated Node #0,2,0: 60:[20, 3] Operation: 24-21=3
Moving to Node #0,2,0
Current State: 60:[20, 3], Operations: ['59-39=20', '24-21=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771
|
hs_5
|
sum_heuristic
|
[
68,
36,
37,
37
] | 42
|
[
"68-36=32",
"37+37=74",
"74-32=42"
] |
Current State: 42:[68, 36, 37, 37], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [37, 37, 32]
Generated Node #2: [37, 37, 32] from Operation: 68-36=32
Current State: 42:[37, 37, 32], Operations: ['68-36=32']
Exploring Operation: 37+37=74, Resulting Numbers: [32, 74]
Generated Node #3: [32, 74] from Operation: 37+37=74
Current State: 42:[32, 74], Operations: ['68-36=32', '37+37=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4
|
Current State: 42:[68, 36, 37, 37], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [68, 37, 1]
Generated Node #0,0: 42:[68, 37, 1] Operation: 37-36=1
Exploring Operation: 68-37=31, Resulting Numbers: [36, 37, 31]
Generated Node #0,1: 42:[36, 37, 31] Operation: 68-37=31
Exploring Operation: 37-36=1, Resulting Numbers: [68, 37, 1]
Generated Node #0,2: 42:[68, 37, 1] Operation: 37-36=1
Exploring Operation: 68-36=32, Resulting Numbers: [37, 37, 32]
Generated Node #0,3: 42:[37, 37, 32] Operation: 68-36=32
Exploring Operation: 68-37=31, Resulting Numbers: [36, 37, 31]
Generated Node #0,4: 42:[36, 37, 31] Operation: 68-37=31
Moving to Node #0,3
Current State: 42:[37, 37, 32], Operations: ['68-36=32']
Exploring Operation: 37-37=0, Resulting Numbers: [32, 0]
Generated Node #0,3,0: 42:[32, 0] Operation: 37-37=0
Exploring Operation: 37-32=5, Resulting Numbers: [37, 5]
Generated Node #0,3,1: 42:[37, 5] Operation: 37-32=5
Exploring Operation: 37+32=69, Resulting Numbers: [37, 69]
Generated Node #0,3,2: 42:[37, 69] Operation: 37+32=69
Exploring Operation: 37-32=5, Resulting Numbers: [37, 5]
Generated Node #0,3,3: 42:[37, 5] Operation: 37-32=5
Exploring Operation: 37/37=1, Resulting Numbers: [32, 1]
Generated Node #0,3,4: 42:[32, 1] Operation: 37/37=1
Moving to Node #0,4
Current State: 42:[36, 37, 31], Operations: ['68-37=31']
Exploring Operation: 36-31=5, Resulting Numbers: [37, 5]
Generated Node #0,4,0: 42:[37, 5] Operation: 36-31=5
Exploring Operation: 36+31=67, Resulting Numbers: [37, 67]
Generated Node #0,4,1: 42:[37, 67] Operation: 36+31=67
Exploring Operation: 37-31=6, Resulting Numbers: [36, 6]
Generated Node #0,4,2: 42:[36, 6] Operation: 37-31=6
Exploring Operation: 37-36=1, Resulting Numbers: [31, 1]
Generated Node #0,4,3: 42:[31, 1] Operation: 37-36=1
Exploring Operation: 37+31=68, Resulting Numbers: [36, 68]
Generated Node #0,4,4: 42:[36, 68] Operation: 37+31=68
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 42:[37, 5], Operations: ['68-37=31', '36-31=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,42 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[68, 36, 37, 37], Operations: []
Exploring Operation: 68-37=31, Resulting Numbers: [36, 37, 31]
Generated Node #0,4: 42:[36, 37, 31] Operation: 68-37=31
Moving to Node #0,4
Current State: 42:[36, 37, 31], Operations: ['68-37=31']
Exploring Operation: 36-31=5, Resulting Numbers: [37, 5]
Generated Node #0,4,0: 42:[37, 5] Operation: 36-31=5
Moving to Node #0,4,0
Current State: 42:[37, 5], Operations: ['68-37=31', '36-31=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903
|
hs_5
|
mult_heuristic
|
[
32,
30,
47,
60
] | 63
|
[
"32*30=960",
"960/60=16",
"47+16=63"
] |
Current State: 63:[32, 30, 47, 60], Operations: []
Exploring Operation: 32*30=960, Resulting Numbers: [47, 60, 960]
Generated Node #2: [47, 60, 960] from Operation: 32*30=960
Current State: 63:[47, 60, 960], Operations: ['32*30=960']
Exploring Operation: 960/60=16, Resulting Numbers: [47, 16]
Generated Node #3: [47, 16] from Operation: 960/60=16
Current State: 63:[47, 16], Operations: ['32*30=960', '960/60=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[32, 30, 47, 60], Operations: []
Exploring Operation: 47-32=15, Resulting Numbers: [30, 60, 15]
Generated Node #0,0: 63:[30, 60, 15] Operation: 47-32=15
Moving to Node #0,0
Current State: 63:[30, 60, 15], Operations: ['47-32=15']
Exploring Operation: 30/15=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 63:[60, 2] Operation: 30/15=2
Moving to Node #0,0,0
Current State: 63:[60, 2], Operations: ['47-32=15', '30/15=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,63 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
40,
5,
24,
10
] | 80
|
[
"40-24=16",
"10-5=5",
"16*5=80"
] |
Current State: 80:[40, 5, 24, 10], Operations: []
Exploring Operation: 40-24=16, Resulting Numbers: [5, 10, 16]
Generated Node #2: [5, 10, 16] from Operation: 40-24=16
Current State: 80:[5, 10, 16], Operations: ['40-24=16']
Exploring Operation: 10-5=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 10-5=5
Current State: 80:[16, 5], Operations: ['40-24=16', '10-5=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[40, 5, 24, 10], Operations: []
Exploring Operation: 40-24=16, Resulting Numbers: [5, 10, 16]
Generated Node #0,0: 80:[5, 10, 16] Operation: 40-24=16
Exploring Operation: 40/5=8, Resulting Numbers: [24, 10, 8]
Generated Node #0,1: 80:[24, 10, 8] Operation: 40/5=8
Exploring Operation: 24-5=19, Resulting Numbers: [40, 10, 19]
Generated Node #0,2: 80:[40, 10, 19] Operation: 24-5=19
Exploring Operation: 24-10=14, Resulting Numbers: [40, 5, 14]
Generated Node #0,3: 80:[40, 5, 14] Operation: 24-10=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[5, 10, 16], Operations: ['40-24=16']
Exploring Operation: 5*16=80, Resulting Numbers: [10, 80]
Generated Node #0,0,0: 80:[10, 80] Operation: 5*16=80
Exploring Operation: 5+10=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 80:[16, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 80:[16, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [16, 2]
Generated Node #0,0,3: 80:[16, 2] Operation: 10/5=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[10, 80], Operations: ['40-24=16', '5*16=80']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,80 unequal: No Solution
Exploring Operation: 10*80=800, Resulting Numbers: [800]
800,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[16, 5], Operations: ['40-24=16', '10-5=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[40, 5, 24, 10], Operations: []
Exploring Operation: 40-24=16, Resulting Numbers: [5, 10, 16]
Generated Node #0,0: 80:[5, 10, 16] Operation: 40-24=16
Moving to Node #0,0
Current State: 80:[5, 10, 16], Operations: ['40-24=16']
Exploring Operation: 10-5=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 80:[16, 5] Operation: 10-5=5
Moving to Node #0,0,2
Current State: 80:[16, 5], Operations: ['40-24=16', '10-5=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375
|
hs_4
|
sum_heuristic
|
[
48,
24,
26,
76
] | 96
|
[
"76-24=52",
"48*52=2496",
"2496/26=96"
] |
Current State: 96:[48, 24, 26, 76], Operations: []
Exploring Operation: 76-24=52, Resulting Numbers: [48, 26, 52]
Generated Node #2: [48, 26, 52] from Operation: 76-24=52
Current State: 96:[48, 26, 52], Operations: ['76-24=52']
Exploring Operation: 48*52=2496, Resulting Numbers: [26, 2496]
Generated Node #3: [26, 2496] from Operation: 48*52=2496
Current State: 96:[26, 2496], Operations: ['76-24=52', '48*52=2496']
Exploring Operation: 2496/26=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[48, 24, 26, 76], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [24, 26, 28]
Generated Node #0,0: 96:[24, 26, 28] Operation: 76-48=28
Exploring Operation: 76-26=50, Resulting Numbers: [48, 24, 50]
Generated Node #0,1: 96:[48, 24, 50] Operation: 76-26=50
Moving to Node #0,1
Current State: 96:[48, 24, 50], Operations: ['76-26=50']
Exploring Operation: 50-48=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 96:[24, 2] Operation: 50-48=2
Exploring Operation: 48-24=24, Resulting Numbers: [50, 24]
Generated Node #0,1,1: 96:[50, 24] Operation: 48-24=24
Moving to Node #0,0
Current State: 96:[24, 26, 28], Operations: ['76-48=28']
Exploring Operation: 28-26=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 96:[24, 2] Operation: 28-26=2
Exploring Operation: 28-24=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 96:[26, 4] Operation: 28-24=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[24, 2], Operations: ['76-48=28', '28-26=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[26, 4], Operations: ['76-48=28', '28-24=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,96 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: 96:[24, 2], Operations: ['76-26=50', '50-48=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[50, 24], Operations: ['76-26=50', '48-24=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
59,
60,
9,
50
] | 31
|
[
"60-50=10",
"9*10=90",
"90-59=31"
] |
Current State: 31:[59, 60, 9, 50], Operations: []
Exploring Operation: 60-50=10, Resulting Numbers: [59, 9, 10]
Generated Node #2: [59, 9, 10] from Operation: 60-50=10
Current State: 31:[59, 9, 10], Operations: ['60-50=10']
Exploring Operation: 9*10=90, Resulting Numbers: [59, 90]
Generated Node #3: [59, 90] from Operation: 9*10=90
Current State: 31:[59, 90], Operations: ['60-50=10', '9*10=90']
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[59, 60, 9, 50], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [59, 50, 51]
Generated Node #0,0: 31:[59, 50, 51] Operation: 60-9=51
Exploring Operation: 59-9=50, Resulting Numbers: [60, 50, 50]
Generated Node #0,1: 31:[60, 50, 50] Operation: 59-9=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[59, 50, 51], Operations: ['60-9=51']
Exploring Operation: 59-50=9, Resulting Numbers: [51, 9]
Generated Node #0,0,0: 31:[51, 9] Operation: 59-50=9
Exploring Operation: 59-51=8, Resulting Numbers: [50, 8]
Generated Node #0,0,1: 31:[50, 8] Operation: 59-51=8
Moving to Node #0,0,0
Current State: 31:[51, 9], Operations: ['60-9=51', '59-50=9']
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[50, 8], Operations: ['60-9=51', '59-51=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[60, 50, 50], Operations: ['59-9=50']
Exploring Operation: 60-50=10, Resulting Numbers: [50, 10]
Generated Node #0,1,0: 31:[50, 10] Operation: 60-50=10
Exploring Operation: 60-50=10, Resulting Numbers: [50, 10]
Generated Node #0,1,1: 31:[50, 10] Operation: 60-50=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[50, 10], Operations: ['59-9=50', '60-50=10']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No 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: 31:[50, 10], Operations: ['59-9=50', '60-50=10']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
34,
7,
24,
79
] | 96
|
[
"34+7=41",
"79-24=55",
"41+55=96"
] |
Current State: 96:[34, 7, 24, 79], Operations: []
Exploring Operation: 34+7=41, Resulting Numbers: [24, 79, 41]
Generated Node #2: [24, 79, 41] from Operation: 34+7=41
Current State: 96:[24, 79, 41], Operations: ['34+7=41']
Exploring Operation: 79-24=55, Resulting Numbers: [41, 55]
Generated Node #3: [41, 55] from Operation: 79-24=55
Current State: 96:[41, 55], Operations: ['34+7=41', '79-24=55']
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4
|
Current State: 96:[34, 7, 24, 79], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [7, 24, 45]
Generated Node #0,0: 96:[7, 24, 45] Operation: 79-34=45
Exploring Operation: 7+79=86, Resulting Numbers: [34, 24, 86]
Generated Node #0,1: 96:[34, 24, 86] Operation: 7+79=86
Exploring Operation: 24+79=103, Resulting Numbers: [34, 7, 103]
Generated Node #0,2: 96:[34, 7, 103] Operation: 24+79=103
Exploring Operation: 79-24=55, Resulting Numbers: [34, 7, 55]
Generated Node #0,3: 96:[34, 7, 55] Operation: 79-24=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[7, 24, 45], Operations: ['79-34=45']
Exploring Operation: 24-7=17, Resulting Numbers: [45, 17]
Generated Node #0,0,0: 96:[45, 17] Operation: 24-7=17
Exploring Operation: 7+24=31, Resulting Numbers: [45, 31]
Generated Node #0,0,1: 96:[45, 31] Operation: 7+24=31
Exploring Operation: 7+45=52, Resulting Numbers: [24, 52]
Generated Node #0,0,2: 96:[24, 52] Operation: 7+45=52
Exploring Operation: 45-24=21, Resulting Numbers: [7, 21]
Generated Node #0,0,3: 96:[7, 21] Operation: 45-24=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[45, 17], Operations: ['79-34=45', '24-7=17']
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,96 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[45, 31], Operations: ['79-34=45', '7+24=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[24, 52], Operations: ['79-34=45', '7+45=52']
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,96 unequal: No Solution
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[7, 21], Operations: ['79-34=45', '45-24=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[34, 7, 103], Operations: ['24+79=103']
Exploring Operation: 34+7=41, Resulting Numbers: [103, 41]
Generated Node #0,2,0: 96:[103, 41] Operation: 34+7=41
Exploring Operation: 34-7=27, Resulting Numbers: [103, 27]
Generated Node #0,2,1: 96:[103, 27] Operation: 34-7=27
Exploring Operation: 7+103=110, Resulting Numbers: [34, 110]
Generated Node #0,2,2: 96:[34, 110] Operation: 7+103=110
Exploring Operation: 103-7=96, Resulting Numbers: [34, 96]
Generated Node #0,2,3: 96:[34, 96] Operation: 103-7=96
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[34, 96], Operations: ['24+79=103', '103-7=96']
Exploring Operation: 34+96=130, Resulting Numbers: [130]
130,96 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 34*96=3264, Resulting Numbers: [3264]
3264,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[103, 27], Operations: ['24+79=103', '34-7=27']
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 103+27=130, Resulting Numbers: [130]
130,96 unequal: No Solution
Exploring Operation: 103*27=2781, Resulting Numbers: [2781]
2781,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[103, 41], Operations: ['24+79=103', '34+7=41']
Exploring Operation: 103+41=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 103-41=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 103*41=4223, Resulting Numbers: [4223]
4223,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[34, 110], Operations: ['24+79=103', '7+103=110']
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 34*110=3740, Resulting Numbers: [3740]
3740,96 unequal: No Solution
Exploring Operation: 34+110=144, Resulting Numbers: [144]
144,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[34, 7, 55], Operations: ['79-24=55']
Exploring Operation: 55-7=48, Resulting Numbers: [34, 48]
Generated Node #0,3,0: 96:[34, 48] Operation: 55-7=48
Exploring Operation: 34-7=27, Resulting Numbers: [55, 27]
Generated Node #0,3,1: 96:[55, 27] Operation: 34-7=27
Exploring Operation: 34+55=89, Resulting Numbers: [7, 89]
Generated Node #0,3,2: 96:[7, 89] Operation: 34+55=89
Exploring Operation: 55-34=21, Resulting Numbers: [7, 21]
Generated Node #0,3,3: 96:[7, 21] Operation: 55-34=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 96:[34, 48], Operations: ['79-24=55', '55-7=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 96:[7, 21], Operations: ['79-24=55', '55-34=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,96 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 96:[7, 89], Operations: ['79-24=55', '34+55=89']
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[34, 7, 24, 79], Operations: []
Exploring Operation: 79-24=55, Resulting Numbers: [34, 7, 55]
Generated Node #0,3: 96:[34, 7, 55] Operation: 79-24=55
Moving to Node #0,3
Current State: 96:[34, 7, 55], Operations: ['79-24=55']
Exploring Operation: 34+55=89, Resulting Numbers: [7, 89]
Generated Node #0,3,2: 96:[7, 89] Operation: 34+55=89
Moving to Node #0,3,2
Current State: 96:[7, 89], Operations: ['79-24=55', '34+55=89']
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953993
|
hs_4
|
mult_heuristic
|
[
12,
54,
86,
57
] | 77
|
[
"12+54=66",
"86+57=143",
"143-66=77"
] |
Current State: 77:[12, 54, 86, 57], Operations: []
Exploring Operation: 12+54=66, Resulting Numbers: [86, 57, 66]
Generated Node #2: [86, 57, 66] from Operation: 12+54=66
Current State: 77:[86, 57, 66], Operations: ['12+54=66']
Exploring Operation: 86+57=143, Resulting Numbers: [66, 143]
Generated Node #3: [66, 143] from Operation: 86+57=143
Current State: 77:[66, 143], Operations: ['12+54=66', '86+57=143']
Exploring Operation: 143-66=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4
|
Current State: 77:[12, 54, 86, 57], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [12, 54, 29]
Generated Node #0,0: 77:[12, 54, 29] Operation: 86-57=29
Exploring Operation: 57-54=3, Resulting Numbers: [12, 86, 3]
Generated Node #0,1: 77:[12, 86, 3] Operation: 57-54=3
Exploring Operation: 86-54=32, Resulting Numbers: [12, 57, 32]
Generated Node #0,2: 77:[12, 57, 32] Operation: 86-54=32
Exploring Operation: 12+54=66, Resulting Numbers: [86, 57, 66]
Generated Node #0,3: 77:[86, 57, 66] Operation: 12+54=66
Exploring Operation: 12+57=69, Resulting Numbers: [54, 86, 69]
Generated Node #0,4: 77:[54, 86, 69] Operation: 12+57=69
Moving to Node #0,1
Current State: 77:[12, 86, 3], Operations: ['57-54=3']
Exploring Operation: 12-3=9, Resulting Numbers: [86, 9]
Generated Node #0,1,0: 77:[86, 9] Operation: 12-3=9
Exploring Operation: 86-12=74, Resulting Numbers: [3, 74]
Generated Node #0,1,1: 77:[3, 74] Operation: 86-12=74
Exploring Operation: 12+3=15, Resulting Numbers: [86, 15]
Generated Node #0,1,2: 77:[86, 15] Operation: 12+3=15
Exploring Operation: 86-3=83, Resulting Numbers: [12, 83]
Generated Node #0,1,3: 77:[12, 83] Operation: 86-3=83
Exploring Operation: 12/3=4, Resulting Numbers: [86, 4]
Generated Node #0,1,4: 77:[86, 4] Operation: 12/3=4
Moving to Node #0,4
Current State: 77:[54, 86, 69], Operations: ['12+57=69']
Exploring Operation: 69-54=15, Resulting Numbers: [86, 15]
Generated Node #0,4,0: 77:[86, 15] Operation: 69-54=15
Exploring Operation: 86-54=32, Resulting Numbers: [69, 32]
Generated Node #0,4,1: 77:[69, 32] Operation: 86-54=32
Exploring Operation: 86-69=17, Resulting Numbers: [54, 17]
Generated Node #0,4,2: 77:[54, 17] Operation: 86-69=17
Exploring Operation: 54+86=140, Resulting Numbers: [69, 140]
Generated Node #0,4,3: 77:[69, 140] Operation: 54+86=140
Exploring Operation: 54+69=123, Resulting Numbers: [86, 123]
Generated Node #0,4,4: 77:[86, 123] Operation: 54+69=123
Moving to Node #0,3
Current State: 77:[86, 57, 66], Operations: ['12+54=66']
Exploring Operation: 57+66=123, Resulting Numbers: [86, 123]
Generated Node #0,3,0: 77:[86, 123] Operation: 57+66=123
Exploring Operation: 86+57=143, Resulting Numbers: [66, 143]
Generated Node #0,3,1: 77:[66, 143] Operation: 86+57=143
Exploring Operation: 86-66=20, Resulting Numbers: [57, 20]
Generated Node #0,3,2: 77:[57, 20] Operation: 86-66=20
Exploring Operation: 86-57=29, Resulting Numbers: [66, 29]
Generated Node #0,3,3: 77:[66, 29] Operation: 86-57=29
Exploring Operation: 66-57=9, Resulting Numbers: [86, 9]
Generated Node #0,3,4: 77:[86, 9] Operation: 66-57=9
Moving to Node #0,0
Current State: 77:[12, 54, 29], Operations: ['86-57=29']
Exploring Operation: 29-12=17, Resulting Numbers: [54, 17]
Generated Node #0,0,0: 77:[54, 17] Operation: 29-12=17
Exploring Operation: 12+54=66, Resulting Numbers: [29, 66]
Generated Node #0,0,1: 77:[29, 66] Operation: 12+54=66
Exploring Operation: 54-12=42, Resulting Numbers: [29, 42]
Generated Node #0,0,2: 77:[29, 42] Operation: 54-12=42
Exploring Operation: 54+29=83, Resulting Numbers: [12, 83]
Generated Node #0,0,3: 77:[12, 83] Operation: 54+29=83
Exploring Operation: 54-29=25, Resulting Numbers: [12, 25]
Generated Node #0,0,4: 77:[12, 25] Operation: 54-29=25
Moving to Node #0,2
Current State: 77:[12, 57, 32], Operations: ['86-54=32']
Exploring Operation: 57-32=25, Resulting Numbers: [12, 25]
Generated Node #0,2,0: 77:[12, 25] Operation: 57-32=25
Exploring Operation: 12+57=69, Resulting Numbers: [32, 69]
Generated Node #0,2,1: 77:[32, 69] Operation: 12+57=69
Exploring Operation: 32-12=20, Resulting Numbers: [57, 20]
Generated Node #0,2,2: 77:[57, 20] Operation: 32-12=20
Exploring Operation: 57+32=89, Resulting Numbers: [12, 89]
Generated Node #0,2,3: 77:[12, 89] Operation: 57+32=89
Exploring Operation: 57-12=45, Resulting Numbers: [32, 45]
Generated Node #0,2,4: 77:[32, 45] Operation: 57-12=45
Moving to Node #0,1,1
Current State: 77:[3, 74], Operations: ['57-54=3', '86-12=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[12, 54, 86, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [12, 86, 3]
Generated Node #0,1: 77:[12, 86, 3] Operation: 57-54=3
Moving to Node #0,1
Current State: 77:[12, 86, 3], Operations: ['57-54=3']
Exploring Operation: 86-12=74, Resulting Numbers: [3, 74]
Generated Node #0,1,1: 77:[3, 74] Operation: 86-12=74
Moving to Node #0,1,1
Current State: 77:[3, 74], Operations: ['57-54=3', '86-12=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.96875
|
hs_5
|
mult_heuristic
|
[
35,
72,
2,
70
] | 66
|
[
"72-35=37",
"70-37=33",
"2*33=66"
] |
Current State: 66:[35, 72, 2, 70], Operations: []
Exploring Operation: 72-35=37, Resulting Numbers: [2, 70, 37]
Generated Node #2: [2, 70, 37] from Operation: 72-35=37
Current State: 66:[2, 70, 37], Operations: ['72-35=37']
Exploring Operation: 70-37=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 70-37=33
Current State: 66:[2, 33], Operations: ['72-35=37', '70-37=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[35, 72, 2, 70], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [72, 2, 35]
Generated Node #0,0: 66:[72, 2, 35] Operation: 70-35=35
Exploring Operation: 70/35=2, Resulting Numbers: [72, 2, 2]
Generated Node #0,1: 66:[72, 2, 2] Operation: 70/35=2
Exploring Operation: 72-70=2, Resulting Numbers: [35, 2, 2]
Generated Node #0,2: 66:[35, 2, 2] Operation: 72-70=2
Exploring Operation: 72-35=37, Resulting Numbers: [2, 70, 37]
Generated Node #0,3: 66:[2, 70, 37] Operation: 72-35=37
Moving to Node #0,2
Current State: 66:[35, 2, 2], Operations: ['72-70=2']
Exploring Operation: 35-2=33, Resulting Numbers: [2, 33]
Generated Node #0,2,0: 66:[2, 33] Operation: 35-2=33
Exploring Operation: 2+2=4, Resulting Numbers: [35, 4]
Generated Node #0,2,1: 66:[35, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [35, 4]
Generated Node #0,2,2: 66:[35, 4] Operation: 2*2=4
Exploring Operation: 35-2=33, Resulting Numbers: [2, 33]
Generated Node #0,2,3: 66:[2, 33] Operation: 35-2=33
Moving to Node #0,1
Current State: 66:[72, 2, 2], Operations: ['70/35=2']
Exploring Operation: 72/2=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 66:[2, 36] Operation: 72/2=36
Exploring Operation: 72/2=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 66:[2, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [2, 70]
Generated Node #0,1,2: 66:[2, 70] Operation: 72-2=70
Exploring Operation: 72-2=70, Resulting Numbers: [2, 70]
Generated Node #0,1,3: 66:[2, 70] Operation: 72-2=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[2, 36], Operations: ['70/35=2', '72/2=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[2, 36], Operations: ['70/35=2', '72/2=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[2, 70], Operations: ['70/35=2', '72-2=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[2, 70], Operations: ['70/35=2', '72-2=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 66:[2, 70, 37], Operations: ['72-35=37']
Exploring Operation: 37-2=35, Resulting Numbers: [70, 35]
Generated Node #0,3,0: 66:[70, 35] Operation: 37-2=35
Exploring Operation: 70-37=33, Resulting Numbers: [2, 33]
Generated Node #0,3,1: 66:[2, 33] Operation: 70-37=33
Exploring Operation: 70-2=68, Resulting Numbers: [37, 68]
Generated Node #0,3,2: 66:[37, 68] Operation: 70-2=68
Exploring Operation: 70/2=35, Resulting Numbers: [37, 35]
Generated Node #0,3,3: 66:[37, 35] Operation: 70/2=35
Moving to Node #0,0
Current State: 66:[72, 2, 35], Operations: ['70-35=35']
Exploring Operation: 35-2=33, Resulting Numbers: [72, 33]
Generated Node #0,0,0: 66:[72, 33] Operation: 35-2=33
Exploring Operation: 72-2=70, Resulting Numbers: [35, 70]
Generated Node #0,0,1: 66:[35, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [35, 36]
Generated Node #0,0,2: 66:[35, 36] Operation: 72/2=36
Exploring Operation: 72-35=37, Resulting Numbers: [2, 37]
Generated Node #0,0,3: 66:[2, 37] Operation: 72-35=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[2, 37], Operations: ['70-35=35', '72-35=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[35, 36], Operations: ['70-35=35', '72/2=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[72, 33], Operations: ['70-35=35', '35-2=33']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,66 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[35, 70], Operations: ['70-35=35', '72-2=70']
Exploring Operation: 35*70=2450, Resulting Numbers: [2450]
2450,66 unequal: No Solution
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,66 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,66 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: 66:[2, 33], Operations: ['72-70=2', '35-2=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[35, 72, 2, 70], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [35, 2, 2]
Generated Node #0,2: 66:[35, 2, 2] Operation: 72-70=2
Moving to Node #0,2
Current State: 66:[35, 2, 2], Operations: ['72-70=2']
Exploring Operation: 35-2=33, Resulting Numbers: [2, 33]
Generated Node #0,2,0: 66:[2, 33] Operation: 35-2=33
Moving to Node #0,2,0
Current State: 66:[2, 33], Operations: ['72-70=2', '35-2=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.952257
|
hs_4
|
sum_heuristic
|
[
67,
52,
11,
96
] | 71
|
[
"96-52=44",
"44/11=4",
"67+4=71"
] |
Current State: 71:[67, 52, 11, 96], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [67, 11, 44]
Generated Node #2: [67, 11, 44] from Operation: 96-52=44
Current State: 71:[67, 11, 44], Operations: ['96-52=44']
Exploring Operation: 44/11=4, Resulting Numbers: [67, 4]
Generated Node #3: [67, 4] from Operation: 44/11=4
Current State: 71:[67, 4], Operations: ['96-52=44', '44/11=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[67, 52, 11, 96], Operations: []
Exploring Operation: 52+11=63, Resulting Numbers: [67, 96, 63]
Generated Node #0,0: 71:[67, 96, 63] Operation: 52+11=63
Exploring Operation: 67+11=78, Resulting Numbers: [52, 96, 78]
Generated Node #0,1: 71:[52, 96, 78] Operation: 67+11=78
Exploring Operation: 96-11=85, Resulting Numbers: [67, 52, 85]
Generated Node #0,2: 71:[67, 52, 85] Operation: 96-11=85
Exploring Operation: 67-11=56, Resulting Numbers: [52, 96, 56]
Generated Node #0,3: 71:[52, 96, 56] Operation: 67-11=56
Moving to Node #0,0
Current State: 71:[67, 96, 63], Operations: ['52+11=63']
Exploring Operation: 67-63=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 71:[96, 4] Operation: 67-63=4
Exploring Operation: 96-63=33, Resulting Numbers: [67, 33]
Generated Node #0,0,1: 71:[67, 33] Operation: 96-63=33
Exploring Operation: 67+63=130, Resulting Numbers: [96, 130]
Generated Node #0,0,2: 71:[96, 130] Operation: 67+63=130
Exploring Operation: 96-67=29, Resulting Numbers: [63, 29]
Generated Node #0,0,3: 71:[63, 29] Operation: 96-67=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[67, 33], Operations: ['52+11=63', '96-63=33']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,71 unequal: No Solution
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,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,0,3
Current State: 71:[63, 29], Operations: ['52+11=63', '96-67=29']
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,71 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,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,0,2
Current State: 71:[96, 130], Operations: ['52+11=63', '67+63=130']
Exploring Operation: 96+130=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 96*130=12480, Resulting Numbers: [12480]
12480,71 unequal: No Solution
Exploring Operation: 130-96=34, Resulting Numbers: [34]
34,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,0,0
Current State: 71:[96, 4], Operations: ['52+11=63', '67-63=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,71 unequal: No Solution
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,71 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: 71:[67, 52, 85], Operations: ['96-11=85']
Exploring Operation: 67-52=15, Resulting Numbers: [85, 15]
Generated Node #0,2,0: 71:[85, 15] Operation: 67-52=15
Exploring Operation: 85-52=33, Resulting Numbers: [67, 33]
Generated Node #0,2,1: 71:[67, 33] Operation: 85-52=33
Exploring Operation: 67+52=119, Resulting Numbers: [85, 119]
Generated Node #0,2,2: 71:[85, 119] Operation: 67+52=119
Exploring Operation: 52+85=137, Resulting Numbers: [67, 137]
Generated Node #0,2,3: 71:[67, 137] Operation: 52+85=137
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[67, 33], Operations: ['96-11=85', '85-52=33']
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,71 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,71 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,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,2,2
Current State: 71:[85, 119], Operations: ['96-11=85', '67+52=119']
Exploring Operation: 119-85=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 85*119=10115, Resulting Numbers: [10115]
10115,71 unequal: No Solution
Exploring Operation: 85+119=204, Resulting Numbers: [204]
204,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,2,0
Current State: 71:[85, 15], Operations: ['96-11=85', '67-52=15']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,71 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,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,2,3
Current State: 71:[67, 137], Operations: ['96-11=85', '52+85=137']
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,71 unequal: No Solution
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,71 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: 71:[52, 96, 78], Operations: ['67+11=78']
Exploring Operation: 52+96=148, Resulting Numbers: [78, 148]
Generated Node #0,1,0: 71:[78, 148] Operation: 52+96=148
Exploring Operation: 96-78=18, Resulting Numbers: [52, 18]
Generated Node #0,1,1: 71:[52, 18] Operation: 96-78=18
Exploring Operation: 78-52=26, Resulting Numbers: [96, 26]
Generated Node #0,1,2: 71:[96, 26] Operation: 78-52=26
Exploring Operation: 96-52=44, Resulting Numbers: [78, 44]
Generated Node #0,1,3: 71:[78, 44] Operation: 96-52=44
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[78, 44], Operations: ['67+11=78', '96-52=44']
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,71 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[96, 26], Operations: ['67+11=78', '78-52=26']
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,71 unequal: No Solution
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[52, 18], Operations: ['67+11=78', '96-78=18']
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[78, 148], Operations: ['67+11=78', '52+96=148']
Exploring Operation: 78*148=11544, Resulting Numbers: [11544]
11544,71 unequal: No Solution
Exploring Operation: 78+148=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 148-78=70, Resulting Numbers: [70]
70,71 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: 71:[52, 96, 56], Operations: ['67-11=56']
Exploring Operation: 96-56=40, Resulting Numbers: [52, 40]
Generated Node #0,3,0: 71:[52, 40] Operation: 96-56=40
Exploring Operation: 52+96=148, Resulting Numbers: [56, 148]
Generated Node #0,3,1: 71:[56, 148] Operation: 52+96=148
Exploring Operation: 52+56=108, Resulting Numbers: [96, 108]
Generated Node #0,3,2: 71:[96, 108] Operation: 52+56=108
Exploring Operation: 96-52=44, Resulting Numbers: [56, 44]
Generated Node #0,3,3: 71:[56, 44] Operation: 96-52=44
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[56, 44], Operations: ['67-11=56', '96-52=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,71 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,71 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[52, 40], Operations: ['67-11=56', '96-56=40']
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[96, 108], Operations: ['67-11=56', '52+56=108']
Exploring Operation: 108-96=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 96*108=10368, Resulting Numbers: [10368]
10368,71 unequal: No Solution
Exploring Operation: 96+108=204, Resulting Numbers: [204]
204,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[56, 148], Operations: ['67-11=56', '52+96=148']
Exploring Operation: 56*148=8288, Resulting Numbers: [8288]
8288,71 unequal: No Solution
Exploring Operation: 148-56=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 56+148=204, Resulting Numbers: [204]
204,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
75,
40,
17,
6
] | 73
|
[
"40-6=34",
"34/17=2",
"75-2=73"
] |
Current State: 73:[75, 40, 17, 6], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [75, 17, 34]
Generated Node #2: [75, 17, 34] from Operation: 40-6=34
Current State: 73:[75, 17, 34], Operations: ['40-6=34']
Exploring Operation: 34/17=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 34/17=2
Current State: 73:[75, 2], Operations: ['40-6=34', '34/17=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[75, 40, 17, 6], Operations: []
Exploring Operation: 17*6=102, Resulting Numbers: [75, 40, 102]
Generated Node #0,0: 73:[75, 40, 102] Operation: 17*6=102
Exploring Operation: 40+17=57, Resulting Numbers: [75, 6, 57]
Generated Node #0,1: 73:[75, 6, 57] Operation: 40+17=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[75, 40, 102], Operations: ['17*6=102']
Exploring Operation: 75-40=35, Resulting Numbers: [102, 35]
Generated Node #0,0,0: 73:[102, 35] Operation: 75-40=35
Exploring Operation: 102-40=62, Resulting Numbers: [75, 62]
Generated Node #0,0,1: 73:[75, 62] Operation: 102-40=62
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[75, 62], Operations: ['17*6=102', '102-40=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[102, 35], Operations: ['17*6=102', '75-40=35']
Exploring Operation: 102+35=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[75, 6, 57], Operations: ['40+17=57']
Exploring Operation: 6+57=63, Resulting Numbers: [75, 63]
Generated Node #0,1,0: 73:[75, 63] Operation: 6+57=63
Exploring Operation: 75-6=69, Resulting Numbers: [57, 69]
Generated Node #0,1,1: 73:[57, 69] Operation: 75-6=69
Moving to Node #0,1,0
Current State: 73:[75, 63], Operations: ['40+17=57', '6+57=63']
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,73 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[57, 69], Operations: ['40+17=57', '75-6=69']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,73 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
|
[
6,
50,
62,
93
] | 87
|
[
"6+50=56",
"93-62=31",
"56+31=87"
] |
Current State: 87:[6, 50, 62, 93], Operations: []
Exploring Operation: 6+50=56, Resulting Numbers: [62, 93, 56]
Generated Node #2: [62, 93, 56] from Operation: 6+50=56
Current State: 87:[62, 93, 56], Operations: ['6+50=56']
Exploring Operation: 93-62=31, Resulting Numbers: [56, 31]
Generated Node #3: [56, 31] from Operation: 93-62=31
Current State: 87:[56, 31], Operations: ['6+50=56', '93-62=31']
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[6, 50, 62, 93], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [6, 50, 31]
Generated Node #0,0: 87:[6, 50, 31] Operation: 93-62=31
Exploring Operation: 93-50=43, Resulting Numbers: [6, 62, 43]
Generated Node #0,1: 87:[6, 62, 43] Operation: 93-50=43
Exploring Operation: 62-50=12, Resulting Numbers: [6, 93, 12]
Generated Node #0,2: 87:[6, 93, 12] Operation: 62-50=12
Exploring Operation: 50+62=112, Resulting Numbers: [6, 93, 112]
Generated Node #0,3: 87:[6, 93, 112] Operation: 50+62=112
Moving to Node #0,2
Current State: 87:[6, 93, 12], Operations: ['62-50=12']
Exploring Operation: 93-12=81, Resulting Numbers: [6, 81]
Generated Node #0,2,0: 87:[6, 81] Operation: 93-12=81
Exploring Operation: 12/6=2, Resulting Numbers: [93, 2]
Generated Node #0,2,1: 87:[93, 2] Operation: 12/6=2
Exploring Operation: 93-6=87, Resulting Numbers: [12, 87]
Generated Node #0,2,2: 87:[12, 87] Operation: 93-6=87
Exploring Operation: 12-6=6, Resulting Numbers: [93, 6]
Generated Node #0,2,3: 87:[93, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[93, 2], Operations: ['62-50=12', '12/6=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,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,2,0
Current State: 87:[6, 81], Operations: ['62-50=12', '93-12=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[6, 50, 62, 93], Operations: []
Exploring Operation: 62-50=12, Resulting Numbers: [6, 93, 12]
Generated Node #0,2: 87:[6, 93, 12] Operation: 62-50=12
Moving to Node #0,2
Current State: 87:[6, 93, 12], Operations: ['62-50=12']
Exploring Operation: 93-12=81, Resulting Numbers: [6, 81]
Generated Node #0,2,0: 87:[6, 81] Operation: 93-12=81
Moving to Node #0,2,0
Current State: 87:[6, 81], Operations: ['62-50=12', '93-12=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_4
|
mult_heuristic
|
[
40,
29,
34,
43
] | 20
|
[
"40-29=11",
"43-34=9",
"11+9=20"
] |
Current State: 20:[40, 29, 34, 43], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [34, 43, 11]
Generated Node #2: [34, 43, 11] from Operation: 40-29=11
Current State: 20:[34, 43, 11], Operations: ['40-29=11']
Exploring Operation: 43-34=9, Resulting Numbers: [11, 9]
Generated Node #3: [11, 9] from Operation: 43-34=9
Current State: 20:[11, 9], Operations: ['40-29=11', '43-34=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[40, 29, 34, 43], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [29, 34, 3]
Generated Node #0,0: 20:[29, 34, 3] Operation: 43-40=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[29, 34, 3], Operations: ['43-40=3']
Exploring Operation: 34-29=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 20:[3, 5] Operation: 34-29=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[3, 5], Operations: ['43-40=3', '34-29=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
63,
98,
9,
84
] | 68
|
[
"63+98=161",
"9+84=93",
"161-93=68"
] |
Current State: 68:[63, 98, 9, 84], Operations: []
Exploring Operation: 63+98=161, Resulting Numbers: [9, 84, 161]
Generated Node #2: [9, 84, 161] from Operation: 63+98=161
Current State: 68:[9, 84, 161], Operations: ['63+98=161']
Exploring Operation: 9+84=93, Resulting Numbers: [161, 93]
Generated Node #3: [161, 93] from Operation: 9+84=93
Current State: 68:[161, 93], Operations: ['63+98=161', '9+84=93']
Exploring Operation: 161-93=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[63, 98, 9, 84], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [63, 9, 14]
Generated Node #0,0: 68:[63, 9, 14] Operation: 98-84=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[63, 9, 14], Operations: ['98-84=14']
Exploring Operation: 63/9=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 68:[14, 7] Operation: 63/9=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[14, 7], Operations: ['98-84=14', '63/9=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
33,
35,
58,
3
] | 34
|
[
"33/3=11",
"58-35=23",
"11+23=34"
] |
Current State: 34:[33, 35, 58, 3], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [35, 58, 11]
Generated Node #2: [35, 58, 11] from Operation: 33/3=11
Current State: 34:[35, 58, 11], Operations: ['33/3=11']
Exploring Operation: 58-35=23, Resulting Numbers: [11, 23]
Generated Node #3: [11, 23] from Operation: 58-35=23
Current State: 34:[11, 23], Operations: ['33/3=11', '58-35=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4
|
Current State: 34:[33, 35, 58, 3], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [58, 3, 2]
Generated Node #0,0: 34:[58, 3, 2] Operation: 35-33=2
Exploring Operation: 58-33=25, Resulting Numbers: [35, 3, 25]
Generated Node #0,1: 34:[35, 3, 25] Operation: 58-33=25
Exploring Operation: 58-3=55, Resulting Numbers: [33, 35, 55]
Generated Node #0,2: 34:[33, 35, 55] Operation: 58-3=55
Exploring Operation: 58-35=23, Resulting Numbers: [33, 3, 23]
Generated Node #0,3: 34:[33, 3, 23] Operation: 58-35=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[33, 3, 23], Operations: ['58-35=23']
Exploring Operation: 3+23=26, Resulting Numbers: [33, 26]
Generated Node #0,3,0: 34:[33, 26] Operation: 3+23=26
Exploring Operation: 23-3=20, Resulting Numbers: [33, 20]
Generated Node #0,3,1: 34:[33, 20] Operation: 23-3=20
Exploring Operation: 33-23=10, Resulting Numbers: [3, 10]
Generated Node #0,3,2: 34:[3, 10] Operation: 33-23=10
Exploring Operation: 33+3=36, Resulting Numbers: [23, 36]
Generated Node #0,3,3: 34:[23, 36] Operation: 33+3=36
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[33, 20], Operations: ['58-35=23', '23-3=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[3, 10], Operations: ['58-35=23', '33-23=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[23, 36], Operations: ['58-35=23', '33+3=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,34 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[33, 26], Operations: ['58-35=23', '3+23=26']
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,34 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[35, 3, 25], Operations: ['58-33=25']
Exploring Operation: 35-25=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 34:[3, 10] Operation: 35-25=10
Exploring Operation: 25-3=22, Resulting Numbers: [35, 22]
Generated Node #0,1,1: 34:[35, 22] Operation: 25-3=22
Exploring Operation: 3+25=28, Resulting Numbers: [35, 28]
Generated Node #0,1,2: 34:[35, 28] Operation: 3+25=28
Exploring Operation: 35-3=32, Resulting Numbers: [25, 32]
Generated Node #0,1,3: 34:[25, 32] Operation: 35-3=32
Moving to Node #0,1,1
Current State: 34:[35, 22], Operations: ['58-33=25', '25-3=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,34 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[35, 28], Operations: ['58-33=25', '3+25=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,34 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[3, 10], Operations: ['58-33=25', '35-25=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[25, 32], Operations: ['58-33=25', '35-3=32']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,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:[33, 35, 55], Operations: ['58-3=55']
Exploring Operation: 35-33=2, Resulting Numbers: [55, 2]
Generated Node #0,2,0: 34:[55, 2] Operation: 35-33=2
Exploring Operation: 55-35=20, Resulting Numbers: [33, 20]
Generated Node #0,2,1: 34:[33, 20] Operation: 55-35=20
Exploring Operation: 33+35=68, Resulting Numbers: [55, 68]
Generated Node #0,2,2: 34:[55, 68] Operation: 33+35=68
Exploring Operation: 55-33=22, Resulting Numbers: [35, 22]
Generated Node #0,2,3: 34:[35, 22] Operation: 55-33=22
Moving to Node #0,2,1
Current State: 34:[33, 20], Operations: ['58-3=55', '55-35=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,34 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[35, 22], Operations: ['58-3=55', '55-33=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[55, 2], Operations: ['58-3=55', '35-33=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,34 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[55, 68], Operations: ['58-3=55', '33+35=68']
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,34 unequal: No Solution
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,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:[58, 3, 2], Operations: ['35-33=2']
Exploring Operation: 3-2=1, Resulting Numbers: [58, 1]
Generated Node #0,0,0: 34:[58, 1] Operation: 3-2=1
Exploring Operation: 58-3=55, Resulting Numbers: [2, 55]
Generated Node #0,0,1: 34:[2, 55] Operation: 58-3=55
Exploring Operation: 58/2=29, Resulting Numbers: [3, 29]
Generated Node #0,0,2: 34:[3, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [3, 56]
Generated Node #0,0,3: 34:[3, 56] Operation: 58-2=56
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[3, 29], Operations: ['35-33=2', '58/2=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,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,0,1
Current State: 34:[2, 55], Operations: ['35-33=2', '58-3=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,34 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,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,0,3
Current State: 34:[3, 56], Operations: ['35-33=2', '58-2=56']
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,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,0,0
Current State: 34:[58, 1], Operations: ['35-33=2', '3-2=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,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_4
|
sum_heuristic
|
[
97,
44,
9,
64
] | 20
|
[
"97-44=53",
"9+64=73",
"73-53=20"
] |
Current State: 20:[97, 44, 9, 64], Operations: []
Exploring Operation: 97-44=53, Resulting Numbers: [9, 64, 53]
Generated Node #2: [9, 64, 53] from Operation: 97-44=53
Current State: 20:[9, 64, 53], Operations: ['97-44=53']
Exploring Operation: 9+64=73, Resulting Numbers: [53, 73]
Generated Node #3: [53, 73] from Operation: 9+64=73
Current State: 20:[53, 73], Operations: ['97-44=53', '9+64=73']
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[97, 44, 9, 64], Operations: []
Exploring Operation: 97-9=88, Resulting Numbers: [44, 64, 88]
Generated Node #0,0: 20:[44, 64, 88] Operation: 97-9=88
Exploring Operation: 44-9=35, Resulting Numbers: [97, 64, 35]
Generated Node #0,1: 20:[97, 64, 35] Operation: 44-9=35
Exploring Operation: 64-44=20, Resulting Numbers: [97, 9, 20]
Generated Node #0,2: 20:[97, 9, 20] Operation: 64-44=20
Exploring Operation: 97-64=33, Resulting Numbers: [44, 9, 33]
Generated Node #0,3: 20:[44, 9, 33] Operation: 97-64=33
Exploring Operation: 97-44=53, Resulting Numbers: [9, 64, 53]
Generated Node #0,4: 20:[9, 64, 53] Operation: 97-44=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[44, 9, 33], Operations: ['97-64=33']
Exploring Operation: 33-9=24, Resulting Numbers: [44, 24]
Generated Node #0,3,0: 20:[44, 24] Operation: 33-9=24
Exploring Operation: 9+33=42, Resulting Numbers: [44, 42]
Generated Node #0,3,1: 20:[44, 42] Operation: 9+33=42
Exploring Operation: 44-33=11, Resulting Numbers: [9, 11]
Generated Node #0,3,2: 20:[9, 11] Operation: 44-33=11
Exploring Operation: 44+9=53, Resulting Numbers: [33, 53]
Generated Node #0,3,3: 20:[33, 53] Operation: 44+9=53
Exploring Operation: 44-9=35, Resulting Numbers: [33, 35]
Generated Node #0,3,4: 20:[33, 35] Operation: 44-9=35
Moving to Node #0,3,2
Current State: 20:[9, 11], Operations: ['97-64=33', '44-33=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,20 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[97, 44, 9, 64], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [44, 9, 33]
Generated Node #0,3: 20:[44, 9, 33] Operation: 97-64=33
Moving to Node #0,3
Current State: 20:[44, 9, 33], Operations: ['97-64=33']
Exploring Operation: 44-33=11, Resulting Numbers: [9, 11]
Generated Node #0,3,2: 20:[9, 11] Operation: 44-33=11
Moving to Node #0,3,2
Current State: 20:[9, 11], Operations: ['97-64=33', '44-33=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
mult_heuristic
|
[
50,
25,
10,
88
] | 23
|
[
"50+25=75",
"10+88=98",
"98-75=23"
] |
Current State: 23:[50, 25, 10, 88], Operations: []
Exploring Operation: 50+25=75, Resulting Numbers: [10, 88, 75]
Generated Node #2: [10, 88, 75] from Operation: 50+25=75
Current State: 23:[10, 88, 75], Operations: ['50+25=75']
Exploring Operation: 10+88=98, Resulting Numbers: [75, 98]
Generated Node #3: [75, 98] from Operation: 10+88=98
Current State: 23:[75, 98], Operations: ['50+25=75', '10+88=98']
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[50, 25, 10, 88], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [25, 10, 38]
Generated Node #0,0: 23:[25, 10, 38] Operation: 88-50=38
Exploring Operation: 50-25=25, Resulting Numbers: [10, 88, 25]
Generated Node #0,1: 23:[10, 88, 25] Operation: 50-25=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[25, 10, 38], Operations: ['88-50=38']
Exploring Operation: 38-10=28, Resulting Numbers: [25, 28]
Generated Node #0,0,0: 23:[25, 28] Operation: 38-10=28
Exploring Operation: 25-10=15, Resulting Numbers: [38, 15]
Generated Node #0,0,1: 23:[38, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[25, 28], Operations: ['88-50=38', '38-10=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No 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: 23:[38, 15], Operations: ['88-50=38', '25-10=15']
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[50, 25, 10, 88], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [25, 10, 38]
Generated Node #0,0: 23:[25, 10, 38] Operation: 88-50=38
Moving to Node #0,0
Current State: 23:[25, 10, 38], Operations: ['88-50=38']
Exploring Operation: 25-10=15, Resulting Numbers: [38, 15]
Generated Node #0,0,1: 23:[38, 15] Operation: 25-10=15
Moving to Node #0,0,1
Current State: 23:[38, 15], Operations: ['88-50=38', '25-10=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
sum_heuristic
|
[
98,
6,
5,
69
] | 18
|
[
"98-6=92",
"5+69=74",
"92-74=18"
] |
Current State: 18:[98, 6, 5, 69], Operations: []
Exploring Operation: 98-6=92, Resulting Numbers: [5, 69, 92]
Generated Node #2: [5, 69, 92] from Operation: 98-6=92
Current State: 18:[5, 69, 92], Operations: ['98-6=92']
Exploring Operation: 5+69=74, Resulting Numbers: [92, 74]
Generated Node #3: [92, 74] from Operation: 5+69=74
Current State: 18:[92, 74], Operations: ['98-6=92', '5+69=74']
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4
|
Current State: 18:[98, 6, 5, 69], Operations: []
Exploring Operation: 98-6=92, Resulting Numbers: [5, 69, 92]
Generated Node #0,0: 18:[5, 69, 92] Operation: 98-6=92
Exploring Operation: 98-5=93, Resulting Numbers: [6, 69, 93]
Generated Node #0,1: 18:[6, 69, 93] Operation: 98-5=93
Exploring Operation: 98-69=29, Resulting Numbers: [6, 5, 29]
Generated Node #0,2: 18:[6, 5, 29] Operation: 98-69=29
Moving to Node #0,2
Current State: 18:[6, 5, 29], Operations: ['98-69=29']
Exploring Operation: 29-6=23, Resulting Numbers: [5, 23]
Generated Node #0,2,0: 18:[5, 23] Operation: 29-6=23
Exploring Operation: 29-5=24, Resulting Numbers: [6, 24]
Generated Node #0,2,1: 18:[6, 24] Operation: 29-5=24
Exploring Operation: 6-5=1, Resulting Numbers: [29, 1]
Generated Node #0,2,2: 18:[29, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[5, 23], Operations: ['98-69=29', '29-6=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,18 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[98, 6, 5, 69], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [6, 5, 29]
Generated Node #0,2: 18:[6, 5, 29] Operation: 98-69=29
Moving to Node #0,2
Current State: 18:[6, 5, 29], Operations: ['98-69=29']
Exploring Operation: 29-6=23, Resulting Numbers: [5, 23]
Generated Node #0,2,0: 18:[5, 23] Operation: 29-6=23
Moving to Node #0,2,0
Current State: 18:[5, 23], Operations: ['98-69=29', '29-6=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
sum_heuristic
|
[
94,
74,
18,
7
] | 58
|
[
"94+18=112",
"112/7=16",
"74-16=58"
] |
Current State: 58:[94, 74, 18, 7], Operations: []
Exploring Operation: 94+18=112, Resulting Numbers: [74, 7, 112]
Generated Node #2: [74, 7, 112] from Operation: 94+18=112
Current State: 58:[74, 7, 112], Operations: ['94+18=112']
Exploring Operation: 112/7=16, Resulting Numbers: [74, 16]
Generated Node #3: [74, 16] from Operation: 112/7=16
Current State: 58:[74, 16], Operations: ['94+18=112', '112/7=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[94, 74, 18, 7], Operations: []
Exploring Operation: 94-7=87, Resulting Numbers: [74, 18, 87]
Generated Node #0,0: 58:[74, 18, 87] Operation: 94-7=87
Exploring Operation: 74-18=56, Resulting Numbers: [94, 7, 56]
Generated Node #0,1: 58:[94, 7, 56] Operation: 74-18=56
Exploring Operation: 74-7=67, Resulting Numbers: [94, 18, 67]
Generated Node #0,2: 58:[94, 18, 67] Operation: 74-7=67
Exploring Operation: 94-74=20, Resulting Numbers: [18, 7, 20]
Generated Node #0,3: 58:[18, 7, 20] Operation: 94-74=20
Exploring Operation: 94-18=76, Resulting Numbers: [74, 7, 76]
Generated Node #0,4: 58:[74, 7, 76] Operation: 94-18=76
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[18, 7, 20], Operations: ['94-74=20']
Exploring Operation: 20-18=2, Resulting Numbers: [7, 2]
Generated Node #0,3,0: 58:[7, 2] Operation: 20-18=2
Exploring Operation: 18-7=11, Resulting Numbers: [20, 11]
Generated Node #0,3,1: 58:[20, 11] Operation: 18-7=11
Exploring Operation: 18+7=25, Resulting Numbers: [20, 25]
Generated Node #0,3,2: 58:[20, 25] Operation: 18+7=25
Exploring Operation: 7+20=27, Resulting Numbers: [18, 27]
Generated Node #0,3,3: 58:[18, 27] Operation: 7+20=27
Exploring Operation: 18+20=38, Resulting Numbers: [7, 38]
Generated Node #0,3,4: 58:[7, 38] Operation: 18+20=38
Moving to Node #0,3,0
Current State: 58:[7, 2], Operations: ['94-74=20', '20-18=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[18, 27], Operations: ['94-74=20', '7+20=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[20, 25], Operations: ['94-74=20', '18+7=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,58 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Moving to Node #0,3,4
Current State: 58:[7, 38], Operations: ['94-74=20', '18+20=38']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,58 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[20, 11], Operations: ['94-74=20', '18-7=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,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
Current State: 58:[74, 7, 76], Operations: ['94-18=76']
Exploring Operation: 74+7=81, Resulting Numbers: [76, 81]
Generated Node #0,4,0: 58:[76, 81] Operation: 74+7=81
Exploring Operation: 76-74=2, Resulting Numbers: [7, 2]
Generated Node #0,4,1: 58:[7, 2] Operation: 76-74=2
Exploring Operation: 76-7=69, Resulting Numbers: [74, 69]
Generated Node #0,4,2: 58:[74, 69] Operation: 76-7=69
Exploring Operation: 74-7=67, Resulting Numbers: [76, 67]
Generated Node #0,4,3: 58:[76, 67] Operation: 74-7=67
Exploring Operation: 7+76=83, Resulting Numbers: [74, 83]
Generated Node #0,4,4: 58:[74, 83] Operation: 7+76=83
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 58:[7, 2], Operations: ['94-18=76', '76-74=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 58:[74, 69], Operations: ['94-18=76', '76-7=69']
Exploring Operation: 74*69=5106, Resulting Numbers: [5106]
5106,58 unequal: No Solution
Exploring Operation: 74+69=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 58:[76, 67], Operations: ['94-18=76', '74-7=67']
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,58 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 58:[76, 81], Operations: ['94-18=76', '74+7=81']
Exploring Operation: 76+81=157, Resulting Numbers: [157]
157,58 unequal: No Solution
Exploring Operation: 76*81=6156, Resulting Numbers: [6156]
6156,58 unequal: No Solution
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 58:[74, 83], Operations: ['94-18=76', '7+76=83']
Exploring Operation: 74*83=6142, Resulting Numbers: [6142]
6142,58 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 74+83=157, Resulting Numbers: [157]
157,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[94, 7, 56], Operations: ['74-18=56']
Exploring Operation: 94+7=101, Resulting Numbers: [56, 101]
Generated Node #0,1,0: 58:[56, 101] Operation: 94+7=101
Exploring Operation: 94-7=87, Resulting Numbers: [56, 87]
Generated Node #0,1,1: 58:[56, 87] Operation: 94-7=87
Exploring Operation: 94-56=38, Resulting Numbers: [7, 38]
Generated Node #0,1,2: 58:[7, 38] Operation: 94-56=38
Exploring Operation: 7+56=63, Resulting Numbers: [94, 63]
Generated Node #0,1,3: 58:[94, 63] Operation: 7+56=63
Exploring Operation: 56/7=8, Resulting Numbers: [94, 8]
Generated Node #0,1,4: 58:[94, 8] Operation: 56/7=8
Moving to Node #0,1,2
Current State: 58:[7, 38], Operations: ['74-18=56', '94-56=38']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,58 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[56, 87], Operations: ['74-18=56', '94-7=87']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 56+87=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Exploring Operation: 56*87=4872, Resulting Numbers: [4872]
4872,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[94, 63], Operations: ['74-18=56', '7+56=63']
Exploring Operation: 94*63=5922, Resulting Numbers: [5922]
5922,58 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 94+63=157, Resulting Numbers: [157]
157,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[94, 8], Operations: ['74-18=56', '56/7=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,58 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[56, 101], Operations: ['74-18=56', '94+7=101']
Exploring Operation: 56+101=157, Resulting Numbers: [157]
157,58 unequal: No Solution
Exploring Operation: 56*101=5656, Resulting Numbers: [5656]
5656,58 unequal: No Solution
Exploring Operation: 101-56=45, Resulting Numbers: [45]
45,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[74, 18, 87], Operations: ['94-7=87']
Exploring Operation: 87-74=13, Resulting Numbers: [18, 13]
Generated Node #0,0,0: 58:[18, 13] Operation: 87-74=13
Exploring Operation: 87-18=69, Resulting Numbers: [74, 69]
Generated Node #0,0,1: 58:[74, 69] Operation: 87-18=69
Exploring Operation: 74+18=92, Resulting Numbers: [87, 92]
Generated Node #0,0,2: 58:[87, 92] Operation: 74+18=92
Exploring Operation: 18+87=105, Resulting Numbers: [74, 105]
Generated Node #0,0,3: 58:[74, 105] Operation: 18+87=105
Exploring Operation: 74-18=56, Resulting Numbers: [87, 56]
Generated Node #0,0,4: 58:[87, 56] Operation: 74-18=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[18, 13], Operations: ['94-7=87', '87-74=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[74, 69], Operations: ['94-7=87', '87-18=69']
Exploring Operation: 74+69=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 74*69=5106, Resulting Numbers: [5106]
5106,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 58:[87, 56], Operations: ['94-7=87', '74-18=56']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[87, 92], Operations: ['94-7=87', '74+18=92']
Exploring Operation: 92-87=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 87*92=8004, Resulting Numbers: [8004]
8004,58 unequal: No Solution
Exploring Operation: 87+92=179, Resulting Numbers: [179]
179,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[74, 105], Operations: ['94-7=87', '18+87=105']
Exploring Operation: 74+105=179, Resulting Numbers: [179]
179,58 unequal: No Solution
Exploring Operation: 105-74=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 74*105=7770, Resulting Numbers: [7770]
7770,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[94, 18, 67], Operations: ['74-7=67']
Exploring Operation: 94-18=76, Resulting Numbers: [67, 76]
Generated Node #0,2,0: 58:[67, 76] Operation: 94-18=76
Exploring Operation: 67-18=49, Resulting Numbers: [94, 49]
Generated Node #0,2,1: 58:[94, 49] Operation: 67-18=49
Exploring Operation: 94-67=27, Resulting Numbers: [18, 27]
Generated Node #0,2,2: 58:[18, 27] Operation: 94-67=27
Exploring Operation: 94+18=112, Resulting Numbers: [67, 112]
Generated Node #0,2,3: 58:[67, 112] Operation: 94+18=112
Exploring Operation: 18+67=85, Resulting Numbers: [94, 85]
Generated Node #0,2,4: 58:[94, 85] Operation: 18+67=85
Moving to Node #0,2,2
Current State: 58:[18, 27], Operations: ['74-7=67', '94-67=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[67, 76], Operations: ['74-7=67', '94-18=76']
Exploring Operation: 67+76=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Exploring Operation: 67*76=5092, Resulting Numbers: [5092]
5092,58 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[94, 49], Operations: ['74-7=67', '67-18=49']
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,58 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[67, 112], Operations: ['74-7=67', '94+18=112']
Exploring Operation: 67*112=7504, Resulting Numbers: [7504]
7504,58 unequal: No Solution
Exploring Operation: 67+112=179, Resulting Numbers: [179]
179,58 unequal: No Solution
Exploring Operation: 112-67=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[94, 85], Operations: ['74-7=67', '18+67=85']
Exploring Operation: 94*85=7990, Resulting Numbers: [7990]
7990,58 unequal: No Solution
Exploring Operation: 94+85=179, Resulting Numbers: [179]
179,58 unequal: No Solution
Exploring Operation: 94-85=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
12,
26,
6,
7
] | 28
|
[
"26-12=14",
"6*7=42",
"42-14=28"
] |
Current State: 28:[12, 26, 6, 7], Operations: []
Exploring Operation: 26-12=14, Resulting Numbers: [6, 7, 14]
Generated Node #2: [6, 7, 14] from Operation: 26-12=14
Current State: 28:[6, 7, 14], Operations: ['26-12=14']
Exploring Operation: 6*7=42, Resulting Numbers: [14, 42]
Generated Node #3: [14, 42] from Operation: 6*7=42
Current State: 28:[14, 42], Operations: ['26-12=14', '6*7=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4
|
Current State: 28:[12, 26, 6, 7], Operations: []
Exploring Operation: 12-6=6, Resulting Numbers: [26, 7, 6]
Generated Node #0,0: 28:[26, 7, 6] Operation: 12-6=6
Exploring Operation: 26-12=14, Resulting Numbers: [6, 7, 14]
Generated Node #0,1: 28:[6, 7, 14] Operation: 26-12=14
Exploring Operation: 12/6=2, Resulting Numbers: [26, 7, 2]
Generated Node #0,2: 28:[26, 7, 2] Operation: 12/6=2
Exploring Operation: 6+7=13, Resulting Numbers: [12, 26, 13]
Generated Node #0,3: 28:[12, 26, 13] Operation: 6+7=13
Exploring Operation: 12-7=5, Resulting Numbers: [26, 6, 5]
Generated Node #0,4: 28:[26, 6, 5] Operation: 12-7=5
Moving to Node #0,1
Current State: 28:[6, 7, 14], Operations: ['26-12=14']
Exploring Operation: 14-7=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 28:[6, 7] Operation: 14-7=7
Exploring Operation: 6+7=13, Resulting Numbers: [14, 13]
Generated Node #0,1,1: 28:[14, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [14, 1]
Generated Node #0,1,2: 28:[14, 1] Operation: 7-6=1
Exploring Operation: 14-6=8, Resulting Numbers: [7, 8]
Generated Node #0,1,3: 28:[7, 8] Operation: 14-6=8
Exploring Operation: 14/7=2, Resulting Numbers: [6, 2]
Generated Node #0,1,4: 28:[6, 2] Operation: 14/7=2
Moving to Node #0,2
Current State: 28:[26, 7, 2], Operations: ['12/6=2']
Exploring Operation: 26/2=13, Resulting Numbers: [7, 13]
Generated Node #0,2,0: 28:[7, 13] Operation: 26/2=13
Exploring Operation: 7*2=14, Resulting Numbers: [26, 14]
Generated Node #0,2,1: 28:[26, 14] Operation: 7*2=14
Exploring Operation: 26+2=28, Resulting Numbers: [7, 28]
Generated Node #0,2,2: 28:[7, 28] Operation: 26+2=28
Exploring Operation: 7-2=5, Resulting Numbers: [26, 5]
Generated Node #0,2,3: 28:[26, 5] Operation: 7-2=5
Exploring Operation: 26-2=24, Resulting Numbers: [7, 24]
Generated Node #0,2,4: 28:[7, 24] Operation: 26-2=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[7, 28], Operations: ['12/6=2', '26+2=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,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,2,0
Current State: 28:[7, 13], Operations: ['12/6=2', '26/2=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,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,2,1
Current State: 28:[26, 14], Operations: ['12/6=2', '7*2=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,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,2,3
Current State: 28:[26, 5], Operations: ['12/6=2', '7-2=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,28 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,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,2,4
Current State: 28:[7, 24], Operations: ['12/6=2', '26-2=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,28 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 7+24=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
Current State: 28:[26, 7, 6], Operations: ['12-6=6']
Exploring Operation: 7+6=13, Resulting Numbers: [26, 13]
Generated Node #0,0,0: 28:[26, 13] Operation: 7+6=13
Exploring Operation: 26-7=19, Resulting Numbers: [6, 19]
Generated Node #0,0,1: 28:[6, 19] Operation: 26-7=19
Exploring Operation: 7-6=1, Resulting Numbers: [26, 1]
Generated Node #0,0,2: 28:[26, 1] Operation: 7-6=1
Exploring Operation: 26+7=33, Resulting Numbers: [6, 33]
Generated Node #0,0,3: 28:[6, 33] Operation: 26+7=33
Exploring Operation: 26+6=32, Resulting Numbers: [7, 32]
Generated Node #0,0,4: 28:[7, 32] Operation: 26+6=32
Moving to Node #0,4
Current State: 28:[26, 6, 5], Operations: ['12-7=5']
Exploring Operation: 6*5=30, Resulting Numbers: [26, 30]
Generated Node #0,4,0: 28:[26, 30] Operation: 6*5=30
Exploring Operation: 6+5=11, Resulting Numbers: [26, 11]
Generated Node #0,4,1: 28:[26, 11] Operation: 6+5=11
Exploring Operation: 26+5=31, Resulting Numbers: [6, 31]
Generated Node #0,4,2: 28:[6, 31] Operation: 26+5=31
Exploring Operation: 6-5=1, Resulting Numbers: [26, 1]
Generated Node #0,4,3: 28:[26, 1] Operation: 6-5=1
Exploring Operation: 26+6=32, Resulting Numbers: [5, 32]
Generated Node #0,4,4: 28:[5, 32] Operation: 26+6=32
Moving to Node #0,3
Current State: 28:[12, 26, 13], Operations: ['6+7=13']
Exploring Operation: 13-12=1, Resulting Numbers: [26, 1]
Generated Node #0,3,0: 28:[26, 1] Operation: 13-12=1
Exploring Operation: 26-12=14, Resulting Numbers: [13, 14]
Generated Node #0,3,1: 28:[13, 14] Operation: 26-12=14
Exploring Operation: 26-13=13, Resulting Numbers: [12, 13]
Generated Node #0,3,2: 28:[12, 13] Operation: 26-13=13
Exploring Operation: 12+13=25, Resulting Numbers: [26, 25]
Generated Node #0,3,3: 28:[26, 25] Operation: 12+13=25
Exploring Operation: 26/13=2, Resulting Numbers: [12, 2]
Generated Node #0,3,4: 28:[12, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[13, 14], Operations: ['6+7=13', '26-12=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,28 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,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,3,4
Current State: 28:[12, 2], Operations: ['6+7=13', '26/13=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,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,3,0
Current State: 28:[26, 1], Operations: ['6+7=13', '13-12=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,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,3,2
Current State: 28:[12, 13], Operations: ['6+7=13', '26-13=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,28 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,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,3,3
Current State: 28:[26, 25], Operations: ['6+7=13', '12+13=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,28 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: 28:[6, 7], Operations: ['26-12=14', '14-7=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[14, 1], Operations: ['26-12=14', '7-6=1']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[14, 13], Operations: ['26-12=14', '6+7=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,28 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[6, 2], Operations: ['26-12=14', '14/7=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[7, 8], Operations: ['26-12=14', '14-6=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[26, 1], Operations: ['12-6=6', '7-6=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[26, 13], Operations: ['12-6=6', '7+6=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,28 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[26, 1], Operations: ['12-7=5', '6-5=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[26, 30], Operations: ['12-7=5', '6*5=30']
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,28 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[7, 32], Operations: ['12-6=6', '26+6=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,28 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[6, 31], Operations: ['12-7=5', '26+5=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[26, 11], Operations: ['12-7=5', '6+5=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,28 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[5, 32], Operations: ['12-7=5', '26+6=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,28 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[6, 33], Operations: ['12-6=6', '26+7=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,28 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[6, 19], Operations: ['12-6=6', '26-7=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,28 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,28 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
18,
21,
10,
11
] | 49
|
[
"18-11=7",
"10*7=70",
"70-21=49"
] |
Current State: 49:[18, 21, 10, 11], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [21, 10, 7]
Generated Node #2: [21, 10, 7] from Operation: 18-11=7
Current State: 49:[21, 10, 7], Operations: ['18-11=7']
Exploring Operation: 10*7=70, Resulting Numbers: [21, 70]
Generated Node #3: [21, 70] from Operation: 10*7=70
Current State: 49:[21, 70], Operations: ['18-11=7', '10*7=70']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[18, 21, 10, 11], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [10, 11, 3]
Generated Node #0,0: 49:[10, 11, 3] Operation: 21-18=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[10, 11, 3], Operations: ['21-18=3']
Exploring Operation: 10-3=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 49:[11, 7] Operation: 10-3=7
Moving to Node #0,0,0
Current State: 49:[11, 7], Operations: ['21-18=3', '10-3=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
11,
44,
84,
72
] | 93
|
[
"44/11=4",
"84/4=21",
"72+21=93"
] |
Current State: 93:[11, 44, 84, 72], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [84, 72, 4]
Generated Node #2: [84, 72, 4] from Operation: 44/11=4
Current State: 93:[84, 72, 4], Operations: ['44/11=4']
Exploring Operation: 84/4=21, Resulting Numbers: [72, 21]
Generated Node #3: [72, 21] from Operation: 84/4=21
Current State: 93:[72, 21], Operations: ['44/11=4', '84/4=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4
|
Current State: 93:[11, 44, 84, 72], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [11, 44, 12]
Generated Node #0,0: 93:[11, 44, 12] Operation: 84-72=12
Exploring Operation: 72-44=28, Resulting Numbers: [11, 84, 28]
Generated Node #0,1: 93:[11, 84, 28] Operation: 72-44=28
Moving to Node #0,1
Current State: 93:[11, 84, 28], Operations: ['72-44=28']
Exploring Operation: 84/28=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 93:[11, 3] Operation: 84/28=3
Exploring Operation: 11+84=95, Resulting Numbers: [28, 95]
Generated Node #0,1,1: 93:[28, 95] Operation: 11+84=95
Moving to Node #0,0
Current State: 93:[11, 44, 12], Operations: ['84-72=12']
Exploring Operation: 44/11=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 93:[12, 4] Operation: 44/11=4
Exploring Operation: 44-12=32, Resulting Numbers: [11, 32]
Generated Node #0,0,1: 93:[11, 32] Operation: 44-12=32
Moving to Node #0,1,1
Current State: 93:[28, 95], Operations: ['72-44=28', '11+84=95']
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,93 unequal: No Solution
Exploring Operation: 28+95=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[11, 3], Operations: ['72-44=28', '84/28=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[11, 32], Operations: ['84-72=12', '44-12=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[12, 4], Operations: ['84-72=12', '44/11=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
5,
3,
30,
96
] | 82
|
[
"5*30=150",
"96+150=246",
"246/3=82"
] |
Current State: 82:[5, 3, 30, 96], Operations: []
Exploring Operation: 5*30=150, Resulting Numbers: [3, 96, 150]
Generated Node #2: [3, 96, 150] from Operation: 5*30=150
Current State: 82:[3, 96, 150], Operations: ['5*30=150']
Exploring Operation: 96+150=246, Resulting Numbers: [3, 246]
Generated Node #3: [3, 246] from Operation: 96+150=246
Current State: 82:[3, 246], Operations: ['5*30=150', '96+150=246']
Exploring Operation: 246/3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[5, 3, 30, 96], Operations: []
Exploring Operation: 30/5=6, Resulting Numbers: [3, 96, 6]
Generated Node #0,0: 82:[3, 96, 6] Operation: 30/5=6
Exploring Operation: 5+30=35, Resulting Numbers: [3, 96, 35]
Generated Node #0,1: 82:[3, 96, 35] Operation: 5+30=35
Exploring Operation: 96-30=66, Resulting Numbers: [5, 3, 66]
Generated Node #0,2: 82:[5, 3, 66] Operation: 96-30=66
Exploring Operation: 96-5=91, Resulting Numbers: [3, 30, 91]
Generated Node #0,3: 82:[3, 30, 91] Operation: 96-5=91
Moving to Node #0,0
Current State: 82:[3, 96, 6], Operations: ['30/5=6']
Exploring Operation: 6/3=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 82:[96, 2] Operation: 6/3=2
Exploring Operation: 96/3=32, Resulting Numbers: [6, 32]
Generated Node #0,0,1: 82:[6, 32] Operation: 96/3=32
Exploring Operation: 96-6=90, Resulting Numbers: [3, 90]
Generated Node #0,0,2: 82:[3, 90] Operation: 96-6=90
Exploring Operation: 96-3=93, Resulting Numbers: [6, 93]
Generated Node #0,0,3: 82:[6, 93] Operation: 96-3=93
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[3, 90], Operations: ['30/5=6', '96-6=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,82 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[6, 32], Operations: ['30/5=6', '96/3=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,82 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[96, 2], Operations: ['30/5=6', '6/3=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,82 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 82:[6, 93], Operations: ['30/5=6', '96-3=93']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,82 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 82:[5, 3, 66], Operations: ['96-30=66']
Exploring Operation: 66-5=61, Resulting Numbers: [3, 61]
Generated Node #0,2,0: 82:[3, 61] Operation: 66-5=61
Exploring Operation: 5+66=71, Resulting Numbers: [3, 71]
Generated Node #0,2,1: 82:[3, 71] Operation: 5+66=71
Exploring Operation: 3+66=69, Resulting Numbers: [5, 69]
Generated Node #0,2,2: 82:[5, 69] Operation: 3+66=69
Exploring Operation: 5-3=2, Resulting Numbers: [66, 2]
Generated Node #0,2,3: 82:[66, 2] Operation: 5-3=2
Moving to Node #0,3
Current State: 82:[3, 30, 91], Operations: ['96-5=91']
Exploring Operation: 3+30=33, Resulting Numbers: [91, 33]
Generated Node #0,3,0: 82:[91, 33] Operation: 3+30=33
Exploring Operation: 30/3=10, Resulting Numbers: [91, 10]
Generated Node #0,3,1: 82:[91, 10] Operation: 30/3=10
Exploring Operation: 3*30=90, Resulting Numbers: [91, 90]
Generated Node #0,3,2: 82:[91, 90] Operation: 3*30=90
Exploring Operation: 91-3=88, Resulting Numbers: [30, 88]
Generated Node #0,3,3: 82:[30, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[91, 33], Operations: ['96-5=91', '3+30=33']
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,82 unequal: No Solution
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 91*33=3003, Resulting Numbers: [3003]
3003,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[91, 10], Operations: ['96-5=91', '30/3=10']
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,82 unequal: No Solution
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[91, 90], Operations: ['96-5=91', '3*30=90']
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,82 unequal: No Solution
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[30, 88], Operations: ['96-5=91', '91-3=88']
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,82 unequal: No Solution
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,82 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: 82:[3, 96, 35], Operations: ['5+30=35']
Exploring Operation: 96-3=93, Resulting Numbers: [35, 93]
Generated Node #0,1,0: 82:[35, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [35, 32]
Generated Node #0,1,1: 82:[35, 32] Operation: 96/3=32
Exploring Operation: 96-35=61, Resulting Numbers: [3, 61]
Generated Node #0,1,2: 82:[3, 61] Operation: 96-35=61
Exploring Operation: 3+35=38, Resulting Numbers: [96, 38]
Generated Node #0,1,3: 82:[96, 38] Operation: 3+35=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[35, 32], Operations: ['5+30=35', '96/3=32']
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,82 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,82 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[35, 93], Operations: ['5+30=35', '96-3=93']
Exploring Operation: 35+93=128, Resulting Numbers: [128]
128,82 unequal: No Solution
Exploring Operation: 35*93=3255, Resulting Numbers: [3255]
3255,82 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[96, 38], Operations: ['5+30=35', '3+35=38']
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,82 unequal: No Solution
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,82 unequal: No Solution
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[3, 61], Operations: ['5+30=35', '96-35=61']
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 82:[3, 71], Operations: ['96-30=66', '5+66=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[66, 2], Operations: ['96-30=66', '5-3=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[5, 69], Operations: ['96-30=66', '3+66=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,82 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[3, 61], Operations: ['96-30=66', '66-5=61']
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,82 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
14,
68,
2,
96
] | 68
|
[
"14+68=82",
"2*82=164",
"164-96=68"
] |
Current State: 68:[14, 68, 2, 96], Operations: []
Exploring Operation: 14+68=82, Resulting Numbers: [2, 96, 82]
Generated Node #2: [2, 96, 82] from Operation: 14+68=82
Current State: 68:[2, 96, 82], Operations: ['14+68=82']
Exploring Operation: 2*82=164, Resulting Numbers: [96, 164]
Generated Node #3: [96, 164] from Operation: 2*82=164
Current State: 68:[96, 164], Operations: ['14+68=82', '2*82=164']
Exploring Operation: 164-96=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4
|
Current State: 68:[14, 68, 2, 96], Operations: []
Exploring Operation: 96-68=28, Resulting Numbers: [14, 2, 28]
Generated Node #0,0: 68:[14, 2, 28] Operation: 96-68=28
Exploring Operation: 96-14=82, Resulting Numbers: [68, 2, 82]
Generated Node #0,1: 68:[68, 2, 82] Operation: 96-14=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[14, 2, 28], Operations: ['96-68=28']
Exploring Operation: 28-14=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 68:[2, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 68:[2, 2] Operation: 28/14=2
Moving to Node #0,0,1
Current State: 68:[2, 2], Operations: ['96-68=28', '28/14=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[2, 14], Operations: ['96-68=28', '28-14=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[68, 2, 82], Operations: ['96-14=82']
Exploring Operation: 82-68=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 68:[2, 14] Operation: 82-68=14
Exploring Operation: 82/2=41, Resulting Numbers: [68, 41]
Generated Node #0,1,1: 68:[68, 41] Operation: 82/2=41
Moving to Node #0,1,0
Current State: 68:[2, 14], Operations: ['96-14=82', '82-68=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[68, 41], Operations: ['96-14=82', '82/2=41']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,68 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
|
[
66,
25,
41,
16
] | 39
|
[
"66-16=50",
"50/25=2",
"41-2=39"
] |
Current State: 39:[66, 25, 41, 16], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [25, 41, 50]
Generated Node #2: [25, 41, 50] from Operation: 66-16=50
Current State: 39:[25, 41, 50], Operations: ['66-16=50']
Exploring Operation: 50/25=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 50/25=2
Current State: 39:[41, 2], Operations: ['66-16=50', '50/25=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[66, 25, 41, 16], Operations: []
Exploring Operation: 41-25=16, Resulting Numbers: [66, 16, 16]
Generated Node #0,0: 39:[66, 16, 16] Operation: 41-25=16
Exploring Operation: 66-16=50, Resulting Numbers: [25, 41, 50]
Generated Node #0,1: 39:[25, 41, 50] Operation: 66-16=50
Exploring Operation: 66-41=25, Resulting Numbers: [25, 16, 25]
Generated Node #0,2: 39:[25, 16, 25] Operation: 66-41=25
Exploring Operation: 66-25=41, Resulting Numbers: [41, 16, 41]
Generated Node #0,3: 39:[41, 16, 41] Operation: 66-25=41
Exploring Operation: 25+16=41, Resulting Numbers: [66, 41, 41]
Generated Node #0,4: 39:[66, 41, 41] Operation: 25+16=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[41, 16, 41], Operations: ['66-25=41']
Exploring Operation: 41+16=57, Resulting Numbers: [41, 57]
Generated Node #0,3,0: 39:[41, 57] Operation: 41+16=57
Exploring Operation: 41/41=1, Resulting Numbers: [16, 1]
Generated Node #0,3,1: 39:[16, 1] Operation: 41/41=1
Exploring Operation: 41-41=0, Resulting Numbers: [16, 0]
Generated Node #0,3,2: 39:[16, 0] Operation: 41-41=0
Exploring Operation: 41-16=25, Resulting Numbers: [41, 25]
Generated Node #0,3,3: 39:[41, 25] Operation: 41-16=25
Exploring Operation: 41-16=25, Resulting Numbers: [41, 25]
Generated Node #0,3,4: 39:[41, 25] Operation: 41-16=25
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[16, 1], Operations: ['66-25=41', '41/41=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[16, 0], Operations: ['66-25=41', '41-41=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[41, 25], Operations: ['66-25=41', '41-16=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[41, 25], Operations: ['66-25=41', '41-16=25']
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,39 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[41, 57], Operations: ['66-25=41', '41+16=57']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 41*57=2337, Resulting Numbers: [2337]
2337,39 unequal: No Solution
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[25, 41, 50], Operations: ['66-16=50']
Exploring Operation: 25+41=66, Resulting Numbers: [50, 66]
Generated Node #0,1,0: 39:[50, 66] Operation: 25+41=66
Exploring Operation: 50-25=25, Resulting Numbers: [41, 25]
Generated Node #0,1,1: 39:[41, 25] Operation: 50-25=25
Exploring Operation: 50-41=9, Resulting Numbers: [25, 9]
Generated Node #0,1,2: 39:[25, 9] Operation: 50-41=9
Exploring Operation: 41-25=16, Resulting Numbers: [50, 16]
Generated Node #0,1,3: 39:[50, 16] Operation: 41-25=16
Exploring Operation: 50/25=2, Resulting Numbers: [41, 2]
Generated Node #0,1,4: 39:[41, 2] Operation: 50/25=2
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 39:[41, 2], Operations: ['66-16=50', '50/25=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[66, 25, 41, 16], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [25, 41, 50]
Generated Node #0,1: 39:[25, 41, 50] Operation: 66-16=50
Moving to Node #0,1
Current State: 39:[25, 41, 50], Operations: ['66-16=50']
Exploring Operation: 50/25=2, Resulting Numbers: [41, 2]
Generated Node #0,1,4: 39:[41, 2] Operation: 50/25=2
Moving to Node #0,1,4
Current State: 39:[41, 2], Operations: ['66-16=50', '50/25=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875
|
hs_5
|
sum_heuristic
|
[
24,
16,
56,
46
] | 70
|
[
"46-16=30",
"56*30=1680",
"1680/24=70"
] |
Current State: 70:[24, 16, 56, 46], Operations: []
Exploring Operation: 46-16=30, Resulting Numbers: [24, 56, 30]
Generated Node #2: [24, 56, 30] from Operation: 46-16=30
Current State: 70:[24, 56, 30], Operations: ['46-16=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [24, 1680]
Generated Node #3: [24, 1680] from Operation: 56*30=1680
Current State: 70:[24, 1680], Operations: ['46-16=30', '56*30=1680']
Exploring Operation: 1680/24=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[24, 16, 56, 46], Operations: []
Exploring Operation: 56-24=32, Resulting Numbers: [16, 46, 32]
Generated Node #0,0: 70:[16, 46, 32] Operation: 56-24=32
Exploring Operation: 24+46=70, Resulting Numbers: [16, 56, 70]
Generated Node #0,1: 70:[16, 56, 70] Operation: 24+46=70
Exploring Operation: 16+56=72, Resulting Numbers: [24, 46, 72]
Generated Node #0,2: 70:[24, 46, 72] Operation: 16+56=72
Exploring Operation: 24+56=80, Resulting Numbers: [16, 46, 80]
Generated Node #0,3: 70:[16, 46, 80] Operation: 24+56=80
Exploring Operation: 56-46=10, Resulting Numbers: [24, 16, 10]
Generated Node #0,4: 70:[24, 16, 10] Operation: 56-46=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[24, 16, 10], Operations: ['56-46=10']
Exploring Operation: 24-16=8, Resulting Numbers: [10, 8]
Generated Node #0,4,0: 70:[10, 8] Operation: 24-16=8
Exploring Operation: 24-10=14, Resulting Numbers: [16, 14]
Generated Node #0,4,1: 70:[16, 14] Operation: 24-10=14
Exploring Operation: 16-10=6, Resulting Numbers: [24, 6]
Generated Node #0,4,2: 70:[24, 6] Operation: 16-10=6
Exploring Operation: 24+10=34, Resulting Numbers: [16, 34]
Generated Node #0,4,3: 70:[16, 34] Operation: 24+10=34
Exploring Operation: 24+16=40, Resulting Numbers: [10, 40]
Generated Node #0,4,4: 70:[10, 40] Operation: 24+16=40
Moving to Node #0,4,0
Current State: 70:[10, 8], Operations: ['56-46=10', '24-16=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[16, 14], Operations: ['56-46=10', '24-10=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,70 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[16, 34], Operations: ['56-46=10', '24+10=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[10, 40], Operations: ['56-46=10', '24+16=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,70 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[24, 6], Operations: ['56-46=10', '16-10=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[16, 46, 32], Operations: ['56-24=32']
Exploring Operation: 32/16=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 70:[46, 2] Operation: 32/16=2
Exploring Operation: 46-16=30, Resulting Numbers: [32, 30]
Generated Node #0,0,1: 70:[32, 30] Operation: 46-16=30
Exploring Operation: 46+32=78, Resulting Numbers: [16, 78]
Generated Node #0,0,2: 70:[16, 78] Operation: 46+32=78
Exploring Operation: 16+46=62, Resulting Numbers: [32, 62]
Generated Node #0,0,3: 70:[32, 62] Operation: 16+46=62
Exploring Operation: 46-32=14, Resulting Numbers: [16, 14]
Generated Node #0,0,4: 70:[16, 14] Operation: 46-32=14
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 70:[16, 14], Operations: ['56-24=32', '46-32=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,70 unequal: No Solution
No 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: 70:[32, 30], Operations: ['56-24=32', '46-16=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,70 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No 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: 70:[16, 78], Operations: ['56-24=32', '46+32=78']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,70 unequal: No Solution
No 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: 70:[46, 2], Operations: ['56-24=32', '32/16=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,70 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[32, 62], Operations: ['56-24=32', '16+46=62']
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,70 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,70 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: 70:[16, 56, 70], Operations: ['24+46=70']
Exploring Operation: 70-56=14, Resulting Numbers: [16, 14]
Generated Node #0,1,0: 70:[16, 14] Operation: 70-56=14
Exploring Operation: 16+70=86, Resulting Numbers: [56, 86]
Generated Node #0,1,1: 70:[56, 86] Operation: 16+70=86
Exploring Operation: 56-16=40, Resulting Numbers: [70, 40]
Generated Node #0,1,2: 70:[70, 40] Operation: 56-16=40
Exploring Operation: 70-16=54, Resulting Numbers: [56, 54]
Generated Node #0,1,3: 70:[56, 54] Operation: 70-16=54
Exploring Operation: 16+56=72, Resulting Numbers: [70, 72]
Generated Node #0,1,4: 70:[70, 72] Operation: 16+56=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[16, 14], Operations: ['24+46=70', '70-56=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[70, 72], Operations: ['24+46=70', '16+56=72']
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 70*72=5040, Resulting Numbers: [5040]
5040,70 unequal: No Solution
No 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: 70:[70, 40], Operations: ['24+46=70', '56-16=40']
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,70 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No 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: 70:[56, 86], Operations: ['24+46=70', '16+70=86']
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,70 unequal: No Solution
No 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: 70:[56, 54], Operations: ['24+46=70', '70-16=54']
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,70 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,70 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: 70:[24, 46, 72], Operations: ['16+56=72']
Exploring Operation: 72-46=26, Resulting Numbers: [24, 26]
Generated Node #0,2,0: 70:[24, 26] Operation: 72-46=26
Exploring Operation: 46-24=22, Resulting Numbers: [72, 22]
Generated Node #0,2,1: 70:[72, 22] Operation: 46-24=22
Exploring Operation: 72/24=3, Resulting Numbers: [46, 3]
Generated Node #0,2,2: 70:[46, 3] Operation: 72/24=3
Exploring Operation: 24+46=70, Resulting Numbers: [72, 70]
Generated Node #0,2,3: 70:[72, 70] Operation: 24+46=70
Exploring Operation: 72-24=48, Resulting Numbers: [46, 48]
Generated Node #0,2,4: 70:[46, 48] Operation: 72-24=48
Moving to Node #0,2,3
Current State: 70:[72, 70], Operations: ['16+56=72', '24+46=70']
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,70 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[72, 22], Operations: ['16+56=72', '46-24=22']
Exploring Operation: 72*22=1584, Resulting Numbers: [1584]
1584,70 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[46, 3], Operations: ['16+56=72', '72/24=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[24, 26], Operations: ['16+56=72', '72-46=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,70 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[46, 48], Operations: ['16+56=72', '72-24=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,70 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[16, 46, 80], Operations: ['24+56=80']
Exploring Operation: 80-46=34, Resulting Numbers: [16, 34]
Generated Node #0,3,0: 70:[16, 34] Operation: 80-46=34
Exploring Operation: 46-16=30, Resulting Numbers: [80, 30]
Generated Node #0,3,1: 70:[80, 30] Operation: 46-16=30
Exploring Operation: 16+46=62, Resulting Numbers: [80, 62]
Generated Node #0,3,2: 70:[80, 62] Operation: 16+46=62
Exploring Operation: 80/16=5, Resulting Numbers: [46, 5]
Generated Node #0,3,3: 70:[46, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [46, 64]
Generated Node #0,3,4: 70:[46, 64] Operation: 80-16=64
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[16, 34], Operations: ['24+56=80', '80-46=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,70 unequal: No Solution
No 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: 70:[46, 5], Operations: ['24+56=80', '80/16=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,70 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No 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: 70:[80, 30], Operations: ['24+56=80', '46-16=30']
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,70 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No 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: 70:[46, 64], Operations: ['24+56=80', '80-16=64']
Exploring Operation: 46*64=2944, Resulting Numbers: [2944]
2944,70 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,70 unequal: No Solution
No 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: 70:[80, 62], Operations: ['24+56=80', '16+46=62']
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,70 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
|
[
10,
16,
46,
39
] | 59
|
[
"10+16=26",
"46+39=85",
"85-26=59"
] |
Current State: 59:[10, 16, 46, 39], Operations: []
Exploring Operation: 10+16=26, Resulting Numbers: [46, 39, 26]
Generated Node #2: [46, 39, 26] from Operation: 10+16=26
Current State: 59:[46, 39, 26], Operations: ['10+16=26']
Exploring Operation: 46+39=85, Resulting Numbers: [26, 85]
Generated Node #3: [26, 85] from Operation: 46+39=85
Current State: 59:[26, 85], Operations: ['10+16=26', '46+39=85']
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4
|
Current State: 59:[10, 16, 46, 39], Operations: []
Exploring Operation: 10+16=26, Resulting Numbers: [46, 39, 26]
Generated Node #0,0: 59:[46, 39, 26] Operation: 10+16=26
Moving to Node #0,0
Current State: 59:[46, 39, 26], Operations: ['10+16=26']
Exploring Operation: 39+26=65, Resulting Numbers: [46, 65]
Generated Node #0,0,0: 59:[46, 65] Operation: 39+26=65
Moving to Node #0,0,0
Current State: 59:[46, 65], Operations: ['10+16=26', '39+26=65']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,59 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
97,
49,
12,
55
] | 51
|
[
"97-49=48",
"48/12=4",
"55-4=51"
] |
Current State: 51:[97, 49, 12, 55], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [12, 55, 48]
Generated Node #2: [12, 55, 48] from Operation: 97-49=48
Current State: 51:[12, 55, 48], Operations: ['97-49=48']
Exploring Operation: 48/12=4, Resulting Numbers: [55, 4]
Generated Node #3: [55, 4] from Operation: 48/12=4
Current State: 51:[55, 4], Operations: ['97-49=48', '48/12=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[97, 49, 12, 55], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [12, 55, 48]
Generated Node #0,0: 51:[12, 55, 48] Operation: 97-49=48
Exploring Operation: 97-55=42, Resulting Numbers: [49, 12, 42]
Generated Node #0,1: 51:[49, 12, 42] Operation: 97-55=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[12, 55, 48], Operations: ['97-49=48']
Exploring Operation: 55-48=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 51:[12, 7] Operation: 55-48=7
Exploring Operation: 48/12=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 51:[55, 4] Operation: 48/12=4
Moving to Node #0,0,1
Current State: 51:[55, 4], Operations: ['97-49=48', '48/12=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[97, 49, 12, 55], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [12, 55, 48]
Generated Node #0,0: 51:[12, 55, 48] Operation: 97-49=48
Moving to Node #0,0
Current State: 51:[12, 55, 48], Operations: ['97-49=48']
Exploring Operation: 48/12=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 51:[55, 4] Operation: 48/12=4
Moving to Node #0,0,1
Current State: 51:[55, 4], Operations: ['97-49=48', '48/12=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
sum_heuristic
|
[
48,
35,
21,
24
] | 88
|
[
"35*24=840",
"840/21=40",
"48+40=88"
] |
Current State: 88:[48, 35, 21, 24], Operations: []
Exploring Operation: 35*24=840, Resulting Numbers: [48, 21, 840]
Generated Node #2: [48, 21, 840] from Operation: 35*24=840
Current State: 88:[48, 21, 840], Operations: ['35*24=840']
Exploring Operation: 840/21=40, Resulting Numbers: [48, 40]
Generated Node #3: [48, 40] from Operation: 840/21=40
Current State: 88:[48, 40], Operations: ['35*24=840', '840/21=40']
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4
|
Current State: 88:[48, 35, 21, 24], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [48, 24, 14]
Generated Node #0,0: 88:[48, 24, 14] Operation: 35-21=14
Exploring Operation: 48+35=83, Resulting Numbers: [21, 24, 83]
Generated Node #0,1: 88:[21, 24, 83] Operation: 48+35=83
Exploring Operation: 35-24=11, Resulting Numbers: [48, 21, 11]
Generated Node #0,2: 88:[48, 21, 11] Operation: 35-24=11
Exploring Operation: 48-35=13, Resulting Numbers: [21, 24, 13]
Generated Node #0,3: 88:[21, 24, 13] Operation: 48-35=13
Moving to Node #0,2
Current State: 88:[48, 21, 11], Operations: ['35-24=11']
Exploring Operation: 48-21=27, Resulting Numbers: [11, 27]
Generated Node #0,2,0: 88:[11, 27] Operation: 48-21=27
Exploring Operation: 48-11=37, Resulting Numbers: [21, 37]
Generated Node #0,2,1: 88:[21, 37] Operation: 48-11=37
Exploring Operation: 21+11=32, Resulting Numbers: [48, 32]
Generated Node #0,2,2: 88:[48, 32] Operation: 21+11=32
Exploring Operation: 21-11=10, Resulting Numbers: [48, 10]
Generated Node #0,2,3: 88:[48, 10] Operation: 21-11=10
Moving to Node #0,3
Current State: 88:[21, 24, 13], Operations: ['48-35=13']
Exploring Operation: 21-13=8, Resulting Numbers: [24, 8]
Generated Node #0,3,0: 88:[24, 8] Operation: 21-13=8
Exploring Operation: 21+24=45, Resulting Numbers: [13, 45]
Generated Node #0,3,1: 88:[13, 45] Operation: 21+24=45
Exploring Operation: 24-13=11, Resulting Numbers: [21, 11]
Generated Node #0,3,2: 88:[21, 11] Operation: 24-13=11
Exploring Operation: 24-21=3, Resulting Numbers: [13, 3]
Generated Node #0,3,3: 88:[13, 3] Operation: 24-21=3
Moving to Node #0,1
Current State: 88:[21, 24, 83], Operations: ['48+35=83']
Exploring Operation: 24-21=3, Resulting Numbers: [83, 3]
Generated Node #0,1,0: 88:[83, 3] Operation: 24-21=3
Exploring Operation: 21+24=45, Resulting Numbers: [83, 45]
Generated Node #0,1,1: 88:[83, 45] Operation: 21+24=45
Exploring Operation: 83-24=59, Resulting Numbers: [21, 59]
Generated Node #0,1,2: 88:[21, 59] Operation: 83-24=59
Exploring Operation: 21+83=104, Resulting Numbers: [24, 104]
Generated Node #0,1,3: 88:[24, 104] Operation: 21+83=104
Moving to Node #0,0
Current State: 88:[48, 24, 14], Operations: ['35-21=14']
Exploring Operation: 24+14=38, Resulting Numbers: [48, 38]
Generated Node #0,0,0: 88:[48, 38] Operation: 24+14=38
Exploring Operation: 48-24=24, Resulting Numbers: [14, 24]
Generated Node #0,0,1: 88:[14, 24] Operation: 48-24=24
Exploring Operation: 24-14=10, Resulting Numbers: [48, 10]
Generated Node #0,0,2: 88:[48, 10] Operation: 24-14=10
Exploring Operation: 48/24=2, Resulting Numbers: [14, 2]
Generated Node #0,0,3: 88:[14, 2] Operation: 48/24=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[14, 2], Operations: ['35-21=14', '48/24=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[14, 24], Operations: ['35-21=14', '48-24=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,88 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[48, 10], Operations: ['35-21=14', '24-14=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,88 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[48, 38], Operations: ['35-21=14', '24+14=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 88:[21, 11], Operations: ['48-35=13', '24-13=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[24, 8], Operations: ['48-35=13', '21-13=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[13, 45], Operations: ['48-35=13', '21+24=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,88 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[13, 3], Operations: ['48-35=13', '24-21=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[48, 10], Operations: ['35-24=11', '21-11=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,88 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[11, 27], Operations: ['35-24=11', '48-21=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,88 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[83, 45], Operations: ['48+35=83', '21+24=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[83, 3], Operations: ['48+35=83', '24-21=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,88 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[21, 37], Operations: ['35-24=11', '48-11=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[48, 32], Operations: ['35-24=11', '21+11=32']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,88 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[21, 59], Operations: ['48+35=83', '83-24=59']
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,88 unequal: No Solution
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[24, 104], Operations: ['48+35=83', '21+83=104']
Exploring Operation: 24*104=2496, Resulting Numbers: [2496]
2496,88 unequal: No Solution
Exploring Operation: 24+104=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 104-24=80, Resulting Numbers: [80]
80,88 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
89,
20,
22,
88
] | 90
|
[
"22-20=2",
"89*2=178",
"178-88=90"
] |
Current State: 90:[89, 20, 22, 88], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [89, 88, 2]
Generated Node #2: [89, 88, 2] from Operation: 22-20=2
Current State: 90:[89, 88, 2], Operations: ['22-20=2']
Exploring Operation: 89*2=178, Resulting Numbers: [88, 178]
Generated Node #3: [88, 178] from Operation: 89*2=178
Current State: 90:[88, 178], Operations: ['22-20=2', '89*2=178']
Exploring Operation: 178-88=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[89, 20, 22, 88], Operations: []
Exploring Operation: 20+22=42, Resulting Numbers: [89, 88, 42]
Generated Node #0,0: 90:[89, 88, 42] Operation: 20+22=42
Exploring Operation: 88/22=4, Resulting Numbers: [89, 20, 4]
Generated Node #0,1: 90:[89, 20, 4] Operation: 88/22=4
Exploring Operation: 89-88=1, Resulting Numbers: [20, 22, 1]
Generated Node #0,2: 90:[20, 22, 1] Operation: 89-88=1
Exploring Operation: 22-20=2, Resulting Numbers: [89, 88, 2]
Generated Node #0,3: 90:[89, 88, 2] Operation: 22-20=2
Moving to Node #0,3
Current State: 90:[89, 88, 2], Operations: ['22-20=2']
Exploring Operation: 88/2=44, Resulting Numbers: [89, 44]
Generated Node #0,3,0: 90:[89, 44] Operation: 88/2=44
Exploring Operation: 89+2=91, Resulting Numbers: [88, 91]
Generated Node #0,3,1: 90:[88, 91] Operation: 89+2=91
Exploring Operation: 88+2=90, Resulting Numbers: [89, 90]
Generated Node #0,3,2: 90:[89, 90] Operation: 88+2=90
Exploring Operation: 89-88=1, Resulting Numbers: [2, 1]
Generated Node #0,3,3: 90:[2, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[89, 90], Operations: ['22-20=2', '88+2=90']
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,90 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[2, 1], Operations: ['22-20=2', '89-88=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[89, 44], Operations: ['22-20=2', '88/2=44']
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 89*44=3916, Resulting Numbers: [3916]
3916,90 unequal: No Solution
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[88, 91], Operations: ['22-20=2', '89+2=91']
Exploring Operation: 88*91=8008, Resulting Numbers: [8008]
8008,90 unequal: No Solution
Exploring Operation: 88+91=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,90 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: 90:[89, 20, 4], Operations: ['88/22=4']
Exploring Operation: 89+4=93, Resulting Numbers: [20, 93]
Generated Node #0,1,0: 90:[20, 93] Operation: 89+4=93
Exploring Operation: 89-4=85, Resulting Numbers: [20, 85]
Generated Node #0,1,1: 90:[20, 85] Operation: 89-4=85
Exploring Operation: 20/4=5, Resulting Numbers: [89, 5]
Generated Node #0,1,2: 90:[89, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [89, 16]
Generated Node #0,1,3: 90:[89, 16] Operation: 20-4=16
Moving to Node #0,0
Current State: 90:[89, 88, 42], Operations: ['20+22=42']
Exploring Operation: 88-42=46, Resulting Numbers: [89, 46]
Generated Node #0,0,0: 90:[89, 46] Operation: 88-42=46
Exploring Operation: 89-42=47, Resulting Numbers: [88, 47]
Generated Node #0,0,1: 90:[88, 47] Operation: 89-42=47
Exploring Operation: 88+42=130, Resulting Numbers: [89, 130]
Generated Node #0,0,2: 90:[89, 130] Operation: 88+42=130
Exploring Operation: 89-88=1, Resulting Numbers: [42, 1]
Generated Node #0,0,3: 90:[42, 1] Operation: 89-88=1
Moving to Node #0,2
Current State: 90:[20, 22, 1], Operations: ['89-88=1']
Exploring Operation: 22-1=21, Resulting Numbers: [20, 21]
Generated Node #0,2,0: 90:[20, 21] Operation: 22-1=21
Exploring Operation: 20+22=42, Resulting Numbers: [1, 42]
Generated Node #0,2,1: 90:[1, 42] Operation: 20+22=42
Exploring Operation: 22-20=2, Resulting Numbers: [1, 2]
Generated Node #0,2,2: 90:[1, 2] Operation: 22-20=2
Exploring Operation: 20-1=19, Resulting Numbers: [22, 19]
Generated Node #0,2,3: 90:[22, 19] Operation: 20-1=19
Moving to Node #0,1,2
Current State: 90:[89, 5], Operations: ['88/22=4', '20/4=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[1, 2], Operations: ['89-88=1', '22-20=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[89, 46], Operations: ['20+22=42', '88-42=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 89*46=4094, Resulting Numbers: [4094]
4094,90 unequal: No Solution
Exploring Operation: 89+46=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[89, 16], Operations: ['88/22=4', '20-4=16']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[88, 47], Operations: ['20+22=42', '89-42=47']
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,90 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[42, 1], Operations: ['20+22=42', '89-88=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[1, 42], Operations: ['89-88=1', '20+22=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[20, 93], Operations: ['88/22=4', '89+4=93']
Exploring Operation: 20*93=1860, Resulting Numbers: [1860]
1860,90 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 20+93=113, Resulting Numbers: [113]
113,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[22, 19], Operations: ['89-88=1', '20-1=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[20, 21], Operations: ['89-88=1', '22-1=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[20, 85], Operations: ['88/22=4', '89-4=85']
Exploring Operation: 20+85=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 20*85=1700, Resulting Numbers: [1700]
1700,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[89, 130], Operations: ['20+22=42', '88+42=130']
Exploring Operation: 130-89=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 89*130=11570, Resulting Numbers: [11570]
11570,90 unequal: No Solution
Exploring Operation: 89+130=219, Resulting Numbers: [219]
219,90 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
89,
51,
5,
99
] | 49
|
[
"99-89=10",
"10/5=2",
"51-2=49"
] |
Current State: 49:[89, 51, 5, 99], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [51, 5, 10]
Generated Node #2: [51, 5, 10] from Operation: 99-89=10
Current State: 49:[51, 5, 10], Operations: ['99-89=10']
Exploring Operation: 10/5=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 10/5=2
Current State: 49:[51, 2], Operations: ['99-89=10', '10/5=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[89, 51, 5, 99], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [89, 5, 48]
Generated Node #0,0: 49:[89, 5, 48] Operation: 99-51=48
Exploring Operation: 99-89=10, Resulting Numbers: [51, 5, 10]
Generated Node #0,1: 49:[51, 5, 10] Operation: 99-89=10
Moving to Node #0,1
Current State: 49:[51, 5, 10], Operations: ['99-89=10']
Exploring Operation: 5*10=50, Resulting Numbers: [51, 50]
Generated Node #0,1,0: 49:[51, 50] Operation: 5*10=50
Exploring Operation: 10-5=5, Resulting Numbers: [51, 5]
Generated Node #0,1,1: 49:[51, 5] Operation: 10-5=5
Moving to Node #0,0
Current State: 49:[89, 5, 48], Operations: ['99-51=48']
Exploring Operation: 89-5=84, Resulting Numbers: [48, 84]
Generated Node #0,0,0: 49:[48, 84] Operation: 89-5=84
Exploring Operation: 89-48=41, Resulting Numbers: [5, 41]
Generated Node #0,0,1: 49:[5, 41] Operation: 89-48=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[5, 41], Operations: ['99-51=48', '89-48=41']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,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:[48, 84], Operations: ['99-51=48', '89-5=84']
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,49 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,49 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: 49:[51, 50], Operations: ['99-89=10', '5*10=50']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[51, 5], Operations: ['99-89=10', '10-5=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,49 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
71,
63,
14,
82
] | 66
|
[
"71+63=134",
"82-14=68",
"134-68=66"
] |
Current State: 66:[71, 63, 14, 82], Operations: []
Exploring Operation: 71+63=134, Resulting Numbers: [14, 82, 134]
Generated Node #2: [14, 82, 134] from Operation: 71+63=134
Current State: 66:[14, 82, 134], Operations: ['71+63=134']
Exploring Operation: 82-14=68, Resulting Numbers: [134, 68]
Generated Node #3: [134, 68] from Operation: 82-14=68
Current State: 66:[134, 68], Operations: ['71+63=134', '82-14=68']
Exploring Operation: 134-68=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[71, 63, 14, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [63, 14, 11]
Generated Node #0,0: 66:[63, 14, 11] Operation: 82-71=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[63, 14, 11], Operations: ['82-71=11']
Exploring Operation: 14-11=3, Resulting Numbers: [63, 3]
Generated Node #0,0,0: 66:[63, 3] Operation: 14-11=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[63, 3], Operations: ['82-71=11', '14-11=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[71, 63, 14, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [63, 14, 11]
Generated Node #0,0: 66:[63, 14, 11] Operation: 82-71=11
Moving to Node #0,0
Current State: 66:[63, 14, 11], Operations: ['82-71=11']
Exploring Operation: 14-11=3, Resulting Numbers: [63, 3]
Generated Node #0,0,0: 66:[63, 3] Operation: 14-11=3
Moving to Node #0,0,0
Current State: 66:[63, 3], Operations: ['82-71=11', '14-11=3']
Exploring Operation: 63+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
|
sum_heuristic
|
[
30,
39,
21,
34
] | 26
|
[
"30+21=51",
"39*34=1326",
"1326/51=26"
] |
Current State: 26:[30, 39, 21, 34], Operations: []
Exploring Operation: 30+21=51, Resulting Numbers: [39, 34, 51]
Generated Node #2: [39, 34, 51] from Operation: 30+21=51
Current State: 26:[39, 34, 51], Operations: ['30+21=51']
Exploring Operation: 39*34=1326, Resulting Numbers: [51, 1326]
Generated Node #3: [51, 1326] from Operation: 39*34=1326
Current State: 26:[51, 1326], Operations: ['30+21=51', '39*34=1326']
Exploring Operation: 1326/51=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[30, 39, 21, 34], Operations: []
Exploring Operation: 39-34=5, Resulting Numbers: [30, 21, 5]
Generated Node #0,0: 26:[30, 21, 5] Operation: 39-34=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[30, 21, 5], Operations: ['39-34=5']
Exploring Operation: 21+5=26, Resulting Numbers: [30, 26]
Generated Node #0,0,0: 26:[30, 26] Operation: 21+5=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[30, 26], Operations: ['39-34=5', '21+5=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,26 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
|
[
46,
46,
76,
34
] | 60
|
[
"46*46=2116",
"2116-76=2040",
"2040/34=60"
] |
Current State: 60:[46, 46, 76, 34], Operations: []
Exploring Operation: 46*46=2116, Resulting Numbers: [76, 34, 2116]
Generated Node #2: [76, 34, 2116] from Operation: 46*46=2116
Current State: 60:[76, 34, 2116], Operations: ['46*46=2116']
Exploring Operation: 2116-76=2040, Resulting Numbers: [34, 2040]
Generated Node #3: [34, 2040] from Operation: 2116-76=2040
Current State: 60:[34, 2040], Operations: ['46*46=2116', '2116-76=2040']
Exploring Operation: 2040/34=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[46, 46, 76, 34], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [46, 34, 30]
Generated Node #0,0: 60:[46, 34, 30] Operation: 76-46=30
Exploring Operation: 76-46=30, Resulting Numbers: [46, 34, 30]
Generated Node #0,1: 60:[46, 34, 30] Operation: 76-46=30
Moving to Node #0,0
Current State: 60:[46, 34, 30], Operations: ['76-46=30']
Exploring Operation: 46-34=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 60:[30, 12] Operation: 46-34=12
Exploring Operation: 46-30=16, Resulting Numbers: [34, 16]
Generated Node #0,0,1: 60:[34, 16] Operation: 46-30=16
Moving to Node #0,1
Current State: 60:[46, 34, 30], Operations: ['76-46=30']
Exploring Operation: 46-34=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 60:[30, 12] Operation: 46-34=12
Exploring Operation: 46-30=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 60:[34, 16] Operation: 46-30=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[30, 12], Operations: ['76-46=30', '46-34=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[34, 16], Operations: ['76-46=30', '46-30=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,60 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: 60:[30, 12], Operations: ['76-46=30', '46-34=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[34, 16], Operations: ['76-46=30', '46-30=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,60 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
9,
61,
97,
58
] | 100
|
[
"61-58=3",
"9/3=3",
"97+3=100"
] |
Current State: 100:[9, 61, 97, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [9, 97, 3]
Generated Node #2: [9, 97, 3] from Operation: 61-58=3
Current State: 100:[9, 97, 3], Operations: ['61-58=3']
Exploring Operation: 9/3=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 9/3=3
Current State: 100:[97, 3], Operations: ['61-58=3', '9/3=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4
|
Current State: 100:[9, 61, 97, 58], Operations: []
Exploring Operation: 61-9=52, Resulting Numbers: [97, 58, 52]
Generated Node #0,0: 100:[97, 58, 52] Operation: 61-9=52
Exploring Operation: 61-58=3, Resulting Numbers: [9, 97, 3]
Generated Node #0,1: 100:[9, 97, 3] Operation: 61-58=3
Exploring Operation: 58-9=49, Resulting Numbers: [61, 97, 49]
Generated Node #0,2: 100:[61, 97, 49] Operation: 58-9=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[9, 97, 3], Operations: ['61-58=3']
Exploring Operation: 9/3=3, Resulting Numbers: [97, 3]
Generated Node #0,1,0: 100:[97, 3] Operation: 9/3=3
Exploring Operation: 97+3=100, Resulting Numbers: [9, 100]
Generated Node #0,1,1: 100:[9, 100] Operation: 97+3=100
Exploring Operation: 9-3=6, Resulting Numbers: [97, 6]
Generated Node #0,1,2: 100:[97, 6] Operation: 9-3=6
Moving to Node #0,1,1
Current State: 100:[9, 100], Operations: ['61-58=3', '97+3=100']
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,100 unequal: No Solution
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[97, 3], Operations: ['61-58=3', '9/3=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,100 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[9, 61, 97, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [9, 97, 3]
Generated Node #0,1: 100:[9, 97, 3] Operation: 61-58=3
Moving to Node #0,1
Current State: 100:[9, 97, 3], Operations: ['61-58=3']
Exploring Operation: 9/3=3, Resulting Numbers: [97, 3]
Generated Node #0,1,0: 100:[97, 3] Operation: 9/3=3
Moving to Node #0,1,0
Current State: 100:[97, 3], Operations: ['61-58=3', '9/3=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111
|
hs_3
|
sum_heuristic
|
[
74,
45,
72,
63
] | 81
|
[
"74-72=2",
"63*2=126",
"126-45=81"
] |
Current State: 81:[74, 45, 72, 63], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [45, 63, 2]
Generated Node #2: [45, 63, 2] from Operation: 74-72=2
Current State: 81:[45, 63, 2], Operations: ['74-72=2']
Exploring Operation: 63*2=126, Resulting Numbers: [45, 126]
Generated Node #3: [45, 126] from Operation: 63*2=126
Current State: 81:[45, 126], Operations: ['74-72=2', '63*2=126']
Exploring Operation: 126-45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[74, 45, 72, 63], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [74, 72, 18]
Generated Node #0,0: 81:[74, 72, 18] Operation: 63-45=18
Exploring Operation: 72-45=27, Resulting Numbers: [74, 63, 27]
Generated Node #0,1: 81:[74, 63, 27] Operation: 72-45=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[74, 72, 18], Operations: ['63-45=18']
Exploring Operation: 74-72=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 81:[18, 2] Operation: 74-72=2
Exploring Operation: 72/18=4, Resulting Numbers: [74, 4]
Generated Node #0,0,1: 81:[74, 4] Operation: 72/18=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[74, 4], Operations: ['63-45=18', '72/18=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,81 unequal: No Solution
No 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: 81:[18, 2], Operations: ['63-45=18', '74-72=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[74, 63, 27], Operations: ['72-45=27']
Exploring Operation: 74-63=11, Resulting Numbers: [27, 11]
Generated Node #0,1,0: 81:[27, 11] Operation: 74-63=11
Exploring Operation: 63+27=90, Resulting Numbers: [74, 90]
Generated Node #0,1,1: 81:[74, 90] Operation: 63+27=90
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[27, 11], Operations: ['72-45=27', '74-63=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No 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: 81:[74, 90], Operations: ['72-45=27', '63+27=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
72,
89,
70,
70
] | 89
|
[
"70-70=0",
"72*0=0",
"89+0=89"
] |
Current State: 89:[72, 89, 70, 70], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [72, 89, 0]
Generated Node #2: [72, 89, 0] from Operation: 70-70=0
Current State: 89:[72, 89, 0], Operations: ['70-70=0']
Exploring Operation: 72*0=0, Resulting Numbers: [89, 0]
Generated Node #3: [89, 0] from Operation: 72*0=0
Current State: 89:[89, 0], Operations: ['70-70=0', '72*0=0']
Exploring Operation: 89+0=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4
|
Current State: 89:[72, 89, 70, 70], Operations: []
Exploring Operation: 70+70=140, Resulting Numbers: [72, 89, 140]
Generated Node #0,0: 89:[72, 89, 140] Operation: 70+70=140
Exploring Operation: 72+70=142, Resulting Numbers: [89, 70, 142]
Generated Node #0,1: 89:[89, 70, 142] Operation: 72+70=142
Exploring Operation: 70/70=1, Resulting Numbers: [72, 89, 1]
Generated Node #0,2: 89:[72, 89, 1] Operation: 70/70=1
Exploring Operation: 72+70=142, Resulting Numbers: [89, 70, 142]
Generated Node #0,3: 89:[89, 70, 142] Operation: 72+70=142
Moving to Node #0,0
Current State: 89:[72, 89, 140], Operations: ['70+70=140']
Exploring Operation: 140-89=51, Resulting Numbers: [72, 51]
Generated Node #0,0,0: 89:[72, 51] Operation: 140-89=51
Exploring Operation: 140-72=68, Resulting Numbers: [89, 68]
Generated Node #0,0,1: 89:[89, 68] Operation: 140-72=68
Exploring Operation: 72+89=161, Resulting Numbers: [140, 161]
Generated Node #0,0,2: 89:[140, 161] Operation: 72+89=161
Exploring Operation: 89-72=17, Resulting Numbers: [140, 17]
Generated Node #0,0,3: 89:[140, 17] Operation: 89-72=17
Moving to Node #0,3
Current State: 89:[89, 70, 142], Operations: ['72+70=142']
Exploring Operation: 89+70=159, Resulting Numbers: [142, 159]
Generated Node #0,3,0: 89:[142, 159] Operation: 89+70=159
Exploring Operation: 142-70=72, Resulting Numbers: [89, 72]
Generated Node #0,3,1: 89:[89, 72] Operation: 142-70=72
Exploring Operation: 142-89=53, Resulting Numbers: [70, 53]
Generated Node #0,3,2: 89:[70, 53] Operation: 142-89=53
Exploring Operation: 89-70=19, Resulting Numbers: [142, 19]
Generated Node #0,3,3: 89:[142, 19] Operation: 89-70=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[89, 72], Operations: ['72+70=142', '142-70=72']
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,89 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,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,3,2
Current State: 89:[70, 53], Operations: ['72+70=142', '142-89=53']
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,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,3,0
Current State: 89:[142, 159], Operations: ['72+70=142', '89+70=159']
Exploring Operation: 142+159=301, Resulting Numbers: [301]
301,89 unequal: No Solution
Exploring Operation: 142*159=22578, Resulting Numbers: [22578]
22578,89 unequal: No Solution
Exploring Operation: 159-142=17, Resulting Numbers: [17]
17,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,3,3
Current State: 89:[142, 19], Operations: ['72+70=142', '89-70=19']
Exploring Operation: 142*19=2698, Resulting Numbers: [2698]
2698,89 unequal: No Solution
Exploring Operation: 142+19=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 142-19=123, Resulting Numbers: [123]
123,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:[89, 70, 142], Operations: ['72+70=142']
Exploring Operation: 142-70=72, Resulting Numbers: [89, 72]
Generated Node #0,1,0: 89:[89, 72] Operation: 142-70=72
Exploring Operation: 142-89=53, Resulting Numbers: [70, 53]
Generated Node #0,1,1: 89:[70, 53] Operation: 142-89=53
Exploring Operation: 89-70=19, Resulting Numbers: [142, 19]
Generated Node #0,1,2: 89:[142, 19] Operation: 89-70=19
Exploring Operation: 89+70=159, Resulting Numbers: [142, 159]
Generated Node #0,1,3: 89:[142, 159] Operation: 89+70=159
Moving to Node #0,2
Current State: 89:[72, 89, 1], Operations: ['70/70=1']
Exploring Operation: 89*1=89, Resulting Numbers: [72, 89]
Generated Node #0,2,0: 89:[72, 89] Operation: 89*1=89
Exploring Operation: 72*1=72, Resulting Numbers: [89, 72]
Generated Node #0,2,1: 89:[89, 72] Operation: 72*1=72
Exploring Operation: 72/1=72, Resulting Numbers: [89, 72]
Generated Node #0,2,2: 89:[89, 72] Operation: 72/1=72
Exploring Operation: 72+1=73, Resulting Numbers: [89, 73]
Generated Node #0,2,3: 89:[89, 73] Operation: 72+1=73
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[89, 73], Operations: ['70/70=1', '72+1=73']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,89 unequal: No Solution
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[72, 89], Operations: ['70/70=1', '89*1=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[89, 72], Operations: ['70/70=1', '72*1=72']
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,89 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[89, 72], Operations: ['70/70=1', '72/1=72']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,89 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: 89:[89, 72], Operations: ['72+70=142', '142-70=72']
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[89, 68], Operations: ['70+70=140', '140-72=68']
Exploring Operation: 89+68=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 89*68=6052, Resulting Numbers: [6052]
6052,89 unequal: No Solution
Exploring Operation: 89-68=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[70, 53], Operations: ['72+70=142', '142-89=53']
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[72, 51], Operations: ['70+70=140', '140-89=51']
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,89 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[140, 161], Operations: ['70+70=140', '72+89=161']
Exploring Operation: 161-140=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 140+161=301, Resulting Numbers: [301]
301,89 unequal: No Solution
Exploring Operation: 140*161=22540, Resulting Numbers: [22540]
22540,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[142, 19], Operations: ['72+70=142', '89-70=19']
Exploring Operation: 142*19=2698, Resulting Numbers: [2698]
2698,89 unequal: No Solution
Exploring Operation: 142-19=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 142+19=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[142, 159], Operations: ['72+70=142', '89+70=159']
Exploring Operation: 142*159=22578, Resulting Numbers: [22578]
22578,89 unequal: No Solution
Exploring Operation: 142+159=301, Resulting Numbers: [301]
301,89 unequal: No Solution
Exploring Operation: 159-142=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[140, 17], Operations: ['70+70=140', '89-72=17']
Exploring Operation: 140+17=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 140-17=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 140*17=2380, Resulting Numbers: [2380]
2380,89 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
12,
3,
56,
27
] | 43
|
[
"12+27=39",
"39/3=13",
"56-13=43"
] |
Current State: 43:[12, 3, 56, 27], Operations: []
Exploring Operation: 12+27=39, Resulting Numbers: [3, 56, 39]
Generated Node #2: [3, 56, 39] from Operation: 12+27=39
Current State: 43:[3, 56, 39], Operations: ['12+27=39']
Exploring Operation: 39/3=13, Resulting Numbers: [56, 13]
Generated Node #3: [56, 13] from Operation: 39/3=13
Current State: 43:[56, 13], Operations: ['12+27=39', '39/3=13']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4
|
Current State: 43:[12, 3, 56, 27], Operations: []
Exploring Operation: 12*3=36, Resulting Numbers: [56, 27, 36]
Generated Node #0,0: 43:[56, 27, 36] Operation: 12*3=36
Exploring Operation: 56-12=44, Resulting Numbers: [3, 27, 44]
Generated Node #0,1: 43:[3, 27, 44] Operation: 56-12=44
Exploring Operation: 12+27=39, Resulting Numbers: [3, 56, 39]
Generated Node #0,2: 43:[3, 56, 39] Operation: 12+27=39
Exploring Operation: 12+3=15, Resulting Numbers: [56, 27, 15]
Generated Node #0,3: 43:[56, 27, 15] Operation: 12+3=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[56, 27, 36], Operations: ['12*3=36']
Exploring Operation: 27+36=63, Resulting Numbers: [56, 63]
Generated Node #0,0,0: 43:[56, 63] Operation: 27+36=63
Exploring Operation: 56-36=20, Resulting Numbers: [27, 20]
Generated Node #0,0,1: 43:[27, 20] Operation: 56-36=20
Exploring Operation: 56+27=83, Resulting Numbers: [36, 83]
Generated Node #0,0,2: 43:[36, 83] Operation: 56+27=83
Exploring Operation: 56-27=29, Resulting Numbers: [36, 29]
Generated Node #0,0,3: 43:[36, 29] Operation: 56-27=29
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[36, 29], Operations: ['12*3=36', '56-27=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,43 unequal: No Solution
No 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: 43:[56, 63], Operations: ['12*3=36', '27+36=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,43 unequal: No Solution
No 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: 43:[27, 20], Operations: ['12*3=36', '56-36=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,43 unequal: No Solution
No 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: 43:[36, 83], Operations: ['12*3=36', '56+27=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,43 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,43 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: 43:[3, 27, 44], Operations: ['56-12=44']
Exploring Operation: 3+27=30, Resulting Numbers: [44, 30]
Generated Node #0,1,0: 43:[44, 30] Operation: 3+27=30
Exploring Operation: 3+44=47, Resulting Numbers: [27, 47]
Generated Node #0,1,1: 43:[27, 47] Operation: 3+44=47
Exploring Operation: 44-3=41, Resulting Numbers: [27, 41]
Generated Node #0,1,2: 43:[27, 41] Operation: 44-3=41
Exploring Operation: 27-3=24, Resulting Numbers: [44, 24]
Generated Node #0,1,3: 43:[44, 24] Operation: 27-3=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[44, 30], Operations: ['56-12=44', '3+27=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,43 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No 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: 43:[27, 41], Operations: ['56-12=44', '44-3=41']
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,43 unequal: No Solution
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No 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: 43:[27, 47], Operations: ['56-12=44', '3+44=47']
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,43 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No 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: 43:[44, 24], Operations: ['56-12=44', '27-3=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,43 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,43 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: 43:[3, 56, 39], Operations: ['12+27=39']
Exploring Operation: 56-3=53, Resulting Numbers: [39, 53]
Generated Node #0,2,0: 43:[39, 53] Operation: 56-3=53
Exploring Operation: 39-3=36, Resulting Numbers: [56, 36]
Generated Node #0,2,1: 43:[56, 36] Operation: 39-3=36
Exploring Operation: 3+56=59, Resulting Numbers: [39, 59]
Generated Node #0,2,2: 43:[39, 59] Operation: 3+56=59
Exploring Operation: 3+39=42, Resulting Numbers: [56, 42]
Generated Node #0,2,3: 43:[56, 42] Operation: 3+39=42
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[39, 53], Operations: ['12+27=39', '56-3=53']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,43 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[56, 42], Operations: ['12+27=39', '3+39=42']
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,43 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,43 unequal: No Solution
No 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: 43:[56, 36], Operations: ['12+27=39', '39-3=36']
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,43 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,43 unequal: No Solution
No 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: 43:[39, 59], Operations: ['12+27=39', '3+56=59']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[56, 27, 15], Operations: ['12+3=15']
Exploring Operation: 27+15=42, Resulting Numbers: [56, 42]
Generated Node #0,3,0: 43:[56, 42] Operation: 27+15=42
Exploring Operation: 56+15=71, Resulting Numbers: [27, 71]
Generated Node #0,3,1: 43:[27, 71] Operation: 56+15=71
Exploring Operation: 56-15=41, Resulting Numbers: [27, 41]
Generated Node #0,3,2: 43:[27, 41] Operation: 56-15=41
Exploring Operation: 56-27=29, Resulting Numbers: [15, 29]
Generated Node #0,3,3: 43:[15, 29] Operation: 56-27=29
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[56, 42], Operations: ['12+3=15', '27+15=42']
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,43 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,43 unequal: No Solution
No 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: 43:[27, 41], Operations: ['12+3=15', '56-15=41']
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,43 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No 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: 43:[15, 29], Operations: ['12+3=15', '56-27=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,43 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No 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: 43:[27, 71], Operations: ['12+3=15', '56+15=71']
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,43 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
97,
66,
80,
28
] | 55
|
[
"97+66=163",
"80+28=108",
"163-108=55"
] |
Current State: 55:[97, 66, 80, 28], Operations: []
Exploring Operation: 97+66=163, Resulting Numbers: [80, 28, 163]
Generated Node #2: [80, 28, 163] from Operation: 97+66=163
Current State: 55:[80, 28, 163], Operations: ['97+66=163']
Exploring Operation: 80+28=108, Resulting Numbers: [163, 108]
Generated Node #3: [163, 108] from Operation: 80+28=108
Current State: 55:[163, 108], Operations: ['97+66=163', '80+28=108']
Exploring Operation: 163-108=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[97, 66, 80, 28], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [66, 28, 17]
Generated Node #0,0: 55:[66, 28, 17] Operation: 97-80=17
Exploring Operation: 97-28=69, Resulting Numbers: [66, 80, 69]
Generated Node #0,1: 55:[66, 80, 69] Operation: 97-28=69
Moving to Node #0,0
Current State: 55:[66, 28, 17], Operations: ['97-80=17']
Exploring Operation: 28-17=11, Resulting Numbers: [66, 11]
Generated Node #0,0,0: 55:[66, 11] Operation: 28-17=11
Exploring Operation: 28+17=45, Resulting Numbers: [66, 45]
Generated Node #0,0,1: 55:[66, 45] Operation: 28+17=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[66, 11], Operations: ['97-80=17', '28-17=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[97, 66, 80, 28], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [66, 28, 17]
Generated Node #0,0: 55:[66, 28, 17] Operation: 97-80=17
Moving to Node #0,0
Current State: 55:[66, 28, 17], Operations: ['97-80=17']
Exploring Operation: 28-17=11, Resulting Numbers: [66, 11]
Generated Node #0,0,0: 55:[66, 11] Operation: 28-17=11
Moving to Node #0,0,0
Current State: 55:[66, 11], Operations: ['97-80=17', '28-17=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188
|
hs_2
|
mult_heuristic
|
[
66,
12,
72,
84
] | 26
|
[
"72-66=6",
"84/6=14",
"12+14=26"
] |
Current State: 26:[66, 12, 72, 84], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [12, 84, 6]
Generated Node #2: [12, 84, 6] from Operation: 72-66=6
Current State: 26:[12, 84, 6], Operations: ['72-66=6']
Exploring Operation: 84/6=14, Resulting Numbers: [12, 14]
Generated Node #3: [12, 14] from Operation: 84/6=14
Current State: 26:[12, 14], Operations: ['72-66=6', '84/6=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[66, 12, 72, 84], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [66, 12, 12]
Generated Node #0,0: 26:[66, 12, 12] Operation: 84-72=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[66, 12, 12], Operations: ['84-72=12']
Exploring Operation: 66-12=54, Resulting Numbers: [12, 54]
Generated Node #0,0,0: 26:[12, 54] Operation: 66-12=54
Moving to Node #0,0,0
Current State: 26:[12, 54], Operations: ['84-72=12', '66-12=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
90,
98,
2,
80
] | 99
|
[
"98-80=18",
"18/2=9",
"90+9=99"
] |
Current State: 99:[90, 98, 2, 80], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [90, 2, 18]
Generated Node #2: [90, 2, 18] from Operation: 98-80=18
Current State: 99:[90, 2, 18], Operations: ['98-80=18']
Exploring Operation: 18/2=9, Resulting Numbers: [90, 9]
Generated Node #3: [90, 9] from Operation: 18/2=9
Current State: 99:[90, 9], Operations: ['98-80=18', '18/2=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4
|
Current State: 99:[90, 98, 2, 80], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [98, 2, 10]
Generated Node #0,0: 99:[98, 2, 10] Operation: 90-80=10
Moving to Node #0,0
Current State: 99:[98, 2, 10], Operations: ['90-80=10']
Exploring Operation: 98+2=100, Resulting Numbers: [10, 100]
Generated Node #0,0,0: 99:[10, 100] Operation: 98+2=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[10, 100], Operations: ['90-80=10', '98+2=100']
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
34,
51,
3,
15
] | 73
|
[
"34+51=85",
"15-3=12",
"85-12=73"
] |
Current State: 73:[34, 51, 3, 15], Operations: []
Exploring Operation: 34+51=85, Resulting Numbers: [3, 15, 85]
Generated Node #2: [3, 15, 85] from Operation: 34+51=85
Current State: 73:[3, 15, 85], Operations: ['34+51=85']
Exploring Operation: 15-3=12, Resulting Numbers: [85, 12]
Generated Node #3: [85, 12] from Operation: 15-3=12
Current State: 73:[85, 12], Operations: ['34+51=85', '15-3=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[34, 51, 3, 15], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [34, 51, 45]
Generated Node #0,0: 73:[34, 51, 45] Operation: 3*15=45
Exploring Operation: 34+3=37, Resulting Numbers: [51, 15, 37]
Generated Node #0,1: 73:[51, 15, 37] Operation: 34+3=37
Exploring Operation: 34+15=49, Resulting Numbers: [51, 3, 49]
Generated Node #0,2: 73:[51, 3, 49] Operation: 34+15=49
Exploring Operation: 34*3=102, Resulting Numbers: [51, 15, 102]
Generated Node #0,3: 73:[51, 15, 102] Operation: 34*3=102
Exploring Operation: 51+3=54, Resulting Numbers: [34, 15, 54]
Generated Node #0,4: 73:[34, 15, 54] Operation: 51+3=54
Moving to Node #0,0
Current State: 73:[34, 51, 45], Operations: ['3*15=45']
Exploring Operation: 34+51=85, Resulting Numbers: [45, 85]
Generated Node #0,0,0: 73:[45, 85] Operation: 34+51=85
Exploring Operation: 51+45=96, Resulting Numbers: [34, 96]
Generated Node #0,0,1: 73:[34, 96] Operation: 51+45=96
Exploring Operation: 45-34=11, Resulting Numbers: [51, 11]
Generated Node #0,0,2: 73:[51, 11] Operation: 45-34=11
Exploring Operation: 34+45=79, Resulting Numbers: [51, 79]
Generated Node #0,0,3: 73:[51, 79] Operation: 34+45=79
Exploring Operation: 51-34=17, Resulting Numbers: [45, 17]
Generated Node #0,0,4: 73:[45, 17] Operation: 51-34=17
Moving to Node #0,3
Current State: 73:[51, 15, 102], Operations: ['34*3=102']
Exploring Operation: 51+15=66, Resulting Numbers: [102, 66]
Generated Node #0,3,0: 73:[102, 66] Operation: 51+15=66
Exploring Operation: 51-15=36, Resulting Numbers: [102, 36]
Generated Node #0,3,1: 73:[102, 36] Operation: 51-15=36
Exploring Operation: 102-15=87, Resulting Numbers: [51, 87]
Generated Node #0,3,2: 73:[51, 87] Operation: 102-15=87
Exploring Operation: 102-51=51, Resulting Numbers: [15, 51]
Generated Node #0,3,3: 73:[15, 51] Operation: 102-51=51
Exploring Operation: 15+102=117, Resulting Numbers: [51, 117]
Generated Node #0,3,4: 73:[51, 117] Operation: 15+102=117
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[102, 66], Operations: ['34*3=102', '51+15=66']
Exploring Operation: 102-66=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 102*66=6732, Resulting Numbers: [6732]
6732,73 unequal: No Solution
Exploring Operation: 102+66=168, Resulting Numbers: [168]
168,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,3,2
Current State: 73:[51, 87], Operations: ['34*3=102', '102-15=87']
Exploring Operation: 51+87=138, Resulting Numbers: [138]
138,73 unequal: No Solution
Exploring Operation: 51*87=4437, Resulting Numbers: [4437]
4437,73 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,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,3,1
Current State: 73:[102, 36], Operations: ['34*3=102', '51-15=36']
Exploring Operation: 102-36=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 102+36=138, Resulting Numbers: [138]
138,73 unequal: No Solution
Exploring Operation: 102*36=3672, Resulting Numbers: [3672]
3672,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,3,4
Current State: 73:[51, 117], Operations: ['34*3=102', '15+102=117']
Exploring Operation: 51+117=168, Resulting Numbers: [168]
168,73 unequal: No Solution
Exploring Operation: 51*117=5967, Resulting Numbers: [5967]
5967,73 unequal: No Solution
Exploring Operation: 117-51=66, Resulting Numbers: [66]
66,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,3,3
Current State: 73:[15, 51], Operations: ['34*3=102', '102-51=51']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[51, 15, 37], Operations: ['34+3=37']
Exploring Operation: 15+37=52, Resulting Numbers: [51, 52]
Generated Node #0,1,0: 73:[51, 52] Operation: 15+37=52
Exploring Operation: 51-15=36, Resulting Numbers: [37, 36]
Generated Node #0,1,1: 73:[37, 36] Operation: 51-15=36
Exploring Operation: 37-15=22, Resulting Numbers: [51, 22]
Generated Node #0,1,2: 73:[51, 22] Operation: 37-15=22
Exploring Operation: 51+15=66, Resulting Numbers: [37, 66]
Generated Node #0,1,3: 73:[37, 66] Operation: 51+15=66
Exploring Operation: 51+37=88, Resulting Numbers: [15, 88]
Generated Node #0,1,4: 73:[15, 88] Operation: 51+37=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[51, 52], Operations: ['34+3=37', '15+37=52']
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,73 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,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,1,3
Current State: 73:[37, 66], Operations: ['34+3=37', '51+15=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,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,1,1
Current State: 73:[37, 36], Operations: ['34+3=37', '51-15=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[34, 51, 3, 15], Operations: []
Exploring Operation: 34+3=37, Resulting Numbers: [51, 15, 37]
Generated Node #0,1: 73:[51, 15, 37] Operation: 34+3=37
Moving to Node #0,1
Current State: 73:[51, 15, 37], Operations: ['34+3=37']
Exploring Operation: 51-15=36, Resulting Numbers: [37, 36]
Generated Node #0,1,1: 73:[37, 36] Operation: 51-15=36
Moving to Node #0,1,1
Current State: 73:[37, 36], Operations: ['34+3=37', '51-15=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201
|
hs_5
|
sum_heuristic
|
[
51,
66,
22,
63
] | 39
|
[
"66-63=3",
"51/3=17",
"22+17=39"
] |
Current State: 39:[51, 66, 22, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [51, 22, 3]
Generated Node #2: [51, 22, 3] from Operation: 66-63=3
Current State: 39:[51, 22, 3], Operations: ['66-63=3']
Exploring Operation: 51/3=17, Resulting Numbers: [22, 17]
Generated Node #3: [22, 17] from Operation: 51/3=17
Current State: 39:[22, 17], Operations: ['66-63=3', '51/3=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[51, 66, 22, 63], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [51, 63, 44]
Generated Node #0,0: 39:[51, 63, 44] Operation: 66-22=44
Exploring Operation: 66-51=15, Resulting Numbers: [22, 63, 15]
Generated Node #0,1: 39:[22, 63, 15] Operation: 66-51=15
Exploring Operation: 63-51=12, Resulting Numbers: [66, 22, 12]
Generated Node #0,2: 39:[66, 22, 12] Operation: 63-51=12
Exploring Operation: 66-63=3, Resulting Numbers: [51, 22, 3]
Generated Node #0,3: 39:[51, 22, 3] Operation: 66-63=3
Exploring Operation: 66/22=3, Resulting Numbers: [51, 63, 3]
Generated Node #0,4: 39:[51, 63, 3] Operation: 66/22=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[51, 22, 3], Operations: ['66-63=3']
Exploring Operation: 51+3=54, Resulting Numbers: [22, 54]
Generated Node #0,3,0: 39:[22, 54] Operation: 51+3=54
Exploring Operation: 51-3=48, Resulting Numbers: [22, 48]
Generated Node #0,3,1: 39:[22, 48] Operation: 51-3=48
Exploring Operation: 22-3=19, Resulting Numbers: [51, 19]
Generated Node #0,3,2: 39:[51, 19] Operation: 22-3=19
Exploring Operation: 51/3=17, Resulting Numbers: [22, 17]
Generated Node #0,3,3: 39:[22, 17] Operation: 51/3=17
Exploring Operation: 51-22=29, Resulting Numbers: [3, 29]
Generated Node #0,3,4: 39:[3, 29] Operation: 51-22=29
Moving to Node #0,3,4
Current State: 39:[3, 29], Operations: ['66-63=3', '51-22=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[22, 17], Operations: ['66-63=3', '51/3=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[51, 66, 22, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [51, 22, 3]
Generated Node #0,3: 39:[51, 22, 3] Operation: 66-63=3
Moving to Node #0,3
Current State: 39:[51, 22, 3], Operations: ['66-63=3']
Exploring Operation: 51/3=17, Resulting Numbers: [22, 17]
Generated Node #0,3,3: 39:[22, 17] Operation: 51/3=17
Moving to Node #0,3,3
Current State: 39:[22, 17], Operations: ['66-63=3', '51/3=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_5
|
sum_heuristic
|
[
12,
84,
2,
97
] | 14
|
[
"97-84=13",
"2*13=26",
"26-12=14"
] |
Current State: 14:[12, 84, 2, 97], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [12, 2, 13]
Generated Node #2: [12, 2, 13] from Operation: 97-84=13
Current State: 14:[12, 2, 13], Operations: ['97-84=13']
Exploring Operation: 2*13=26, Resulting Numbers: [12, 26]
Generated Node #3: [12, 26] from Operation: 2*13=26
Current State: 14:[12, 26], Operations: ['97-84=13', '2*13=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[12, 84, 2, 97], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [2, 97, 7]
Generated Node #0,0: 14:[2, 97, 7] Operation: 84/12=7
Exploring Operation: 97-84=13, Resulting Numbers: [12, 2, 13]
Generated Node #0,1: 14:[12, 2, 13] Operation: 97-84=13
Exploring Operation: 84/2=42, Resulting Numbers: [12, 97, 42]
Generated Node #0,2: 14:[12, 97, 42] Operation: 84/2=42
Exploring Operation: 84-12=72, Resulting Numbers: [2, 97, 72]
Generated Node #0,3: 14:[2, 97, 72] Operation: 84-12=72
Exploring Operation: 97-12=85, Resulting Numbers: [84, 2, 85]
Generated Node #0,4: 14:[84, 2, 85] Operation: 97-12=85
Moving to Node #0,1
Current State: 14:[12, 2, 13], Operations: ['97-84=13']
Exploring Operation: 12+2=14, Resulting Numbers: [13, 14]
Generated Node #0,1,0: 14:[13, 14] Operation: 12+2=14
Exploring Operation: 12/2=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 14:[13, 6] Operation: 12/2=6
Exploring Operation: 2+13=15, Resulting Numbers: [12, 15]
Generated Node #0,1,2: 14:[12, 15] Operation: 2+13=15
Exploring Operation: 13-12=1, Resulting Numbers: [2, 1]
Generated Node #0,1,3: 14:[2, 1] Operation: 13-12=1
Exploring Operation: 12-2=10, Resulting Numbers: [13, 10]
Generated Node #0,1,4: 14:[13, 10] Operation: 12-2=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[13, 14], Operations: ['97-84=13', '12+2=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[2, 1], Operations: ['97-84=13', '13-12=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[13, 6], Operations: ['97-84=13', '12/2=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[12, 15], Operations: ['97-84=13', '2+13=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 14:[13, 10], Operations: ['97-84=13', '12-2=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,14 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: 14:[2, 97, 7], Operations: ['84/12=7']
Exploring Operation: 97-7=90, Resulting Numbers: [2, 90]
Generated Node #0,0,0: 14:[2, 90] Operation: 97-7=90
Exploring Operation: 2*7=14, Resulting Numbers: [97, 14]
Generated Node #0,0,1: 14:[97, 14] Operation: 2*7=14
Exploring Operation: 97-2=95, Resulting Numbers: [7, 95]
Generated Node #0,0,2: 14:[7, 95] Operation: 97-2=95
Exploring Operation: 2+7=9, Resulting Numbers: [97, 9]
Generated Node #0,0,3: 14:[97, 9] Operation: 2+7=9
Exploring Operation: 2+97=99, Resulting Numbers: [7, 99]
Generated Node #0,0,4: 14:[7, 99] Operation: 2+97=99
Moving to Node #0,2
Current State: 14:[12, 97, 42], Operations: ['84/2=42']
Exploring Operation: 12+97=109, Resulting Numbers: [42, 109]
Generated Node #0,2,0: 14:[42, 109] Operation: 12+97=109
Exploring Operation: 97-12=85, Resulting Numbers: [42, 85]
Generated Node #0,2,1: 14:[42, 85] Operation: 97-12=85
Exploring Operation: 12+42=54, Resulting Numbers: [97, 54]
Generated Node #0,2,2: 14:[97, 54] Operation: 12+42=54
Exploring Operation: 42-12=30, Resulting Numbers: [97, 30]
Generated Node #0,2,3: 14:[97, 30] Operation: 42-12=30
Exploring Operation: 97-42=55, Resulting Numbers: [12, 55]
Generated Node #0,2,4: 14:[12, 55] Operation: 97-42=55
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 14:[12, 55], Operations: ['84/2=42', '97-42=55']
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,14 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[42, 85], Operations: ['84/2=42', '97-12=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,14 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[97, 30], Operations: ['84/2=42', '42-12=30']
Exploring Operation: 97+30=127, Resulting Numbers: [127]
127,14 unequal: No Solution
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 97*30=2910, Resulting Numbers: [2910]
2910,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[42, 109], Operations: ['84/2=42', '12+97=109']
Exploring Operation: 42*109=4578, Resulting Numbers: [4578]
4578,14 unequal: No Solution
Exploring Operation: 109-42=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 42+109=151, Resulting Numbers: [151]
151,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[97, 54], Operations: ['84/2=42', '12+42=54']
Exploring Operation: 97+54=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 97*54=5238, Resulting Numbers: [5238]
5238,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 14:[2, 97, 72], Operations: ['84-12=72']
Exploring Operation: 2+97=99, Resulting Numbers: [72, 99]
Generated Node #0,3,0: 14:[72, 99] Operation: 2+97=99
Exploring Operation: 97-72=25, Resulting Numbers: [2, 25]
Generated Node #0,3,1: 14:[2, 25] Operation: 97-72=25
Exploring Operation: 72-2=70, Resulting Numbers: [97, 70]
Generated Node #0,3,2: 14:[97, 70] Operation: 72-2=70
Exploring Operation: 97-2=95, Resulting Numbers: [72, 95]
Generated Node #0,3,3: 14:[72, 95] Operation: 97-2=95
Exploring Operation: 72/2=36, Resulting Numbers: [97, 36]
Generated Node #0,3,4: 14:[97, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[2, 25], Operations: ['84-12=72', '97-72=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 14:[97, 36], Operations: ['84-12=72', '72/2=36']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 97*36=3492, Resulting Numbers: [3492]
3492,14 unequal: No Solution
Exploring Operation: 97+36=133, Resulting Numbers: [133]
133,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[97, 70], Operations: ['84-12=72', '72-2=70']
Exploring Operation: 97*70=6790, Resulting Numbers: [6790]
6790,14 unequal: No Solution
Exploring Operation: 97+70=167, Resulting Numbers: [167]
167,14 unequal: No Solution
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[72, 95], Operations: ['84-12=72', '97-2=95']
Exploring Operation: 72*95=6840, Resulting Numbers: [6840]
6840,14 unequal: No Solution
Exploring Operation: 72+95=167, Resulting Numbers: [167]
167,14 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[72, 99], Operations: ['84-12=72', '2+97=99']
Exploring Operation: 72+99=171, Resulting Numbers: [171]
171,14 unequal: No Solution
Exploring Operation: 72*99=7128, Resulting Numbers: [7128]
7128,14 unequal: No Solution
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,14 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: 14:[84, 2, 85], Operations: ['97-12=85']
Exploring Operation: 84+2=86, Resulting Numbers: [85, 86]
Generated Node #0,4,0: 14:[85, 86] Operation: 84+2=86
Exploring Operation: 84/2=42, Resulting Numbers: [85, 42]
Generated Node #0,4,1: 14:[85, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [85, 82]
Generated Node #0,4,2: 14:[85, 82] Operation: 84-2=82
Exploring Operation: 85-84=1, Resulting Numbers: [2, 1]
Generated Node #0,4,3: 14:[2, 1] Operation: 85-84=1
Exploring Operation: 85-2=83, Resulting Numbers: [84, 83]
Generated Node #0,4,4: 14:[84, 83] Operation: 85-2=83
Moving to Node #0,4,3
Current State: 14:[2, 1], Operations: ['97-12=85', '85-84=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[2, 90], Operations: ['84/12=7', '97-7=90']
Exploring Operation: 2*90=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[7, 95], Operations: ['84/12=7', '97-2=95']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,14 unequal: No Solution
Exploring Operation: 7*95=665, Resulting Numbers: [665]
665,14 unequal: No Solution
Exploring Operation: 7+95=102, Resulting Numbers: [102]
102,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[97, 14], Operations: ['84/12=7', '2*7=14']
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,14 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,14 unequal: No Solution
Moving to Node #0,0,4
Current State: 14:[7, 99], Operations: ['84/12=7', '2+97=99']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 7+99=106, Resulting Numbers: [106]
106,14 unequal: No Solution
Exploring Operation: 7*99=693, Resulting Numbers: [693]
693,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[97, 9], Operations: ['84/12=7', '2+7=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,14 unequal: No Solution
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,14 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,14 unequal: No Solution
Moving to Node #0,4,1
Current State: 14:[85, 42], Operations: ['97-12=85', '84/2=42']
Exploring Operation: 85+42=127, Resulting Numbers: [127]
127,14 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 85*42=3570, Resulting Numbers: [3570]
3570,14 unequal: No Solution
Moving to Node #0,4,4
Current State: 14:[84, 83], Operations: ['97-12=85', '85-2=83']
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 84+83=167, Resulting Numbers: [167]
167,14 unequal: No Solution
Exploring Operation: 84*83=6972, Resulting Numbers: [6972]
6972,14 unequal: No Solution
Moving to Node #0,4,2
Current State: 14:[85, 82], Operations: ['97-12=85', '84-2=82']
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 85+82=167, Resulting Numbers: [167]
167,14 unequal: No Solution
Exploring Operation: 85*82=6970, Resulting Numbers: [6970]
6970,14 unequal: No Solution
Moving to Node #0,4,0
Current State: 14:[85, 86], Operations: ['97-12=85', '84+2=86']
Exploring Operation: 86-85=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 85+86=171, Resulting Numbers: [171]
171,14 unequal: No Solution
Exploring Operation: 85*86=7310, Resulting Numbers: [7310]
7310,14 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.