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 |
---|---|---|---|---|---|---|---|---|
[
75,
70,
38,
3
] | 61 |
[
"75+70=145",
"38+145=183",
"183/3=61"
] |
Current State: 61:[75, 70, 38, 3], Operations: []
Exploring Operation: 75+70=145, Resulting Numbers: [38, 3, 145]
Generated Node #2: [38, 3, 145] from Operation: 75+70=145
Current State: 61:[38, 3, 145], Operations: ['75+70=145']
Exploring Operation: 38+145=183, Resulting Numbers: [3, 183]
Generated Node #3: [3, 183] from Operation: 38+145=183
Current State: 61:[3, 183], Operations: ['75+70=145', '38+145=183']
Exploring Operation: 183/3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[75, 70, 38, 3], Operations: []
Exploring Operation: 75-3=72, Resulting Numbers: [70, 38, 72]
Generated Node #0,0: 61:[70, 38, 72] Operation: 75-3=72
Exploring Operation: 70-3=67, Resulting Numbers: [75, 38, 67]
Generated Node #0,1: 61:[75, 38, 67] Operation: 70-3=67
Moving to Node #0,0
Current State: 61:[70, 38, 72], Operations: ['75-3=72']
Exploring Operation: 72-38=34, Resulting Numbers: [70, 34]
Generated Node #0,0,0: 61:[70, 34] Operation: 72-38=34
Exploring Operation: 70-38=32, Resulting Numbers: [72, 32]
Generated Node #0,0,1: 61:[72, 32] Operation: 70-38=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[70, 34], Operations: ['75-3=72', '72-38=34']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 70+34=104, Resulting Numbers: [104]
104,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[72, 32], Operations: ['75-3=72', '70-38=32']
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,61 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: 61:[75, 38, 67], Operations: ['70-3=67']
Exploring Operation: 75-38=37, Resulting Numbers: [67, 37]
Generated Node #0,1,0: 61:[67, 37] Operation: 75-38=37
Exploring Operation: 67-38=29, Resulting Numbers: [75, 29]
Generated Node #0,1,1: 61:[75, 29] Operation: 67-38=29
Moving to Node #0,1,0
Current State: 61:[67, 37], Operations: ['70-3=67', '75-38=37']
Exploring Operation: 67+37=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[75, 29], Operations: ['70-3=67', '67-38=29']
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,61 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
34,
23,
4,
17
] | 25 |
[
"34/17=2",
"23+4=27",
"27-2=25"
] |
Current State: 25:[34, 23, 4, 17], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [23, 4, 2]
Generated Node #2: [23, 4, 2] from Operation: 34/17=2
Current State: 25:[23, 4, 2], Operations: ['34/17=2']
Exploring Operation: 23+4=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 23+4=27
Current State: 25:[2, 27], Operations: ['34/17=2', '23+4=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[34, 23, 4, 17], Operations: []
Exploring Operation: 34-23=11, Resulting Numbers: [4, 17, 11]
Generated Node #0,0: 25:[4, 17, 11] Operation: 34-23=11
Exploring Operation: 34-17=17, Resulting Numbers: [23, 4, 17]
Generated Node #0,1: 25:[23, 4, 17] Operation: 34-17=17
Exploring Operation: 34/17=2, Resulting Numbers: [23, 4, 2]
Generated Node #0,2: 25:[23, 4, 2] Operation: 34/17=2
Exploring Operation: 23-17=6, Resulting Numbers: [34, 4, 6]
Generated Node #0,3: 25:[34, 4, 6] Operation: 23-17=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[23, 4, 2], Operations: ['34/17=2']
Exploring Operation: 4+2=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 25:[23, 6] Operation: 4+2=6
Exploring Operation: 23-2=21, Resulting Numbers: [4, 21]
Generated Node #0,2,1: 25:[4, 21] Operation: 23-2=21
Exploring Operation: 23+2=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 25:[4, 25] Operation: 23+2=25
Exploring Operation: 23+4=27, Resulting Numbers: [2, 27]
Generated Node #0,2,3: 25:[2, 27] Operation: 23+4=27
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[4, 25], Operations: ['34/17=2', '23+2=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[23, 6], Operations: ['34/17=2', '4+2=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[4, 21], Operations: ['34/17=2', '23-2=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[34, 23, 4, 17], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [23, 4, 2]
Generated Node #0,2: 25:[23, 4, 2] Operation: 34/17=2
Moving to Node #0,2
Current State: 25:[23, 4, 2], Operations: ['34/17=2']
Exploring Operation: 23-2=21, Resulting Numbers: [4, 21]
Generated Node #0,2,1: 25:[4, 21] Operation: 23-2=21
Moving to Node #0,2,1
Current State: 25:[4, 21], Operations: ['34/17=2', '23-2=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 |
hs_4
|
sum_heuristic
|
[
11,
22,
7,
63
] | 68 |
[
"22/11=2",
"7+63=70",
"70-2=68"
] |
Current State: 68:[11, 22, 7, 63], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [7, 63, 2]
Generated Node #2: [7, 63, 2] from Operation: 22/11=2
Current State: 68:[7, 63, 2], Operations: ['22/11=2']
Exploring Operation: 7+63=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 7+63=70
Current State: 68:[2, 70], Operations: ['22/11=2', '7+63=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[11, 22, 7, 63], Operations: []
Exploring Operation: 22-7=15, Resulting Numbers: [11, 63, 15]
Generated Node #0,0: 68:[11, 63, 15] Operation: 22-7=15
Exploring Operation: 22/11=2, Resulting Numbers: [7, 63, 2]
Generated Node #0,1: 68:[7, 63, 2] Operation: 22/11=2
Exploring Operation: 11-7=4, Resulting Numbers: [22, 63, 4]
Generated Node #0,2: 68:[22, 63, 4] Operation: 11-7=4
Exploring Operation: 11+22=33, Resulting Numbers: [7, 63, 33]
Generated Node #0,3: 68:[7, 63, 33] Operation: 11+22=33
Exploring Operation: 11+7=18, Resulting Numbers: [22, 63, 18]
Generated Node #0,4: 68:[22, 63, 18] Operation: 11+7=18
Moving to Node #0,1
Current State: 68:[7, 63, 2], Operations: ['22/11=2']
Exploring Operation: 7*2=14, Resulting Numbers: [63, 14]
Generated Node #0,1,0: 68:[63, 14] Operation: 7*2=14
Exploring Operation: 7-2=5, Resulting Numbers: [63, 5]
Generated Node #0,1,1: 68:[63, 5] Operation: 7-2=5
Exploring Operation: 63+2=65, Resulting Numbers: [7, 65]
Generated Node #0,1,2: 68:[7, 65] Operation: 63+2=65
Exploring Operation: 63/7=9, Resulting Numbers: [2, 9]
Generated Node #0,1,3: 68:[2, 9] Operation: 63/7=9
Exploring Operation: 7+63=70, Resulting Numbers: [2, 70]
Generated Node #0,1,4: 68:[2, 70] Operation: 7+63=70
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 68:[2, 70], Operations: ['22/11=2', '7+63=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,68 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[11, 22, 7, 63], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [7, 63, 2]
Generated Node #0,1: 68:[7, 63, 2] Operation: 22/11=2
Moving to Node #0,1
Current State: 68:[7, 63, 2], Operations: ['22/11=2']
Exploring Operation: 7+63=70, Resulting Numbers: [2, 70]
Generated Node #0,1,4: 68:[2, 70] Operation: 7+63=70
Moving to Node #0,1,4
Current State: 68:[2, 70], Operations: ['22/11=2', '7+63=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_5
|
sum_heuristic
|
[
88,
47,
8,
17
] | 16 |
[
"88-47=41",
"8+17=25",
"41-25=16"
] |
Current State: 16:[88, 47, 8, 17], Operations: []
Exploring Operation: 88-47=41, Resulting Numbers: [8, 17, 41]
Generated Node #2: [8, 17, 41] from Operation: 88-47=41
Current State: 16:[8, 17, 41], Operations: ['88-47=41']
Exploring Operation: 8+17=25, Resulting Numbers: [41, 25]
Generated Node #3: [41, 25] from Operation: 8+17=25
Current State: 16:[41, 25], Operations: ['88-47=41', '8+17=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[88, 47, 8, 17], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [47, 17, 11]
Generated Node #0,0: 16:[47, 17, 11] Operation: 88/8=11
Exploring Operation: 88-47=41, Resulting Numbers: [8, 17, 41]
Generated Node #0,1: 16:[8, 17, 41] Operation: 88-47=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[8, 17, 41], Operations: ['88-47=41']
Exploring Operation: 41-17=24, Resulting Numbers: [8, 24]
Generated Node #0,1,0: 16:[8, 24] Operation: 41-17=24
Exploring Operation: 41-8=33, Resulting Numbers: [17, 33]
Generated Node #0,1,1: 16:[17, 33] Operation: 41-8=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[8, 24], Operations: ['88-47=41', '41-17=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[88, 47, 8, 17], Operations: []
Exploring Operation: 88-47=41, Resulting Numbers: [8, 17, 41]
Generated Node #0,1: 16:[8, 17, 41] Operation: 88-47=41
Moving to Node #0,1
Current State: 16:[8, 17, 41], Operations: ['88-47=41']
Exploring Operation: 41-17=24, Resulting Numbers: [8, 24]
Generated Node #0,1,0: 16:[8, 24] Operation: 41-17=24
Moving to Node #0,1,0
Current State: 16:[8, 24], Operations: ['88-47=41', '41-17=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
59,
61,
44,
17
] | 58 |
[
"61-44=17",
"17/17=1",
"59-1=58"
] |
Current State: 58:[59, 61, 44, 17], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [59, 17, 17]
Generated Node #2: [59, 17, 17] from Operation: 61-44=17
Current State: 58:[59, 17, 17], Operations: ['61-44=17']
Exploring Operation: 17/17=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 17/17=1
Current State: 58:[59, 1], Operations: ['61-44=17', '17/17=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[59, 61, 44, 17], Operations: []
Exploring Operation: 44+17=61, Resulting Numbers: [59, 61, 61]
Generated Node #0,0: 58:[59, 61, 61] Operation: 44+17=61
Exploring Operation: 44-17=27, Resulting Numbers: [59, 61, 27]
Generated Node #0,1: 58:[59, 61, 27] Operation: 44-17=27
Moving to Node #0,1
Current State: 58:[59, 61, 27], Operations: ['44-17=27']
Exploring Operation: 59-27=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 58:[61, 32] Operation: 59-27=32
Exploring Operation: 61-59=2, Resulting Numbers: [27, 2]
Generated Node #0,1,1: 58:[27, 2] Operation: 61-59=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[27, 2], Operations: ['44-17=27', '61-59=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,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,1,0
Current State: 58:[61, 32], Operations: ['44-17=27', '59-27=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,58 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: 58:[59, 61, 61], Operations: ['44+17=61']
Exploring Operation: 61/61=1, Resulting Numbers: [59, 1]
Generated Node #0,0,0: 58:[59, 1] Operation: 61/61=1
Exploring Operation: 61-59=2, Resulting Numbers: [61, 2]
Generated Node #0,0,1: 58:[61, 2] Operation: 61-59=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[59, 1], Operations: ['44+17=61', '61/61=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[59, 61, 44, 17], Operations: []
Exploring Operation: 44+17=61, Resulting Numbers: [59, 61, 61]
Generated Node #0,0: 58:[59, 61, 61] Operation: 44+17=61
Moving to Node #0,0
Current State: 58:[59, 61, 61], Operations: ['44+17=61']
Exploring Operation: 61/61=1, Resulting Numbers: [59, 1]
Generated Node #0,0,0: 58:[59, 1] Operation: 61/61=1
Moving to Node #0,0,0
Current State: 58:[59, 1], Operations: ['44+17=61', '61/61=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_2
|
mult_heuristic
|
[
8,
70,
62,
78
] | 58 |
[
"78-62=16",
"8*16=128",
"128-70=58"
] |
Current State: 58:[8, 70, 62, 78], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [8, 70, 16]
Generated Node #2: [8, 70, 16] from Operation: 78-62=16
Current State: 58:[8, 70, 16], Operations: ['78-62=16']
Exploring Operation: 8*16=128, Resulting Numbers: [70, 128]
Generated Node #3: [70, 128] from Operation: 8*16=128
Current State: 58:[70, 128], Operations: ['78-62=16', '8*16=128']
Exploring Operation: 128-70=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[8, 70, 62, 78], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [8, 62, 8]
Generated Node #0,0: 58:[8, 62, 8] Operation: 78-70=8
Moving to Node #0,0
Current State: 58:[8, 62, 8], Operations: ['78-70=8']
Exploring Operation: 8/8=1, Resulting Numbers: [62, 1]
Generated Node #0,0,0: 58:[62, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 58:[62, 1], Operations: ['78-70=8', '8/8=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
46,
78,
72,
60
] | 84 |
[
"60-46=14",
"78-72=6",
"14*6=84"
] |
Current State: 84:[46, 78, 72, 60], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [78, 72, 14]
Generated Node #2: [78, 72, 14] from Operation: 60-46=14
Current State: 84:[78, 72, 14], Operations: ['60-46=14']
Exploring Operation: 78-72=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 78-72=6
Current State: 84:[14, 6], Operations: ['60-46=14', '78-72=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[46, 78, 72, 60], Operations: []
Exploring Operation: 72-60=12, Resulting Numbers: [46, 78, 12]
Generated Node #0,0: 84:[46, 78, 12] Operation: 72-60=12
Exploring Operation: 78-60=18, Resulting Numbers: [46, 72, 18]
Generated Node #0,1: 84:[46, 72, 18] Operation: 78-60=18
Exploring Operation: 72-46=26, Resulting Numbers: [78, 60, 26]
Generated Node #0,2: 84:[78, 60, 26] Operation: 72-46=26
Exploring Operation: 60-46=14, Resulting Numbers: [78, 72, 14]
Generated Node #0,3: 84:[78, 72, 14] Operation: 60-46=14
Exploring Operation: 78-72=6, Resulting Numbers: [46, 60, 6]
Generated Node #0,4: 84:[46, 60, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[46, 78, 12], Operations: ['72-60=12']
Exploring Operation: 78+12=90, Resulting Numbers: [46, 90]
Generated Node #0,0,0: 84:[46, 90] Operation: 78+12=90
Exploring Operation: 78-12=66, Resulting Numbers: [46, 66]
Generated Node #0,0,1: 84:[46, 66] Operation: 78-12=66
Exploring Operation: 46+12=58, Resulting Numbers: [78, 58]
Generated Node #0,0,2: 84:[78, 58] Operation: 46+12=58
Exploring Operation: 46-12=34, Resulting Numbers: [78, 34]
Generated Node #0,0,3: 84:[78, 34] Operation: 46-12=34
Exploring Operation: 78-46=32, Resulting Numbers: [12, 32]
Generated Node #0,0,4: 84:[12, 32] Operation: 78-46=32
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 84:[12, 32], Operations: ['72-60=12', '78-46=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,84 unequal: No Solution
No 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: 84:[46, 90], Operations: ['72-60=12', '78+12=90']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,84 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,84 unequal: No Solution
No 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: 84:[78, 34], Operations: ['72-60=12', '46-12=34']
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,84 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,84 unequal: No Solution
No 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: 84:[46, 66], Operations: ['72-60=12', '78-12=66']
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,84 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,84 unequal: No Solution
No 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: 84:[78, 58], Operations: ['72-60=12', '46+12=58']
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,84 unequal: No Solution
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,84 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,84 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: 84:[78, 72, 14], Operations: ['60-46=14']
Exploring Operation: 78-14=64, Resulting Numbers: [72, 64]
Generated Node #0,3,0: 84:[72, 64] Operation: 78-14=64
Exploring Operation: 72-14=58, Resulting Numbers: [78, 58]
Generated Node #0,3,1: 84:[78, 58] Operation: 72-14=58
Exploring Operation: 72+14=86, Resulting Numbers: [78, 86]
Generated Node #0,3,2: 84:[78, 86] Operation: 72+14=86
Exploring Operation: 78-72=6, Resulting Numbers: [14, 6]
Generated Node #0,3,3: 84:[14, 6] Operation: 78-72=6
Exploring Operation: 78+14=92, Resulting Numbers: [72, 92]
Generated Node #0,3,4: 84:[72, 92] Operation: 78+14=92
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[14, 6], Operations: ['60-46=14', '78-72=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[46, 78, 72, 60], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [78, 72, 14]
Generated Node #0,3: 84:[78, 72, 14] Operation: 60-46=14
Moving to Node #0,3
Current State: 84:[78, 72, 14], Operations: ['60-46=14']
Exploring Operation: 78-72=6, Resulting Numbers: [14, 6]
Generated Node #0,3,3: 84:[14, 6] Operation: 78-72=6
Moving to Node #0,3,3
Current State: 84:[14, 6], Operations: ['60-46=14', '78-72=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 |
hs_5
|
sum_heuristic
|
[
28,
32,
16,
33
] | 44 |
[
"28+16=44",
"33-32=1",
"44*1=44"
] |
Current State: 44:[28, 32, 16, 33], Operations: []
Exploring Operation: 28+16=44, Resulting Numbers: [32, 33, 44]
Generated Node #2: [32, 33, 44] from Operation: 28+16=44
Current State: 44:[32, 33, 44], Operations: ['28+16=44']
Exploring Operation: 33-32=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 33-32=1
Current State: 44:[44, 1], Operations: ['28+16=44', '33-32=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[28, 32, 16, 33], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [28, 33, 2]
Generated Node #0,0: 44:[28, 33, 2] Operation: 32/16=2
Exploring Operation: 28+16=44, Resulting Numbers: [32, 33, 44]
Generated Node #0,1: 44:[32, 33, 44] Operation: 28+16=44
Exploring Operation: 33-28=5, Resulting Numbers: [32, 16, 5]
Generated Node #0,2: 44:[32, 16, 5] Operation: 33-28=5
Exploring Operation: 33-32=1, Resulting Numbers: [28, 16, 1]
Generated Node #0,3: 44:[28, 16, 1] Operation: 33-32=1
Exploring Operation: 32-28=4, Resulting Numbers: [16, 33, 4]
Generated Node #0,4: 44:[16, 33, 4] Operation: 32-28=4
Moving to Node #0,3
Current State: 44:[28, 16, 1], Operations: ['33-32=1']
Exploring Operation: 28+16=44, Resulting Numbers: [1, 44]
Generated Node #0,3,0: 44:[1, 44] Operation: 28+16=44
Exploring Operation: 28-1=27, Resulting Numbers: [16, 27]
Generated Node #0,3,1: 44:[16, 27] Operation: 28-1=27
Exploring Operation: 16-1=15, Resulting Numbers: [28, 15]
Generated Node #0,3,2: 44:[28, 15] Operation: 16-1=15
Exploring Operation: 28-16=12, Resulting Numbers: [1, 12]
Generated Node #0,3,3: 44:[1, 12] Operation: 28-16=12
Exploring Operation: 28*1=28, Resulting Numbers: [16, 28]
Generated Node #0,3,4: 44:[16, 28] Operation: 28*1=28
Moving to Node #0,4
Current State: 44:[16, 33, 4], Operations: ['32-28=4']
Exploring Operation: 16/4=4, Resulting Numbers: [33, 4]
Generated Node #0,4,0: 44:[33, 4] Operation: 16/4=4
Exploring Operation: 33+4=37, Resulting Numbers: [16, 37]
Generated Node #0,4,1: 44:[16, 37] Operation: 33+4=37
Exploring Operation: 16-4=12, Resulting Numbers: [33, 12]
Generated Node #0,4,2: 44:[33, 12] Operation: 16-4=12
Exploring Operation: 16+33=49, Resulting Numbers: [4, 49]
Generated Node #0,4,3: 44:[4, 49] Operation: 16+33=49
Exploring Operation: 33-16=17, Resulting Numbers: [4, 17]
Generated Node #0,4,4: 44:[4, 17] Operation: 33-16=17
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 44:[4, 49], Operations: ['32-28=4', '16+33=49']
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,44 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 44:[4, 17], Operations: ['32-28=4', '33-16=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 44:[33, 4], Operations: ['32-28=4', '16/4=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 44:[16, 37], Operations: ['32-28=4', '33+4=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,44 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 44:[33, 12], Operations: ['32-28=4', '16-4=12']
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,44 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,44 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: 44:[32, 16, 5], Operations: ['33-28=5']
Exploring Operation: 16-5=11, Resulting Numbers: [32, 11]
Generated Node #0,2,0: 44:[32, 11] Operation: 16-5=11
Exploring Operation: 32-16=16, Resulting Numbers: [5, 16]
Generated Node #0,2,1: 44:[5, 16] Operation: 32-16=16
Exploring Operation: 32-5=27, Resulting Numbers: [16, 27]
Generated Node #0,2,2: 44:[16, 27] Operation: 32-5=27
Exploring Operation: 32/16=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 44:[5, 2] Operation: 32/16=2
Exploring Operation: 32+16=48, Resulting Numbers: [5, 48]
Generated Node #0,2,4: 44:[5, 48] Operation: 32+16=48
Moving to Node #0,0
Current State: 44:[28, 33, 2], Operations: ['32/16=2']
Exploring Operation: 28/2=14, Resulting Numbers: [33, 14]
Generated Node #0,0,0: 44:[33, 14] Operation: 28/2=14
Exploring Operation: 33-2=31, Resulting Numbers: [28, 31]
Generated Node #0,0,1: 44:[28, 31] Operation: 33-2=31
Exploring Operation: 33-28=5, Resulting Numbers: [2, 5]
Generated Node #0,0,2: 44:[2, 5] Operation: 33-28=5
Exploring Operation: 33+2=35, Resulting Numbers: [28, 35]
Generated Node #0,0,3: 44:[28, 35] Operation: 33+2=35
Exploring Operation: 28-2=26, Resulting Numbers: [33, 26]
Generated Node #0,0,4: 44:[33, 26] Operation: 28-2=26
Moving to Node #0,1
Current State: 44:[32, 33, 44], Operations: ['28+16=44']
Exploring Operation: 44-33=11, Resulting Numbers: [32, 11]
Generated Node #0,1,0: 44:[32, 11] Operation: 44-33=11
Exploring Operation: 44-32=12, Resulting Numbers: [33, 12]
Generated Node #0,1,1: 44:[33, 12] Operation: 44-32=12
Exploring Operation: 33-32=1, Resulting Numbers: [44, 1]
Generated Node #0,1,2: 44:[44, 1] Operation: 33-32=1
Exploring Operation: 32+44=76, Resulting Numbers: [33, 76]
Generated Node #0,1,3: 44:[33, 76] Operation: 32+44=76
Exploring Operation: 32+33=65, Resulting Numbers: [44, 65]
Generated Node #0,1,4: 44:[44, 65] Operation: 32+33=65
Moving to Node #0,3,0
Current State: 44:[1, 44], Operations: ['33-32=1', '28+16=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[28, 32, 16, 33], Operations: []
Exploring Operation: 33-32=1, Resulting Numbers: [28, 16, 1]
Generated Node #0,3: 44:[28, 16, 1] Operation: 33-32=1
Moving to Node #0,3
Current State: 44:[28, 16, 1], Operations: ['33-32=1']
Exploring Operation: 28+16=44, Resulting Numbers: [1, 44]
Generated Node #0,3,0: 44:[1, 44] Operation: 28+16=44
Moving to Node #0,3,0
Current State: 44:[1, 44], Operations: ['33-32=1', '28+16=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.955729 |
hs_5
|
mult_heuristic
|
[
73,
24,
36,
44
] | 78 |
[
"73+44=117",
"24*117=2808",
"2808/36=78"
] |
Current State: 78:[73, 24, 36, 44], Operations: []
Exploring Operation: 73+44=117, Resulting Numbers: [24, 36, 117]
Generated Node #2: [24, 36, 117] from Operation: 73+44=117
Current State: 78:[24, 36, 117], Operations: ['73+44=117']
Exploring Operation: 24*117=2808, Resulting Numbers: [36, 2808]
Generated Node #3: [36, 2808] from Operation: 24*117=2808
Current State: 78:[36, 2808], Operations: ['73+44=117', '24*117=2808']
Exploring Operation: 2808/36=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[73, 24, 36, 44], Operations: []
Exploring Operation: 73-44=29, Resulting Numbers: [24, 36, 29]
Generated Node #0,0: 78:[24, 36, 29] Operation: 73-44=29
Exploring Operation: 73-36=37, Resulting Numbers: [24, 44, 37]
Generated Node #0,1: 78:[24, 44, 37] Operation: 73-36=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[24, 36, 29], Operations: ['73-44=29']
Exploring Operation: 36-29=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 78:[24, 7] Operation: 36-29=7
Exploring Operation: 36-24=12, Resulting Numbers: [29, 12]
Generated Node #0,0,1: 78:[29, 12] Operation: 36-24=12
Moving to Node #0,0,0
Current State: 78:[24, 7], Operations: ['73-44=29', '36-29=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[29, 12], Operations: ['73-44=29', '36-24=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[24, 44, 37], Operations: ['73-36=37']
Exploring Operation: 44-37=7, Resulting Numbers: [24, 7]
Generated Node #0,1,0: 78:[24, 7] Operation: 44-37=7
Exploring Operation: 37-24=13, Resulting Numbers: [44, 13]
Generated Node #0,1,1: 78:[44, 13] Operation: 37-24=13
Moving to Node #0,1,0
Current State: 78:[24, 7], Operations: ['73-36=37', '44-37=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[44, 13], Operations: ['73-36=37', '37-24=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,78 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
|
[
25,
21,
14,
32
] | 17 |
[
"32-25=7",
"21/7=3",
"14+3=17"
] |
Current State: 17:[25, 21, 14, 32], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [21, 14, 7]
Generated Node #2: [21, 14, 7] from Operation: 32-25=7
Current State: 17:[21, 14, 7], Operations: ['32-25=7']
Exploring Operation: 21/7=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 21/7=3
Current State: 17:[14, 3], Operations: ['32-25=7', '21/7=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[25, 21, 14, 32], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [25, 21, 18]
Generated Node #0,0: 17:[25, 21, 18] Operation: 32-14=18
Exploring Operation: 25-14=11, Resulting Numbers: [21, 32, 11]
Generated Node #0,1: 17:[21, 32, 11] Operation: 25-14=11
Exploring Operation: 25-21=4, Resulting Numbers: [14, 32, 4]
Generated Node #0,2: 17:[14, 32, 4] Operation: 25-21=4
Exploring Operation: 32-25=7, Resulting Numbers: [21, 14, 7]
Generated Node #0,3: 17:[21, 14, 7] Operation: 32-25=7
Exploring Operation: 32-21=11, Resulting Numbers: [25, 14, 11]
Generated Node #0,4: 17:[25, 14, 11] Operation: 32-21=11
Moving to Node #0,0
Current State: 17:[25, 21, 18], Operations: ['32-14=18']
Exploring Operation: 25+21=46, Resulting Numbers: [18, 46]
Generated Node #0,0,0: 17:[18, 46] Operation: 25+21=46
Exploring Operation: 25-18=7, Resulting Numbers: [21, 7]
Generated Node #0,0,1: 17:[21, 7] Operation: 25-18=7
Exploring Operation: 25+18=43, Resulting Numbers: [21, 43]
Generated Node #0,0,2: 17:[21, 43] Operation: 25+18=43
Exploring Operation: 21-18=3, Resulting Numbers: [25, 3]
Generated Node #0,0,3: 17:[25, 3] Operation: 21-18=3
Exploring Operation: 25-21=4, Resulting Numbers: [18, 4]
Generated Node #0,0,4: 17:[18, 4] Operation: 25-21=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[21, 7], Operations: ['32-14=18', '25-18=7']
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,17 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[18, 4], Operations: ['32-14=18', '25-21=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[25, 3], Operations: ['32-14=18', '21-18=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[18, 46], Operations: ['32-14=18', '25+21=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[21, 43], Operations: ['32-14=18', '25+18=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,17 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: 17:[25, 14, 11], Operations: ['32-21=11']
Exploring Operation: 25-14=11, Resulting Numbers: [11, 11]
Generated Node #0,4,0: 17:[11, 11] Operation: 25-14=11
Exploring Operation: 25+11=36, Resulting Numbers: [14, 36]
Generated Node #0,4,1: 17:[14, 36] Operation: 25+11=36
Exploring Operation: 14+11=25, Resulting Numbers: [25, 25]
Generated Node #0,4,2: 17:[25, 25] Operation: 14+11=25
Exploring Operation: 14-11=3, Resulting Numbers: [25, 3]
Generated Node #0,4,3: 17:[25, 3] Operation: 14-11=3
Exploring Operation: 25-11=14, Resulting Numbers: [14, 14]
Generated Node #0,4,4: 17:[14, 14] Operation: 25-11=14
Moving to Node #0,3
Current State: 17:[21, 14, 7], Operations: ['32-25=7']
Exploring Operation: 21/7=3, Resulting Numbers: [14, 3]
Generated Node #0,3,0: 17:[14, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [14, 14]
Generated Node #0,3,1: 17:[14, 14] Operation: 21-7=14
Exploring Operation: 21+7=28, Resulting Numbers: [14, 28]
Generated Node #0,3,2: 17:[14, 28] Operation: 21+7=28
Exploring Operation: 14-7=7, Resulting Numbers: [21, 7]
Generated Node #0,3,3: 17:[21, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [21, 21]
Generated Node #0,3,4: 17:[21, 21] Operation: 14+7=21
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[14, 14], Operations: ['32-25=7', '21-7=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,17 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 17:[21, 21], Operations: ['32-25=7', '14+7=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[14, 28], Operations: ['32-25=7', '21+7=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[21, 7], Operations: ['32-25=7', '14-7=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,17 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[14, 3], Operations: ['32-25=7', '21/7=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[25, 21, 14, 32], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [21, 14, 7]
Generated Node #0,3: 17:[21, 14, 7] Operation: 32-25=7
Moving to Node #0,3
Current State: 17:[21, 14, 7], Operations: ['32-25=7']
Exploring Operation: 21/7=3, Resulting Numbers: [14, 3]
Generated Node #0,3,0: 17:[14, 3] Operation: 21/7=3
Moving to Node #0,3,0
Current State: 17:[14, 3], Operations: ['32-25=7', '21/7=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 |
hs_5
|
sum_heuristic
|
[
32,
3,
40,
86
] | 66 |
[
"86-32=54",
"3*40=120",
"120-54=66"
] |
Current State: 66:[32, 3, 40, 86], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [3, 40, 54]
Generated Node #2: [3, 40, 54] from Operation: 86-32=54
Current State: 66:[3, 40, 54], Operations: ['86-32=54']
Exploring Operation: 3*40=120, Resulting Numbers: [54, 120]
Generated Node #3: [54, 120] from Operation: 3*40=120
Current State: 66:[54, 120], Operations: ['86-32=54', '3*40=120']
Exploring Operation: 120-54=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[32, 3, 40, 86], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [32, 3, 46]
Generated Node #0,0: 66:[32, 3, 46] Operation: 86-40=46
Exploring Operation: 86-3=83, Resulting Numbers: [32, 40, 83]
Generated Node #0,1: 66:[32, 40, 83] Operation: 86-3=83
Exploring Operation: 86-32=54, Resulting Numbers: [3, 40, 54]
Generated Node #0,2: 66:[3, 40, 54] Operation: 86-32=54
Exploring Operation: 40-3=37, Resulting Numbers: [32, 86, 37]
Generated Node #0,3: 66:[32, 86, 37] Operation: 40-3=37
Exploring Operation: 40-32=8, Resulting Numbers: [3, 86, 8]
Generated Node #0,4: 66:[3, 86, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 66:[32, 3, 46], Operations: ['86-40=46']
Exploring Operation: 32+46=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 66:[3, 78] Operation: 32+46=78
Exploring Operation: 32-3=29, Resulting Numbers: [46, 29]
Generated Node #0,0,1: 66:[46, 29] Operation: 32-3=29
Exploring Operation: 32+3=35, Resulting Numbers: [46, 35]
Generated Node #0,0,2: 66:[46, 35] Operation: 32+3=35
Exploring Operation: 46-32=14, Resulting Numbers: [3, 14]
Generated Node #0,0,3: 66:[3, 14] Operation: 46-32=14
Exploring Operation: 46-3=43, Resulting Numbers: [32, 43]
Generated Node #0,0,4: 66:[32, 43] Operation: 46-3=43
Moving to Node #0,2
Current State: 66:[3, 40, 54], Operations: ['86-32=54']
Exploring Operation: 54/3=18, Resulting Numbers: [40, 18]
Generated Node #0,2,0: 66:[40, 18] Operation: 54/3=18
Exploring Operation: 3+54=57, Resulting Numbers: [40, 57]
Generated Node #0,2,1: 66:[40, 57] Operation: 3+54=57
Exploring Operation: 40-3=37, Resulting Numbers: [54, 37]
Generated Node #0,2,2: 66:[54, 37] Operation: 40-3=37
Exploring Operation: 54-40=14, Resulting Numbers: [3, 14]
Generated Node #0,2,3: 66:[3, 14] Operation: 54-40=14
Exploring Operation: 3+40=43, Resulting Numbers: [54, 43]
Generated Node #0,2,4: 66:[54, 43] Operation: 3+40=43
Moving to Node #0,4
Current State: 66:[3, 86, 8], Operations: ['40-32=8']
Exploring Operation: 8-3=5, Resulting Numbers: [86, 5]
Generated Node #0,4,0: 66:[86, 5] Operation: 8-3=5
Exploring Operation: 86-8=78, Resulting Numbers: [3, 78]
Generated Node #0,4,1: 66:[3, 78] Operation: 86-8=78
Exploring Operation: 3*8=24, Resulting Numbers: [86, 24]
Generated Node #0,4,2: 66:[86, 24] Operation: 3*8=24
Exploring Operation: 3+8=11, Resulting Numbers: [86, 11]
Generated Node #0,4,3: 66:[86, 11] Operation: 3+8=11
Exploring Operation: 86-3=83, Resulting Numbers: [8, 83]
Generated Node #0,4,4: 66:[8, 83] Operation: 86-3=83
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[3, 78], Operations: ['40-32=8', '86-8=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,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,4,4
Current State: 66:[8, 83], Operations: ['40-32=8', '86-3=83']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,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,4,3
Current State: 66:[86, 11], Operations: ['40-32=8', '3+8=11']
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,66 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,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,4,0
Current State: 66:[86, 5], Operations: ['40-32=8', '8-3=5']
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,66 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,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,4,2
Current State: 66:[86, 24], Operations: ['40-32=8', '3*8=24']
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,66 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,66 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: 66:[32, 40, 83], Operations: ['86-3=83']
Exploring Operation: 83-40=43, Resulting Numbers: [32, 43]
Generated Node #0,1,0: 66:[32, 43] Operation: 83-40=43
Exploring Operation: 40-32=8, Resulting Numbers: [83, 8]
Generated Node #0,1,1: 66:[83, 8] Operation: 40-32=8
Exploring Operation: 83-32=51, Resulting Numbers: [40, 51]
Generated Node #0,1,2: 66:[40, 51] Operation: 83-32=51
Exploring Operation: 32+83=115, Resulting Numbers: [40, 115]
Generated Node #0,1,3: 66:[40, 115] Operation: 32+83=115
Exploring Operation: 32+40=72, Resulting Numbers: [83, 72]
Generated Node #0,1,4: 66:[83, 72] Operation: 32+40=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[32, 43], Operations: ['86-3=83', '83-40=43']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,66 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,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:[83, 8], Operations: ['86-3=83', '40-32=8']
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,66 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,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:[40, 51], Operations: ['86-3=83', '83-32=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,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,4
Current State: 66:[83, 72], Operations: ['86-3=83', '32+40=72']
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,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:[40, 115], Operations: ['86-3=83', '32+83=115']
Exploring Operation: 40*115=4600, Resulting Numbers: [4600]
4600,66 unequal: No Solution
Exploring Operation: 40+115=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 115-40=75, Resulting Numbers: [75]
75,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:[32, 86, 37], Operations: ['40-3=37']
Exploring Operation: 32+86=118, Resulting Numbers: [37, 118]
Generated Node #0,3,0: 66:[37, 118] Operation: 32+86=118
Exploring Operation: 37-32=5, Resulting Numbers: [86, 5]
Generated Node #0,3,1: 66:[86, 5] Operation: 37-32=5
Exploring Operation: 86-37=49, Resulting Numbers: [32, 49]
Generated Node #0,3,2: 66:[32, 49] Operation: 86-37=49
Exploring Operation: 32+37=69, Resulting Numbers: [86, 69]
Generated Node #0,3,3: 66:[86, 69] Operation: 32+37=69
Exploring Operation: 86-32=54, Resulting Numbers: [37, 54]
Generated Node #0,3,4: 66:[37, 54] Operation: 86-32=54
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[37, 54], Operations: ['40-3=37', '86-32=54']
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,66 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[32, 49], Operations: ['40-3=37', '86-37=49']
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,66 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[86, 5], Operations: ['40-3=37', '37-32=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,66 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[86, 69], Operations: ['40-3=37', '32+37=69']
Exploring Operation: 86*69=5934, Resulting Numbers: [5934]
5934,66 unequal: No Solution
Exploring Operation: 86+69=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[37, 118], Operations: ['40-3=37', '32+86=118']
Exploring Operation: 37*118=4366, Resulting Numbers: [4366]
4366,66 unequal: No Solution
Exploring Operation: 118-37=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 37+118=155, Resulting Numbers: [155]
155,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 66:[3, 14], Operations: ['86-40=46', '46-32=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[3, 14], Operations: ['86-32=54', '54-40=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[40, 18], Operations: ['86-32=54', '54/3=18']
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,66 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[32, 43], Operations: ['86-40=46', '46-3=43']
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[3, 78], Operations: ['86-40=46', '32+46=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,66 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[46, 35], Operations: ['86-40=46', '32+3=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[54, 37], Operations: ['86-32=54', '40-3=37']
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,66 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[40, 57], Operations: ['86-32=54', '3+54=57']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[46, 29], Operations: ['86-40=46', '32-3=29']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,66 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[54, 43], Operations: ['86-32=54', '3+40=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,66 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
58,
94,
9,
49
] | 94 |
[
"58+94=152",
"9+49=58",
"152-58=94"
] |
Current State: 94:[58, 94, 9, 49], Operations: []
Exploring Operation: 58+94=152, Resulting Numbers: [9, 49, 152]
Generated Node #2: [9, 49, 152] from Operation: 58+94=152
Current State: 94:[9, 49, 152], Operations: ['58+94=152']
Exploring Operation: 9+49=58, Resulting Numbers: [152, 58]
Generated Node #3: [152, 58] from Operation: 9+49=58
Current State: 94:[152, 58], Operations: ['58+94=152', '9+49=58']
Exploring Operation: 152-58=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[58, 94, 9, 49], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [58, 94, 40]
Generated Node #0,0: 94:[58, 94, 40] Operation: 49-9=40
Exploring Operation: 94-58=36, Resulting Numbers: [9, 49, 36]
Generated Node #0,1: 94:[9, 49, 36] Operation: 94-58=36
Exploring Operation: 58-9=49, Resulting Numbers: [94, 49, 49]
Generated Node #0,2: 94:[94, 49, 49] Operation: 58-9=49
Exploring Operation: 58+49=107, Resulting Numbers: [94, 9, 107]
Generated Node #0,3: 94:[94, 9, 107] Operation: 58+49=107
Exploring Operation: 58-49=9, Resulting Numbers: [94, 9, 9]
Generated Node #0,4: 94:[94, 9, 9] Operation: 58-49=9
Moving to Node #0,2
Current State: 94:[94, 49, 49], Operations: ['58-9=49']
Exploring Operation: 94-49=45, Resulting Numbers: [49, 45]
Generated Node #0,2,0: 94:[49, 45] Operation: 94-49=45
Exploring Operation: 49-49=0, Resulting Numbers: [94, 0]
Generated Node #0,2,1: 94:[94, 0] Operation: 49-49=0
Exploring Operation: 94-49=45, Resulting Numbers: [49, 45]
Generated Node #0,2,2: 94:[49, 45] Operation: 94-49=45
Exploring Operation: 49+49=98, Resulting Numbers: [94, 98]
Generated Node #0,2,3: 94:[94, 98] Operation: 49+49=98
Exploring Operation: 49/49=1, Resulting Numbers: [94, 1]
Generated Node #0,2,4: 94:[94, 1] Operation: 49/49=1
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[94, 1], Operations: ['58-9=49', '49/49=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[58, 94, 9, 49], Operations: []
Exploring Operation: 58-9=49, Resulting Numbers: [94, 49, 49]
Generated Node #0,2: 94:[94, 49, 49] Operation: 58-9=49
Moving to Node #0,2
Current State: 94:[94, 49, 49], Operations: ['58-9=49']
Exploring Operation: 49/49=1, Resulting Numbers: [94, 1]
Generated Node #0,2,4: 94:[94, 1] Operation: 49/49=1
Moving to Node #0,2,4
Current State: 94:[94, 1], Operations: ['58-9=49', '49/49=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
54,
74,
36,
88
] | 21 |
[
"88-74=14",
"54*14=756",
"756/36=21"
] |
Current State: 21:[54, 74, 36, 88], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [54, 36, 14]
Generated Node #2: [54, 36, 14] from Operation: 88-74=14
Current State: 21:[54, 36, 14], Operations: ['88-74=14']
Exploring Operation: 54*14=756, Resulting Numbers: [36, 756]
Generated Node #3: [36, 756] from Operation: 54*14=756
Current State: 21:[36, 756], Operations: ['88-74=14', '54*14=756']
Exploring Operation: 756/36=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[54, 74, 36, 88], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [54, 36, 14]
Generated Node #0,0: 21:[54, 36, 14] Operation: 88-74=14
Exploring Operation: 88-54=34, Resulting Numbers: [74, 36, 34]
Generated Node #0,1: 21:[74, 36, 34] Operation: 88-54=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[54, 36, 14], Operations: ['88-74=14']
Exploring Operation: 54-36=18, Resulting Numbers: [14, 18]
Generated Node #0,0,0: 21:[14, 18] Operation: 54-36=18
Exploring Operation: 54-14=40, Resulting Numbers: [36, 40]
Generated Node #0,0,1: 21:[36, 40] Operation: 54-14=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[14, 18], Operations: ['88-74=14', '54-36=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[36, 40], Operations: ['88-74=14', '54-14=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[74, 36, 34], Operations: ['88-54=34']
Exploring Operation: 74-36=38, Resulting Numbers: [34, 38]
Generated Node #0,1,0: 21:[34, 38] Operation: 74-36=38
Exploring Operation: 74-34=40, Resulting Numbers: [36, 40]
Generated Node #0,1,1: 21:[36, 40] Operation: 74-34=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[34, 38], Operations: ['88-54=34', '74-36=38']
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[36, 40], Operations: ['88-54=34', '74-34=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
87,
75,
80,
26
] | 42 |
[
"87-75=12",
"80-26=54",
"54-12=42"
] |
Current State: 42:[87, 75, 80, 26], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [80, 26, 12]
Generated Node #2: [80, 26, 12] from Operation: 87-75=12
Current State: 42:[80, 26, 12], Operations: ['87-75=12']
Exploring Operation: 80-26=54, Resulting Numbers: [12, 54]
Generated Node #3: [12, 54] from Operation: 80-26=54
Current State: 42:[12, 54], Operations: ['87-75=12', '80-26=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[87, 75, 80, 26], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [75, 26, 7]
Generated Node #0,0: 42:[75, 26, 7] Operation: 87-80=7
Exploring Operation: 80-75=5, Resulting Numbers: [87, 26, 5]
Generated Node #0,1: 42:[87, 26, 5] Operation: 80-75=5
Exploring Operation: 87-75=12, Resulting Numbers: [80, 26, 12]
Generated Node #0,2: 42:[80, 26, 12] Operation: 87-75=12
Exploring Operation: 87-26=61, Resulting Numbers: [75, 80, 61]
Generated Node #0,3: 42:[75, 80, 61] Operation: 87-26=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[75, 26, 7], Operations: ['87-80=7']
Exploring Operation: 75-26=49, Resulting Numbers: [7, 49]
Generated Node #0,0,0: 42:[7, 49] Operation: 75-26=49
Exploring Operation: 75-7=68, Resulting Numbers: [26, 68]
Generated Node #0,0,1: 42:[26, 68] Operation: 75-7=68
Exploring Operation: 26+7=33, Resulting Numbers: [75, 33]
Generated Node #0,0,2: 42:[75, 33] Operation: 26+7=33
Exploring Operation: 26-7=19, Resulting Numbers: [75, 19]
Generated Node #0,0,3: 42:[75, 19] Operation: 26-7=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[7, 49], Operations: ['87-80=7', '75-26=49']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[87, 75, 80, 26], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [75, 26, 7]
Generated Node #0,0: 42:[75, 26, 7] Operation: 87-80=7
Moving to Node #0,0
Current State: 42:[75, 26, 7], Operations: ['87-80=7']
Exploring Operation: 75-26=49, Resulting Numbers: [7, 49]
Generated Node #0,0,0: 42:[7, 49] Operation: 75-26=49
Moving to Node #0,0,0
Current State: 42:[7, 49], Operations: ['87-80=7', '75-26=49']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
sum_heuristic
|
[
53,
78,
35,
25
] | 71 |
[
"53+78=131",
"35+25=60",
"131-60=71"
] |
Current State: 71:[53, 78, 35, 25], Operations: []
Exploring Operation: 53+78=131, Resulting Numbers: [35, 25, 131]
Generated Node #2: [35, 25, 131] from Operation: 53+78=131
Current State: 71:[35, 25, 131], Operations: ['53+78=131']
Exploring Operation: 35+25=60, Resulting Numbers: [131, 60]
Generated Node #3: [131, 60] from Operation: 35+25=60
Current State: 71:[131, 60], Operations: ['53+78=131', '35+25=60']
Exploring Operation: 131-60=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[53, 78, 35, 25], Operations: []
Exploring Operation: 35+25=60, Resulting Numbers: [53, 78, 60]
Generated Node #0,0: 71:[53, 78, 60] Operation: 35+25=60
Exploring Operation: 53+25=78, Resulting Numbers: [78, 35, 78]
Generated Node #0,1: 71:[78, 35, 78] Operation: 53+25=78
Moving to Node #0,0
Current State: 71:[53, 78, 60], Operations: ['35+25=60']
Exploring Operation: 53+60=113, Resulting Numbers: [78, 113]
Generated Node #0,0,0: 71:[78, 113] Operation: 53+60=113
Exploring Operation: 78-53=25, Resulting Numbers: [60, 25]
Generated Node #0,0,1: 71:[60, 25] Operation: 78-53=25
Moving to Node #0,1
Current State: 71:[78, 35, 78], Operations: ['53+25=78']
Exploring Operation: 78-35=43, Resulting Numbers: [78, 43]
Generated Node #0,1,0: 71:[78, 43] Operation: 78-35=43
Exploring Operation: 78-35=43, Resulting Numbers: [78, 43]
Generated Node #0,1,1: 71:[78, 43] Operation: 78-35=43
Moving to Node #0,1,0
Current State: 71:[78, 43], Operations: ['53+25=78', '78-35=43']
Exploring Operation: 78+43=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[78, 43], Operations: ['53+25=78', '78-35=43']
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 78+43=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[78, 113], Operations: ['35+25=60', '53+60=113']
Exploring Operation: 78+113=191, Resulting Numbers: [191]
191,71 unequal: No Solution
Exploring Operation: 113-78=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[60, 25], Operations: ['35+25=60', '78-53=25']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,71 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
93,
27,
88,
54
] | 81 |
[
"93-88=5",
"27*5=135",
"135-54=81"
] |
Current State: 81:[93, 27, 88, 54], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [27, 54, 5]
Generated Node #2: [27, 54, 5] from Operation: 93-88=5
Current State: 81:[27, 54, 5], Operations: ['93-88=5']
Exploring Operation: 27*5=135, Resulting Numbers: [54, 135]
Generated Node #3: [54, 135] from Operation: 27*5=135
Current State: 81:[54, 135], Operations: ['93-88=5', '27*5=135']
Exploring Operation: 135-54=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[93, 27, 88, 54], Operations: []
Exploring Operation: 27+54=81, Resulting Numbers: [93, 88, 81]
Generated Node #0,0: 81:[93, 88, 81] Operation: 27+54=81
Exploring Operation: 54-27=27, Resulting Numbers: [93, 88, 27]
Generated Node #0,1: 81:[93, 88, 27] Operation: 54-27=27
Exploring Operation: 93-54=39, Resulting Numbers: [27, 88, 39]
Generated Node #0,2: 81:[27, 88, 39] Operation: 93-54=39
Exploring Operation: 88-54=34, Resulting Numbers: [93, 27, 34]
Generated Node #0,3: 81:[93, 27, 34] Operation: 88-54=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[93, 88, 81], Operations: ['27+54=81']
Exploring Operation: 93-88=5, Resulting Numbers: [81, 5]
Generated Node #0,0,0: 81:[81, 5] Operation: 93-88=5
Exploring Operation: 93+88=181, Resulting Numbers: [81, 181]
Generated Node #0,0,1: 81:[81, 181] Operation: 93+88=181
Exploring Operation: 93-81=12, Resulting Numbers: [88, 12]
Generated Node #0,0,2: 81:[88, 12] Operation: 93-81=12
Exploring Operation: 88-81=7, Resulting Numbers: [93, 7]
Generated Node #0,0,3: 81:[93, 7] Operation: 88-81=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[81, 5], Operations: ['27+54=81', '93-88=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,81 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,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,2
Current State: 81:[88, 12], Operations: ['27+54=81', '93-81=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,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,3
Current State: 81:[93, 7], Operations: ['27+54=81', '88-81=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,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,1
Current State: 81:[81, 181], Operations: ['27+54=81', '93+88=181']
Exploring Operation: 81+181=262, Resulting Numbers: [262]
262,81 unequal: No Solution
Exploring Operation: 81*181=14661, Resulting Numbers: [14661]
14661,81 unequal: No Solution
Exploring Operation: 181-81=100, Resulting Numbers: [100]
100,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:[93, 88, 27], Operations: ['54-27=27']
Exploring Operation: 88-27=61, Resulting Numbers: [93, 61]
Generated Node #0,1,0: 81:[93, 61] Operation: 88-27=61
Exploring Operation: 93-88=5, Resulting Numbers: [27, 5]
Generated Node #0,1,1: 81:[27, 5] Operation: 93-88=5
Exploring Operation: 93-27=66, Resulting Numbers: [88, 66]
Generated Node #0,1,2: 81:[88, 66] Operation: 93-27=66
Exploring Operation: 93+27=120, Resulting Numbers: [88, 120]
Generated Node #0,1,3: 81:[88, 120] Operation: 93+27=120
Moving to Node #0,1,1
Current State: 81:[27, 5], Operations: ['54-27=27', '93-88=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,81 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[88, 66], Operations: ['54-27=27', '93-27=66']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,81 unequal: No Solution
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[93, 61], Operations: ['54-27=27', '88-27=61']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[88, 120], Operations: ['54-27=27', '93+27=120']
Exploring Operation: 120-88=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 88+120=208, Resulting Numbers: [208]
208,81 unequal: No Solution
Exploring Operation: 88*120=10560, Resulting Numbers: [10560]
10560,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:[27, 88, 39], Operations: ['93-54=39']
Exploring Operation: 88-39=49, Resulting Numbers: [27, 49]
Generated Node #0,2,0: 81:[27, 49] Operation: 88-39=49
Exploring Operation: 27+39=66, Resulting Numbers: [88, 66]
Generated Node #0,2,1: 81:[88, 66] Operation: 27+39=66
Exploring Operation: 88-27=61, Resulting Numbers: [39, 61]
Generated Node #0,2,2: 81:[39, 61] Operation: 88-27=61
Exploring Operation: 39-27=12, Resulting Numbers: [88, 12]
Generated Node #0,2,3: 81:[88, 12] Operation: 39-27=12
Moving to Node #0,2,3
Current State: 81:[88, 12], Operations: ['93-54=39', '39-27=12']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,81 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[88, 66], Operations: ['93-54=39', '27+39=66']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[27, 49], Operations: ['93-54=39', '88-39=49']
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,81 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[39, 61], Operations: ['93-54=39', '88-27=61']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,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,3
Current State: 81:[93, 27, 34], Operations: ['88-54=34']
Exploring Operation: 34-27=7, Resulting Numbers: [93, 7]
Generated Node #0,3,0: 81:[93, 7] Operation: 34-27=7
Exploring Operation: 93-27=66, Resulting Numbers: [34, 66]
Generated Node #0,3,1: 81:[34, 66] Operation: 93-27=66
Exploring Operation: 93-34=59, Resulting Numbers: [27, 59]
Generated Node #0,3,2: 81:[27, 59] Operation: 93-34=59
Exploring Operation: 27+34=61, Resulting Numbers: [93, 61]
Generated Node #0,3,3: 81:[93, 61] Operation: 27+34=61
Moving to Node #0,3,0
Current State: 81:[93, 7], Operations: ['88-54=34', '34-27=7']
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,81 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[27, 59], Operations: ['88-54=34', '93-34=59']
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,81 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[34, 66], Operations: ['88-54=34', '93-27=66']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[93, 61], Operations: ['88-54=34', '27+34=61']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,81 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
|
[
68,
29,
20,
37
] | 22 |
[
"68-29=39",
"37-20=17",
"39-17=22"
] |
Current State: 22:[68, 29, 20, 37], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [20, 37, 39]
Generated Node #2: [20, 37, 39] from Operation: 68-29=39
Current State: 22:[20, 37, 39], Operations: ['68-29=39']
Exploring Operation: 37-20=17, Resulting Numbers: [39, 17]
Generated Node #3: [39, 17] from Operation: 37-20=17
Current State: 22:[39, 17], Operations: ['68-29=39', '37-20=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[68, 29, 20, 37], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [29, 37, 48]
Generated Node #0,0: 22:[29, 37, 48] Operation: 68-20=48
Exploring Operation: 68-29=39, Resulting Numbers: [20, 37, 39]
Generated Node #0,1: 22:[20, 37, 39] Operation: 68-29=39
Exploring Operation: 68-37=31, Resulting Numbers: [29, 20, 31]
Generated Node #0,2: 22:[29, 20, 31] Operation: 68-37=31
Moving to Node #0,2
Current State: 22:[29, 20, 31], Operations: ['68-37=31']
Exploring Operation: 31-29=2, Resulting Numbers: [20, 2]
Generated Node #0,2,0: 22:[20, 2] Operation: 31-29=2
Exploring Operation: 29-20=9, Resulting Numbers: [31, 9]
Generated Node #0,2,1: 22:[31, 9] Operation: 29-20=9
Exploring Operation: 31-20=11, Resulting Numbers: [29, 11]
Generated Node #0,2,2: 22:[29, 11] Operation: 31-20=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[20, 2], Operations: ['68-37=31', '31-29=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[68, 29, 20, 37], Operations: []
Exploring Operation: 68-37=31, Resulting Numbers: [29, 20, 31]
Generated Node #0,2: 22:[29, 20, 31] Operation: 68-37=31
Moving to Node #0,2
Current State: 22:[29, 20, 31], Operations: ['68-37=31']
Exploring Operation: 31-29=2, Resulting Numbers: [20, 2]
Generated Node #0,2,0: 22:[20, 2] Operation: 31-29=2
Moving to Node #0,2,0
Current State: 22:[20, 2], Operations: ['68-37=31', '31-29=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
12,
4,
14,
24
] | 13 |
[
"12/4=3",
"24-14=10",
"3+10=13"
] |
Current State: 13:[12, 4, 14, 24], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [14, 24, 3]
Generated Node #2: [14, 24, 3] from Operation: 12/4=3
Current State: 13:[14, 24, 3], Operations: ['12/4=3']
Exploring Operation: 24-14=10, Resulting Numbers: [3, 10]
Generated Node #3: [3, 10] from Operation: 24-14=10
Current State: 13:[3, 10], Operations: ['12/4=3', '24-14=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[12, 4, 14, 24], Operations: []
Exploring Operation: 24-4=20, Resulting Numbers: [12, 14, 20]
Generated Node #0,0: 13:[12, 14, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [12, 14, 6]
Generated Node #0,1: 13:[12, 14, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[12, 14, 20], Operations: ['24-4=20']
Exploring Operation: 20-14=6, Resulting Numbers: [12, 6]
Generated Node #0,0,0: 13:[12, 6] Operation: 20-14=6
Exploring Operation: 20-12=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 13:[14, 8] Operation: 20-12=8
Moving to Node #0,0,1
Current State: 13:[14, 8], Operations: ['24-4=20', '20-12=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[12, 6], Operations: ['24-4=20', '20-14=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[12, 14, 6], Operations: ['24/4=6']
Exploring Operation: 12+6=18, Resulting Numbers: [14, 18]
Generated Node #0,1,0: 13:[14, 18] Operation: 12+6=18
Exploring Operation: 14-6=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 13:[12, 8] Operation: 14-6=8
Moving to Node #0,1,0
Current State: 13:[14, 18], Operations: ['24/4=6', '12+6=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[12, 8], Operations: ['24/4=6', '14-6=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
62,
13,
77,
96
] | 93 |
[
"62*96=5952",
"77-13=64",
"5952/64=93"
] |
Current State: 93:[62, 13, 77, 96], Operations: []
Exploring Operation: 62*96=5952, Resulting Numbers: [13, 77, 5952]
Generated Node #2: [13, 77, 5952] from Operation: 62*96=5952
Current State: 93:[13, 77, 5952], Operations: ['62*96=5952']
Exploring Operation: 77-13=64, Resulting Numbers: [5952, 64]
Generated Node #3: [5952, 64] from Operation: 77-13=64
Current State: 93:[5952, 64], Operations: ['62*96=5952', '77-13=64']
Exploring Operation: 5952/64=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[62, 13, 77, 96], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [77, 96, 49]
Generated Node #0,0: 93:[77, 96, 49] Operation: 62-13=49
Exploring Operation: 77-62=15, Resulting Numbers: [13, 96, 15]
Generated Node #0,1: 93:[13, 96, 15] Operation: 77-62=15
Exploring Operation: 62+13=75, Resulting Numbers: [77, 96, 75]
Generated Node #0,2: 93:[77, 96, 75] Operation: 62+13=75
Exploring Operation: 96-62=34, Resulting Numbers: [13, 77, 34]
Generated Node #0,3: 93:[13, 77, 34] Operation: 96-62=34
Moving to Node #0,1
Current State: 93:[13, 96, 15], Operations: ['77-62=15']
Exploring Operation: 96-15=81, Resulting Numbers: [13, 81]
Generated Node #0,1,0: 93:[13, 81] Operation: 96-15=81
Exploring Operation: 96-13=83, Resulting Numbers: [15, 83]
Generated Node #0,1,1: 93:[15, 83] Operation: 96-13=83
Exploring Operation: 15-13=2, Resulting Numbers: [96, 2]
Generated Node #0,1,2: 93:[96, 2] Operation: 15-13=2
Exploring Operation: 13+15=28, Resulting Numbers: [96, 28]
Generated Node #0,1,3: 93:[96, 28] Operation: 13+15=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[96, 2], Operations: ['77-62=15', '15-13=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,93 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,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,3
Current State: 93:[96, 28], Operations: ['77-62=15', '13+15=28']
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 96*28=2688, Resulting Numbers: [2688]
2688,93 unequal: No Solution
Exploring Operation: 96+28=124, Resulting Numbers: [124]
124,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,0
Current State: 93:[13, 81], Operations: ['77-62=15', '96-15=81']
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,93 unequal: No Solution
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,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:[15, 83], Operations: ['77-62=15', '96-13=83']
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,93 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,93 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: 93:[13, 77, 34], Operations: ['96-62=34']
Exploring Operation: 13+77=90, Resulting Numbers: [34, 90]
Generated Node #0,3,0: 93:[34, 90] Operation: 13+77=90
Exploring Operation: 77-34=43, Resulting Numbers: [13, 43]
Generated Node #0,3,1: 93:[13, 43] Operation: 77-34=43
Exploring Operation: 34-13=21, Resulting Numbers: [77, 21]
Generated Node #0,3,2: 93:[77, 21] Operation: 34-13=21
Exploring Operation: 77+34=111, Resulting Numbers: [13, 111]
Generated Node #0,3,3: 93:[13, 111] Operation: 77+34=111
Moving to Node #0,2
Current State: 93:[77, 96, 75], Operations: ['62+13=75']
Exploring Operation: 77+75=152, Resulting Numbers: [96, 152]
Generated Node #0,2,0: 93:[96, 152] Operation: 77+75=152
Exploring Operation: 77-75=2, Resulting Numbers: [96, 2]
Generated Node #0,2,1: 93:[96, 2] Operation: 77-75=2
Exploring Operation: 96-75=21, Resulting Numbers: [77, 21]
Generated Node #0,2,2: 93:[77, 21] Operation: 96-75=21
Exploring Operation: 96-77=19, Resulting Numbers: [75, 19]
Generated Node #0,2,3: 93:[75, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[96, 2], Operations: ['62+13=75', '77-75=2']
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,93 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,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,2,2
Current State: 93:[77, 21], Operations: ['62+13=75', '96-75=21']
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,93 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,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,2,3
Current State: 93:[75, 19], Operations: ['62+13=75', '96-77=19']
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,93 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,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,2,0
Current State: 93:[96, 152], Operations: ['62+13=75', '77+75=152']
Exploring Operation: 152-96=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 96+152=248, Resulting Numbers: [248]
248,93 unequal: No Solution
Exploring Operation: 96*152=14592, Resulting Numbers: [14592]
14592,93 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: 93:[77, 96, 49], Operations: ['62-13=49']
Exploring Operation: 96-49=47, Resulting Numbers: [77, 47]
Generated Node #0,0,0: 93:[77, 47] Operation: 96-49=47
Exploring Operation: 96-77=19, Resulting Numbers: [49, 19]
Generated Node #0,0,1: 93:[49, 19] Operation: 96-77=19
Exploring Operation: 77-49=28, Resulting Numbers: [96, 28]
Generated Node #0,0,2: 93:[96, 28] Operation: 77-49=28
Exploring Operation: 77+49=126, Resulting Numbers: [96, 126]
Generated Node #0,0,3: 93:[96, 126] Operation: 77+49=126
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[96, 28], Operations: ['62-13=49', '77-49=28']
Exploring Operation: 96+28=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 96*28=2688, Resulting Numbers: [2688]
2688,93 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,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,0,1
Current State: 93:[49, 19], Operations: ['62-13=49', '96-77=19']
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,93 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,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,0,0
Current State: 93:[77, 47], Operations: ['62-13=49', '96-49=47']
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 77+47=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 77*47=3619, Resulting Numbers: [3619]
3619,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,0,3
Current State: 93:[96, 126], Operations: ['62-13=49', '77+49=126']
Exploring Operation: 126-96=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 96+126=222, Resulting Numbers: [222]
222,93 unequal: No Solution
Exploring Operation: 96*126=12096, Resulting Numbers: [12096]
12096,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 93:[34, 90], Operations: ['96-62=34', '13+77=90']
Exploring Operation: 34*90=3060, Resulting Numbers: [3060]
3060,93 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 34+90=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[13, 43], Operations: ['96-62=34', '77-34=43']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,93 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[77, 21], Operations: ['96-62=34', '34-13=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[13, 111], Operations: ['96-62=34', '77+34=111']
Exploring Operation: 111-13=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 13*111=1443, Resulting Numbers: [1443]
1443,93 unequal: No Solution
Exploring Operation: 13+111=124, Resulting Numbers: [124]
124,93 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
66,
54,
9,
71
] | 99 |
[
"71-66=5",
"9*5=45",
"54+45=99"
] |
Current State: 99:[66, 54, 9, 71], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [54, 9, 5]
Generated Node #2: [54, 9, 5] from Operation: 71-66=5
Current State: 99:[54, 9, 5], Operations: ['71-66=5']
Exploring Operation: 9*5=45, Resulting Numbers: [54, 45]
Generated Node #3: [54, 45] from Operation: 9*5=45
Current State: 99:[54, 45], Operations: ['71-66=5', '9*5=45']
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[66, 54, 9, 71], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [66, 9, 17]
Generated Node #0,0: 99:[66, 9, 17] Operation: 71-54=17
Exploring Operation: 66-54=12, Resulting Numbers: [9, 71, 12]
Generated Node #0,1: 99:[9, 71, 12] Operation: 66-54=12
Exploring Operation: 71-66=5, Resulting Numbers: [54, 9, 5]
Generated Node #0,2: 99:[54, 9, 5] Operation: 71-66=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[54, 9, 5], Operations: ['71-66=5']
Exploring Operation: 54-5=49, Resulting Numbers: [9, 49]
Generated Node #0,2,0: 99:[9, 49] Operation: 54-5=49
Exploring Operation: 54/9=6, Resulting Numbers: [5, 6]
Generated Node #0,2,1: 99:[5, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [5, 45]
Generated Node #0,2,2: 99:[5, 45] Operation: 54-9=45
Moving to Node #0,2,1
Current State: 99:[5, 6], Operations: ['71-66=5', '54/9=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[5, 45], Operations: ['71-66=5', '54-9=45']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[9, 49], Operations: ['71-66=5', '54-5=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[9, 71, 12], Operations: ['66-54=12']
Exploring Operation: 71+12=83, Resulting Numbers: [9, 83]
Generated Node #0,1,0: 99:[9, 83] Operation: 71+12=83
Exploring Operation: 9+71=80, Resulting Numbers: [12, 80]
Generated Node #0,1,1: 99:[12, 80] Operation: 9+71=80
Exploring Operation: 71-12=59, Resulting Numbers: [9, 59]
Generated Node #0,1,2: 99:[9, 59] Operation: 71-12=59
Moving to Node #0,1,0
Current State: 99:[9, 83], Operations: ['66-54=12', '71+12=83']
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,99 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[12, 80], Operations: ['66-54=12', '9+71=80']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 12*80=960, Resulting Numbers: [960]
960,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[9, 59], Operations: ['66-54=12', '71-12=59']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,99 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[66, 9, 17], Operations: ['71-54=17']
Exploring Operation: 66-17=49, Resulting Numbers: [9, 49]
Generated Node #0,0,0: 99:[9, 49] Operation: 66-17=49
Exploring Operation: 66+9=75, Resulting Numbers: [17, 75]
Generated Node #0,0,1: 99:[17, 75] Operation: 66+9=75
Exploring Operation: 66+17=83, Resulting Numbers: [9, 83]
Generated Node #0,0,2: 99:[9, 83] Operation: 66+17=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[9, 49], Operations: ['71-54=17', '66-17=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[9, 83], Operations: ['71-54=17', '66+17=83']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,99 unequal: No Solution
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[17, 75], Operations: ['71-54=17', '66+9=75']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,99 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
37,
18,
60,
33
] | 33 |
[
"37-33=4",
"60/4=15",
"18+15=33"
] |
Current State: 33:[37, 18, 60, 33], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [18, 60, 4]
Generated Node #2: [18, 60, 4] from Operation: 37-33=4
Current State: 33:[18, 60, 4], Operations: ['37-33=4']
Exploring Operation: 60/4=15, Resulting Numbers: [18, 15]
Generated Node #3: [18, 15] from Operation: 60/4=15
Current State: 33:[18, 15], Operations: ['37-33=4', '60/4=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[37, 18, 60, 33], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [37, 33, 42]
Generated Node #0,0: 33:[37, 33, 42] Operation: 60-18=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[37, 33, 42], Operations: ['60-18=42']
Exploring Operation: 42-37=5, Resulting Numbers: [33, 5]
Generated Node #0,0,0: 33:[33, 5] Operation: 42-37=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[33, 5], Operations: ['60-18=42', '42-37=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,33 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
|
[
4,
44,
2,
50
] | 34 |
[
"4+50=54",
"44*2=88",
"88-54=34"
] |
Current State: 34:[4, 44, 2, 50], Operations: []
Exploring Operation: 4+50=54, Resulting Numbers: [44, 2, 54]
Generated Node #2: [44, 2, 54] from Operation: 4+50=54
Current State: 34:[44, 2, 54], Operations: ['4+50=54']
Exploring Operation: 44*2=88, Resulting Numbers: [54, 88]
Generated Node #3: [54, 88] from Operation: 44*2=88
Current State: 34:[54, 88], Operations: ['4+50=54', '44*2=88']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[4, 44, 2, 50], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [4, 2, 6]
Generated Node #0,0: 34:[4, 2, 6] Operation: 50-44=6
Exploring Operation: 50/2=25, Resulting Numbers: [4, 44, 25]
Generated Node #0,1: 34:[4, 44, 25] Operation: 50/2=25
Moving to Node #0,0
Current State: 34:[4, 2, 6], Operations: ['50-44=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 34:[2, 2] Operation: 6-4=2
Exploring Operation: 6/2=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 34:[4, 3] Operation: 6/2=3
Moving to Node #0,1
Current State: 34:[4, 44, 25], Operations: ['50/2=25']
Exploring Operation: 44-4=40, Resulting Numbers: [25, 40]
Generated Node #0,1,0: 34:[25, 40] Operation: 44-4=40
Exploring Operation: 44-25=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 34:[4, 19] Operation: 44-25=19
Moving to Node #0,0,0
Current State: 34:[2, 2], Operations: ['50-44=6', '6-4=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[4, 3], Operations: ['50-44=6', '6/2=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[4, 19], Operations: ['50/2=25', '44-25=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[25, 40], Operations: ['50/2=25', '44-4=40']
Exploring Operation: 25+40=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
88,
64,
18,
5
] | 28 |
[
"88*5=440",
"64+440=504",
"504/18=28"
] |
Current State: 28:[88, 64, 18, 5], Operations: []
Exploring Operation: 88*5=440, Resulting Numbers: [64, 18, 440]
Generated Node #2: [64, 18, 440] from Operation: 88*5=440
Current State: 28:[64, 18, 440], Operations: ['88*5=440']
Exploring Operation: 64+440=504, Resulting Numbers: [18, 504]
Generated Node #3: [18, 504] from Operation: 64+440=504
Current State: 28:[18, 504], Operations: ['88*5=440', '64+440=504']
Exploring Operation: 504/18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[88, 64, 18, 5], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [18, 5, 24]
Generated Node #0,0: 28:[18, 5, 24] Operation: 88-64=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[18, 5, 24], Operations: ['88-64=24']
Exploring Operation: 24-18=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 28:[5, 6] Operation: 24-18=6
Moving to Node #0,0,0
Current State: 28:[5, 6], Operations: ['88-64=24', '24-18=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,28 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
|
[
62,
18,
36,
38
] | 13 |
[
"38-36=2",
"62/2=31",
"31-18=13"
] |
Current State: 13:[62, 18, 36, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [62, 18, 2]
Generated Node #2: [62, 18, 2] from Operation: 38-36=2
Current State: 13:[62, 18, 2], Operations: ['38-36=2']
Exploring Operation: 62/2=31, Resulting Numbers: [18, 31]
Generated Node #3: [18, 31] from Operation: 62/2=31
Current State: 13:[18, 31], Operations: ['38-36=2', '62/2=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[62, 18, 36, 38], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [18, 36, 24]
Generated Node #0,0: 13:[18, 36, 24] Operation: 62-38=24
Moving to Node #0,0
Current State: 13:[18, 36, 24], Operations: ['62-38=24']
Exploring Operation: 36-24=12, Resulting Numbers: [18, 12]
Generated Node #0,0,0: 13:[18, 12] Operation: 36-24=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[18, 12], Operations: ['62-38=24', '36-24=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
43,
4,
96,
59
] | 92 |
[
"59-43=16",
"16/4=4",
"96-4=92"
] |
Current State: 92:[43, 4, 96, 59], Operations: []
Exploring Operation: 59-43=16, Resulting Numbers: [4, 96, 16]
Generated Node #2: [4, 96, 16] from Operation: 59-43=16
Current State: 92:[4, 96, 16], Operations: ['59-43=16']
Exploring Operation: 16/4=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 16/4=4
Current State: 92:[96, 4], Operations: ['59-43=16', '16/4=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[43, 4, 96, 59], Operations: []
Exploring Operation: 43+59=102, Resulting Numbers: [4, 96, 102]
Generated Node #0,0: 92:[4, 96, 102] Operation: 43+59=102
Exploring Operation: 96-59=37, Resulting Numbers: [43, 4, 37]
Generated Node #0,1: 92:[43, 4, 37] Operation: 96-59=37
Exploring Operation: 59-43=16, Resulting Numbers: [4, 96, 16]
Generated Node #0,2: 92:[4, 96, 16] Operation: 59-43=16
Moving to Node #0,2
Current State: 92:[4, 96, 16], Operations: ['59-43=16']
Exploring Operation: 96/16=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 92:[4, 6] Operation: 96/16=6
Exploring Operation: 16/4=4, Resulting Numbers: [96, 4]
Generated Node #0,2,1: 92:[96, 4] Operation: 16/4=4
Exploring Operation: 96-4=92, Resulting Numbers: [16, 92]
Generated Node #0,2,2: 92:[16, 92] Operation: 96-4=92
Moving to Node #0,1
Current State: 92:[43, 4, 37], Operations: ['96-59=37']
Exploring Operation: 43+4=47, Resulting Numbers: [37, 47]
Generated Node #0,1,0: 92:[37, 47] Operation: 43+4=47
Exploring Operation: 43-37=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 92:[4, 6] Operation: 43-37=6
Exploring Operation: 4+37=41, Resulting Numbers: [43, 41]
Generated Node #0,1,2: 92:[43, 41] Operation: 4+37=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[4, 6], Operations: ['96-59=37', '43-37=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[43, 41], Operations: ['96-59=37', '4+37=41']
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,92 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[37, 47], Operations: ['96-59=37', '43+4=47']
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 37+47=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 37*47=1739, Resulting Numbers: [1739]
1739,92 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: 92:[4, 96, 102], Operations: ['43+59=102']
Exploring Operation: 96-4=92, Resulting Numbers: [102, 92]
Generated Node #0,0,0: 92:[102, 92] Operation: 96-4=92
Exploring Operation: 102-96=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 92:[4, 6] Operation: 102-96=6
Exploring Operation: 102-4=98, Resulting Numbers: [96, 98]
Generated Node #0,0,2: 92:[96, 98] Operation: 102-4=98
Moving to Node #0,2,0
Current State: 92:[4, 6], Operations: ['59-43=16', '96/16=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[4, 6], Operations: ['43+59=102', '102-96=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[96, 4], Operations: ['59-43=16', '16/4=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[43, 4, 96, 59], Operations: []
Exploring Operation: 59-43=16, Resulting Numbers: [4, 96, 16]
Generated Node #0,2: 92:[4, 96, 16] Operation: 59-43=16
Moving to Node #0,2
Current State: 92:[4, 96, 16], Operations: ['59-43=16']
Exploring Operation: 16/4=4, Resulting Numbers: [96, 4]
Generated Node #0,2,1: 92:[96, 4] Operation: 16/4=4
Moving to Node #0,2,1
Current State: 92:[96, 4], Operations: ['59-43=16', '16/4=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.971354 |
hs_3
|
mult_heuristic
|
[
12,
8,
47,
2
] | 66 |
[
"47-8=39",
"2*39=78",
"78-12=66"
] |
Current State: 66:[12, 8, 47, 2], Operations: []
Exploring Operation: 47-8=39, Resulting Numbers: [12, 2, 39]
Generated Node #2: [12, 2, 39] from Operation: 47-8=39
Current State: 66:[12, 2, 39], Operations: ['47-8=39']
Exploring Operation: 2*39=78, Resulting Numbers: [12, 78]
Generated Node #3: [12, 78] from Operation: 2*39=78
Current State: 66:[12, 78], Operations: ['47-8=39', '2*39=78']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[12, 8, 47, 2], Operations: []
Exploring Operation: 47-8=39, Resulting Numbers: [12, 2, 39]
Generated Node #0,0: 66:[12, 2, 39] Operation: 47-8=39
Exploring Operation: 12+47=59, Resulting Numbers: [8, 2, 59]
Generated Node #0,1: 66:[8, 2, 59] Operation: 12+47=59
Exploring Operation: 47-12=35, Resulting Numbers: [8, 2, 35]
Generated Node #0,2: 66:[8, 2, 35] Operation: 47-12=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[8, 2, 35], Operations: ['47-12=35']
Exploring Operation: 8-2=6, Resulting Numbers: [35, 6]
Generated Node #0,2,0: 66:[35, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [35, 10]
Generated Node #0,2,1: 66:[35, 10] Operation: 8+2=10
Exploring Operation: 35-2=33, Resulting Numbers: [8, 33]
Generated Node #0,2,2: 66:[8, 33] Operation: 35-2=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[35, 6], Operations: ['47-12=35', '8-2=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,66 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[8, 33], Operations: ['47-12=35', '35-2=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[35, 10], Operations: ['47-12=35', '8+2=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,66 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[12, 2, 39], Operations: ['47-8=39']
Exploring Operation: 39-2=37, Resulting Numbers: [12, 37]
Generated Node #0,0,0: 66:[12, 37] Operation: 39-2=37
Exploring Operation: 39-12=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 66:[2, 27] Operation: 39-12=27
Exploring Operation: 12/2=6, Resulting Numbers: [39, 6]
Generated Node #0,0,2: 66:[39, 6] Operation: 12/2=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[12, 37], Operations: ['47-8=39', '39-2=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,66 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[2, 27], Operations: ['47-8=39', '39-12=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[39, 6], Operations: ['47-8=39', '12/2=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[8, 2, 59], Operations: ['12+47=59']
Exploring Operation: 8-2=6, Resulting Numbers: [59, 6]
Generated Node #0,1,0: 66:[59, 6] Operation: 8-2=6
Exploring Operation: 8+59=67, Resulting Numbers: [2, 67]
Generated Node #0,1,1: 66:[2, 67] Operation: 8+59=67
Exploring Operation: 2+59=61, Resulting Numbers: [8, 61]
Generated Node #0,1,2: 66:[8, 61] Operation: 2+59=61
Moving to Node #0,1,1
Current State: 66:[2, 67], Operations: ['12+47=59', '8+59=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,66 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[59, 6], Operations: ['12+47=59', '8-2=6']
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,66 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[8, 61], Operations: ['12+47=59', '2+59=61']
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 8*61=488, Resulting Numbers: [488]
488,66 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
97,
26,
39,
38
] | 90 |
[
"97+38=135",
"26*135=3510",
"3510/39=90"
] |
Current State: 90:[97, 26, 39, 38], Operations: []
Exploring Operation: 97+38=135, Resulting Numbers: [26, 39, 135]
Generated Node #2: [26, 39, 135] from Operation: 97+38=135
Current State: 90:[26, 39, 135], Operations: ['97+38=135']
Exploring Operation: 26*135=3510, Resulting Numbers: [39, 3510]
Generated Node #3: [39, 3510] from Operation: 26*135=3510
Current State: 90:[39, 3510], Operations: ['97+38=135', '26*135=3510']
Exploring Operation: 3510/39=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[97, 26, 39, 38], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [26, 38, 58]
Generated Node #0,0: 90:[26, 38, 58] Operation: 97-39=58
Exploring Operation: 97-38=59, Resulting Numbers: [26, 39, 59]
Generated Node #0,1: 90:[26, 39, 59] Operation: 97-38=59
Exploring Operation: 39-26=13, Resulting Numbers: [97, 38, 13]
Generated Node #0,2: 90:[97, 38, 13] Operation: 39-26=13
Exploring Operation: 38-26=12, Resulting Numbers: [97, 39, 12]
Generated Node #0,3: 90:[97, 39, 12] Operation: 38-26=12
Exploring Operation: 39-38=1, Resulting Numbers: [97, 26, 1]
Generated Node #0,4: 90:[97, 26, 1] Operation: 39-38=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[97, 26, 1], Operations: ['39-38=1']
Exploring Operation: 26*1=26, Resulting Numbers: [97, 26]
Generated Node #0,4,0: 90:[97, 26] Operation: 26*1=26
Exploring Operation: 97-1=96, Resulting Numbers: [26, 96]
Generated Node #0,4,1: 90:[26, 96] Operation: 97-1=96
Exploring Operation: 26+1=27, Resulting Numbers: [97, 27]
Generated Node #0,4,2: 90:[97, 27] Operation: 26+1=27
Exploring Operation: 97/1=97, Resulting Numbers: [26, 97]
Generated Node #0,4,3: 90:[26, 97] Operation: 97/1=97
Exploring Operation: 97*1=97, Resulting Numbers: [26, 97]
Generated Node #0,4,4: 90:[26, 97] Operation: 97*1=97
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[26, 96], Operations: ['39-38=1', '97-1=96']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 26*96=2496, Resulting Numbers: [2496]
2496,90 unequal: No Solution
Exploring Operation: 26+96=122, Resulting Numbers: [122]
122,90 unequal: No Solution
No 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: 90:[97, 27], Operations: ['39-38=1', '26+1=27']
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,90 unequal: No Solution
No 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: 90:[97, 26], Operations: ['39-38=1', '26*1=26']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 97*26=2522, Resulting Numbers: [2522]
2522,90 unequal: No Solution
Exploring Operation: 97+26=123, Resulting Numbers: [123]
123,90 unequal: No Solution
No 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: 90:[26, 97], Operations: ['39-38=1', '97/1=97']
Exploring Operation: 26*97=2522, Resulting Numbers: [2522]
2522,90 unequal: No Solution
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 26+97=123, Resulting Numbers: [123]
123,90 unequal: No Solution
No 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: 90:[26, 97], Operations: ['39-38=1', '97*1=97']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 26+97=123, Resulting Numbers: [123]
123,90 unequal: No Solution
Exploring Operation: 26*97=2522, Resulting Numbers: [2522]
2522,90 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: 90:[97, 39, 12], Operations: ['38-26=12']
Exploring Operation: 97+12=109, Resulting Numbers: [39, 109]
Generated Node #0,3,0: 90:[39, 109] Operation: 97+12=109
Exploring Operation: 97-39=58, Resulting Numbers: [12, 58]
Generated Node #0,3,1: 90:[12, 58] Operation: 97-39=58
Exploring Operation: 39+12=51, Resulting Numbers: [97, 51]
Generated Node #0,3,2: 90:[97, 51] Operation: 39+12=51
Exploring Operation: 97-12=85, Resulting Numbers: [39, 85]
Generated Node #0,3,3: 90:[39, 85] Operation: 97-12=85
Exploring Operation: 39-12=27, Resulting Numbers: [97, 27]
Generated Node #0,3,4: 90:[97, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 90:[97, 27], Operations: ['38-26=12', '39-12=27']
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,90 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,90 unequal: No Solution
No 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: 90:[39, 85], Operations: ['38-26=12', '97-12=85']
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,90 unequal: No Solution
No 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: 90:[97, 51], Operations: ['38-26=12', '39+12=51']
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 97+51=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 97*51=4947, Resulting Numbers: [4947]
4947,90 unequal: No Solution
No 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: 90:[12, 58], Operations: ['38-26=12', '97-39=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,90 unequal: No Solution
No 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: 90:[39, 109], Operations: ['38-26=12', '97+12=109']
Exploring Operation: 109-39=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 39+109=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 39*109=4251, Resulting Numbers: [4251]
4251,90 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: 90:[97, 38, 13], Operations: ['39-26=13']
Exploring Operation: 97-13=84, Resulting Numbers: [38, 84]
Generated Node #0,2,0: 90:[38, 84] Operation: 97-13=84
Exploring Operation: 97-38=59, Resulting Numbers: [13, 59]
Generated Node #0,2,1: 90:[13, 59] Operation: 97-38=59
Exploring Operation: 38+13=51, Resulting Numbers: [97, 51]
Generated Node #0,2,2: 90:[97, 51] Operation: 38+13=51
Exploring Operation: 97+13=110, Resulting Numbers: [38, 110]
Generated Node #0,2,3: 90:[38, 110] Operation: 97+13=110
Exploring Operation: 38-13=25, Resulting Numbers: [97, 25]
Generated Node #0,2,4: 90:[97, 25] Operation: 38-13=25
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 90:[97, 25], Operations: ['39-26=13', '38-13=25']
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,90 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,90 unequal: No Solution
No 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: 90:[38, 84], Operations: ['39-26=13', '97-13=84']
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,90 unequal: No Solution
No 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: 90:[97, 51], Operations: ['39-26=13', '38+13=51']
Exploring Operation: 97+51=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 97*51=4947, Resulting Numbers: [4947]
4947,90 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,90 unequal: No Solution
No 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: 90:[13, 59], Operations: ['39-26=13', '97-38=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,90 unequal: No Solution
No 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: 90:[38, 110], Operations: ['39-26=13', '97+13=110']
Exploring Operation: 110-38=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 38+110=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 38*110=4180, Resulting Numbers: [4180]
4180,90 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: 90:[26, 38, 58], Operations: ['97-39=58']
Exploring Operation: 38-26=12, Resulting Numbers: [58, 12]
Generated Node #0,0,0: 90:[58, 12] Operation: 38-26=12
Exploring Operation: 38+58=96, Resulting Numbers: [26, 96]
Generated Node #0,0,1: 90:[26, 96] Operation: 38+58=96
Exploring Operation: 58-26=32, Resulting Numbers: [38, 32]
Generated Node #0,0,2: 90:[38, 32] Operation: 58-26=32
Exploring Operation: 26+58=84, Resulting Numbers: [38, 84]
Generated Node #0,0,3: 90:[38, 84] Operation: 26+58=84
Exploring Operation: 58-38=20, Resulting Numbers: [26, 20]
Generated Node #0,0,4: 90:[26, 20] Operation: 58-38=20
Moving to Node #0,0,4
Current State: 90:[26, 20], Operations: ['97-39=58', '58-38=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[38, 32], Operations: ['97-39=58', '58-26=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[26, 96], Operations: ['97-39=58', '38+58=96']
Exploring Operation: 26+96=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 26*96=2496, Resulting Numbers: [2496]
2496,90 unequal: No Solution
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[38, 84], Operations: ['97-39=58', '26+58=84']
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,90 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[58, 12], Operations: ['97-39=58', '38-26=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,90 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,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,1
Current State: 90:[26, 39, 59], Operations: ['97-38=59']
Exploring Operation: 59-39=20, Resulting Numbers: [26, 20]
Generated Node #0,1,0: 90:[26, 20] Operation: 59-39=20
Exploring Operation: 39+59=98, Resulting Numbers: [26, 98]
Generated Node #0,1,1: 90:[26, 98] Operation: 39+59=98
Exploring Operation: 39-26=13, Resulting Numbers: [59, 13]
Generated Node #0,1,2: 90:[59, 13] Operation: 39-26=13
Exploring Operation: 26+59=85, Resulting Numbers: [39, 85]
Generated Node #0,1,3: 90:[39, 85] Operation: 26+59=85
Exploring Operation: 59-26=33, Resulting Numbers: [39, 33]
Generated Node #0,1,4: 90:[39, 33] Operation: 59-26=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[26, 20], Operations: ['97-38=59', '59-39=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,90 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No 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: 90:[39, 33], Operations: ['97-38=59', '59-26=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,90 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,90 unequal: No Solution
No 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: 90:[39, 85], Operations: ['97-38=59', '26+59=85']
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,90 unequal: No Solution
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,90 unequal: No Solution
No 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: 90:[26, 98], Operations: ['97-38=59', '39+59=98']
Exploring Operation: 26*98=2548, Resulting Numbers: [2548]
2548,90 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 26+98=124, Resulting Numbers: [124]
124,90 unequal: No Solution
No 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: 90:[59, 13], Operations: ['97-38=59', '39-26=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,90 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
|
[
22,
3,
11,
59
] | 67 |
[
"22-3=19",
"59-11=48",
"19+48=67"
] |
Current State: 67:[22, 3, 11, 59], Operations: []
Exploring Operation: 22-3=19, Resulting Numbers: [11, 59, 19]
Generated Node #2: [11, 59, 19] from Operation: 22-3=19
Current State: 67:[11, 59, 19], Operations: ['22-3=19']
Exploring Operation: 59-11=48, Resulting Numbers: [19, 48]
Generated Node #3: [19, 48] from Operation: 59-11=48
Current State: 67:[19, 48], Operations: ['22-3=19', '59-11=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[22, 3, 11, 59], Operations: []
Exploring Operation: 22+3=25, Resulting Numbers: [11, 59, 25]
Generated Node #0,0: 67:[11, 59, 25] Operation: 22+3=25
Exploring Operation: 22*3=66, Resulting Numbers: [11, 59, 66]
Generated Node #0,1: 67:[11, 59, 66] Operation: 22*3=66
Exploring Operation: 3*11=33, Resulting Numbers: [22, 59, 33]
Generated Node #0,2: 67:[22, 59, 33] Operation: 3*11=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[11, 59, 66], Operations: ['22*3=66']
Exploring Operation: 59-11=48, Resulting Numbers: [66, 48]
Generated Node #0,1,0: 67:[66, 48] Operation: 59-11=48
Exploring Operation: 11+59=70, Resulting Numbers: [66, 70]
Generated Node #0,1,1: 67:[66, 70] Operation: 11+59=70
Exploring Operation: 11+66=77, Resulting Numbers: [59, 77]
Generated Node #0,1,2: 67:[59, 77] Operation: 11+66=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[66, 70], Operations: ['22*3=66', '11+59=70']
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,67 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[59, 77], Operations: ['22*3=66', '11+66=77']
Exploring Operation: 59*77=4543, Resulting Numbers: [4543]
4543,67 unequal: No Solution
Exploring Operation: 59+77=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[66, 48], Operations: ['22*3=66', '59-11=48']
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,67 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[22, 59, 33], Operations: ['3*11=33']
Exploring Operation: 22+33=55, Resulting Numbers: [59, 55]
Generated Node #0,2,0: 67:[59, 55] Operation: 22+33=55
Exploring Operation: 59-22=37, Resulting Numbers: [33, 37]
Generated Node #0,2,1: 67:[33, 37] Operation: 59-22=37
Exploring Operation: 22+59=81, Resulting Numbers: [33, 81]
Generated Node #0,2,2: 67:[33, 81] Operation: 22+59=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[59, 55], Operations: ['3*11=33', '22+33=55']
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,67 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[33, 81], Operations: ['3*11=33', '22+59=81']
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,67 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[33, 37], Operations: ['3*11=33', '59-22=37']
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,67 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[11, 59, 25], Operations: ['22+3=25']
Exploring Operation: 11+25=36, Resulting Numbers: [59, 36]
Generated Node #0,0,0: 67:[59, 36] Operation: 11+25=36
Exploring Operation: 59-11=48, Resulting Numbers: [25, 48]
Generated Node #0,0,1: 67:[25, 48] Operation: 59-11=48
Exploring Operation: 11+59=70, Resulting Numbers: [25, 70]
Generated Node #0,0,2: 67:[25, 70] Operation: 11+59=70
Moving to Node #0,0,0
Current State: 67:[59, 36], Operations: ['22+3=25', '11+25=36']
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[25, 70], Operations: ['22+3=25', '11+59=70']
Exploring Operation: 25*70=1750, Resulting Numbers: [1750]
1750,67 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[25, 48], Operations: ['22+3=25', '59-11=48']
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,67 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,67 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
|
[
66,
66,
99,
44
] | 44 |
[
"66-66=0",
"99*0=0",
"44+0=44"
] |
Current State: 44:[66, 66, 99, 44], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [99, 44, 0]
Generated Node #2: [99, 44, 0] from Operation: 66-66=0
Current State: 44:[99, 44, 0], Operations: ['66-66=0']
Exploring Operation: 99*0=0, Resulting Numbers: [44, 0]
Generated Node #3: [44, 0] from Operation: 99*0=0
Current State: 44:[44, 0], Operations: ['66-66=0', '99*0=0']
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[66, 66, 99, 44], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [66, 44, 33]
Generated Node #0,0: 44:[66, 44, 33] Operation: 99-66=33
Exploring Operation: 99-44=55, Resulting Numbers: [66, 66, 55]
Generated Node #0,1: 44:[66, 66, 55] Operation: 99-44=55
Exploring Operation: 99-66=33, Resulting Numbers: [66, 44, 33]
Generated Node #0,2: 44:[66, 44, 33] Operation: 99-66=33
Exploring Operation: 66/66=1, Resulting Numbers: [99, 44, 1]
Generated Node #0,3: 44:[99, 44, 1] Operation: 66/66=1
Moving to Node #0,0
Current State: 44:[66, 44, 33], Operations: ['99-66=33']
Exploring Operation: 66/33=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 44:[44, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [44, 33]
Generated Node #0,0,1: 44:[44, 33] Operation: 66-33=33
Exploring Operation: 44-33=11, Resulting Numbers: [66, 11]
Generated Node #0,0,2: 44:[66, 11] Operation: 44-33=11
Exploring Operation: 66-44=22, Resulting Numbers: [33, 22]
Generated Node #0,0,3: 44:[33, 22] Operation: 66-44=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[44, 2], Operations: ['99-66=33', '66/33=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[44, 33], Operations: ['99-66=33', '66-33=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,44 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 44:[33, 22], Operations: ['99-66=33', '66-44=22']
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[66, 11], Operations: ['99-66=33', '44-33=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,44 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,44 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: 44:[66, 44, 33], Operations: ['99-66=33']
Exploring Operation: 66-33=33, Resulting Numbers: [44, 33]
Generated Node #0,2,0: 44:[44, 33] Operation: 66-33=33
Exploring Operation: 66-44=22, Resulting Numbers: [33, 22]
Generated Node #0,2,1: 44:[33, 22] Operation: 66-44=22
Exploring Operation: 44-33=11, Resulting Numbers: [66, 11]
Generated Node #0,2,2: 44:[66, 11] Operation: 44-33=11
Exploring Operation: 66/33=2, Resulting Numbers: [44, 2]
Generated Node #0,2,3: 44:[44, 2] Operation: 66/33=2
Moving to Node #0,1
Current State: 44:[66, 66, 55], Operations: ['99-44=55']
Exploring Operation: 66-55=11, Resulting Numbers: [66, 11]
Generated Node #0,1,0: 44:[66, 11] Operation: 66-55=11
Exploring Operation: 66-66=0, Resulting Numbers: [55, 0]
Generated Node #0,1,1: 44:[55, 0] Operation: 66-66=0
Exploring Operation: 66/66=1, Resulting Numbers: [55, 1]
Generated Node #0,1,2: 44:[55, 1] Operation: 66/66=1
Exploring Operation: 66-55=11, Resulting Numbers: [66, 11]
Generated Node #0,1,3: 44:[66, 11] Operation: 66-55=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[55, 1], Operations: ['99-44=55', '66/66=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[55, 0], Operations: ['99-44=55', '66-66=0']
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[66, 11], Operations: ['99-44=55', '66-55=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,44 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 44:[66, 11], Operations: ['99-44=55', '66-55=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,44 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,44 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: 44:[99, 44, 1], Operations: ['66/66=1']
Exploring Operation: 99-1=98, Resulting Numbers: [44, 98]
Generated Node #0,3,0: 44:[44, 98] Operation: 99-1=98
Exploring Operation: 99-44=55, Resulting Numbers: [1, 55]
Generated Node #0,3,1: 44:[1, 55] Operation: 99-44=55
Exploring Operation: 99/1=99, Resulting Numbers: [44, 99]
Generated Node #0,3,2: 44:[44, 99] Operation: 99/1=99
Exploring Operation: 99*1=99, Resulting Numbers: [44, 99]
Generated Node #0,3,3: 44:[44, 99] Operation: 99*1=99
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[1, 55], Operations: ['66/66=1', '99-44=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[44, 98], Operations: ['66/66=1', '99-1=98']
Exploring Operation: 44*98=4312, Resulting Numbers: [4312]
4312,44 unequal: No Solution
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 44+98=142, Resulting Numbers: [142]
142,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[44, 99], Operations: ['66/66=1', '99/1=99']
Exploring Operation: 44+99=143, Resulting Numbers: [143]
143,44 unequal: No Solution
Exploring Operation: 44*99=4356, Resulting Numbers: [4356]
4356,44 unequal: No Solution
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[44, 99], Operations: ['66/66=1', '99*1=99']
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 44*99=4356, Resulting Numbers: [4356]
4356,44 unequal: No Solution
Exploring Operation: 44+99=143, Resulting Numbers: [143]
143,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 44:[44, 2], Operations: ['99-66=33', '66/33=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[33, 22], Operations: ['99-66=33', '66-44=22']
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[44, 33], Operations: ['99-66=33', '66-33=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[66, 11], Operations: ['99-66=33', '44-33=11']
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,44 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
2,
75,
60,
97
] | 67 |
[
"75-60=15",
"2*15=30",
"97-30=67"
] |
Current State: 67:[2, 75, 60, 97], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [2, 97, 15]
Generated Node #2: [2, 97, 15] from Operation: 75-60=15
Current State: 67:[2, 97, 15], Operations: ['75-60=15']
Exploring Operation: 2*15=30, Resulting Numbers: [97, 30]
Generated Node #3: [97, 30] from Operation: 2*15=30
Current State: 67:[97, 30], Operations: ['75-60=15', '2*15=30']
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[2, 75, 60, 97], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [75, 60, 95]
Generated Node #0,0: 67:[75, 60, 95] Operation: 97-2=95
Exploring Operation: 75-2=73, Resulting Numbers: [60, 97, 73]
Generated Node #0,1: 67:[60, 97, 73] Operation: 75-2=73
Exploring Operation: 2+60=62, Resulting Numbers: [75, 97, 62]
Generated Node #0,2: 67:[75, 97, 62] Operation: 2+60=62
Moving to Node #0,0
Current State: 67:[75, 60, 95], Operations: ['97-2=95']
Exploring Operation: 75-60=15, Resulting Numbers: [95, 15]
Generated Node #0,0,0: 67:[95, 15] Operation: 75-60=15
Exploring Operation: 95-75=20, Resulting Numbers: [60, 20]
Generated Node #0,0,1: 67:[60, 20] Operation: 95-75=20
Exploring Operation: 95-60=35, Resulting Numbers: [75, 35]
Generated Node #0,0,2: 67:[75, 35] Operation: 95-60=35
Moving to Node #0,1
Current State: 67:[60, 97, 73], Operations: ['75-2=73']
Exploring Operation: 73-60=13, Resulting Numbers: [97, 13]
Generated Node #0,1,0: 67:[97, 13] Operation: 73-60=13
Exploring Operation: 97-73=24, Resulting Numbers: [60, 24]
Generated Node #0,1,1: 67:[60, 24] Operation: 97-73=24
Exploring Operation: 97-60=37, Resulting Numbers: [73, 37]
Generated Node #0,1,2: 67:[73, 37] Operation: 97-60=37
Moving to Node #0,2
Current State: 67:[75, 97, 62], Operations: ['2+60=62']
Exploring Operation: 97-62=35, Resulting Numbers: [75, 35]
Generated Node #0,2,0: 67:[75, 35] Operation: 97-62=35
Exploring Operation: 97-75=22, Resulting Numbers: [62, 22]
Generated Node #0,2,1: 67:[62, 22] Operation: 97-75=22
Exploring Operation: 75-62=13, Resulting Numbers: [97, 13]
Generated Node #0,2,2: 67:[97, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[75, 35], Operations: ['2+60=62', '97-62=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,67 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[62, 22], Operations: ['2+60=62', '97-75=22']
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,67 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[97, 13], Operations: ['2+60=62', '75-62=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 67:[73, 37], Operations: ['75-2=73', '97-60=37']
Exploring Operation: 73*37=2701, Resulting Numbers: [2701]
2701,67 unequal: No Solution
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 73+37=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[75, 35], Operations: ['97-2=95', '95-60=35']
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,67 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[60, 24], Operations: ['75-2=73', '97-73=24']
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[60, 20], Operations: ['97-2=95', '95-75=20']
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[95, 15], Operations: ['97-2=95', '75-60=15']
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,67 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[97, 13], Operations: ['75-2=73', '73-60=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,67 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,67 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
84,
66,
46,
87
] | 42 |
[
"87-66=21",
"84/21=4",
"46-4=42"
] |
Current State: 42:[84, 66, 46, 87], Operations: []
Exploring Operation: 87-66=21, Resulting Numbers: [84, 46, 21]
Generated Node #2: [84, 46, 21] from Operation: 87-66=21
Current State: 42:[84, 46, 21], Operations: ['87-66=21']
Exploring Operation: 84/21=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 84/21=4
Current State: 42:[46, 4], Operations: ['87-66=21', '84/21=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[84, 66, 46, 87], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [66, 46, 3]
Generated Node #0,0: 42:[66, 46, 3] Operation: 87-84=3
Moving to Node #0,0
Current State: 42:[66, 46, 3], Operations: ['87-84=3']
Exploring Operation: 66-46=20, Resulting Numbers: [3, 20]
Generated Node #0,0,0: 42:[3, 20] Operation: 66-46=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[3, 20], Operations: ['87-84=3', '66-46=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,42 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,
16,
97,
26
] | 23 |
[
"32+16=48",
"97-26=71",
"71-48=23"
] |
Current State: 23:[32, 16, 97, 26], Operations: []
Exploring Operation: 32+16=48, Resulting Numbers: [97, 26, 48]
Generated Node #2: [97, 26, 48] from Operation: 32+16=48
Current State: 23:[97, 26, 48], Operations: ['32+16=48']
Exploring Operation: 97-26=71, Resulting Numbers: [48, 71]
Generated Node #3: [48, 71] from Operation: 97-26=71
Current State: 23:[48, 71], Operations: ['32+16=48', '97-26=71']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[32, 16, 97, 26], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [16, 26, 65]
Generated Node #0,0: 23:[16, 26, 65] Operation: 97-32=65
Exploring Operation: 97-16=81, Resulting Numbers: [32, 26, 81]
Generated Node #0,1: 23:[32, 26, 81] Operation: 97-16=81
Exploring Operation: 32-16=16, Resulting Numbers: [97, 26, 16]
Generated Node #0,2: 23:[97, 26, 16] Operation: 32-16=16
Exploring Operation: 97-26=71, Resulting Numbers: [32, 16, 71]
Generated Node #0,3: 23:[32, 16, 71] Operation: 97-26=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[16, 26, 65], Operations: ['97-32=65']
Exploring Operation: 65-26=39, Resulting Numbers: [16, 39]
Generated Node #0,0,0: 23:[16, 39] Operation: 65-26=39
Exploring Operation: 65-16=49, Resulting Numbers: [26, 49]
Generated Node #0,0,1: 23:[26, 49] Operation: 65-16=49
Exploring Operation: 26-16=10, Resulting Numbers: [65, 10]
Generated Node #0,0,2: 23:[65, 10] Operation: 26-16=10
Exploring Operation: 16+26=42, Resulting Numbers: [65, 42]
Generated Node #0,0,3: 23:[65, 42] Operation: 16+26=42
Moving to Node #0,0,0
Current State: 23:[16, 39], Operations: ['97-32=65', '65-26=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 16*39=624, Resulting Numbers: [624]
624,23 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[32, 16, 97, 26], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [16, 26, 65]
Generated Node #0,0: 23:[16, 26, 65] Operation: 97-32=65
Moving to Node #0,0
Current State: 23:[16, 26, 65], Operations: ['97-32=65']
Exploring Operation: 65-26=39, Resulting Numbers: [16, 39]
Generated Node #0,0,0: 23:[16, 39] Operation: 65-26=39
Moving to Node #0,0,0
Current State: 23:[16, 39], Operations: ['97-32=65', '65-26=39']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
18,
31,
28,
32
] | 52 |
[
"31-18=13",
"32-28=4",
"13*4=52"
] |
Current State: 52:[18, 31, 28, 32], Operations: []
Exploring Operation: 31-18=13, Resulting Numbers: [28, 32, 13]
Generated Node #2: [28, 32, 13] from Operation: 31-18=13
Current State: 52:[28, 32, 13], Operations: ['31-18=13']
Exploring Operation: 32-28=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 32-28=4
Current State: 52:[13, 4], Operations: ['31-18=13', '32-28=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[18, 31, 28, 32], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [31, 28, 14]
Generated Node #0,0: 52:[31, 28, 14] Operation: 32-18=14
Exploring Operation: 31-18=13, Resulting Numbers: [28, 32, 13]
Generated Node #0,1: 52:[28, 32, 13] Operation: 31-18=13
Exploring Operation: 32-31=1, Resulting Numbers: [18, 28, 1]
Generated Node #0,2: 52:[18, 28, 1] Operation: 32-31=1
Moving to Node #0,0
Current State: 52:[31, 28, 14], Operations: ['32-18=14']
Exploring Operation: 28/14=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 52:[31, 2] Operation: 28/14=2
Exploring Operation: 31-14=17, Resulting Numbers: [28, 17]
Generated Node #0,0,1: 52:[28, 17] Operation: 31-14=17
Exploring Operation: 31-28=3, Resulting Numbers: [14, 3]
Generated Node #0,0,2: 52:[14, 3] Operation: 31-28=3
Moving to Node #0,1
Current State: 52:[28, 32, 13], Operations: ['31-18=13']
Exploring Operation: 32-28=4, Resulting Numbers: [13, 4]
Generated Node #0,1,0: 52:[13, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [13, 60]
Generated Node #0,1,1: 52:[13, 60] Operation: 28+32=60
Exploring Operation: 28-13=15, Resulting Numbers: [32, 15]
Generated Node #0,1,2: 52:[32, 15] Operation: 28-13=15
Moving to Node #0,2
Current State: 52:[18, 28, 1], Operations: ['32-31=1']
Exploring Operation: 18-1=17, Resulting Numbers: [28, 17]
Generated Node #0,2,0: 52:[28, 17] Operation: 18-1=17
Exploring Operation: 28-18=10, Resulting Numbers: [1, 10]
Generated Node #0,2,1: 52:[1, 10] Operation: 28-18=10
Exploring Operation: 28-1=27, Resulting Numbers: [18, 27]
Generated Node #0,2,2: 52:[18, 27] Operation: 28-1=27
Moving to Node #0,1,0
Current State: 52:[13, 4], Operations: ['31-18=13', '32-28=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[18, 31, 28, 32], Operations: []
Exploring Operation: 31-18=13, Resulting Numbers: [28, 32, 13]
Generated Node #0,1: 52:[28, 32, 13] Operation: 31-18=13
Moving to Node #0,1
Current State: 52:[28, 32, 13], Operations: ['31-18=13']
Exploring Operation: 32-28=4, Resulting Numbers: [13, 4]
Generated Node #0,1,0: 52:[13, 4] Operation: 32-28=4
Moving to Node #0,1,0
Current State: 52:[13, 4], Operations: ['31-18=13', '32-28=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.984375 |
hs_3
|
sum_heuristic
|
[
24,
40,
32,
92
] | 94 |
[
"24+40=64",
"64/32=2",
"92+2=94"
] |
Current State: 94:[24, 40, 32, 92], Operations: []
Exploring Operation: 24+40=64, Resulting Numbers: [32, 92, 64]
Generated Node #2: [32, 92, 64] from Operation: 24+40=64
Current State: 94:[32, 92, 64], Operations: ['24+40=64']
Exploring Operation: 64/32=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 64/32=2
Current State: 94:[92, 2], Operations: ['24+40=64', '64/32=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[24, 40, 32, 92], Operations: []
Exploring Operation: 32-24=8, Resulting Numbers: [40, 92, 8]
Generated Node #0,0: 94:[40, 92, 8] Operation: 32-24=8
Moving to Node #0,0
Current State: 94:[40, 92, 8], Operations: ['32-24=8']
Exploring Operation: 40+8=48, Resulting Numbers: [92, 48]
Generated Node #0,0,0: 94:[92, 48] Operation: 40+8=48
Moving to Node #0,0,0
Current State: 94:[92, 48], Operations: ['32-24=8', '40+8=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
17,
4,
26,
37
] | 57 |
[
"17*4=68",
"37-26=11",
"68-11=57"
] |
Current State: 57:[17, 4, 26, 37], Operations: []
Exploring Operation: 17*4=68, Resulting Numbers: [26, 37, 68]
Generated Node #2: [26, 37, 68] from Operation: 17*4=68
Current State: 57:[26, 37, 68], Operations: ['17*4=68']
Exploring Operation: 37-26=11, Resulting Numbers: [68, 11]
Generated Node #3: [68, 11] from Operation: 37-26=11
Current State: 57:[68, 11], Operations: ['17*4=68', '37-26=11']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[17, 4, 26, 37], Operations: []
Exploring Operation: 37-17=20, Resulting Numbers: [4, 26, 20]
Generated Node #0,0: 57:[4, 26, 20] Operation: 37-17=20
Exploring Operation: 26-4=22, Resulting Numbers: [17, 37, 22]
Generated Node #0,1: 57:[17, 37, 22] Operation: 26-4=22
Exploring Operation: 17+37=54, Resulting Numbers: [4, 26, 54]
Generated Node #0,2: 57:[4, 26, 54] Operation: 17+37=54
Exploring Operation: 37-26=11, Resulting Numbers: [17, 4, 11]
Generated Node #0,3: 57:[17, 4, 11] Operation: 37-26=11
Exploring Operation: 26+37=63, Resulting Numbers: [17, 4, 63]
Generated Node #0,4: 57:[17, 4, 63] Operation: 26+37=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[4, 26, 20], Operations: ['37-17=20']
Exploring Operation: 20/4=5, Resulting Numbers: [26, 5]
Generated Node #0,0,0: 57:[26, 5] Operation: 20/4=5
Exploring Operation: 26-20=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 57:[4, 6] Operation: 26-20=6
Exploring Operation: 20-4=16, Resulting Numbers: [26, 16]
Generated Node #0,0,2: 57:[26, 16] Operation: 20-4=16
Exploring Operation: 26-4=22, Resulting Numbers: [20, 22]
Generated Node #0,0,3: 57:[20, 22] Operation: 26-4=22
Exploring Operation: 4+26=30, Resulting Numbers: [20, 30]
Generated Node #0,0,4: 57:[20, 30] Operation: 4+26=30
Moving to Node #0,0,1
Current State: 57:[4, 6], Operations: ['37-17=20', '26-20=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[20, 22], Operations: ['37-17=20', '26-4=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[26, 5], Operations: ['37-17=20', '20/4=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,57 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[26, 16], Operations: ['37-17=20', '20-4=16']
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,57 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[20, 30], Operations: ['37-17=20', '4+26=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[17, 4, 63], Operations: ['26+37=63']
Exploring Operation: 63-17=46, Resulting Numbers: [4, 46]
Generated Node #0,4,0: 57:[4, 46] Operation: 63-17=46
Exploring Operation: 17-4=13, Resulting Numbers: [63, 13]
Generated Node #0,4,1: 57:[63, 13] Operation: 17-4=13
Exploring Operation: 17+4=21, Resulting Numbers: [63, 21]
Generated Node #0,4,2: 57:[63, 21] Operation: 17+4=21
Exploring Operation: 4+63=67, Resulting Numbers: [17, 67]
Generated Node #0,4,3: 57:[17, 67] Operation: 4+63=67
Exploring Operation: 63-4=59, Resulting Numbers: [17, 59]
Generated Node #0,4,4: 57:[17, 59] Operation: 63-4=59
Moving to Node #0,4,4
Current State: 57:[17, 59], Operations: ['26+37=63', '63-4=59']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[63, 21], Operations: ['26+37=63', '17+4=21']
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,57 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[4, 46], Operations: ['26+37=63', '63-17=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,57 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[63, 13], Operations: ['26+37=63', '17-4=13']
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,57 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[17, 67], Operations: ['26+37=63', '4+63=67']
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,57 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[4, 26, 54], Operations: ['17+37=54']
Exploring Operation: 54-26=28, Resulting Numbers: [4, 28]
Generated Node #0,2,0: 57:[4, 28] Operation: 54-26=28
Exploring Operation: 26-4=22, Resulting Numbers: [54, 22]
Generated Node #0,2,1: 57:[54, 22] Operation: 26-4=22
Exploring Operation: 4+26=30, Resulting Numbers: [54, 30]
Generated Node #0,2,2: 57:[54, 30] Operation: 4+26=30
Exploring Operation: 4+54=58, Resulting Numbers: [26, 58]
Generated Node #0,2,3: 57:[26, 58] Operation: 4+54=58
Exploring Operation: 54-4=50, Resulting Numbers: [26, 50]
Generated Node #0,2,4: 57:[26, 50] Operation: 54-4=50
Moving to Node #0,2,1
Current State: 57:[54, 22], Operations: ['17+37=54', '26-4=22']
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,57 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[26, 58], Operations: ['17+37=54', '4+54=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[4, 28], Operations: ['17+37=54', '54-26=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[54, 30], Operations: ['17+37=54', '4+26=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[26, 50], Operations: ['17+37=54', '54-4=50']
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,57 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[17, 4, 11], Operations: ['37-26=11']
Exploring Operation: 4+11=15, Resulting Numbers: [17, 15]
Generated Node #0,3,0: 57:[17, 15] Operation: 4+11=15
Exploring Operation: 17+11=28, Resulting Numbers: [4, 28]
Generated Node #0,3,1: 57:[4, 28] Operation: 17+11=28
Exploring Operation: 17-11=6, Resulting Numbers: [4, 6]
Generated Node #0,3,2: 57:[4, 6] Operation: 17-11=6
Exploring Operation: 11-4=7, Resulting Numbers: [17, 7]
Generated Node #0,3,3: 57:[17, 7] Operation: 11-4=7
Exploring Operation: 17+4=21, Resulting Numbers: [11, 21]
Generated Node #0,3,4: 57:[11, 21] Operation: 17+4=21
Moving to Node #0,3,2
Current State: 57:[4, 6], Operations: ['37-26=11', '17-11=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[17, 7], Operations: ['37-26=11', '11-4=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[17, 15], Operations: ['37-26=11', '4+11=15']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[4, 28], Operations: ['37-26=11', '17+11=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[11, 21], Operations: ['37-26=11', '17+4=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[17, 37, 22], Operations: ['26-4=22']
Exploring Operation: 17+37=54, Resulting Numbers: [22, 54]
Generated Node #0,1,0: 57:[22, 54] Operation: 17+37=54
Exploring Operation: 37-17=20, Resulting Numbers: [22, 20]
Generated Node #0,1,1: 57:[22, 20] Operation: 37-17=20
Exploring Operation: 22-17=5, Resulting Numbers: [37, 5]
Generated Node #0,1,2: 57:[37, 5] Operation: 22-17=5
Exploring Operation: 37-22=15, Resulting Numbers: [17, 15]
Generated Node #0,1,3: 57:[17, 15] Operation: 37-22=15
Exploring Operation: 37+22=59, Resulting Numbers: [17, 59]
Generated Node #0,1,4: 57:[17, 59] Operation: 37+22=59
Moving to Node #0,1,1
Current State: 57:[22, 20], Operations: ['26-4=22', '37-17=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[17, 59], Operations: ['26-4=22', '37+22=59']
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,57 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[22, 54], Operations: ['26-4=22', '17+37=54']
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,57 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[17, 15], Operations: ['26-4=22', '37-22=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[37, 5], Operations: ['26-4=22', '22-17=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,57 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
23,
6,
87,
58
] | 32 |
[
"6*87=522",
"522/58=9",
"23+9=32"
] |
Current State: 32:[23, 6, 87, 58], Operations: []
Exploring Operation: 6*87=522, Resulting Numbers: [23, 58, 522]
Generated Node #2: [23, 58, 522] from Operation: 6*87=522
Current State: 32:[23, 58, 522], Operations: ['6*87=522']
Exploring Operation: 522/58=9, Resulting Numbers: [23, 9]
Generated Node #3: [23, 9] from Operation: 522/58=9
Current State: 32:[23, 9], Operations: ['6*87=522', '522/58=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[23, 6, 87, 58], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [23, 6, 29]
Generated Node #0,0: 32:[23, 6, 29] Operation: 87-58=29
Exploring Operation: 58-23=35, Resulting Numbers: [6, 87, 35]
Generated Node #0,1: 32:[6, 87, 35] Operation: 58-23=35
Exploring Operation: 87-23=64, Resulting Numbers: [6, 58, 64]
Generated Node #0,2: 32:[6, 58, 64] Operation: 87-23=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[23, 6, 29], Operations: ['87-58=29']
Exploring Operation: 23-6=17, Resulting Numbers: [29, 17]
Generated Node #0,0,0: 32:[29, 17] Operation: 23-6=17
Exploring Operation: 29-23=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 32:[6, 6] Operation: 29-23=6
Exploring Operation: 23+6=29, Resulting Numbers: [29, 29]
Generated Node #0,0,2: 32:[29, 29] Operation: 23+6=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[29, 17], Operations: ['87-58=29', '23-6=17']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,32 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,32 unequal: No Solution
No 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: 32:[6, 6], Operations: ['87-58=29', '29-23=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,32 unequal: No Solution
No 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: 32:[29, 29], Operations: ['87-58=29', '23+6=29']
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,32 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: 32:[6, 87, 35], Operations: ['58-23=35']
Exploring Operation: 87-35=52, Resulting Numbers: [6, 52]
Generated Node #0,1,0: 32:[6, 52] Operation: 87-35=52
Exploring Operation: 35-6=29, Resulting Numbers: [87, 29]
Generated Node #0,1,1: 32:[87, 29] Operation: 35-6=29
Exploring Operation: 87-6=81, Resulting Numbers: [35, 81]
Generated Node #0,1,2: 32:[35, 81] Operation: 87-6=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[6, 52], Operations: ['58-23=35', '87-35=52']
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,32 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,32 unequal: No Solution
No 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: 32:[35, 81], Operations: ['58-23=35', '87-6=81']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,32 unequal: No Solution
No 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: 32:[87, 29], Operations: ['58-23=35', '35-6=29']
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 87+29=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,32 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: 32:[6, 58, 64], Operations: ['87-23=64']
Exploring Operation: 58-6=52, Resulting Numbers: [64, 52]
Generated Node #0,2,0: 32:[64, 52] Operation: 58-6=52
Exploring Operation: 64-6=58, Resulting Numbers: [58, 58]
Generated Node #0,2,1: 32:[58, 58] Operation: 64-6=58
Exploring Operation: 64-58=6, Resulting Numbers: [6, 6]
Generated Node #0,2,2: 32:[6, 6] Operation: 64-58=6
Moving to Node #0,2,2
Current State: 32:[6, 6], Operations: ['87-23=64', '64-58=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[64, 52], Operations: ['87-23=64', '58-6=52']
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,32 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[58, 58], Operations: ['87-23=64', '64-6=58']
Exploring Operation: 58-58=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 58+58=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 58/58=1, Resulting Numbers: [1]
1,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
21,
56,
5,
25
] | 12 |
[
"56-21=35",
"25+35=60",
"60/5=12"
] |
Current State: 12:[21, 56, 5, 25], Operations: []
Exploring Operation: 56-21=35, Resulting Numbers: [5, 25, 35]
Generated Node #2: [5, 25, 35] from Operation: 56-21=35
Current State: 12:[5, 25, 35], Operations: ['56-21=35']
Exploring Operation: 25+35=60, Resulting Numbers: [5, 60]
Generated Node #3: [5, 60] from Operation: 25+35=60
Current State: 12:[5, 60], Operations: ['56-21=35', '25+35=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[21, 56, 5, 25], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [21, 5, 31]
Generated Node #0,0: 12:[21, 5, 31] Operation: 56-25=31
Exploring Operation: 56-21=35, Resulting Numbers: [5, 25, 35]
Generated Node #0,1: 12:[5, 25, 35] Operation: 56-21=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[21, 5, 31], Operations: ['56-25=31']
Exploring Operation: 31-21=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 12:[5, 10] Operation: 31-21=10
Exploring Operation: 21-5=16, Resulting Numbers: [31, 16]
Generated Node #0,0,1: 12:[31, 16] Operation: 21-5=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[5, 10], Operations: ['56-25=31', '31-21=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No 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: 12:[31, 16], Operations: ['56-25=31', '21-5=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,12 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: 12:[5, 25, 35], Operations: ['56-21=35']
Exploring Operation: 35-25=10, Resulting Numbers: [5, 10]
Generated Node #0,1,0: 12:[5, 10] Operation: 35-25=10
Exploring Operation: 35/5=7, Resulting Numbers: [25, 7]
Generated Node #0,1,1: 12:[25, 7] Operation: 35/5=7
Moving to Node #0,1,0
Current State: 12:[5, 10], Operations: ['56-21=35', '35-25=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[25, 7], Operations: ['56-21=35', '35/5=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,12 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
|
[
37,
84,
60,
36
] | 71 |
[
"84-37=47",
"60-36=24",
"47+24=71"
] |
Current State: 71:[37, 84, 60, 36], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [60, 36, 47]
Generated Node #2: [60, 36, 47] from Operation: 84-37=47
Current State: 71:[60, 36, 47], Operations: ['84-37=47']
Exploring Operation: 60-36=24, Resulting Numbers: [47, 24]
Generated Node #3: [47, 24] from Operation: 60-36=24
Current State: 71:[47, 24], Operations: ['84-37=47', '60-36=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[37, 84, 60, 36], Operations: []
Exploring Operation: 37+36=73, Resulting Numbers: [84, 60, 73]
Generated Node #0,0: 71:[84, 60, 73] Operation: 37+36=73
Moving to Node #0,0
Current State: 71:[84, 60, 73], Operations: ['37+36=73']
Exploring Operation: 84-60=24, Resulting Numbers: [73, 24]
Generated Node #0,0,0: 71:[73, 24] Operation: 84-60=24
Moving to Node #0,0,0
Current State: 71:[73, 24], Operations: ['37+36=73', '84-60=24']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,71 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
29,
91,
22,
73
] | 86 |
[
"29-22=7",
"91/7=13",
"73+13=86"
] |
Current State: 86:[29, 91, 22, 73], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [91, 73, 7]
Generated Node #2: [91, 73, 7] from Operation: 29-22=7
Current State: 86:[91, 73, 7], Operations: ['29-22=7']
Exploring Operation: 91/7=13, Resulting Numbers: [73, 13]
Generated Node #3: [73, 13] from Operation: 91/7=13
Current State: 86:[73, 13], Operations: ['29-22=7', '91/7=13']
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[29, 91, 22, 73], Operations: []
Exploring Operation: 73-29=44, Resulting Numbers: [91, 22, 44]
Generated Node #0,0: 86:[91, 22, 44] Operation: 73-29=44
Exploring Operation: 29-22=7, Resulting Numbers: [91, 73, 7]
Generated Node #0,1: 86:[91, 73, 7] Operation: 29-22=7
Exploring Operation: 29+22=51, Resulting Numbers: [91, 73, 51]
Generated Node #0,2: 86:[91, 73, 51] Operation: 29+22=51
Moving to Node #0,1
Current State: 86:[91, 73, 7], Operations: ['29-22=7']
Exploring Operation: 91-73=18, Resulting Numbers: [7, 18]
Generated Node #0,1,0: 86:[7, 18] Operation: 91-73=18
Exploring Operation: 73+7=80, Resulting Numbers: [91, 80]
Generated Node #0,1,1: 86:[91, 80] Operation: 73+7=80
Exploring Operation: 91-7=84, Resulting Numbers: [73, 84]
Generated Node #0,1,2: 86:[73, 84] Operation: 91-7=84
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[91, 80], Operations: ['29-22=7', '73+7=80']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,86 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[73, 84], Operations: ['29-22=7', '91-7=84']
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,86 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[7, 18], Operations: ['29-22=7', '91-73=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,86 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: 86:[91, 22, 44], Operations: ['73-29=44']
Exploring Operation: 44/22=2, Resulting Numbers: [91, 2]
Generated Node #0,0,0: 86:[91, 2] Operation: 44/22=2
Exploring Operation: 91-22=69, Resulting Numbers: [44, 69]
Generated Node #0,0,1: 86:[44, 69] Operation: 91-22=69
Exploring Operation: 91-44=47, Resulting Numbers: [22, 47]
Generated Node #0,0,2: 86:[22, 47] Operation: 91-44=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[91, 2], Operations: ['73-29=44', '44/22=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,86 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[44, 69], Operations: ['73-29=44', '91-22=69']
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,86 unequal: No Solution
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[22, 47], Operations: ['73-29=44', '91-44=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[91, 73, 51], Operations: ['29+22=51']
Exploring Operation: 91-73=18, Resulting Numbers: [51, 18]
Generated Node #0,2,0: 86:[51, 18] Operation: 91-73=18
Exploring Operation: 73-51=22, Resulting Numbers: [91, 22]
Generated Node #0,2,1: 86:[91, 22] Operation: 73-51=22
Exploring Operation: 91-51=40, Resulting Numbers: [73, 40]
Generated Node #0,2,2: 86:[73, 40] Operation: 91-51=40
Moving to Node #0,2,2
Current State: 86:[73, 40], Operations: ['29+22=51', '91-51=40']
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[51, 18], Operations: ['29+22=51', '91-73=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,86 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[91, 22], Operations: ['29+22=51', '73-51=22']
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,86 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
65,
85,
5,
31
] | 55 |
[
"85-65=20",
"31-20=11",
"5*11=55"
] |
Current State: 55:[65, 85, 5, 31], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [5, 31, 20]
Generated Node #2: [5, 31, 20] from Operation: 85-65=20
Current State: 55:[5, 31, 20], Operations: ['85-65=20']
Exploring Operation: 31-20=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 31-20=11
Current State: 55:[5, 11], Operations: ['85-65=20', '31-20=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[65, 85, 5, 31], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [65, 5, 54]
Generated Node #0,0: 55:[65, 5, 54] Operation: 85-31=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[65, 5, 54], Operations: ['85-31=54']
Exploring Operation: 65-54=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 65-54=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['85-31=54', '65-54=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[65, 85, 5, 31], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [65, 5, 54]
Generated Node #0,0: 55:[65, 5, 54] Operation: 85-31=54
Moving to Node #0,0
Current State: 55:[65, 5, 54], Operations: ['85-31=54']
Exploring Operation: 65-54=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 65-54=11
Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['85-31=54', '65-54=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
43,
23,
66,
29
] | 29 |
[
"43+23=66",
"66+29=95",
"95-66=29"
] |
Current State: 29:[43, 23, 66, 29], Operations: []
Exploring Operation: 43+23=66, Resulting Numbers: [66, 29, 66]
Generated Node #2: [66, 29, 66] from Operation: 43+23=66
Current State: 29:[66, 29, 66], Operations: ['43+23=66']
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,29 equal: Goal Reached
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[43, 23, 66, 29], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [23, 29, 23]
Generated Node #0,0: 29:[23, 29, 23] Operation: 66-43=23
Exploring Operation: 66-23=43, Resulting Numbers: [43, 29, 43]
Generated Node #0,1: 29:[43, 29, 43] Operation: 66-23=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[23, 29, 23], Operations: ['66-43=23']
Exploring Operation: 23/23=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 29:[29, 1] Operation: 23/23=1
Exploring Operation: 23+23=46, Resulting Numbers: [29, 46]
Generated Node #0,0,1: 29:[29, 46] Operation: 23+23=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[29, 46], Operations: ['66-43=23', '23+23=46']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[29, 1], Operations: ['66-43=23', '23/23=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[43, 23, 66, 29], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [23, 29, 23]
Generated Node #0,0: 29:[23, 29, 23] Operation: 66-43=23
Moving to Node #0,0
Current State: 29:[23, 29, 23], Operations: ['66-43=23']
Exploring Operation: 23/23=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 29:[29, 1] Operation: 23/23=1
Moving to Node #0,0,0
Current State: 29:[29, 1], Operations: ['66-43=23', '23/23=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
sum_heuristic
|
[
47,
97,
36,
82
] | 96 |
[
"97-47=50",
"82-36=46",
"50+46=96"
] |
Current State: 96:[47, 97, 36, 82], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [36, 82, 50]
Generated Node #2: [36, 82, 50] from Operation: 97-47=50
Current State: 96:[36, 82, 50], Operations: ['97-47=50']
Exploring Operation: 82-36=46, Resulting Numbers: [50, 46]
Generated Node #3: [50, 46] from Operation: 82-36=46
Current State: 96:[50, 46], Operations: ['97-47=50', '82-36=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[47, 97, 36, 82], Operations: []
Exploring Operation: 47-36=11, Resulting Numbers: [97, 82, 11]
Generated Node #0,0: 96:[97, 82, 11] Operation: 47-36=11
Exploring Operation: 82-36=46, Resulting Numbers: [47, 97, 46]
Generated Node #0,1: 96:[47, 97, 46] Operation: 82-36=46
Exploring Operation: 97-82=15, Resulting Numbers: [47, 36, 15]
Generated Node #0,2: 96:[47, 36, 15] Operation: 97-82=15
Exploring Operation: 82-47=35, Resulting Numbers: [97, 36, 35]
Generated Node #0,3: 96:[97, 36, 35] Operation: 82-47=35
Exploring Operation: 97-47=50, Resulting Numbers: [36, 82, 50]
Generated Node #0,4: 96:[36, 82, 50] Operation: 97-47=50
Moving to Node #0,1
Current State: 96:[47, 97, 46], Operations: ['82-36=46']
Exploring Operation: 47-46=1, Resulting Numbers: [97, 1]
Generated Node #0,1,0: 96:[97, 1] Operation: 47-46=1
Exploring Operation: 97-46=51, Resulting Numbers: [47, 51]
Generated Node #0,1,1: 96:[47, 51] Operation: 97-46=51
Exploring Operation: 97+46=143, Resulting Numbers: [47, 143]
Generated Node #0,1,2: 96:[47, 143] Operation: 97+46=143
Exploring Operation: 97-47=50, Resulting Numbers: [46, 50]
Generated Node #0,1,3: 96:[46, 50] Operation: 97-47=50
Exploring Operation: 47+46=93, Resulting Numbers: [97, 93]
Generated Node #0,1,4: 96:[97, 93] Operation: 47+46=93
Moving to Node #0,2
Current State: 96:[47, 36, 15], Operations: ['97-82=15']
Exploring Operation: 36+15=51, Resulting Numbers: [47, 51]
Generated Node #0,2,0: 96:[47, 51] Operation: 36+15=51
Exploring Operation: 47+36=83, Resulting Numbers: [15, 83]
Generated Node #0,2,1: 96:[15, 83] Operation: 47+36=83
Exploring Operation: 47-36=11, Resulting Numbers: [15, 11]
Generated Node #0,2,2: 96:[15, 11] Operation: 47-36=11
Exploring Operation: 36-15=21, Resulting Numbers: [47, 21]
Generated Node #0,2,3: 96:[47, 21] Operation: 36-15=21
Exploring Operation: 47-15=32, Resulting Numbers: [36, 32]
Generated Node #0,2,4: 96:[36, 32] Operation: 47-15=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[15, 11], Operations: ['97-82=15', '47-36=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[47, 51], Operations: ['97-82=15', '36+15=51']
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,96 unequal: No Solution
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[47, 21], Operations: ['97-82=15', '36-15=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 96:[36, 32], Operations: ['97-82=15', '47-15=32']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[15, 83], Operations: ['97-82=15', '47+36=83']
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,96 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,96 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: 96:[97, 36, 35], Operations: ['82-47=35']
Exploring Operation: 97-36=61, Resulting Numbers: [35, 61]
Generated Node #0,3,0: 96:[35, 61] Operation: 97-36=61
Exploring Operation: 97-35=62, Resulting Numbers: [36, 62]
Generated Node #0,3,1: 96:[36, 62] Operation: 97-35=62
Exploring Operation: 97+36=133, Resulting Numbers: [35, 133]
Generated Node #0,3,2: 96:[35, 133] Operation: 97+36=133
Exploring Operation: 36+35=71, Resulting Numbers: [97, 71]
Generated Node #0,3,3: 96:[97, 71] Operation: 36+35=71
Exploring Operation: 36-35=1, Resulting Numbers: [97, 1]
Generated Node #0,3,4: 96:[97, 1] Operation: 36-35=1
Moving to Node #0,0
Current State: 96:[97, 82, 11], Operations: ['47-36=11']
Exploring Operation: 82-11=71, Resulting Numbers: [97, 71]
Generated Node #0,0,0: 96:[97, 71] Operation: 82-11=71
Exploring Operation: 97+11=108, Resulting Numbers: [82, 108]
Generated Node #0,0,1: 96:[82, 108] Operation: 97+11=108
Exploring Operation: 97-11=86, Resulting Numbers: [82, 86]
Generated Node #0,0,2: 96:[82, 86] Operation: 97-11=86
Exploring Operation: 97-82=15, Resulting Numbers: [11, 15]
Generated Node #0,0,3: 96:[11, 15] Operation: 97-82=15
Exploring Operation: 82+11=93, Resulting Numbers: [97, 93]
Generated Node #0,0,4: 96:[97, 93] Operation: 82+11=93
Moving to Node #0,4
Current State: 96:[36, 82, 50], Operations: ['97-47=50']
Exploring Operation: 50-36=14, Resulting Numbers: [82, 14]
Generated Node #0,4,0: 96:[82, 14] Operation: 50-36=14
Exploring Operation: 82-36=46, Resulting Numbers: [50, 46]
Generated Node #0,4,1: 96:[50, 46] Operation: 82-36=46
Exploring Operation: 36+82=118, Resulting Numbers: [50, 118]
Generated Node #0,4,2: 96:[50, 118] Operation: 36+82=118
Exploring Operation: 82-50=32, Resulting Numbers: [36, 32]
Generated Node #0,4,3: 96:[36, 32] Operation: 82-50=32
Exploring Operation: 36+50=86, Resulting Numbers: [82, 86]
Generated Node #0,4,4: 96:[82, 86] Operation: 36+50=86
Moving to Node #0,1,0
Current State: 96:[97, 1], Operations: ['82-36=46', '47-46=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[47, 97, 36, 82], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [47, 97, 46]
Generated Node #0,1: 96:[47, 97, 46] Operation: 82-36=46
Moving to Node #0,1
Current State: 96:[47, 97, 46], Operations: ['82-36=46']
Exploring Operation: 47-46=1, Resulting Numbers: [97, 1]
Generated Node #0,1,0: 96:[97, 1] Operation: 47-46=1
Moving to Node #0,1,0
Current State: 96:[97, 1], Operations: ['82-36=46', '47-46=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.956597 |
hs_5
|
sum_heuristic
|
[
26,
13,
91,
22
] | 82 |
[
"26-13=13",
"91-22=69",
"13+69=82"
] |
Current State: 82:[26, 13, 91, 22], Operations: []
Exploring Operation: 26-13=13, Resulting Numbers: [91, 22, 13]
Generated Node #2: [91, 22, 13] from Operation: 26-13=13
Current State: 82:[91, 22, 13], Operations: ['26-13=13']
Exploring Operation: 91-22=69, Resulting Numbers: [13, 69]
Generated Node #3: [13, 69] from Operation: 91-22=69
Current State: 82:[13, 69], Operations: ['26-13=13', '91-22=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[26, 13, 91, 22], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [91, 22, 2]
Generated Node #0,0: 82:[91, 22, 2] Operation: 26/13=2
Exploring Operation: 26+22=48, Resulting Numbers: [13, 91, 48]
Generated Node #0,1: 82:[13, 91, 48] Operation: 26+22=48
Exploring Operation: 26-22=4, Resulting Numbers: [13, 91, 4]
Generated Node #0,2: 82:[13, 91, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[13, 91, 4], Operations: ['26-22=4']
Exploring Operation: 91-13=78, Resulting Numbers: [4, 78]
Generated Node #0,2,0: 82:[4, 78] Operation: 91-13=78
Exploring Operation: 91/13=7, Resulting Numbers: [4, 7]
Generated Node #0,2,1: 82:[4, 7] Operation: 91/13=7
Exploring Operation: 13-4=9, Resulting Numbers: [91, 9]
Generated Node #0,2,2: 82:[91, 9] Operation: 13-4=9
Moving to Node #0,2,0
Current State: 82:[4, 78], Operations: ['26-22=4', '91-13=78']
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,82 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[26, 13, 91, 22], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [13, 91, 4]
Generated Node #0,2: 82:[13, 91, 4] Operation: 26-22=4
Moving to Node #0,2
Current State: 82:[13, 91, 4], Operations: ['26-22=4']
Exploring Operation: 91-13=78, Resulting Numbers: [4, 78]
Generated Node #0,2,0: 82:[4, 78] Operation: 91-13=78
Moving to Node #0,2,0
Current State: 82:[4, 78], Operations: ['26-22=4', '91-13=78']
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
94,
23,
96,
54
] | 79 |
[
"94-23=71",
"96+54=150",
"150-71=79"
] |
Current State: 79:[94, 23, 96, 54], Operations: []
Exploring Operation: 94-23=71, Resulting Numbers: [96, 54, 71]
Generated Node #2: [96, 54, 71] from Operation: 94-23=71
Current State: 79:[96, 54, 71], Operations: ['94-23=71']
Exploring Operation: 96+54=150, Resulting Numbers: [71, 150]
Generated Node #3: [71, 150] from Operation: 96+54=150
Current State: 79:[71, 150], Operations: ['94-23=71', '96+54=150']
Exploring Operation: 150-71=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[94, 23, 96, 54], Operations: []
Exploring Operation: 23+54=77, Resulting Numbers: [94, 96, 77]
Generated Node #0,0: 79:[94, 96, 77] Operation: 23+54=77
Exploring Operation: 96-23=73, Resulting Numbers: [94, 54, 73]
Generated Node #0,1: 79:[94, 54, 73] Operation: 96-23=73
Exploring Operation: 94-23=71, Resulting Numbers: [96, 54, 71]
Generated Node #0,2: 79:[96, 54, 71] Operation: 94-23=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[94, 96, 77], Operations: ['23+54=77']
Exploring Operation: 94-77=17, Resulting Numbers: [96, 17]
Generated Node #0,0,0: 79:[96, 17] Operation: 94-77=17
Exploring Operation: 96-77=19, Resulting Numbers: [94, 19]
Generated Node #0,0,1: 79:[94, 19] Operation: 96-77=19
Exploring Operation: 96-94=2, Resulting Numbers: [77, 2]
Generated Node #0,0,2: 79:[77, 2] Operation: 96-94=2
Moving to Node #0,0,1
Current State: 79:[94, 19], Operations: ['23+54=77', '96-77=19']
Exploring Operation: 94+19=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 94*19=1786, Resulting Numbers: [1786]
1786,79 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[96, 17], Operations: ['23+54=77', '94-77=17']
Exploring Operation: 96*17=1632, Resulting Numbers: [1632]
1632,79 unequal: No Solution
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[94, 23, 96, 54], Operations: []
Exploring Operation: 23+54=77, Resulting Numbers: [94, 96, 77]
Generated Node #0,0: 79:[94, 96, 77] Operation: 23+54=77
Moving to Node #0,0
Current State: 79:[94, 96, 77], Operations: ['23+54=77']
Exploring Operation: 94-77=17, Resulting Numbers: [96, 17]
Generated Node #0,0,0: 79:[96, 17] Operation: 94-77=17
Moving to Node #0,0,0
Current State: 79:[96, 17], Operations: ['23+54=77', '94-77=17']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
sum_heuristic
|
[
53,
34,
18,
47
] | 22 |
[
"53+34=87",
"18+47=65",
"87-65=22"
] |
Current State: 22:[53, 34, 18, 47], Operations: []
Exploring Operation: 53+34=87, Resulting Numbers: [18, 47, 87]
Generated Node #2: [18, 47, 87] from Operation: 53+34=87
Current State: 22:[18, 47, 87], Operations: ['53+34=87']
Exploring Operation: 18+47=65, Resulting Numbers: [87, 65]
Generated Node #3: [87, 65] from Operation: 18+47=65
Current State: 22:[87, 65], Operations: ['53+34=87', '18+47=65']
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[53, 34, 18, 47], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [34, 18, 6]
Generated Node #0,0: 22:[34, 18, 6] Operation: 53-47=6
Exploring Operation: 53-18=35, Resulting Numbers: [34, 47, 35]
Generated Node #0,1: 22:[34, 47, 35] Operation: 53-18=35
Exploring Operation: 53-34=19, Resulting Numbers: [18, 47, 19]
Generated Node #0,2: 22:[18, 47, 19] Operation: 53-34=19
Exploring Operation: 47-34=13, Resulting Numbers: [53, 18, 13]
Generated Node #0,3: 22:[53, 18, 13] Operation: 47-34=13
Exploring Operation: 47-18=29, Resulting Numbers: [53, 34, 29]
Generated Node #0,4: 22:[53, 34, 29] Operation: 47-18=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[34, 18, 6], Operations: ['53-47=6']
Exploring Operation: 34-18=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 22:[6, 16] Operation: 34-18=16
Exploring Operation: 18+6=24, Resulting Numbers: [34, 24]
Generated Node #0,0,1: 22:[34, 24] Operation: 18+6=24
Exploring Operation: 34-6=28, Resulting Numbers: [18, 28]
Generated Node #0,0,2: 22:[18, 28] Operation: 34-6=28
Exploring Operation: 18/6=3, Resulting Numbers: [34, 3]
Generated Node #0,0,3: 22:[34, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [34, 12]
Generated Node #0,0,4: 22:[34, 12] Operation: 18-6=12
Moving to Node #0,0,0
Current State: 22:[6, 16], Operations: ['53-47=6', '34-18=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[53, 34, 18, 47], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [34, 18, 6]
Generated Node #0,0: 22:[34, 18, 6] Operation: 53-47=6
Moving to Node #0,0
Current State: 22:[34, 18, 6], Operations: ['53-47=6']
Exploring Operation: 34-18=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 22:[6, 16] Operation: 34-18=16
Moving to Node #0,0,0
Current State: 22:[6, 16], Operations: ['53-47=6', '34-18=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
62,
64,
97,
60
] | 67 |
[
"64-62=2",
"60/2=30",
"97-30=67"
] |
Current State: 67:[62, 64, 97, 60], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [97, 60, 2]
Generated Node #2: [97, 60, 2] from Operation: 64-62=2
Current State: 67:[97, 60, 2], Operations: ['64-62=2']
Exploring Operation: 60/2=30, Resulting Numbers: [97, 30]
Generated Node #3: [97, 30] from Operation: 60/2=30
Current State: 67:[97, 30], Operations: ['64-62=2', '60/2=30']
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[62, 64, 97, 60], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [64, 60, 35]
Generated Node #0,0: 67:[64, 60, 35] Operation: 97-62=35
Exploring Operation: 97-60=37, Resulting Numbers: [62, 64, 37]
Generated Node #0,1: 67:[62, 64, 37] Operation: 97-60=37
Exploring Operation: 97-64=33, Resulting Numbers: [62, 60, 33]
Generated Node #0,2: 67:[62, 60, 33] Operation: 97-64=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[62, 64, 37], Operations: ['97-60=37']
Exploring Operation: 64+37=101, Resulting Numbers: [62, 101]
Generated Node #0,1,0: 67:[62, 101] Operation: 64+37=101
Exploring Operation: 62+37=99, Resulting Numbers: [64, 99]
Generated Node #0,1,1: 67:[64, 99] Operation: 62+37=99
Exploring Operation: 62-37=25, Resulting Numbers: [64, 25]
Generated Node #0,1,2: 67:[64, 25] Operation: 62-37=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[64, 99], Operations: ['97-60=37', '62+37=99']
Exploring Operation: 64+99=163, Resulting Numbers: [163]
163,67 unequal: No Solution
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 64*99=6336, Resulting Numbers: [6336]
6336,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[62, 101], Operations: ['97-60=37', '64+37=101']
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,67 unequal: No Solution
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,67 unequal: No Solution
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[64, 25], Operations: ['97-60=37', '62-37=25']
Exploring Operation: 64*25=1600, Resulting Numbers: [1600]
1600,67 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[64, 60, 35], Operations: ['97-62=35']
Exploring Operation: 64-35=29, Resulting Numbers: [60, 29]
Generated Node #0,0,0: 67:[60, 29] Operation: 64-35=29
Exploring Operation: 60+35=95, Resulting Numbers: [64, 95]
Generated Node #0,0,1: 67:[64, 95] Operation: 60+35=95
Exploring Operation: 64+35=99, Resulting Numbers: [60, 99]
Generated Node #0,0,2: 67:[60, 99] Operation: 64+35=99
Moving to Node #0,0,1
Current State: 67:[64, 95], Operations: ['97-62=35', '60+35=95']
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[60, 99], Operations: ['97-62=35', '64+35=99']
Exploring Operation: 60*99=5940, Resulting Numbers: [5940]
5940,67 unequal: No Solution
Exploring Operation: 60+99=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[60, 29], Operations: ['97-62=35', '64-35=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,67 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[62, 60, 33], Operations: ['97-64=33']
Exploring Operation: 60+33=93, Resulting Numbers: [62, 93]
Generated Node #0,2,0: 67:[62, 93] Operation: 60+33=93
Exploring Operation: 62+33=95, Resulting Numbers: [60, 95]
Generated Node #0,2,1: 67:[60, 95] Operation: 62+33=95
Exploring Operation: 62-33=29, Resulting Numbers: [60, 29]
Generated Node #0,2,2: 67:[60, 29] Operation: 62-33=29
Moving to Node #0,2,0
Current State: 67:[62, 93], Operations: ['97-64=33', '60+33=93']
Exploring Operation: 62+93=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 62*93=5766, Resulting Numbers: [5766]
5766,67 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[60, 95], Operations: ['97-64=33', '62+33=95']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,67 unequal: No Solution
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[60, 29], Operations: ['97-64=33', '62-33=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,67 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,67 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
|
[
75,
19,
51,
4
] | 39 |
[
"75+19=94",
"51+4=55",
"94-55=39"
] |
Current State: 39:[75, 19, 51, 4], Operations: []
Exploring Operation: 75+19=94, Resulting Numbers: [51, 4, 94]
Generated Node #2: [51, 4, 94] from Operation: 75+19=94
Current State: 39:[51, 4, 94], Operations: ['75+19=94']
Exploring Operation: 51+4=55, Resulting Numbers: [94, 55]
Generated Node #3: [94, 55] from Operation: 51+4=55
Current State: 39:[94, 55], Operations: ['75+19=94', '51+4=55']
Exploring Operation: 94-55=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[75, 19, 51, 4], Operations: []
Exploring Operation: 19-4=15, Resulting Numbers: [75, 51, 15]
Generated Node #0,0: 39:[75, 51, 15] Operation: 19-4=15
Exploring Operation: 75-51=24, Resulting Numbers: [19, 4, 24]
Generated Node #0,1: 39:[19, 4, 24] Operation: 75-51=24
Exploring Operation: 75-4=71, Resulting Numbers: [19, 51, 71]
Generated Node #0,2: 39:[19, 51, 71] Operation: 75-4=71
Exploring Operation: 75-19=56, Resulting Numbers: [51, 4, 56]
Generated Node #0,3: 39:[51, 4, 56] Operation: 75-19=56
Exploring Operation: 51-19=32, Resulting Numbers: [75, 4, 32]
Generated Node #0,4: 39:[75, 4, 32] Operation: 51-19=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[19, 4, 24], Operations: ['75-51=24']
Exploring Operation: 19+24=43, Resulting Numbers: [4, 43]
Generated Node #0,1,0: 39:[4, 43] Operation: 19+24=43
Exploring Operation: 24-4=20, Resulting Numbers: [19, 20]
Generated Node #0,1,1: 39:[19, 20] Operation: 24-4=20
Exploring Operation: 19-4=15, Resulting Numbers: [24, 15]
Generated Node #0,1,2: 39:[24, 15] Operation: 19-4=15
Exploring Operation: 24/4=6, Resulting Numbers: [19, 6]
Generated Node #0,1,3: 39:[19, 6] Operation: 24/4=6
Exploring Operation: 24-19=5, Resulting Numbers: [4, 5]
Generated Node #0,1,4: 39:[4, 5] Operation: 24-19=5
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 39:[4, 5], Operations: ['75-51=24', '24-19=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,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,1,0
Current State: 39:[4, 43], Operations: ['75-51=24', '19+24=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[75, 19, 51, 4], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [19, 4, 24]
Generated Node #0,1: 39:[19, 4, 24] Operation: 75-51=24
Moving to Node #0,1
Current State: 39:[19, 4, 24], Operations: ['75-51=24']
Exploring Operation: 19+24=43, Resulting Numbers: [4, 43]
Generated Node #0,1,0: 39:[4, 43] Operation: 19+24=43
Moving to Node #0,1,0
Current State: 39:[4, 43], Operations: ['75-51=24', '19+24=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
mult_heuristic
|
[
48,
28,
96,
74
] | 44 |
[
"96/48=2",
"74-28=46",
"46-2=44"
] |
Current State: 44:[48, 28, 96, 74], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [28, 74, 2]
Generated Node #2: [28, 74, 2] from Operation: 96/48=2
Current State: 44:[28, 74, 2], Operations: ['96/48=2']
Exploring Operation: 74-28=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 74-28=46
Current State: 44:[2, 46], Operations: ['96/48=2', '74-28=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[48, 28, 96, 74], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [28, 74, 48]
Generated Node #0,0: 44:[28, 74, 48] Operation: 96-48=48
Exploring Operation: 96-74=22, Resulting Numbers: [48, 28, 22]
Generated Node #0,1: 44:[48, 28, 22] Operation: 96-74=22
Exploring Operation: 96/48=2, Resulting Numbers: [28, 74, 2]
Generated Node #0,2: 44:[28, 74, 2] Operation: 96/48=2
Moving to Node #0,1
Current State: 44:[48, 28, 22], Operations: ['96-74=22']
Exploring Operation: 28-22=6, Resulting Numbers: [48, 6]
Generated Node #0,1,0: 44:[48, 6] Operation: 28-22=6
Exploring Operation: 48-22=26, Resulting Numbers: [28, 26]
Generated Node #0,1,1: 44:[28, 26] Operation: 48-22=26
Exploring Operation: 48-28=20, Resulting Numbers: [22, 20]
Generated Node #0,1,2: 44:[22, 20] Operation: 48-28=20
Moving to Node #0,2
Current State: 44:[28, 74, 2], Operations: ['96/48=2']
Exploring Operation: 74-28=46, Resulting Numbers: [2, 46]
Generated Node #0,2,0: 44:[2, 46] Operation: 74-28=46
Exploring Operation: 28/2=14, Resulting Numbers: [74, 14]
Generated Node #0,2,1: 44:[74, 14] Operation: 28/2=14
Exploring Operation: 74/2=37, Resulting Numbers: [28, 37]
Generated Node #0,2,2: 44:[28, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 44:[28, 74, 48], Operations: ['96-48=48']
Exploring Operation: 48-28=20, Resulting Numbers: [74, 20]
Generated Node #0,0,0: 44:[74, 20] Operation: 48-28=20
Exploring Operation: 74-48=26, Resulting Numbers: [28, 26]
Generated Node #0,0,1: 44:[28, 26] Operation: 74-48=26
Exploring Operation: 74-28=46, Resulting Numbers: [48, 46]
Generated Node #0,0,2: 44:[48, 46] Operation: 74-28=46
Moving to Node #0,1,2
Current State: 44:[22, 20], Operations: ['96-74=22', '48-28=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,44 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[2, 46], Operations: ['96/48=2', '74-28=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[48, 28, 96, 74], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [28, 74, 2]
Generated Node #0,2: 44:[28, 74, 2] Operation: 96/48=2
Moving to Node #0,2
Current State: 44:[28, 74, 2], Operations: ['96/48=2']
Exploring Operation: 74-28=46, Resulting Numbers: [2, 46]
Generated Node #0,2,0: 44:[2, 46] Operation: 74-28=46
Moving to Node #0,2,0
Current State: 44:[2, 46], Operations: ['96/48=2', '74-28=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.981771 |
hs_3
|
mult_heuristic
|
[
43,
99,
57,
7
] | 78 |
[
"43+99=142",
"57+7=64",
"142-64=78"
] |
Current State: 78:[43, 99, 57, 7], Operations: []
Exploring Operation: 43+99=142, Resulting Numbers: [57, 7, 142]
Generated Node #2: [57, 7, 142] from Operation: 43+99=142
Current State: 78:[57, 7, 142], Operations: ['43+99=142']
Exploring Operation: 57+7=64, Resulting Numbers: [142, 64]
Generated Node #3: [142, 64] from Operation: 57+7=64
Current State: 78:[142, 64], Operations: ['43+99=142', '57+7=64']
Exploring Operation: 142-64=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[43, 99, 57, 7], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [43, 7, 42]
Generated Node #0,0: 78:[43, 7, 42] Operation: 99-57=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[43, 7, 42], Operations: ['99-57=42']
Exploring Operation: 43-42=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 78:[7, 1] Operation: 43-42=1
Moving to Node #0,0,0
Current State: 78:[7, 1], Operations: ['99-57=42', '43-42=1']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,78 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
|
[
38,
84,
31,
63
] | 51 |
[
"38-31=7",
"84/7=12",
"63-12=51"
] |
Current State: 51:[38, 84, 31, 63], Operations: []
Exploring Operation: 38-31=7, Resulting Numbers: [84, 63, 7]
Generated Node #2: [84, 63, 7] from Operation: 38-31=7
Current State: 51:[84, 63, 7], Operations: ['38-31=7']
Exploring Operation: 84/7=12, Resulting Numbers: [63, 12]
Generated Node #3: [63, 12] from Operation: 84/7=12
Current State: 51:[63, 12], Operations: ['38-31=7', '84/7=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[38, 84, 31, 63], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [38, 63, 53]
Generated Node #0,0: 51:[38, 63, 53] Operation: 84-31=53
Exploring Operation: 84-38=46, Resulting Numbers: [31, 63, 46]
Generated Node #0,1: 51:[31, 63, 46] Operation: 84-38=46
Exploring Operation: 84-63=21, Resulting Numbers: [38, 31, 21]
Generated Node #0,2: 51:[38, 31, 21] Operation: 84-63=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[38, 63, 53], Operations: ['84-31=53']
Exploring Operation: 63-38=25, Resulting Numbers: [53, 25]
Generated Node #0,0,0: 51:[53, 25] Operation: 63-38=25
Exploring Operation: 53-38=15, Resulting Numbers: [63, 15]
Generated Node #0,0,1: 51:[63, 15] Operation: 53-38=15
Exploring Operation: 63-53=10, Resulting Numbers: [38, 10]
Generated Node #0,0,2: 51:[38, 10] Operation: 63-53=10
Moving to Node #0,0,0
Current State: 51:[53, 25], Operations: ['84-31=53', '63-38=25']
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,51 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[63, 15], Operations: ['84-31=53', '53-38=15']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[38, 10], Operations: ['84-31=53', '63-53=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,51 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,51 unequal: No Solution
No 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: 51:[31, 63, 46], Operations: ['84-38=46']
Exploring Operation: 63-31=32, Resulting Numbers: [46, 32]
Generated Node #0,1,0: 51:[46, 32] Operation: 63-31=32
Exploring Operation: 46-31=15, Resulting Numbers: [63, 15]
Generated Node #0,1,1: 51:[63, 15] Operation: 46-31=15
Exploring Operation: 63-46=17, Resulting Numbers: [31, 17]
Generated Node #0,1,2: 51:[31, 17] Operation: 63-46=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[63, 15], Operations: ['84-38=46', '46-31=15']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,51 unequal: No Solution
No 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: 51:[31, 17], Operations: ['84-38=46', '63-46=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,51 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,51 unequal: No Solution
No 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: 51:[46, 32], Operations: ['84-38=46', '63-31=32']
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,51 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,51 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: 51:[38, 31, 21], Operations: ['84-63=21']
Exploring Operation: 38-31=7, Resulting Numbers: [21, 7]
Generated Node #0,2,0: 51:[21, 7] Operation: 38-31=7
Exploring Operation: 31+21=52, Resulting Numbers: [38, 52]
Generated Node #0,2,1: 51:[38, 52] Operation: 31+21=52
Exploring Operation: 38-21=17, Resulting Numbers: [31, 17]
Generated Node #0,2,2: 51:[31, 17] Operation: 38-21=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[21, 7], Operations: ['84-63=21', '38-31=7']
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,51 unequal: No Solution
No 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: 51:[38, 52], Operations: ['84-63=21', '31+21=52']
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,51 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,51 unequal: No Solution
No 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: 51:[31, 17], Operations: ['84-63=21', '38-21=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,51 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
21,
72,
32,
53
] | 73 |
[
"21+32=53",
"53/53=1",
"72+1=73"
] |
Current State: 73:[21, 72, 32, 53], Operations: []
Exploring Operation: 21+32=53, Resulting Numbers: [72, 53, 53]
Generated Node #2: [72, 53, 53] from Operation: 21+32=53
Current State: 73:[72, 53, 53], Operations: ['21+32=53']
Exploring Operation: 53/53=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 53/53=1
Current State: 73:[72, 1], Operations: ['21+32=53', '53/53=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[21, 72, 32, 53], Operations: []
Exploring Operation: 32+53=85, Resulting Numbers: [21, 72, 85]
Generated Node #0,0: 73:[21, 72, 85] Operation: 32+53=85
Exploring Operation: 21+32=53, Resulting Numbers: [72, 53, 53]
Generated Node #0,1: 73:[72, 53, 53] Operation: 21+32=53
Exploring Operation: 21+53=74, Resulting Numbers: [72, 32, 74]
Generated Node #0,2: 73:[72, 32, 74] Operation: 21+53=74
Moving to Node #0,1
Current State: 73:[72, 53, 53], Operations: ['21+32=53']
Exploring Operation: 53+53=106, Resulting Numbers: [72, 106]
Generated Node #0,1,0: 73:[72, 106] Operation: 53+53=106
Exploring Operation: 72+53=125, Resulting Numbers: [53, 125]
Generated Node #0,1,1: 73:[53, 125] Operation: 72+53=125
Exploring Operation: 72+53=125, Resulting Numbers: [53, 125]
Generated Node #0,1,2: 73:[53, 125] Operation: 72+53=125
Moving to Node #0,2
Current State: 73:[72, 32, 74], Operations: ['21+53=74']
Exploring Operation: 74-32=42, Resulting Numbers: [72, 42]
Generated Node #0,2,0: 73:[72, 42] Operation: 74-32=42
Exploring Operation: 72+32=104, Resulting Numbers: [74, 104]
Generated Node #0,2,1: 73:[74, 104] Operation: 72+32=104
Exploring Operation: 72-32=40, Resulting Numbers: [74, 40]
Generated Node #0,2,2: 73:[74, 40] Operation: 72-32=40
Moving to Node #0,0
Current State: 73:[21, 72, 85], Operations: ['32+53=85']
Exploring Operation: 72-21=51, Resulting Numbers: [85, 51]
Generated Node #0,0,0: 73:[85, 51] Operation: 72-21=51
Exploring Operation: 21+72=93, Resulting Numbers: [85, 93]
Generated Node #0,0,1: 73:[85, 93] Operation: 21+72=93
Exploring Operation: 85-21=64, Resulting Numbers: [72, 64]
Generated Node #0,0,2: 73:[72, 64] Operation: 85-21=64
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[72, 64], Operations: ['32+53=85', '85-21=64']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,73 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[85, 93], Operations: ['32+53=85', '21+72=93']
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,73 unequal: No Solution
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,73 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[85, 51], Operations: ['32+53=85', '72-21=51']
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,73 unequal: No Solution
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,73 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: 73:[72, 42], Operations: ['21+53=74', '74-32=42']
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,73 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[74, 104], Operations: ['21+53=74', '72+32=104']
Exploring Operation: 74+104=178, Resulting Numbers: [178]
178,73 unequal: No Solution
Exploring Operation: 74*104=7696, Resulting Numbers: [7696]
7696,73 unequal: No Solution
Exploring Operation: 104-74=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[74, 40], Operations: ['21+53=74', '72-32=40']
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,73 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[72, 106], Operations: ['21+32=53', '53+53=106']
Exploring Operation: 106-72=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 72+106=178, Resulting Numbers: [178]
178,73 unequal: No Solution
Exploring Operation: 72*106=7632, Resulting Numbers: [7632]
7632,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[53, 125], Operations: ['21+32=53', '72+53=125']
Exploring Operation: 125-53=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 53*125=6625, Resulting Numbers: [6625]
6625,73 unequal: No Solution
Exploring Operation: 53+125=178, Resulting Numbers: [178]
178,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[53, 125], Operations: ['21+32=53', '72+53=125']
Exploring Operation: 125-53=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 53*125=6625, Resulting Numbers: [6625]
6625,73 unequal: No Solution
Exploring Operation: 53+125=178, Resulting Numbers: [178]
178,73 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
45,
84,
42,
94
] | 51 |
[
"94-45=49",
"84/42=2",
"49+2=51"
] |
Current State: 51:[45, 84, 42, 94], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [84, 42, 49]
Generated Node #2: [84, 42, 49] from Operation: 94-45=49
Current State: 51:[84, 42, 49], Operations: ['94-45=49']
Exploring Operation: 84/42=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 84/42=2
Current State: 51:[49, 2], Operations: ['94-45=49', '84/42=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[45, 84, 42, 94], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [45, 84, 52]
Generated Node #0,0: 51:[45, 84, 52] Operation: 94-42=52
Exploring Operation: 94-84=10, Resulting Numbers: [45, 42, 10]
Generated Node #0,1: 51:[45, 42, 10] Operation: 94-84=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[45, 42, 10], Operations: ['94-84=10']
Exploring Operation: 42+10=52, Resulting Numbers: [45, 52]
Generated Node #0,1,0: 51:[45, 52] Operation: 42+10=52
Exploring Operation: 45-42=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 51:[10, 3] Operation: 45-42=3
Moving to Node #0,1,0
Current State: 51:[45, 52], Operations: ['94-84=10', '42+10=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,51 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[10, 3], Operations: ['94-84=10', '45-42=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No 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: 51:[45, 84, 52], Operations: ['94-42=52']
Exploring Operation: 84-52=32, Resulting Numbers: [45, 32]
Generated Node #0,0,0: 51:[45, 32] Operation: 84-52=32
Exploring Operation: 84-45=39, Resulting Numbers: [52, 39]
Generated Node #0,0,1: 51:[52, 39] Operation: 84-45=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[52, 39], Operations: ['94-42=52', '84-45=39']
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,51 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No 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: 51:[45, 32], Operations: ['94-42=52', '84-52=32']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,51 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
|
[
29,
2,
12,
18
] | 17 |
[
"29-18=11",
"12/2=6",
"11+6=17"
] |
Current State: 17:[29, 2, 12, 18], Operations: []
Exploring Operation: 29-18=11, Resulting Numbers: [2, 12, 11]
Generated Node #2: [2, 12, 11] from Operation: 29-18=11
Current State: 17:[2, 12, 11], Operations: ['29-18=11']
Exploring Operation: 12/2=6, Resulting Numbers: [11, 6]
Generated Node #3: [11, 6] from Operation: 12/2=6
Current State: 17:[11, 6], Operations: ['29-18=11', '12/2=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[29, 2, 12, 18], Operations: []
Exploring Operation: 2+12=14, Resulting Numbers: [29, 18, 14]
Generated Node #0,0: 17:[29, 18, 14] Operation: 2+12=14
Exploring Operation: 29-12=17, Resulting Numbers: [2, 18, 17]
Generated Node #0,1: 17:[2, 18, 17] Operation: 29-12=17
Exploring Operation: 29-2=27, Resulting Numbers: [12, 18, 27]
Generated Node #0,2: 17:[12, 18, 27] Operation: 29-2=27
Moving to Node #0,0
Current State: 17:[29, 18, 14], Operations: ['2+12=14']
Exploring Operation: 29-14=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 17:[18, 15] Operation: 29-14=15
Exploring Operation: 18-14=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 17:[29, 4] Operation: 18-14=4
Exploring Operation: 29-18=11, Resulting Numbers: [14, 11]
Generated Node #0,0,2: 17:[14, 11] Operation: 29-18=11
Moving to Node #0,1
Current State: 17:[2, 18, 17], Operations: ['29-12=17']
Exploring Operation: 18-2=16, Resulting Numbers: [17, 16]
Generated Node #0,1,0: 17:[17, 16] Operation: 18-2=16
Exploring Operation: 2+18=20, Resulting Numbers: [17, 20]
Generated Node #0,1,1: 17:[17, 20] Operation: 2+18=20
Exploring Operation: 2+17=19, Resulting Numbers: [18, 19]
Generated Node #0,1,2: 17:[18, 19] Operation: 2+17=19
Moving to Node #0,2
Current State: 17:[12, 18, 27], Operations: ['29-2=27']
Exploring Operation: 27-18=9, Resulting Numbers: [12, 9]
Generated Node #0,2,0: 17:[12, 9] Operation: 27-18=9
Exploring Operation: 27-12=15, Resulting Numbers: [18, 15]
Generated Node #0,2,1: 17:[18, 15] Operation: 27-12=15
Exploring Operation: 18-12=6, Resulting Numbers: [27, 6]
Generated Node #0,2,2: 17:[27, 6] Operation: 18-12=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[18, 15], Operations: ['29-2=27', '27-12=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[12, 9], Operations: ['29-2=27', '27-18=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[27, 6], Operations: ['29-2=27', '18-12=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,17 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: 17:[17, 16], Operations: ['29-12=17', '18-2=16']
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,17 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[18, 19], Operations: ['29-12=17', '2+17=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,17 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[18, 15], Operations: ['2+12=14', '29-14=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,17 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[17, 20], Operations: ['29-12=17', '2+18=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[14, 11], Operations: ['2+12=14', '29-18=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,17 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[29, 4], Operations: ['2+12=14', '18-14=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,17 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
84,
95,
4,
83
] | 36 |
[
"95-83=12",
"4*12=48",
"84-48=36"
] |
Current State: 36:[84, 95, 4, 83], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [84, 4, 12]
Generated Node #2: [84, 4, 12] from Operation: 95-83=12
Current State: 36:[84, 4, 12], Operations: ['95-83=12']
Exploring Operation: 4*12=48, Resulting Numbers: [84, 48]
Generated Node #3: [84, 48] from Operation: 4*12=48
Current State: 36:[84, 48], Operations: ['95-83=12', '4*12=48']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[84, 95, 4, 83], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [95, 83, 21]
Generated Node #0,0: 36:[95, 83, 21] Operation: 84/4=21
Exploring Operation: 84-83=1, Resulting Numbers: [95, 4, 1]
Generated Node #0,1: 36:[95, 4, 1] Operation: 84-83=1
Exploring Operation: 95-83=12, Resulting Numbers: [84, 4, 12]
Generated Node #0,2: 36:[84, 4, 12] Operation: 95-83=12
Exploring Operation: 84-4=80, Resulting Numbers: [95, 83, 80]
Generated Node #0,3: 36:[95, 83, 80] Operation: 84-4=80
Exploring Operation: 95-84=11, Resulting Numbers: [4, 83, 11]
Generated Node #0,4: 36:[4, 83, 11] Operation: 95-84=11
Moving to Node #0,2
Current State: 36:[84, 4, 12], Operations: ['95-83=12']
Exploring Operation: 12/4=3, Resulting Numbers: [84, 3]
Generated Node #0,2,0: 36:[84, 3] Operation: 12/4=3
Exploring Operation: 84-4=80, Resulting Numbers: [12, 80]
Generated Node #0,2,1: 36:[12, 80] Operation: 84-4=80
Exploring Operation: 84/12=7, Resulting Numbers: [4, 7]
Generated Node #0,2,2: 36:[4, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [4, 72]
Generated Node #0,2,3: 36:[4, 72] Operation: 84-12=72
Exploring Operation: 84/4=21, Resulting Numbers: [12, 21]
Generated Node #0,2,4: 36:[12, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[4, 7], Operations: ['95-83=12', '84/12=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,36 unequal: No Solution
No 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: 36:[12, 21], Operations: ['95-83=12', '84/4=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,36 unequal: No Solution
No 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: 36:[4, 72], Operations: ['95-83=12', '84-12=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,36 unequal: No Solution
No 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: 36:[12, 80], Operations: ['95-83=12', '84-4=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 12*80=960, Resulting Numbers: [960]
960,36 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,36 unequal: No Solution
No 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: 36:[84, 3], Operations: ['95-83=12', '12/4=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,36 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,36 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: 36:[4, 83, 11], Operations: ['95-84=11']
Exploring Operation: 4+83=87, Resulting Numbers: [11, 87]
Generated Node #0,4,0: 36:[11, 87] Operation: 4+83=87
Exploring Operation: 83-4=79, Resulting Numbers: [11, 79]
Generated Node #0,4,1: 36:[11, 79] Operation: 83-4=79
Exploring Operation: 83-11=72, Resulting Numbers: [4, 72]
Generated Node #0,4,2: 36:[4, 72] Operation: 83-11=72
Exploring Operation: 4+11=15, Resulting Numbers: [83, 15]
Generated Node #0,4,3: 36:[83, 15] Operation: 4+11=15
Exploring Operation: 11-4=7, Resulting Numbers: [83, 7]
Generated Node #0,4,4: 36:[83, 7] Operation: 11-4=7
Moving to Node #0,1
Current State: 36:[95, 4, 1], Operations: ['84-83=1']
Exploring Operation: 95*1=95, Resulting Numbers: [4, 95]
Generated Node #0,1,0: 36:[4, 95] Operation: 95*1=95
Exploring Operation: 4*1=4, Resulting Numbers: [95, 4]
Generated Node #0,1,1: 36:[95, 4] Operation: 4*1=4
Exploring Operation: 95-4=91, Resulting Numbers: [1, 91]
Generated Node #0,1,2: 36:[1, 91] Operation: 95-4=91
Exploring Operation: 95/1=95, Resulting Numbers: [4, 95]
Generated Node #0,1,3: 36:[4, 95] Operation: 95/1=95
Exploring Operation: 95-1=94, Resulting Numbers: [4, 94]
Generated Node #0,1,4: 36:[4, 94] Operation: 95-1=94
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[1, 91], Operations: ['84-83=1', '95-4=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,36 unequal: No Solution
No 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: 36:[4, 94], Operations: ['84-83=1', '95-1=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,36 unequal: No Solution
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,36 unequal: No Solution
No 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: 36:[4, 95], Operations: ['84-83=1', '95*1=95']
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,36 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,36 unequal: No Solution
No 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: 36:[95, 4], Operations: ['84-83=1', '4*1=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,36 unequal: No Solution
No 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: 36:[4, 95], Operations: ['84-83=1', '95/1=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,36 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,36 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: 36:[95, 83, 21], Operations: ['84/4=21']
Exploring Operation: 95+21=116, Resulting Numbers: [83, 116]
Generated Node #0,0,0: 36:[83, 116] Operation: 95+21=116
Exploring Operation: 95-21=74, Resulting Numbers: [83, 74]
Generated Node #0,0,1: 36:[83, 74] Operation: 95-21=74
Exploring Operation: 95-83=12, Resulting Numbers: [21, 12]
Generated Node #0,0,2: 36:[21, 12] Operation: 95-83=12
Exploring Operation: 83-21=62, Resulting Numbers: [95, 62]
Generated Node #0,0,3: 36:[95, 62] Operation: 83-21=62
Exploring Operation: 83+21=104, Resulting Numbers: [95, 104]
Generated Node #0,0,4: 36:[95, 104] Operation: 83+21=104
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[21, 12], Operations: ['84/4=21', '95-83=12']
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,36 unequal: No Solution
No 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: 36:[83, 74], Operations: ['84/4=21', '95-21=74']
Exploring Operation: 83*74=6142, Resulting Numbers: [6142]
6142,36 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 83+74=157, Resulting Numbers: [157]
157,36 unequal: No Solution
No 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: 36:[95, 62], Operations: ['84/4=21', '83-21=62']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 95+62=157, Resulting Numbers: [157]
157,36 unequal: No Solution
Exploring Operation: 95*62=5890, Resulting Numbers: [5890]
5890,36 unequal: No Solution
No 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: 36:[83, 116], Operations: ['84/4=21', '95+21=116']
Exploring Operation: 83*116=9628, Resulting Numbers: [9628]
9628,36 unequal: No Solution
Exploring Operation: 116-83=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 83+116=199, Resulting Numbers: [199]
199,36 unequal: No Solution
No 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: 36:[95, 104], Operations: ['84/4=21', '83+21=104']
Exploring Operation: 95+104=199, Resulting Numbers: [199]
199,36 unequal: No Solution
Exploring Operation: 95*104=9880, Resulting Numbers: [9880]
9880,36 unequal: No Solution
Exploring Operation: 104-95=9, Resulting Numbers: [9]
9,36 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: 36:[95, 83, 80], Operations: ['84-4=80']
Exploring Operation: 95+80=175, Resulting Numbers: [83, 175]
Generated Node #0,3,0: 36:[83, 175] Operation: 95+80=175
Exploring Operation: 95-80=15, Resulting Numbers: [83, 15]
Generated Node #0,3,1: 36:[83, 15] Operation: 95-80=15
Exploring Operation: 83-80=3, Resulting Numbers: [95, 3]
Generated Node #0,3,2: 36:[95, 3] Operation: 83-80=3
Exploring Operation: 95+83=178, Resulting Numbers: [80, 178]
Generated Node #0,3,3: 36:[80, 178] Operation: 95+83=178
Exploring Operation: 95-83=12, Resulting Numbers: [80, 12]
Generated Node #0,3,4: 36:[80, 12] Operation: 95-83=12
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[80, 12], Operations: ['84-4=80', '95-83=12']
Exploring Operation: 80*12=960, Resulting Numbers: [960]
960,36 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,36 unequal: No Solution
No 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: 36:[83, 15], Operations: ['84-4=80', '95-80=15']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,36 unequal: No Solution
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,36 unequal: No Solution
No 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: 36:[95, 3], Operations: ['84-4=80', '83-80=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,36 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,36 unequal: No Solution
No 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: 36:[83, 175], Operations: ['84-4=80', '95+80=175']
Exploring Operation: 175-83=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 83*175=14525, Resulting Numbers: [14525]
14525,36 unequal: No Solution
Exploring Operation: 83+175=258, Resulting Numbers: [258]
258,36 unequal: No Solution
No 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: 36:[80, 178], Operations: ['84-4=80', '95+83=178']
Exploring Operation: 80+178=258, Resulting Numbers: [258]
258,36 unequal: No Solution
Exploring Operation: 178-80=98, Resulting Numbers: [98]
98,36 unequal: No Solution
Exploring Operation: 80*178=14240, Resulting Numbers: [14240]
14240,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 36:[4, 72], Operations: ['95-84=11', '83-11=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,36 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[11, 79], Operations: ['95-84=11', '83-4=79']
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,36 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[83, 7], Operations: ['95-84=11', '11-4=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[83, 15], Operations: ['95-84=11', '4+11=15']
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,36 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[11, 87], Operations: ['95-84=11', '4+83=87']
Exploring Operation: 11*87=957, Resulting Numbers: [957]
957,36 unequal: No Solution
Exploring Operation: 11+87=98, Resulting Numbers: [98]
98,36 unequal: No Solution
Exploring Operation: 87-11=76, Resulting Numbers: [76]
76,36 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
25,
45,
22,
57
] | 26 |
[
"25-22=3",
"57/3=19",
"45-19=26"
] |
Current State: 26:[25, 45, 22, 57], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [45, 57, 3]
Generated Node #2: [45, 57, 3] from Operation: 25-22=3
Current State: 26:[45, 57, 3], Operations: ['25-22=3']
Exploring Operation: 57/3=19, Resulting Numbers: [45, 19]
Generated Node #3: [45, 19] from Operation: 57/3=19
Current State: 26:[45, 19], Operations: ['25-22=3', '57/3=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[25, 45, 22, 57], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [25, 22, 12]
Generated Node #0,0: 26:[25, 22, 12] Operation: 57-45=12
Exploring Operation: 57-25=32, Resulting Numbers: [45, 22, 32]
Generated Node #0,1: 26:[45, 22, 32] Operation: 57-25=32
Exploring Operation: 57-22=35, Resulting Numbers: [25, 45, 35]
Generated Node #0,2: 26:[25, 45, 35] Operation: 57-22=35
Exploring Operation: 45-22=23, Resulting Numbers: [25, 57, 23]
Generated Node #0,3: 26:[25, 57, 23] Operation: 45-22=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[25, 22, 12], Operations: ['57-45=12']
Exploring Operation: 25-12=13, Resulting Numbers: [22, 13]
Generated Node #0,0,0: 26:[22, 13] Operation: 25-12=13
Exploring Operation: 22+12=34, Resulting Numbers: [25, 34]
Generated Node #0,0,1: 26:[25, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [25, 10]
Generated Node #0,0,2: 26:[25, 10] Operation: 22-12=10
Exploring Operation: 25-22=3, Resulting Numbers: [12, 3]
Generated Node #0,0,3: 26:[12, 3] Operation: 25-22=3
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[12, 3], Operations: ['57-45=12', '25-22=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No 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: 26:[22, 13], Operations: ['57-45=12', '25-12=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,26 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No 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: 26:[25, 10], Operations: ['57-45=12', '22-12=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,26 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No 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: 26:[25, 34], Operations: ['57-45=12', '22+12=34']
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,26 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[45, 22, 32], Operations: ['57-25=32']
Exploring Operation: 45+22=67, Resulting Numbers: [32, 67]
Generated Node #0,1,0: 26:[32, 67] Operation: 45+22=67
Exploring Operation: 45-32=13, Resulting Numbers: [22, 13]
Generated Node #0,1,1: 26:[22, 13] Operation: 45-32=13
Exploring Operation: 45-22=23, Resulting Numbers: [32, 23]
Generated Node #0,1,2: 26:[32, 23] Operation: 45-22=23
Exploring Operation: 32-22=10, Resulting Numbers: [45, 10]
Generated Node #0,1,3: 26:[45, 10] Operation: 32-22=10
Moving to Node #0,1,1
Current State: 26:[22, 13], Operations: ['57-25=32', '45-32=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,26 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[32, 23], Operations: ['57-25=32', '45-22=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[45, 10], Operations: ['57-25=32', '32-22=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,26 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[32, 67], Operations: ['57-25=32', '45+22=67']
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,26 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,26 unequal: No Solution
No 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: 26:[25, 45, 35], Operations: ['57-22=35']
Exploring Operation: 25+45=70, Resulting Numbers: [35, 70]
Generated Node #0,2,0: 26:[35, 70] Operation: 25+45=70
Exploring Operation: 35-25=10, Resulting Numbers: [45, 10]
Generated Node #0,2,1: 26:[45, 10] Operation: 35-25=10
Exploring Operation: 45-25=20, Resulting Numbers: [35, 20]
Generated Node #0,2,2: 26:[35, 20] Operation: 45-25=20
Exploring Operation: 45-35=10, Resulting Numbers: [25, 10]
Generated Node #0,2,3: 26:[25, 10] Operation: 45-35=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[25, 10], Operations: ['57-22=35', '45-35=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,26 unequal: No Solution
No 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: 26:[35, 20], Operations: ['57-22=35', '45-25=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,26 unequal: No Solution
No 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: 26:[45, 10], Operations: ['57-22=35', '35-25=10']
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,26 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No 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: 26:[35, 70], Operations: ['57-22=35', '25+45=70']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 35*70=2450, Resulting Numbers: [2450]
2450,26 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[25, 57, 23], Operations: ['45-22=23']
Exploring Operation: 25+23=48, Resulting Numbers: [57, 48]
Generated Node #0,3,0: 26:[57, 48] Operation: 25+23=48
Exploring Operation: 25-23=2, Resulting Numbers: [57, 2]
Generated Node #0,3,1: 26:[57, 2] Operation: 25-23=2
Exploring Operation: 57-25=32, Resulting Numbers: [23, 32]
Generated Node #0,3,2: 26:[23, 32] Operation: 57-25=32
Exploring Operation: 57-23=34, Resulting Numbers: [25, 34]
Generated Node #0,3,3: 26:[25, 34] Operation: 57-23=34
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[23, 32], Operations: ['45-22=23', '57-25=32']
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,26 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No 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: 26:[25, 34], Operations: ['45-22=23', '57-23=34']
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,26 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,26 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No 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: 26:[57, 2], Operations: ['45-22=23', '25-23=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,26 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,26 unequal: No Solution
No 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: 26:[57, 48], Operations: ['45-22=23', '25+23=48']
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,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_4
|
sum_heuristic
|
[
99,
59,
83,
8
] | 67 |
[
"99+59=158",
"83+8=91",
"158-91=67"
] |
Current State: 67:[99, 59, 83, 8], Operations: []
Exploring Operation: 99+59=158, Resulting Numbers: [83, 8, 158]
Generated Node #2: [83, 8, 158] from Operation: 99+59=158
Current State: 67:[83, 8, 158], Operations: ['99+59=158']
Exploring Operation: 83+8=91, Resulting Numbers: [158, 91]
Generated Node #3: [158, 91] from Operation: 83+8=91
Current State: 67:[158, 91], Operations: ['99+59=158', '83+8=91']
Exploring Operation: 158-91=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[99, 59, 83, 8], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [59, 83, 91]
Generated Node #0,0: 67:[59, 83, 91] Operation: 99-8=91
Exploring Operation: 59+8=67, Resulting Numbers: [99, 83, 67]
Generated Node #0,1: 67:[99, 83, 67] Operation: 59+8=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[59, 83, 91], Operations: ['99-8=91']
Exploring Operation: 91-59=32, Resulting Numbers: [83, 32]
Generated Node #0,0,0: 67:[83, 32] Operation: 91-59=32
Exploring Operation: 83-59=24, Resulting Numbers: [91, 24]
Generated Node #0,0,1: 67:[91, 24] Operation: 83-59=24
Moving to Node #0,0,0
Current State: 67:[83, 32], Operations: ['99-8=91', '91-59=32']
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 83+32=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[91, 24], Operations: ['99-8=91', '83-59=24']
Exploring Operation: 91+24=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[99, 59, 83, 8], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [59, 83, 91]
Generated Node #0,0: 67:[59, 83, 91] Operation: 99-8=91
Moving to Node #0,0
Current State: 67:[59, 83, 91], Operations: ['99-8=91']
Exploring Operation: 83-59=24, Resulting Numbers: [91, 24]
Generated Node #0,0,1: 67:[91, 24] Operation: 83-59=24
Moving to Node #0,0,1
Current State: 67:[91, 24], Operations: ['99-8=91', '83-59=24']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
42,
19,
32,
30
] | 25 |
[
"42-19=23",
"32-30=2",
"23+2=25"
] |
Current State: 25:[42, 19, 32, 30], Operations: []
Exploring Operation: 42-19=23, Resulting Numbers: [32, 30, 23]
Generated Node #2: [32, 30, 23] from Operation: 42-19=23
Current State: 25:[32, 30, 23], Operations: ['42-19=23']
Exploring Operation: 32-30=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 32-30=2
Current State: 25:[23, 2], Operations: ['42-19=23', '32-30=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[42, 19, 32, 30], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [19, 30, 10]
Generated Node #0,0: 25:[19, 30, 10] Operation: 42-32=10
Exploring Operation: 42-30=12, Resulting Numbers: [19, 32, 12]
Generated Node #0,1: 25:[19, 32, 12] Operation: 42-30=12
Exploring Operation: 42-19=23, Resulting Numbers: [32, 30, 23]
Generated Node #0,2: 25:[32, 30, 23] Operation: 42-19=23
Moving to Node #0,2
Current State: 25:[32, 30, 23], Operations: ['42-19=23']
Exploring Operation: 32-23=9, Resulting Numbers: [30, 9]
Generated Node #0,2,0: 25:[30, 9] Operation: 32-23=9
Exploring Operation: 32-30=2, Resulting Numbers: [23, 2]
Generated Node #0,2,1: 25:[23, 2] Operation: 32-30=2
Exploring Operation: 30-23=7, Resulting Numbers: [32, 7]
Generated Node #0,2,2: 25:[32, 7] Operation: 30-23=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[23, 2], Operations: ['42-19=23', '32-30=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[42, 19, 32, 30], Operations: []
Exploring Operation: 42-19=23, Resulting Numbers: [32, 30, 23]
Generated Node #0,2: 25:[32, 30, 23] Operation: 42-19=23
Moving to Node #0,2
Current State: 25:[32, 30, 23], Operations: ['42-19=23']
Exploring Operation: 32-30=2, Resulting Numbers: [23, 2]
Generated Node #0,2,1: 25:[23, 2] Operation: 32-30=2
Moving to Node #0,2,1
Current State: 25:[23, 2], Operations: ['42-19=23', '32-30=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
90,
70,
87,
7
] | 60 |
[
"90-70=20",
"87-7=80",
"80-20=60"
] |
Current State: 60:[90, 70, 87, 7], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [87, 7, 20]
Generated Node #2: [87, 7, 20] from Operation: 90-70=20
Current State: 60:[87, 7, 20], Operations: ['90-70=20']
Exploring Operation: 87-7=80, Resulting Numbers: [20, 80]
Generated Node #3: [20, 80] from Operation: 87-7=80
Current State: 60:[20, 80], Operations: ['90-70=20', '87-7=80']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[90, 70, 87, 7], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [87, 7, 20]
Generated Node #0,0: 60:[87, 7, 20] Operation: 90-70=20
Exploring Operation: 90-87=3, Resulting Numbers: [70, 7, 3]
Generated Node #0,1: 60:[70, 7, 3] Operation: 90-87=3
Exploring Operation: 90-7=83, Resulting Numbers: [70, 87, 83]
Generated Node #0,2: 60:[70, 87, 83] Operation: 90-7=83
Exploring Operation: 87-70=17, Resulting Numbers: [90, 7, 17]
Generated Node #0,3: 60:[90, 7, 17] Operation: 87-70=17
Exploring Operation: 70/7=10, Resulting Numbers: [90, 87, 10]
Generated Node #0,4: 60:[90, 87, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[70, 7, 3], Operations: ['90-87=3']
Exploring Operation: 70-7=63, Resulting Numbers: [3, 63]
Generated Node #0,1,0: 60:[3, 63] Operation: 70-7=63
Exploring Operation: 7+3=10, Resulting Numbers: [70, 10]
Generated Node #0,1,1: 60:[70, 10] Operation: 7+3=10
Exploring Operation: 70-3=67, Resulting Numbers: [7, 67]
Generated Node #0,1,2: 60:[7, 67] Operation: 70-3=67
Exploring Operation: 70/7=10, Resulting Numbers: [3, 10]
Generated Node #0,1,3: 60:[3, 10] Operation: 70/7=10
Exploring Operation: 7-3=4, Resulting Numbers: [70, 4]
Generated Node #0,1,4: 60:[70, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[3, 10], Operations: ['90-87=3', '70/7=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[3, 63], Operations: ['90-87=3', '70-7=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[90, 70, 87, 7], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [70, 7, 3]
Generated Node #0,1: 60:[70, 7, 3] Operation: 90-87=3
Moving to Node #0,1
Current State: 60:[70, 7, 3], Operations: ['90-87=3']
Exploring Operation: 70-7=63, Resulting Numbers: [3, 63]
Generated Node #0,1,0: 60:[3, 63] Operation: 70-7=63
Moving to Node #0,1,0
Current State: 60:[3, 63], Operations: ['90-87=3', '70-7=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 |
hs_5
|
mult_heuristic
|
[
11,
27,
82,
48
] | 92 |
[
"11+27=38",
"82+48=130",
"130-38=92"
] |
Current State: 92:[11, 27, 82, 48], Operations: []
Exploring Operation: 11+27=38, Resulting Numbers: [82, 48, 38]
Generated Node #2: [82, 48, 38] from Operation: 11+27=38
Current State: 92:[82, 48, 38], Operations: ['11+27=38']
Exploring Operation: 82+48=130, Resulting Numbers: [38, 130]
Generated Node #3: [38, 130] from Operation: 82+48=130
Current State: 92:[38, 130], Operations: ['11+27=38', '82+48=130']
Exploring Operation: 130-38=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[11, 27, 82, 48], Operations: []
Exploring Operation: 11+82=93, Resulting Numbers: [27, 48, 93]
Generated Node #0,0: 92:[27, 48, 93] Operation: 11+82=93
Exploring Operation: 82-27=55, Resulting Numbers: [11, 48, 55]
Generated Node #0,1: 92:[11, 48, 55] Operation: 82-27=55
Exploring Operation: 27-11=16, Resulting Numbers: [82, 48, 16]
Generated Node #0,2: 92:[82, 48, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[27, 48, 93], Operations: ['11+82=93']
Exploring Operation: 48-27=21, Resulting Numbers: [93, 21]
Generated Node #0,0,0: 92:[93, 21] Operation: 48-27=21
Exploring Operation: 27+48=75, Resulting Numbers: [93, 75]
Generated Node #0,0,1: 92:[93, 75] Operation: 27+48=75
Exploring Operation: 93-48=45, Resulting Numbers: [27, 45]
Generated Node #0,0,2: 92:[27, 45] Operation: 93-48=45
Moving to Node #0,0,0
Current State: 92:[93, 21], Operations: ['11+82=93', '48-27=21']
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,92 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,92 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[27, 45], Operations: ['11+82=93', '93-48=45']
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,92 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[93, 75], Operations: ['11+82=93', '27+48=75']
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,92 unequal: No Solution
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[11, 48, 55], Operations: ['82-27=55']
Exploring Operation: 55/11=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 92:[48, 5] Operation: 55/11=5
Exploring Operation: 55-48=7, Resulting Numbers: [11, 7]
Generated Node #0,1,1: 92:[11, 7] Operation: 55-48=7
Exploring Operation: 55-11=44, Resulting Numbers: [48, 44]
Generated Node #0,1,2: 92:[48, 44] Operation: 55-11=44
Moving to Node #0,1,0
Current State: 92:[48, 5], Operations: ['82-27=55', '55/11=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,92 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[48, 44], Operations: ['82-27=55', '55-11=44']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,92 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[11, 27, 82, 48], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [11, 48, 55]
Generated Node #0,1: 92:[11, 48, 55] Operation: 82-27=55
Moving to Node #0,1
Current State: 92:[11, 48, 55], Operations: ['82-27=55']
Exploring Operation: 55-11=44, Resulting Numbers: [48, 44]
Generated Node #0,1,2: 92:[48, 44] Operation: 55-11=44
Moving to Node #0,1,2
Current State: 92:[48, 44], Operations: ['82-27=55', '55-11=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_3
|
sum_heuristic
|
[
58,
52,
7,
54
] | 72 |
[
"54-52=2",
"7*2=14",
"58+14=72"
] |
Current State: 72:[58, 52, 7, 54], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [58, 7, 2]
Generated Node #2: [58, 7, 2] from Operation: 54-52=2
Current State: 72:[58, 7, 2], Operations: ['54-52=2']
Exploring Operation: 7*2=14, Resulting Numbers: [58, 14]
Generated Node #3: [58, 14] from Operation: 7*2=14
Current State: 72:[58, 14], Operations: ['54-52=2', '7*2=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[58, 52, 7, 54], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [52, 7, 4]
Generated Node #0,0: 72:[52, 7, 4] Operation: 58-54=4
Exploring Operation: 54-52=2, Resulting Numbers: [58, 7, 2]
Generated Node #0,1: 72:[58, 7, 2] Operation: 54-52=2
Moving to Node #0,1
Current State: 72:[58, 7, 2], Operations: ['54-52=2']
Exploring Operation: 58/2=29, Resulting Numbers: [7, 29]
Generated Node #0,1,0: 72:[7, 29] Operation: 58/2=29
Exploring Operation: 58+7=65, Resulting Numbers: [2, 65]
Generated Node #0,1,1: 72:[2, 65] Operation: 58+7=65
Moving to Node #0,0
Current State: 72:[52, 7, 4], Operations: ['58-54=4']
Exploring Operation: 52-7=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 72:[4, 45] Operation: 52-7=45
Exploring Operation: 52/4=13, Resulting Numbers: [7, 13]
Generated Node #0,0,1: 72:[7, 13] Operation: 52/4=13
Moving to Node #0,0,1
Current State: 72:[7, 13], Operations: ['58-54=4', '52/4=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[7, 29], Operations: ['54-52=2', '58/2=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[2, 65], Operations: ['54-52=2', '58+7=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,72 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[4, 45], Operations: ['58-54=4', '52-7=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,72 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
73,
23,
71,
17
] | 38 |
[
"73-23=50",
"71+17=88",
"88-50=38"
] |
Current State: 38:[73, 23, 71, 17], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [71, 17, 50]
Generated Node #2: [71, 17, 50] from Operation: 73-23=50
Current State: 38:[71, 17, 50], Operations: ['73-23=50']
Exploring Operation: 71+17=88, Resulting Numbers: [50, 88]
Generated Node #3: [50, 88] from Operation: 71+17=88
Current State: 38:[50, 88], Operations: ['73-23=50', '71+17=88']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[73, 23, 71, 17], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [71, 17, 50]
Generated Node #0,0: 38:[71, 17, 50] Operation: 73-23=50
Exploring Operation: 71-23=48, Resulting Numbers: [73, 17, 48]
Generated Node #0,1: 38:[73, 17, 48] Operation: 71-23=48
Exploring Operation: 71-17=54, Resulting Numbers: [73, 23, 54]
Generated Node #0,2: 38:[73, 23, 54] Operation: 71-17=54
Exploring Operation: 73-71=2, Resulting Numbers: [23, 17, 2]
Generated Node #0,3: 38:[23, 17, 2] Operation: 73-71=2
Exploring Operation: 73-17=56, Resulting Numbers: [23, 71, 56]
Generated Node #0,4: 38:[23, 71, 56] Operation: 73-17=56
Moving to Node #0,3
Current State: 38:[23, 17, 2], Operations: ['73-71=2']
Exploring Operation: 23-17=6, Resulting Numbers: [2, 6]
Generated Node #0,3,0: 38:[2, 6] Operation: 23-17=6
Exploring Operation: 17+2=19, Resulting Numbers: [23, 19]
Generated Node #0,3,1: 38:[23, 19] Operation: 17+2=19
Exploring Operation: 23+17=40, Resulting Numbers: [2, 40]
Generated Node #0,3,2: 38:[2, 40] Operation: 23+17=40
Exploring Operation: 23-2=21, Resulting Numbers: [17, 21]
Generated Node #0,3,3: 38:[17, 21] Operation: 23-2=21
Exploring Operation: 23+2=25, Resulting Numbers: [17, 25]
Generated Node #0,3,4: 38:[17, 25] Operation: 23+2=25
Moving to Node #0,1
Current State: 38:[73, 17, 48], Operations: ['71-23=48']
Exploring Operation: 73-17=56, Resulting Numbers: [48, 56]
Generated Node #0,1,0: 38:[48, 56] Operation: 73-17=56
Exploring Operation: 73+17=90, Resulting Numbers: [48, 90]
Generated Node #0,1,1: 38:[48, 90] Operation: 73+17=90
Exploring Operation: 73-48=25, Resulting Numbers: [17, 25]
Generated Node #0,1,2: 38:[17, 25] Operation: 73-48=25
Exploring Operation: 48-17=31, Resulting Numbers: [73, 31]
Generated Node #0,1,3: 38:[73, 31] Operation: 48-17=31
Exploring Operation: 17+48=65, Resulting Numbers: [73, 65]
Generated Node #0,1,4: 38:[73, 65] Operation: 17+48=65
Moving to Node #0,0
Current State: 38:[71, 17, 50], Operations: ['73-23=50']
Exploring Operation: 17+50=67, Resulting Numbers: [71, 67]
Generated Node #0,0,0: 38:[71, 67] Operation: 17+50=67
Exploring Operation: 50-17=33, Resulting Numbers: [71, 33]
Generated Node #0,0,1: 38:[71, 33] Operation: 50-17=33
Exploring Operation: 71-50=21, Resulting Numbers: [17, 21]
Generated Node #0,0,2: 38:[17, 21] Operation: 71-50=21
Exploring Operation: 71+17=88, Resulting Numbers: [50, 88]
Generated Node #0,0,3: 38:[50, 88] Operation: 71+17=88
Exploring Operation: 71-17=54, Resulting Numbers: [50, 54]
Generated Node #0,0,4: 38:[50, 54] Operation: 71-17=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[17, 21], Operations: ['73-23=50', '71-50=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,38 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[73, 23, 71, 17], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [71, 17, 50]
Generated Node #0,0: 38:[71, 17, 50] Operation: 73-23=50
Moving to Node #0,0
Current State: 38:[71, 17, 50], Operations: ['73-23=50']
Exploring Operation: 71-50=21, Resulting Numbers: [17, 21]
Generated Node #0,0,2: 38:[17, 21] Operation: 71-50=21
Moving to Node #0,0,2
Current State: 38:[17, 21], Operations: ['73-23=50', '71-50=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 |
hs_5
|
sum_heuristic
|
[
84,
74,
36,
47
] | 38 |
[
"84-47=37",
"74/37=2",
"36+2=38"
] |
Current State: 38:[84, 74, 36, 47], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [74, 36, 37]
Generated Node #2: [74, 36, 37] from Operation: 84-47=37
Current State: 38:[74, 36, 37], Operations: ['84-47=37']
Exploring Operation: 74/37=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 74/37=2
Current State: 38:[36, 2], Operations: ['84-47=37', '74/37=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[84, 74, 36, 47], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [36, 47, 10]
Generated Node #0,0: 38:[36, 47, 10] Operation: 84-74=10
Moving to Node #0,0
Current State: 38:[36, 47, 10], Operations: ['84-74=10']
Exploring Operation: 47-10=37, Resulting Numbers: [36, 37]
Generated Node #0,0,0: 38:[36, 37] Operation: 47-10=37
Moving to Node #0,0,0
Current State: 38:[36, 37], Operations: ['84-74=10', '47-10=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
22,
25,
5,
86
] | 24 |
[
"22*25=550",
"550/5=110",
"110-86=24"
] |
Current State: 24:[22, 25, 5, 86], Operations: []
Exploring Operation: 22*25=550, Resulting Numbers: [5, 86, 550]
Generated Node #2: [5, 86, 550] from Operation: 22*25=550
Current State: 24:[5, 86, 550], Operations: ['22*25=550']
Exploring Operation: 550/5=110, Resulting Numbers: [86, 110]
Generated Node #3: [86, 110] from Operation: 550/5=110
Current State: 24:[86, 110], Operations: ['22*25=550', '550/5=110']
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[22, 25, 5, 86], Operations: []
Exploring Operation: 86-25=61, Resulting Numbers: [22, 5, 61]
Generated Node #0,0: 24:[22, 5, 61] Operation: 86-25=61
Moving to Node #0,0
Current State: 24:[22, 5, 61], Operations: ['86-25=61']
Exploring Operation: 61-22=39, Resulting Numbers: [5, 39]
Generated Node #0,0,0: 24:[5, 39] Operation: 61-22=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[5, 39], Operations: ['86-25=61', '61-22=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,24 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
|
[
62,
99,
10,
19
] | 28 |
[
"99-62=37",
"19-10=9",
"37-9=28"
] |
Current State: 28:[62, 99, 10, 19], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [10, 19, 37]
Generated Node #2: [10, 19, 37] from Operation: 99-62=37
Current State: 28:[10, 19, 37], Operations: ['99-62=37']
Exploring Operation: 19-10=9, Resulting Numbers: [37, 9]
Generated Node #3: [37, 9] from Operation: 19-10=9
Current State: 28:[37, 9], Operations: ['99-62=37', '19-10=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[62, 99, 10, 19], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [10, 19, 37]
Generated Node #0,0: 28:[10, 19, 37] Operation: 99-62=37
Moving to Node #0,0
Current State: 28:[10, 19, 37], Operations: ['99-62=37']
Exploring Operation: 37-10=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 28:[19, 27] Operation: 37-10=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[19, 27], Operations: ['99-62=37', '37-10=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,28 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
|
[
50,
7,
85,
8
] | 36 |
[
"50+7=57",
"85+8=93",
"93-57=36"
] |
Current State: 36:[50, 7, 85, 8], Operations: []
Exploring Operation: 50+7=57, Resulting Numbers: [85, 8, 57]
Generated Node #2: [85, 8, 57] from Operation: 50+7=57
Current State: 36:[85, 8, 57], Operations: ['50+7=57']
Exploring Operation: 85+8=93, Resulting Numbers: [57, 93]
Generated Node #3: [57, 93] from Operation: 85+8=93
Current State: 36:[57, 93], Operations: ['50+7=57', '85+8=93']
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[50, 7, 85, 8], Operations: []
Exploring Operation: 85-8=77, Resulting Numbers: [50, 7, 77]
Generated Node #0,0: 36:[50, 7, 77] Operation: 85-8=77
Exploring Operation: 50-8=42, Resulting Numbers: [7, 85, 42]
Generated Node #0,1: 36:[7, 85, 42] Operation: 50-8=42
Exploring Operation: 85-7=78, Resulting Numbers: [50, 8, 78]
Generated Node #0,2: 36:[50, 8, 78] Operation: 85-7=78
Exploring Operation: 50-7=43, Resulting Numbers: [85, 8, 43]
Generated Node #0,3: 36:[85, 8, 43] Operation: 50-7=43
Exploring Operation: 85-50=35, Resulting Numbers: [7, 8, 35]
Generated Node #0,4: 36:[7, 8, 35] Operation: 85-50=35
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[7, 8, 35], Operations: ['85-50=35']
Exploring Operation: 7+8=15, Resulting Numbers: [35, 15]
Generated Node #0,4,0: 36:[35, 15] Operation: 7+8=15
Exploring Operation: 35/7=5, Resulting Numbers: [8, 5]
Generated Node #0,4,1: 36:[8, 5] Operation: 35/7=5
Exploring Operation: 8-7=1, Resulting Numbers: [35, 1]
Generated Node #0,4,2: 36:[35, 1] Operation: 8-7=1
Exploring Operation: 8+35=43, Resulting Numbers: [7, 43]
Generated Node #0,4,3: 36:[7, 43] Operation: 8+35=43
Exploring Operation: 7+35=42, Resulting Numbers: [8, 42]
Generated Node #0,4,4: 36:[8, 42] Operation: 7+35=42
Moving to Node #0,4,1
Current State: 36:[8, 5], Operations: ['85-50=35', '35/7=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[35, 1], Operations: ['85-50=35', '8-7=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[50, 7, 85, 8], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [7, 8, 35]
Generated Node #0,4: 36:[7, 8, 35] Operation: 85-50=35
Moving to Node #0,4
Current State: 36:[7, 8, 35], Operations: ['85-50=35']
Exploring Operation: 8-7=1, Resulting Numbers: [35, 1]
Generated Node #0,4,2: 36:[35, 1] Operation: 8-7=1
Moving to Node #0,4,2
Current State: 36:[35, 1], Operations: ['85-50=35', '8-7=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
90,
84,
76,
92
] | 83 |
[
"90*84=7560",
"76+7560=7636",
"7636/92=83"
] |
Current State: 83:[90, 84, 76, 92], Operations: []
Exploring Operation: 90*84=7560, Resulting Numbers: [76, 92, 7560]
Generated Node #2: [76, 92, 7560] from Operation: 90*84=7560
Current State: 83:[76, 92, 7560], Operations: ['90*84=7560']
Exploring Operation: 76+7560=7636, Resulting Numbers: [92, 7636]
Generated Node #3: [92, 7636] from Operation: 76+7560=7636
Current State: 83:[92, 7636], Operations: ['90*84=7560', '76+7560=7636']
Exploring Operation: 7636/92=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[90, 84, 76, 92], Operations: []
Exploring Operation: 90-76=14, Resulting Numbers: [84, 92, 14]
Generated Node #0,0: 83:[84, 92, 14] Operation: 90-76=14
Exploring Operation: 92-76=16, Resulting Numbers: [90, 84, 16]
Generated Node #0,1: 83:[90, 84, 16] Operation: 92-76=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[90, 84, 16], Operations: ['92-76=16']
Exploring Operation: 90-16=74, Resulting Numbers: [84, 74]
Generated Node #0,1,0: 83:[84, 74] Operation: 90-16=74
Exploring Operation: 84-16=68, Resulting Numbers: [90, 68]
Generated Node #0,1,1: 83:[90, 68] Operation: 84-16=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[84, 74], Operations: ['92-76=16', '90-16=74']
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[90, 68], Operations: ['92-76=16', '84-16=68']
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[84, 92, 14], Operations: ['90-76=14']
Exploring Operation: 84-14=70, Resulting Numbers: [92, 70]
Generated Node #0,0,0: 83:[92, 70] Operation: 84-14=70
Exploring Operation: 92-14=78, Resulting Numbers: [84, 78]
Generated Node #0,0,1: 83:[84, 78] Operation: 92-14=78
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[84, 78], Operations: ['90-76=14', '92-14=78']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[92, 70], Operations: ['90-76=14', '84-14=70']
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
64,
4,
7,
95
] | 86 |
[
"64/4=16",
"7+95=102",
"102-16=86"
] |
Current State: 86:[64, 4, 7, 95], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [7, 95, 16]
Generated Node #2: [7, 95, 16] from Operation: 64/4=16
Current State: 86:[7, 95, 16], Operations: ['64/4=16']
Exploring Operation: 7+95=102, Resulting Numbers: [16, 102]
Generated Node #3: [16, 102] from Operation: 7+95=102
Current State: 86:[16, 102], Operations: ['64/4=16', '7+95=102']
Exploring Operation: 102-16=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[64, 4, 7, 95], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [4, 7, 31]
Generated Node #0,0: 86:[4, 7, 31] Operation: 95-64=31
Exploring Operation: 64+7=71, Resulting Numbers: [4, 95, 71]
Generated Node #0,1: 86:[4, 95, 71] Operation: 64+7=71
Exploring Operation: 64-7=57, Resulting Numbers: [4, 95, 57]
Generated Node #0,2: 86:[4, 95, 57] Operation: 64-7=57
Exploring Operation: 95-7=88, Resulting Numbers: [64, 4, 88]
Generated Node #0,3: 86:[64, 4, 88] Operation: 95-7=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 7, 31], Operations: ['95-64=31']
Exploring Operation: 7+31=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 86:[4, 38] Operation: 7+31=38
Exploring Operation: 4+31=35, Resulting Numbers: [7, 35]
Generated Node #0,0,1: 86:[7, 35] Operation: 4+31=35
Exploring Operation: 7-4=3, Resulting Numbers: [31, 3]
Generated Node #0,0,2: 86:[31, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [31, 11]
Generated Node #0,0,3: 86:[31, 11] Operation: 4+7=11
Moving to Node #0,0,0
Current State: 86:[4, 38], Operations: ['95-64=31', '7+31=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[31, 3], Operations: ['95-64=31', '7-4=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[7, 35], Operations: ['95-64=31', '4+31=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[31, 11], Operations: ['95-64=31', '4+7=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,86 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[4, 95, 57], Operations: ['64-7=57']
Exploring Operation: 57-4=53, Resulting Numbers: [95, 53]
Generated Node #0,2,0: 86:[95, 53] Operation: 57-4=53
Exploring Operation: 95-4=91, Resulting Numbers: [57, 91]
Generated Node #0,2,1: 86:[57, 91] Operation: 95-4=91
Exploring Operation: 4+95=99, Resulting Numbers: [57, 99]
Generated Node #0,2,2: 86:[57, 99] Operation: 4+95=99
Exploring Operation: 95-57=38, Resulting Numbers: [4, 38]
Generated Node #0,2,3: 86:[4, 38] Operation: 95-57=38
Moving to Node #0,2,3
Current State: 86:[4, 38], Operations: ['64-7=57', '95-57=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[57, 91], Operations: ['64-7=57', '95-4=91']
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,86 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[95, 53], Operations: ['64-7=57', '57-4=53']
Exploring Operation: 95*53=5035, Resulting Numbers: [5035]
5035,86 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 95+53=148, Resulting Numbers: [148]
148,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[57, 99], Operations: ['64-7=57', '4+95=99']
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,86 unequal: No Solution
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,86 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[64, 4, 88], Operations: ['95-7=88']
Exploring Operation: 64-4=60, Resulting Numbers: [88, 60]
Generated Node #0,3,0: 86:[88, 60] Operation: 64-4=60
Exploring Operation: 88-64=24, Resulting Numbers: [4, 24]
Generated Node #0,3,1: 86:[4, 24] Operation: 88-64=24
Exploring Operation: 64+4=68, Resulting Numbers: [88, 68]
Generated Node #0,3,2: 86:[88, 68] Operation: 64+4=68
Exploring Operation: 64/4=16, Resulting Numbers: [88, 16]
Generated Node #0,3,3: 86:[88, 16] Operation: 64/4=16
Moving to Node #0,3,3
Current State: 86:[88, 16], Operations: ['95-7=88', '64/4=16']
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,86 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[88, 60], Operations: ['95-7=88', '64-4=60']
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,86 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[88, 68], Operations: ['95-7=88', '64+4=68']
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,86 unequal: No Solution
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[4, 24], Operations: ['95-7=88', '88-64=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[4, 95, 71], Operations: ['64+7=71']
Exploring Operation: 95-4=91, Resulting Numbers: [71, 91]
Generated Node #0,1,0: 86:[71, 91] Operation: 95-4=91
Exploring Operation: 4+71=75, Resulting Numbers: [95, 75]
Generated Node #0,1,1: 86:[95, 75] Operation: 4+71=75
Exploring Operation: 4+95=99, Resulting Numbers: [71, 99]
Generated Node #0,1,2: 86:[71, 99] Operation: 4+95=99
Exploring Operation: 95-71=24, Resulting Numbers: [4, 24]
Generated Node #0,1,3: 86:[4, 24] Operation: 95-71=24
Moving to Node #0,1,0
Current State: 86:[71, 91], Operations: ['64+7=71', '95-4=91']
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,86 unequal: No Solution
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,86 unequal: No Solution
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[95, 75], Operations: ['64+7=71', '4+71=75']
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,86 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[4, 24], Operations: ['64+7=71', '95-71=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[71, 99], Operations: ['64+7=71', '4+95=99']
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,86 unequal: No Solution
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,86 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
|
[
69,
43,
14,
36
] | 62 |
[
"69+43=112",
"14+36=50",
"112-50=62"
] |
Current State: 62:[69, 43, 14, 36], Operations: []
Exploring Operation: 69+43=112, Resulting Numbers: [14, 36, 112]
Generated Node #2: [14, 36, 112] from Operation: 69+43=112
Current State: 62:[14, 36, 112], Operations: ['69+43=112']
Exploring Operation: 14+36=50, Resulting Numbers: [112, 50]
Generated Node #3: [112, 50] from Operation: 14+36=50
Current State: 62:[112, 50], Operations: ['69+43=112', '14+36=50']
Exploring Operation: 112-50=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[69, 43, 14, 36], Operations: []
Exploring Operation: 43-14=29, Resulting Numbers: [69, 36, 29]
Generated Node #0,0: 62:[69, 36, 29] Operation: 43-14=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[69, 36, 29], Operations: ['43-14=29']
Exploring Operation: 69-36=33, Resulting Numbers: [29, 33]
Generated Node #0,0,0: 62:[29, 33] Operation: 69-36=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[29, 33], Operations: ['43-14=29', '69-36=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[69, 43, 14, 36], Operations: []
Exploring Operation: 43-14=29, Resulting Numbers: [69, 36, 29]
Generated Node #0,0: 62:[69, 36, 29] Operation: 43-14=29
Moving to Node #0,0
Current State: 62:[69, 36, 29], Operations: ['43-14=29']
Exploring Operation: 69-36=33, Resulting Numbers: [29, 33]
Generated Node #0,0,0: 62:[29, 33] Operation: 69-36=33
Moving to Node #0,0,0
Current State: 62:[29, 33], Operations: ['43-14=29', '69-36=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
52,
82,
84,
16
] | 98 |
[
"82-52=30",
"84-16=68",
"30+68=98"
] |
Current State: 98:[52, 82, 84, 16], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [84, 16, 30]
Generated Node #2: [84, 16, 30] from Operation: 82-52=30
Current State: 98:[84, 16, 30], Operations: ['82-52=30']
Exploring Operation: 84-16=68, Resulting Numbers: [30, 68]
Generated Node #3: [30, 68] from Operation: 84-16=68
Current State: 98:[30, 68], Operations: ['82-52=30', '84-16=68']
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[52, 82, 84, 16], Operations: []
Exploring Operation: 84+16=100, Resulting Numbers: [52, 82, 100]
Generated Node #0,0: 98:[52, 82, 100] Operation: 84+16=100
Exploring Operation: 82+16=98, Resulting Numbers: [52, 84, 98]
Generated Node #0,1: 98:[52, 84, 98] Operation: 82+16=98
Exploring Operation: 84-82=2, Resulting Numbers: [52, 16, 2]
Generated Node #0,2: 98:[52, 16, 2] Operation: 84-82=2
Moving to Node #0,2
Current State: 98:[52, 16, 2], Operations: ['84-82=2']
Exploring Operation: 16-2=14, Resulting Numbers: [52, 14]
Generated Node #0,2,0: 98:[52, 14] Operation: 16-2=14
Exploring Operation: 52-2=50, Resulting Numbers: [16, 50]
Generated Node #0,2,1: 98:[16, 50] Operation: 52-2=50
Exploring Operation: 16/2=8, Resulting Numbers: [52, 8]
Generated Node #0,2,2: 98:[52, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[52, 14], Operations: ['84-82=2', '16-2=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,98 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[16, 50], Operations: ['84-82=2', '52-2=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,98 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[52, 8], Operations: ['84-82=2', '16/2=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,98 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,98 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: 98:[52, 84, 98], Operations: ['82+16=98']
Exploring Operation: 98-52=46, Resulting Numbers: [84, 46]
Generated Node #0,1,0: 98:[84, 46] Operation: 98-52=46
Exploring Operation: 98-84=14, Resulting Numbers: [52, 14]
Generated Node #0,1,1: 98:[52, 14] Operation: 98-84=14
Exploring Operation: 84-52=32, Resulting Numbers: [98, 32]
Generated Node #0,1,2: 98:[98, 32] Operation: 84-52=32
Moving to Node #0,0
Current State: 98:[52, 82, 100], Operations: ['84+16=100']
Exploring Operation: 82-52=30, Resulting Numbers: [100, 30]
Generated Node #0,0,0: 98:[100, 30] Operation: 82-52=30
Exploring Operation: 100-82=18, Resulting Numbers: [52, 18]
Generated Node #0,0,1: 98:[52, 18] Operation: 100-82=18
Exploring Operation: 100-52=48, Resulting Numbers: [82, 48]
Generated Node #0,0,2: 98:[82, 48] Operation: 100-52=48
Moving to Node #0,1,1
Current State: 98:[52, 14], Operations: ['82+16=98', '98-84=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[52, 18], Operations: ['84+16=100', '100-82=18']
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,98 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[98, 32], Operations: ['82+16=98', '84-52=32']
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,98 unequal: No Solution
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[82, 48], Operations: ['84+16=100', '100-52=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,98 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[84, 46], Operations: ['82+16=98', '98-52=46']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,98 unequal: No Solution
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[100, 30], Operations: ['84+16=100', '82-52=30']
Exploring Operation: 100-30=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 100+30=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 100*30=3000, Resulting Numbers: [3000]
3000,98 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
66,
6,
76,
59
] | 28 |
[
"66/6=11",
"76-59=17",
"11+17=28"
] |
Current State: 28:[66, 6, 76, 59], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [76, 59, 11]
Generated Node #2: [76, 59, 11] from Operation: 66/6=11
Current State: 28:[76, 59, 11], Operations: ['66/6=11']
Exploring Operation: 76-59=17, Resulting Numbers: [11, 17]
Generated Node #3: [11, 17] from Operation: 76-59=17
Current State: 28:[11, 17], Operations: ['66/6=11', '76-59=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[66, 6, 76, 59], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [66, 6, 17]
Generated Node #0,0: 28:[66, 6, 17] Operation: 76-59=17
Exploring Operation: 76-66=10, Resulting Numbers: [6, 59, 10]
Generated Node #0,1: 28:[6, 59, 10] Operation: 76-66=10
Exploring Operation: 66-59=7, Resulting Numbers: [6, 76, 7]
Generated Node #0,2: 28:[6, 76, 7] Operation: 66-59=7
Moving to Node #0,1
Current State: 28:[6, 59, 10], Operations: ['76-66=10']
Exploring Operation: 59-6=53, Resulting Numbers: [10, 53]
Generated Node #0,1,0: 28:[10, 53] Operation: 59-6=53
Exploring Operation: 59-10=49, Resulting Numbers: [6, 49]
Generated Node #0,1,1: 28:[6, 49] Operation: 59-10=49
Exploring Operation: 10-6=4, Resulting Numbers: [59, 4]
Generated Node #0,1,2: 28:[59, 4] Operation: 10-6=4
Moving to Node #0,0
Current State: 28:[66, 6, 17], Operations: ['76-59=17']
Exploring Operation: 66/6=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 28:[17, 11] Operation: 66/6=11
Exploring Operation: 66-17=49, Resulting Numbers: [6, 49]
Generated Node #0,0,1: 28:[6, 49] Operation: 66-17=49
Exploring Operation: 66-6=60, Resulting Numbers: [17, 60]
Generated Node #0,0,2: 28:[17, 60] Operation: 66-6=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[17, 11], Operations: ['76-59=17', '66/6=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,28 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[66, 6, 76, 59], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [66, 6, 17]
Generated Node #0,0: 28:[66, 6, 17] Operation: 76-59=17
Moving to Node #0,0
Current State: 28:[66, 6, 17], Operations: ['76-59=17']
Exploring Operation: 66/6=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 28:[17, 11] Operation: 66/6=11
Moving to Node #0,0,0
Current State: 28:[17, 11], Operations: ['76-59=17', '66/6=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
sum_heuristic
|
[
39,
79,
29,
10
] | 25 |
[
"79-39=40",
"40/10=4",
"29-4=25"
] |
Current State: 25:[39, 79, 29, 10], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [29, 10, 40]
Generated Node #2: [29, 10, 40] from Operation: 79-39=40
Current State: 25:[29, 10, 40], Operations: ['79-39=40']
Exploring Operation: 40/10=4, Resulting Numbers: [29, 4]
Generated Node #3: [29, 4] from Operation: 40/10=4
Current State: 25:[29, 4], Operations: ['79-39=40', '40/10=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[39, 79, 29, 10], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [29, 10, 40]
Generated Node #0,0: 25:[29, 10, 40] Operation: 79-39=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[29, 10, 40], Operations: ['79-39=40']
Exploring Operation: 40/10=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 25:[29, 4] Operation: 40/10=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[29, 4], Operations: ['79-39=40', '40/10=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[39, 79, 29, 10], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [29, 10, 40]
Generated Node #0,0: 25:[29, 10, 40] Operation: 79-39=40
Moving to Node #0,0
Current State: 25:[29, 10, 40], Operations: ['79-39=40']
Exploring Operation: 40/10=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 25:[29, 4] Operation: 40/10=4
Moving to Node #0,0,0
Current State: 25:[29, 4], Operations: ['79-39=40', '40/10=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
32,
32,
9,
16
] | 16 |
[
"32-32=0",
"9*0=0",
"16+0=16"
] |
Current State: 16:[32, 32, 9, 16], Operations: []
Exploring Operation: 32-32=0, Resulting Numbers: [9, 16, 0]
Generated Node #2: [9, 16, 0] from Operation: 32-32=0
Current State: 16:[9, 16, 0], Operations: ['32-32=0']
Exploring Operation: 9*0=0, Resulting Numbers: [16, 0]
Generated Node #3: [16, 0] from Operation: 9*0=0
Current State: 16:[16, 0], Operations: ['32-32=0', '9*0=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[32, 32, 9, 16], Operations: []
Exploring Operation: 32/32=1, Resulting Numbers: [9, 16, 1]
Generated Node #0,0: 16:[9, 16, 1] Operation: 32/32=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[9, 16, 1], Operations: ['32/32=1']
Exploring Operation: 9-1=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 16:[16, 8] Operation: 9-1=8
Moving to Node #0,0,0
Current State: 16:[16, 8], Operations: ['32/32=1', '9-1=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,16 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
|
[
13,
67,
55,
75
] | 34 |
[
"67-13=54",
"75-55=20",
"54-20=34"
] |
Current State: 34:[13, 67, 55, 75], Operations: []
Exploring Operation: 67-13=54, Resulting Numbers: [55, 75, 54]
Generated Node #2: [55, 75, 54] from Operation: 67-13=54
Current State: 34:[55, 75, 54], Operations: ['67-13=54']
Exploring Operation: 75-55=20, Resulting Numbers: [54, 20]
Generated Node #3: [54, 20] from Operation: 75-55=20
Current State: 34:[54, 20], Operations: ['67-13=54', '75-55=20']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[13, 67, 55, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [13, 67, 20]
Generated Node #0,0: 34:[13, 67, 20] Operation: 75-55=20
Exploring Operation: 75-67=8, Resulting Numbers: [13, 55, 8]
Generated Node #0,1: 34:[13, 55, 8] Operation: 75-67=8
Exploring Operation: 67-55=12, Resulting Numbers: [13, 75, 12]
Generated Node #0,2: 34:[13, 75, 12] Operation: 67-55=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[13, 55, 8], Operations: ['75-67=8']
Exploring Operation: 13-8=5, Resulting Numbers: [55, 5]
Generated Node #0,1,0: 34:[55, 5] Operation: 13-8=5
Exploring Operation: 55-8=47, Resulting Numbers: [13, 47]
Generated Node #0,1,1: 34:[13, 47] Operation: 55-8=47
Exploring Operation: 55-13=42, Resulting Numbers: [8, 42]
Generated Node #0,1,2: 34:[8, 42] Operation: 55-13=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[8, 42], Operations: ['75-67=8', '55-13=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,34 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[13, 67, 55, 75], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [13, 55, 8]
Generated Node #0,1: 34:[13, 55, 8] Operation: 75-67=8
Moving to Node #0,1
Current State: 34:[13, 55, 8], Operations: ['75-67=8']
Exploring Operation: 55-13=42, Resulting Numbers: [8, 42]
Generated Node #0,1,2: 34:[8, 42] Operation: 55-13=42
Moving to Node #0,1,2
Current State: 34:[8, 42], Operations: ['75-67=8', '55-13=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
80,
36,
86,
73
] | 57 |
[
"80-36=44",
"86-73=13",
"44+13=57"
] |
Current State: 57:[80, 36, 86, 73], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [86, 73, 44]
Generated Node #2: [86, 73, 44] from Operation: 80-36=44
Current State: 57:[86, 73, 44], Operations: ['80-36=44']
Exploring Operation: 86-73=13, Resulting Numbers: [44, 13]
Generated Node #3: [44, 13] from Operation: 86-73=13
Current State: 57:[44, 13], Operations: ['80-36=44', '86-73=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[80, 36, 86, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [36, 86, 7]
Generated Node #0,0: 57:[36, 86, 7] Operation: 80-73=7
Exploring Operation: 86-73=13, Resulting Numbers: [80, 36, 13]
Generated Node #0,1: 57:[80, 36, 13] Operation: 86-73=13
Exploring Operation: 86-80=6, Resulting Numbers: [36, 73, 6]
Generated Node #0,2: 57:[36, 73, 6] Operation: 86-80=6
Exploring Operation: 86-36=50, Resulting Numbers: [80, 73, 50]
Generated Node #0,3: 57:[80, 73, 50] Operation: 86-36=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[36, 73, 6], Operations: ['86-80=6']
Exploring Operation: 36-6=30, Resulting Numbers: [73, 30]
Generated Node #0,2,0: 57:[73, 30] Operation: 36-6=30
Exploring Operation: 73-36=37, Resulting Numbers: [6, 37]
Generated Node #0,2,1: 57:[6, 37] Operation: 73-36=37
Exploring Operation: 36/6=6, Resulting Numbers: [73, 6]
Generated Node #0,2,2: 57:[73, 6] Operation: 36/6=6
Exploring Operation: 73-6=67, Resulting Numbers: [36, 67]
Generated Node #0,2,3: 57:[36, 67] Operation: 73-6=67
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[73, 6], Operations: ['86-80=6', '36/6=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,57 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,57 unequal: No Solution
No 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: 57:[6, 37], Operations: ['86-80=6', '73-36=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,57 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,57 unequal: No Solution
No 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: 57:[73, 30], Operations: ['86-80=6', '36-6=30']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,57 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,57 unequal: No Solution
No 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: 57:[36, 67], Operations: ['86-80=6', '73-6=67']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,57 unequal: No Solution
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[80, 36, 13], Operations: ['86-73=13']
Exploring Operation: 36+13=49, Resulting Numbers: [80, 49]
Generated Node #0,1,0: 57:[80, 49] Operation: 36+13=49
Exploring Operation: 36-13=23, Resulting Numbers: [80, 23]
Generated Node #0,1,1: 57:[80, 23] Operation: 36-13=23
Exploring Operation: 80-36=44, Resulting Numbers: [13, 44]
Generated Node #0,1,2: 57:[13, 44] Operation: 80-36=44
Exploring Operation: 80-13=67, Resulting Numbers: [36, 67]
Generated Node #0,1,3: 57:[36, 67] Operation: 80-13=67
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[13, 44], Operations: ['86-73=13', '80-36=44']
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,57 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[80, 36, 86, 73], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [80, 36, 13]
Generated Node #0,1: 57:[80, 36, 13] Operation: 86-73=13
Moving to Node #0,1
Current State: 57:[80, 36, 13], Operations: ['86-73=13']
Exploring Operation: 80-36=44, Resulting Numbers: [13, 44]
Generated Node #0,1,2: 57:[13, 44] Operation: 80-36=44
Moving to Node #0,1,2
Current State: 57:[13, 44], Operations: ['86-73=13', '80-36=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 |
hs_4
|
sum_heuristic
|
[
6,
56,
23,
7
] | 61 |
[
"23+7=30",
"30/6=5",
"56+5=61"
] |
Current State: 61:[6, 56, 23, 7], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [6, 56, 30]
Generated Node #2: [6, 56, 30] from Operation: 23+7=30
Current State: 61:[6, 56, 30], Operations: ['23+7=30']
Exploring Operation: 30/6=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 30/6=5
Current State: 61:[56, 5], Operations: ['23+7=30', '30/6=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[6, 56, 23, 7], Operations: []
Exploring Operation: 6+7=13, Resulting Numbers: [56, 23, 13]
Generated Node #0,0: 61:[56, 23, 13] Operation: 6+7=13
Exploring Operation: 6+56=62, Resulting Numbers: [23, 7, 62]
Generated Node #0,1: 61:[23, 7, 62] Operation: 6+56=62
Exploring Operation: 6*7=42, Resulting Numbers: [56, 23, 42]
Generated Node #0,2: 61:[56, 23, 42] Operation: 6*7=42
Exploring Operation: 6+23=29, Resulting Numbers: [56, 7, 29]
Generated Node #0,3: 61:[56, 7, 29] Operation: 6+23=29
Exploring Operation: 23+7=30, Resulting Numbers: [6, 56, 30]
Generated Node #0,4: 61:[6, 56, 30] Operation: 23+7=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[56, 23, 42], Operations: ['6*7=42']
Exploring Operation: 42-23=19, Resulting Numbers: [56, 19]
Generated Node #0,2,0: 61:[56, 19] Operation: 42-23=19
Exploring Operation: 56+23=79, Resulting Numbers: [42, 79]
Generated Node #0,2,1: 61:[42, 79] Operation: 56+23=79
Exploring Operation: 23+42=65, Resulting Numbers: [56, 65]
Generated Node #0,2,2: 61:[56, 65] Operation: 23+42=65
Exploring Operation: 56+42=98, Resulting Numbers: [23, 98]
Generated Node #0,2,3: 61:[23, 98] Operation: 56+42=98
Exploring Operation: 56-23=33, Resulting Numbers: [42, 33]
Generated Node #0,2,4: 61:[42, 33] Operation: 56-23=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[56, 65], Operations: ['6*7=42', '23+42=65']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 56+65=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 56*65=3640, Resulting Numbers: [3640]
3640,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[42, 79], Operations: ['6*7=42', '56+23=79']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,61 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[56, 19], Operations: ['6*7=42', '42-23=19']
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,61 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 61:[42, 33], Operations: ['6*7=42', '56-23=33']
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[23, 98], Operations: ['6*7=42', '56+42=98']
Exploring Operation: 23+98=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 23*98=2254, Resulting Numbers: [2254]
2254,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[56, 23, 13], Operations: ['6+7=13']
Exploring Operation: 23+13=36, Resulting Numbers: [56, 36]
Generated Node #0,0,0: 61:[56, 36] Operation: 23+13=36
Exploring Operation: 56+23=79, Resulting Numbers: [13, 79]
Generated Node #0,0,1: 61:[13, 79] Operation: 56+23=79
Exploring Operation: 23-13=10, Resulting Numbers: [56, 10]
Generated Node #0,0,2: 61:[56, 10] Operation: 23-13=10
Exploring Operation: 56-13=43, Resulting Numbers: [23, 43]
Generated Node #0,0,3: 61:[23, 43] Operation: 56-13=43
Exploring Operation: 56+13=69, Resulting Numbers: [23, 69]
Generated Node #0,0,4: 61:[23, 69] Operation: 56+13=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[56, 36], Operations: ['6+7=13', '23+13=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 61:[23, 69], Operations: ['6+7=13', '56+13=69']
Exploring Operation: 23*69=1587, Resulting Numbers: [1587]
1587,61 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[56, 10], Operations: ['6+7=13', '23-13=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,61 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 61:[23, 43], Operations: ['6+7=13', '56-13=43']
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[13, 79], Operations: ['6+7=13', '56+23=79']
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,61 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[56, 7, 29], Operations: ['6+23=29']
Exploring Operation: 56-7=49, Resulting Numbers: [29, 49]
Generated Node #0,3,0: 61:[29, 49] Operation: 56-7=49
Exploring Operation: 29-7=22, Resulting Numbers: [56, 22]
Generated Node #0,3,1: 61:[56, 22] Operation: 29-7=22
Exploring Operation: 56+29=85, Resulting Numbers: [7, 85]
Generated Node #0,3,2: 61:[7, 85] Operation: 56+29=85
Exploring Operation: 7+29=36, Resulting Numbers: [56, 36]
Generated Node #0,3,3: 61:[56, 36] Operation: 7+29=36
Exploring Operation: 56+7=63, Resulting Numbers: [29, 63]
Generated Node #0,3,4: 61:[29, 63] Operation: 56+7=63
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[56, 36], Operations: ['6+23=29', '7+29=36']
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 61:[29, 63], Operations: ['6+23=29', '56+7=63']
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,61 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[29, 49], Operations: ['6+23=29', '56-7=49']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,61 unequal: No Solution
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[56, 22], Operations: ['6+23=29', '29-7=22']
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[7, 85], Operations: ['6+23=29', '56+29=85']
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[6, 56, 30], Operations: ['23+7=30']
Exploring Operation: 6+56=62, Resulting Numbers: [30, 62]
Generated Node #0,4,0: 61:[30, 62] Operation: 6+56=62
Exploring Operation: 6+30=36, Resulting Numbers: [56, 36]
Generated Node #0,4,1: 61:[56, 36] Operation: 6+30=36
Exploring Operation: 30-6=24, Resulting Numbers: [56, 24]
Generated Node #0,4,2: 61:[56, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [56, 5]
Generated Node #0,4,3: 61:[56, 5] Operation: 30/6=5
Exploring Operation: 56-6=50, Resulting Numbers: [30, 50]
Generated Node #0,4,4: 61:[30, 50] Operation: 56-6=50
Moving to Node #0,4,1
Current State: 61:[56, 36], Operations: ['23+7=30', '6+30=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[30, 62], Operations: ['23+7=30', '6+56=62']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[56, 24], Operations: ['23+7=30', '30-6=24']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,61 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[30, 50], Operations: ['23+7=30', '56-6=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,61 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[56, 5], Operations: ['23+7=30', '30/6=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[6, 56, 23, 7], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [6, 56, 30]
Generated Node #0,4: 61:[6, 56, 30] Operation: 23+7=30
Moving to Node #0,4
Current State: 61:[6, 56, 30], Operations: ['23+7=30']
Exploring Operation: 30/6=5, Resulting Numbers: [56, 5]
Generated Node #0,4,3: 61:[56, 5] Operation: 30/6=5
Moving to Node #0,4,3
Current State: 61:[56, 5], Operations: ['23+7=30', '30/6=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.923611 |
hs_5
|
mult_heuristic
|
[
76,
76,
67,
40
] | 27 |
[
"76-76=0",
"67-40=27",
"0+27=27"
] |
Current State: 27:[76, 76, 67, 40], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [67, 40, 0]
Generated Node #2: [67, 40, 0] from Operation: 76-76=0
Current State: 27:[67, 40, 0], Operations: ['76-76=0']
Exploring Operation: 67-40=27, Resulting Numbers: [0, 27]
Generated Node #3: [0, 27] from Operation: 67-40=27
Current State: 27:[0, 27], Operations: ['76-76=0', '67-40=27']
Exploring Operation: 0+27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[76, 76, 67, 40], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [67, 40, 0]
Generated Node #0,0: 27:[67, 40, 0] Operation: 76-76=0
Exploring Operation: 76/76=1, Resulting Numbers: [67, 40, 1]
Generated Node #0,1: 27:[67, 40, 1] Operation: 76/76=1
Exploring Operation: 76-67=9, Resulting Numbers: [76, 40, 9]
Generated Node #0,2: 27:[76, 40, 9] Operation: 76-67=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[67, 40, 1], Operations: ['76/76=1']
Exploring Operation: 40-1=39, Resulting Numbers: [67, 39]
Generated Node #0,1,0: 27:[67, 39] Operation: 40-1=39
Exploring Operation: 67-1=66, Resulting Numbers: [40, 66]
Generated Node #0,1,1: 27:[40, 66] Operation: 67-1=66
Exploring Operation: 67-40=27, Resulting Numbers: [1, 27]
Generated Node #0,1,2: 27:[1, 27] Operation: 67-40=27
Moving to Node #0,1,2
Current State: 27:[1, 27], Operations: ['76/76=1', '67-40=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[76, 76, 67, 40], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [67, 40, 1]
Generated Node #0,1: 27:[67, 40, 1] Operation: 76/76=1
Moving to Node #0,1
Current State: 27:[67, 40, 1], Operations: ['76/76=1']
Exploring Operation: 67-40=27, Resulting Numbers: [1, 27]
Generated Node #0,1,2: 27:[1, 27] Operation: 67-40=27
Moving to Node #0,1,2
Current State: 27:[1, 27], Operations: ['76/76=1', '67-40=27']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
78,
22,
6,
26
] | 60 |
[
"78*22=1716",
"1716/26=66",
"66-6=60"
] |
Current State: 60:[78, 22, 6, 26], Operations: []
Exploring Operation: 78*22=1716, Resulting Numbers: [6, 26, 1716]
Generated Node #2: [6, 26, 1716] from Operation: 78*22=1716
Current State: 60:[6, 26, 1716], Operations: ['78*22=1716']
Exploring Operation: 1716/26=66, Resulting Numbers: [6, 66]
Generated Node #3: [6, 66] from Operation: 1716/26=66
Current State: 60:[6, 66], Operations: ['78*22=1716', '1716/26=66']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[78, 22, 6, 26], Operations: []
Exploring Operation: 78-22=56, Resulting Numbers: [6, 26, 56]
Generated Node #0,0: 60:[6, 26, 56] Operation: 78-22=56
Exploring Operation: 78/26=3, Resulting Numbers: [22, 6, 3]
Generated Node #0,1: 60:[22, 6, 3] Operation: 78/26=3
Exploring Operation: 78-6=72, Resulting Numbers: [22, 26, 72]
Generated Node #0,2: 60:[22, 26, 72] Operation: 78-6=72
Exploring Operation: 78/6=13, Resulting Numbers: [22, 26, 13]
Generated Node #0,3: 60:[22, 26, 13] Operation: 78/6=13
Exploring Operation: 78-26=52, Resulting Numbers: [22, 6, 52]
Generated Node #0,4: 60:[22, 6, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[22, 6, 3], Operations: ['78/26=3']
Exploring Operation: 6/3=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 60:[22, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 60:[22, 3] Operation: 6-3=3
Exploring Operation: 22+6=28, Resulting Numbers: [3, 28]
Generated Node #0,1,2: 60:[3, 28] Operation: 22+6=28
Exploring Operation: 22-6=16, Resulting Numbers: [3, 16]
Generated Node #0,1,3: 60:[3, 16] Operation: 22-6=16
Exploring Operation: 22-3=19, Resulting Numbers: [6, 19]
Generated Node #0,1,4: 60:[6, 19] Operation: 22-3=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[3, 16], Operations: ['78/26=3', '22-6=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 60:[6, 19], Operations: ['78/26=3', '22-3=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[22, 2], Operations: ['78/26=3', '6/3=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[22, 3], Operations: ['78/26=3', '6-3=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[3, 28], Operations: ['78/26=3', '22+6=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[22, 26, 13], Operations: ['78/6=13']
Exploring Operation: 26-22=4, Resulting Numbers: [13, 4]
Generated Node #0,3,0: 60:[13, 4] Operation: 26-22=4
Exploring Operation: 26-13=13, Resulting Numbers: [22, 13]
Generated Node #0,3,1: 60:[22, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [22, 2]
Generated Node #0,3,2: 60:[22, 2] Operation: 26/13=2
Exploring Operation: 22-13=9, Resulting Numbers: [26, 9]
Generated Node #0,3,3: 60:[26, 9] Operation: 22-13=9
Exploring Operation: 22+13=35, Resulting Numbers: [26, 35]
Generated Node #0,3,4: 60:[26, 35] Operation: 22+13=35
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[13, 4], Operations: ['78/6=13', '26-22=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[22, 2], Operations: ['78/6=13', '26/13=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[22, 13], Operations: ['78/6=13', '26-13=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,60 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[26, 9], Operations: ['78/6=13', '22-13=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,60 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 60:[26, 35], Operations: ['78/6=13', '22+13=35']
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,60 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[6, 26, 56], Operations: ['78-22=56']
Exploring Operation: 6+26=32, Resulting Numbers: [56, 32]
Generated Node #0,0,0: 60:[56, 32] Operation: 6+26=32
Exploring Operation: 56-6=50, Resulting Numbers: [26, 50]
Generated Node #0,0,1: 60:[26, 50] Operation: 56-6=50
Exploring Operation: 6+56=62, Resulting Numbers: [26, 62]
Generated Node #0,0,2: 60:[26, 62] Operation: 6+56=62
Exploring Operation: 26-6=20, Resulting Numbers: [56, 20]
Generated Node #0,0,3: 60:[56, 20] Operation: 26-6=20
Exploring Operation: 56-26=30, Resulting Numbers: [6, 30]
Generated Node #0,0,4: 60:[6, 30] Operation: 56-26=30
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 60:[6, 30], Operations: ['78-22=56', '56-26=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 60:[56, 20], Operations: ['78-22=56', '26-6=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[56, 32], Operations: ['78-22=56', '6+26=32']
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[26, 62], Operations: ['78-22=56', '6+56=62']
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,60 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[26, 50], Operations: ['78-22=56', '56-6=50']
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,60 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[22, 6, 52], Operations: ['78-26=52']
Exploring Operation: 6+52=58, Resulting Numbers: [22, 58]
Generated Node #0,4,0: 60:[22, 58] Operation: 6+52=58
Exploring Operation: 22+6=28, Resulting Numbers: [52, 28]
Generated Node #0,4,1: 60:[52, 28] Operation: 22+6=28
Exploring Operation: 22+52=74, Resulting Numbers: [6, 74]
Generated Node #0,4,2: 60:[6, 74] Operation: 22+52=74
Exploring Operation: 22-6=16, Resulting Numbers: [52, 16]
Generated Node #0,4,3: 60:[52, 16] Operation: 22-6=16
Exploring Operation: 52-22=30, Resulting Numbers: [6, 30]
Generated Node #0,4,4: 60:[6, 30] Operation: 52-22=30
Moving to Node #0,4,4
Current State: 60:[6, 30], Operations: ['78-26=52', '52-22=30']
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Moving to Node #0,4,0
Current State: 60:[22, 58], Operations: ['78-26=52', '6+52=58']
Exploring Operation: 22+58=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 22*58=1276, Resulting Numbers: [1276]
1276,60 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[52, 16], Operations: ['78-26=52', '22-6=16']
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,60 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[52, 28], Operations: ['78-26=52', '22+6=28']
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,60 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[6, 74], Operations: ['78-26=52', '22+52=74']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,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,2
Current State: 60:[22, 26, 72], Operations: ['78-6=72']
Exploring Operation: 26-22=4, Resulting Numbers: [72, 4]
Generated Node #0,2,0: 60:[72, 4] Operation: 26-22=4
Exploring Operation: 72-26=46, Resulting Numbers: [22, 46]
Generated Node #0,2,1: 60:[22, 46] Operation: 72-26=46
Exploring Operation: 22+26=48, Resulting Numbers: [72, 48]
Generated Node #0,2,2: 60:[72, 48] Operation: 22+26=48
Exploring Operation: 72-22=50, Resulting Numbers: [26, 50]
Generated Node #0,2,3: 60:[26, 50] Operation: 72-22=50
Exploring Operation: 22+72=94, Resulting Numbers: [26, 94]
Generated Node #0,2,4: 60:[26, 94] Operation: 22+72=94
Moving to Node #0,2,0
Current State: 60:[72, 4], Operations: ['78-6=72', '26-22=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[26, 50], Operations: ['78-6=72', '72-22=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,60 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[22, 46], Operations: ['78-6=72', '72-26=46']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[72, 48], Operations: ['78-6=72', '22+26=48']
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,60 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[26, 94], Operations: ['78-6=72', '22+72=94']
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 26*94=2444, Resulting Numbers: [2444]
2444,60 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
23,
48,
51,
11
] | 10 |
[
"51-48=3",
"11*3=33",
"33-23=10"
] |
Current State: 10:[23, 48, 51, 11], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [23, 11, 3]
Generated Node #2: [23, 11, 3] from Operation: 51-48=3
Current State: 10:[23, 11, 3], Operations: ['51-48=3']
Exploring Operation: 11*3=33, Resulting Numbers: [23, 33]
Generated Node #3: [23, 33] from Operation: 11*3=33
Current State: 10:[23, 33], Operations: ['51-48=3', '11*3=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[23, 48, 51, 11], Operations: []
Exploring Operation: 48-23=25, Resulting Numbers: [51, 11, 25]
Generated Node #0,0: 10:[51, 11, 25] Operation: 48-23=25
Exploring Operation: 51-48=3, Resulting Numbers: [23, 11, 3]
Generated Node #0,1: 10:[23, 11, 3] Operation: 51-48=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[23, 11, 3], Operations: ['51-48=3']
Exploring Operation: 23-11=12, Resulting Numbers: [3, 12]
Generated Node #0,1,0: 10:[3, 12] Operation: 23-11=12
Exploring Operation: 23-3=20, Resulting Numbers: [11, 20]
Generated Node #0,1,1: 10:[11, 20] Operation: 23-3=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[3, 12], Operations: ['51-48=3', '23-11=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[11, 20], Operations: ['51-48=3', '23-3=20']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[51, 11, 25], Operations: ['48-23=25']
Exploring Operation: 51-11=40, Resulting Numbers: [25, 40]
Generated Node #0,0,0: 10:[25, 40] Operation: 51-11=40
Exploring Operation: 51-25=26, Resulting Numbers: [11, 26]
Generated Node #0,0,1: 10:[11, 26] Operation: 51-25=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[11, 26], Operations: ['48-23=25', '51-25=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[25, 40], Operations: ['48-23=25', '51-11=40']
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 25+40=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
9,
19,
17,
56
] | 94 |
[
"56-9=47",
"19-17=2",
"47*2=94"
] |
Current State: 94:[9, 19, 17, 56], Operations: []
Exploring Operation: 56-9=47, Resulting Numbers: [19, 17, 47]
Generated Node #2: [19, 17, 47] from Operation: 56-9=47
Current State: 94:[19, 17, 47], Operations: ['56-9=47']
Exploring Operation: 19-17=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 19-17=2
Current State: 94:[47, 2], Operations: ['56-9=47', '19-17=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[9, 19, 17, 56], Operations: []
Exploring Operation: 19+17=36, Resulting Numbers: [9, 56, 36]
Generated Node #0,0: 94:[9, 56, 36] Operation: 19+17=36
Exploring Operation: 19-17=2, Resulting Numbers: [9, 56, 2]
Generated Node #0,1: 94:[9, 56, 2] Operation: 19-17=2
Moving to Node #0,1
Current State: 94:[9, 56, 2], Operations: ['19-17=2']
Exploring Operation: 9-2=7, Resulting Numbers: [56, 7]
Generated Node #0,1,0: 94:[56, 7] Operation: 9-2=7
Exploring Operation: 56-9=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 94:[2, 47] Operation: 56-9=47
Moving to Node #0,0
Current State: 94:[9, 56, 36], Operations: ['19+17=36']
Exploring Operation: 56+36=92, Resulting Numbers: [9, 92]
Generated Node #0,0,0: 94:[9, 92] Operation: 56+36=92
Exploring Operation: 56-9=47, Resulting Numbers: [36, 47]
Generated Node #0,0,1: 94:[36, 47] Operation: 56-9=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[9, 92], Operations: ['19+17=36', '56+36=92']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 9+92=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[36, 47], Operations: ['19+17=36', '56-9=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 94:[2, 47], Operations: ['19-17=2', '56-9=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[9, 19, 17, 56], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [9, 56, 2]
Generated Node #0,1: 94:[9, 56, 2] Operation: 19-17=2
Moving to Node #0,1
Current State: 94:[9, 56, 2], Operations: ['19-17=2']
Exploring Operation: 56-9=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 94:[2, 47] Operation: 56-9=47
Moving to Node #0,1,1
Current State: 94:[2, 47], Operations: ['19-17=2', '56-9=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.986979 |
hs_2
|
mult_heuristic
|
[
79,
43,
17,
76
] | 23 |
[
"79-43=36",
"76-17=59",
"59-36=23"
] |
Current State: 23:[79, 43, 17, 76], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [17, 76, 36]
Generated Node #2: [17, 76, 36] from Operation: 79-43=36
Current State: 23:[17, 76, 36], Operations: ['79-43=36']
Exploring Operation: 76-17=59, Resulting Numbers: [36, 59]
Generated Node #3: [36, 59] from Operation: 76-17=59
Current State: 23:[36, 59], Operations: ['79-43=36', '76-17=59']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[79, 43, 17, 76], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [43, 17, 3]
Generated Node #0,0: 23:[43, 17, 3] Operation: 79-76=3
Exploring Operation: 79-43=36, Resulting Numbers: [17, 76, 36]
Generated Node #0,1: 23:[17, 76, 36] Operation: 79-43=36
Exploring Operation: 79-17=62, Resulting Numbers: [43, 76, 62]
Generated Node #0,2: 23:[43, 76, 62] Operation: 79-17=62
Exploring Operation: 76-43=33, Resulting Numbers: [79, 17, 33]
Generated Node #0,3: 23:[79, 17, 33] Operation: 76-43=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[43, 17, 3], Operations: ['79-76=3']
Exploring Operation: 43+3=46, Resulting Numbers: [17, 46]
Generated Node #0,0,0: 23:[17, 46] Operation: 43+3=46
Exploring Operation: 43-3=40, Resulting Numbers: [17, 40]
Generated Node #0,0,1: 23:[17, 40] Operation: 43-3=40
Exploring Operation: 17+3=20, Resulting Numbers: [43, 20]
Generated Node #0,0,2: 23:[43, 20] Operation: 17+3=20
Exploring Operation: 43-17=26, Resulting Numbers: [3, 26]
Generated Node #0,0,3: 23:[3, 26] Operation: 43-17=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[17, 40], Operations: ['79-76=3', '43-3=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,23 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[79, 43, 17, 76], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [43, 17, 3]
Generated Node #0,0: 23:[43, 17, 3] Operation: 79-76=3
Moving to Node #0,0
Current State: 23:[43, 17, 3], Operations: ['79-76=3']
Exploring Operation: 43-3=40, Resulting Numbers: [17, 40]
Generated Node #0,0,1: 23:[17, 40] Operation: 43-3=40
Moving to Node #0,0,1
Current State: 23:[17, 40], Operations: ['79-76=3', '43-3=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
83,
79,
33,
65
] | 67 |
[
"83-79=4",
"33*4=132",
"132-65=67"
] |
Current State: 67:[83, 79, 33, 65], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [33, 65, 4]
Generated Node #2: [33, 65, 4] from Operation: 83-79=4
Current State: 67:[33, 65, 4], Operations: ['83-79=4']
Exploring Operation: 33*4=132, Resulting Numbers: [65, 132]
Generated Node #3: [65, 132] from Operation: 33*4=132
Current State: 67:[65, 132], Operations: ['83-79=4', '33*4=132']
Exploring Operation: 132-65=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[83, 79, 33, 65], Operations: []
Exploring Operation: 33+65=98, Resulting Numbers: [83, 79, 98]
Generated Node #0,0: 67:[83, 79, 98] Operation: 33+65=98
Exploring Operation: 83-33=50, Resulting Numbers: [79, 65, 50]
Generated Node #0,1: 67:[79, 65, 50] Operation: 83-33=50
Exploring Operation: 79-33=46, Resulting Numbers: [83, 65, 46]
Generated Node #0,2: 67:[83, 65, 46] Operation: 79-33=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[79, 65, 50], Operations: ['83-33=50']
Exploring Operation: 79-50=29, Resulting Numbers: [65, 29]
Generated Node #0,1,0: 67:[65, 29] Operation: 79-50=29
Exploring Operation: 65+50=115, Resulting Numbers: [79, 115]
Generated Node #0,1,1: 67:[79, 115] Operation: 65+50=115
Exploring Operation: 79+50=129, Resulting Numbers: [65, 129]
Generated Node #0,1,2: 67:[65, 129] Operation: 79+50=129
Moving to Node #0,1,0
Current State: 67:[65, 29], Operations: ['83-33=50', '79-50=29']
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,67 unequal: No Solution
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[79, 115], Operations: ['83-33=50', '65+50=115']
Exploring Operation: 79*115=9085, Resulting Numbers: [9085]
9085,67 unequal: No Solution
Exploring Operation: 115-79=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 79+115=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[65, 129], Operations: ['83-33=50', '79+50=129']
Exploring Operation: 129-65=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 65*129=8385, Resulting Numbers: [8385]
8385,67 unequal: No Solution
Exploring Operation: 65+129=194, Resulting Numbers: [194]
194,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[83, 65, 46], Operations: ['79-33=46']
Exploring Operation: 65+46=111, Resulting Numbers: [83, 111]
Generated Node #0,2,0: 67:[83, 111] Operation: 65+46=111
Exploring Operation: 83+46=129, Resulting Numbers: [65, 129]
Generated Node #0,2,1: 67:[65, 129] Operation: 83+46=129
Exploring Operation: 83-46=37, Resulting Numbers: [65, 37]
Generated Node #0,2,2: 67:[65, 37] Operation: 83-46=37
Moving to Node #0,2,2
Current State: 67:[65, 37], Operations: ['79-33=46', '83-46=37']
Exploring Operation: 65*37=2405, Resulting Numbers: [2405]
2405,67 unequal: No Solution
Exploring Operation: 65+37=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[83, 111], Operations: ['79-33=46', '65+46=111']
Exploring Operation: 83*111=9213, Resulting Numbers: [9213]
9213,67 unequal: No Solution
Exploring Operation: 83+111=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 111-83=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[65, 129], Operations: ['79-33=46', '83+46=129']
Exploring Operation: 65*129=8385, Resulting Numbers: [8385]
8385,67 unequal: No Solution
Exploring Operation: 129-65=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 65+129=194, Resulting Numbers: [194]
194,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
Current State: 67:[83, 79, 98], Operations: ['33+65=98']
Exploring Operation: 98-79=19, Resulting Numbers: [83, 19]
Generated Node #0,0,0: 67:[83, 19] Operation: 98-79=19
Exploring Operation: 98-83=15, Resulting Numbers: [79, 15]
Generated Node #0,0,1: 67:[79, 15] Operation: 98-83=15
Exploring Operation: 83-79=4, Resulting Numbers: [98, 4]
Generated Node #0,0,2: 67:[98, 4] Operation: 83-79=4
Moving to Node #0,0,0
Current State: 67:[83, 19], Operations: ['33+65=98', '98-79=19']
Exploring Operation: 83*19=1577, Resulting Numbers: [1577]
1577,67 unequal: No Solution
Exploring Operation: 83+19=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[79, 15], Operations: ['33+65=98', '98-83=15']
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,67 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[98, 4], Operations: ['33+65=98', '83-79=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,67 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
|
[
97,
54,
70,
33
] | 66 |
[
"97-70=27",
"54*33=1782",
"1782/27=66"
] |
Current State: 66:[97, 54, 70, 33], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [54, 33, 27]
Generated Node #2: [54, 33, 27] from Operation: 97-70=27
Current State: 66:[54, 33, 27], Operations: ['97-70=27']
Exploring Operation: 54*33=1782, Resulting Numbers: [27, 1782]
Generated Node #3: [27, 1782] from Operation: 54*33=1782
Current State: 66:[27, 1782], Operations: ['97-70=27', '54*33=1782']
Exploring Operation: 1782/27=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[97, 54, 70, 33], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [97, 33, 16]
Generated Node #0,0: 66:[97, 33, 16] Operation: 70-54=16
Exploring Operation: 97-33=64, Resulting Numbers: [54, 70, 64]
Generated Node #0,1: 66:[54, 70, 64] Operation: 97-33=64
Exploring Operation: 97-54=43, Resulting Numbers: [70, 33, 43]
Generated Node #0,2: 66:[70, 33, 43] Operation: 97-54=43
Exploring Operation: 97-70=27, Resulting Numbers: [54, 33, 27]
Generated Node #0,3: 66:[54, 33, 27] Operation: 97-70=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[70, 33, 43], Operations: ['97-54=43']
Exploring Operation: 33+43=76, Resulting Numbers: [70, 76]
Generated Node #0,2,0: 66:[70, 76] Operation: 33+43=76
Exploring Operation: 43-33=10, Resulting Numbers: [70, 10]
Generated Node #0,2,1: 66:[70, 10] Operation: 43-33=10
Exploring Operation: 70-43=27, Resulting Numbers: [33, 27]
Generated Node #0,2,2: 66:[33, 27] Operation: 70-43=27
Exploring Operation: 70-33=37, Resulting Numbers: [43, 37]
Generated Node #0,2,3: 66:[43, 37] Operation: 70-33=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[70, 10], Operations: ['97-54=43', '43-33=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,66 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[33, 27], Operations: ['97-54=43', '70-43=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,66 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[70, 76], Operations: ['97-54=43', '33+43=76']
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,66 unequal: No Solution
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,66 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[43, 37], Operations: ['97-54=43', '70-33=37']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[54, 33, 27], Operations: ['97-70=27']
Exploring Operation: 33-27=6, Resulting Numbers: [54, 6]
Generated Node #0,3,0: 66:[54, 6] Operation: 33-27=6
Exploring Operation: 54-33=21, Resulting Numbers: [27, 21]
Generated Node #0,3,1: 66:[27, 21] Operation: 54-33=21
Exploring Operation: 54-27=27, Resulting Numbers: [33, 27]
Generated Node #0,3,2: 66:[33, 27] Operation: 54-27=27
Exploring Operation: 54/27=2, Resulting Numbers: [33, 2]
Generated Node #0,3,3: 66:[33, 2] Operation: 54/27=2
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[33, 2], Operations: ['97-70=27', '54/27=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[97, 54, 70, 33], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [54, 33, 27]
Generated Node #0,3: 66:[54, 33, 27] Operation: 97-70=27
Moving to Node #0,3
Current State: 66:[54, 33, 27], Operations: ['97-70=27']
Exploring Operation: 54/27=2, Resulting Numbers: [33, 2]
Generated Node #0,3,3: 66:[33, 2] Operation: 54/27=2
Moving to Node #0,3,3
Current State: 66:[33, 2], Operations: ['97-70=27', '54/27=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 |
hs_4
|
mult_heuristic
|
[
44,
45,
92,
72
] | 30 |
[
"92-44=48",
"45*48=2160",
"2160/72=30"
] |
Current State: 30:[44, 45, 92, 72], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [45, 72, 48]
Generated Node #2: [45, 72, 48] from Operation: 92-44=48
Current State: 30:[45, 72, 48], Operations: ['92-44=48']
Exploring Operation: 45*48=2160, Resulting Numbers: [72, 2160]
Generated Node #3: [72, 2160] from Operation: 45*48=2160
Current State: 30:[72, 2160], Operations: ['92-44=48', '45*48=2160']
Exploring Operation: 2160/72=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[44, 45, 92, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [44, 45, 20]
Generated Node #0,0: 30:[44, 45, 20] Operation: 92-72=20
Exploring Operation: 72-45=27, Resulting Numbers: [44, 92, 27]
Generated Node #0,1: 30:[44, 92, 27] Operation: 72-45=27
Exploring Operation: 72-44=28, Resulting Numbers: [45, 92, 28]
Generated Node #0,2: 30:[45, 92, 28] Operation: 72-44=28
Exploring Operation: 92-44=48, Resulting Numbers: [45, 72, 48]
Generated Node #0,3: 30:[45, 72, 48] Operation: 92-44=48
Exploring Operation: 92-45=47, Resulting Numbers: [44, 72, 47]
Generated Node #0,4: 30:[44, 72, 47] Operation: 92-45=47
Moving to Node #0,0
Current State: 30:[44, 45, 20], Operations: ['92-72=20']
Exploring Operation: 45-44=1, Resulting Numbers: [20, 1]
Generated Node #0,0,0: 30:[20, 1] Operation: 45-44=1
Exploring Operation: 45-20=25, Resulting Numbers: [44, 25]
Generated Node #0,0,1: 30:[44, 25] Operation: 45-20=25
Exploring Operation: 44+20=64, Resulting Numbers: [45, 64]
Generated Node #0,0,2: 30:[45, 64] Operation: 44+20=64
Exploring Operation: 45+20=65, Resulting Numbers: [44, 65]
Generated Node #0,0,3: 30:[44, 65] Operation: 45+20=65
Exploring Operation: 44-20=24, Resulting Numbers: [45, 24]
Generated Node #0,0,4: 30:[45, 24] Operation: 44-20=24
Moving to Node #0,4
Current State: 30:[44, 72, 47], Operations: ['92-45=47']
Exploring Operation: 72-47=25, Resulting Numbers: [44, 25]
Generated Node #0,4,0: 30:[44, 25] Operation: 72-47=25
Exploring Operation: 47-44=3, Resulting Numbers: [72, 3]
Generated Node #0,4,1: 30:[72, 3] Operation: 47-44=3
Exploring Operation: 44+72=116, Resulting Numbers: [47, 116]
Generated Node #0,4,2: 30:[47, 116] Operation: 44+72=116
Exploring Operation: 72-44=28, Resulting Numbers: [47, 28]
Generated Node #0,4,3: 30:[47, 28] Operation: 72-44=28
Exploring Operation: 44+47=91, Resulting Numbers: [72, 91]
Generated Node #0,4,4: 30:[72, 91] Operation: 44+47=91
Moving to Node #0,3
Current State: 30:[45, 72, 48], Operations: ['92-44=48']
Exploring Operation: 48-45=3, Resulting Numbers: [72, 3]
Generated Node #0,3,0: 30:[72, 3] Operation: 48-45=3
Exploring Operation: 45+72=117, Resulting Numbers: [48, 117]
Generated Node #0,3,1: 30:[48, 117] Operation: 45+72=117
Exploring Operation: 72-45=27, Resulting Numbers: [48, 27]
Generated Node #0,3,2: 30:[48, 27] Operation: 72-45=27
Exploring Operation: 45+48=93, Resulting Numbers: [72, 93]
Generated Node #0,3,3: 30:[72, 93] Operation: 45+48=93
Exploring Operation: 72-48=24, Resulting Numbers: [45, 24]
Generated Node #0,3,4: 30:[45, 24] Operation: 72-48=24
Moving to Node #0,1
Current State: 30:[44, 92, 27], Operations: ['72-45=27']
Exploring Operation: 44-27=17, Resulting Numbers: [92, 17]
Generated Node #0,1,0: 30:[92, 17] Operation: 44-27=17
Exploring Operation: 92+27=119, Resulting Numbers: [44, 119]
Generated Node #0,1,1: 30:[44, 119] Operation: 92+27=119
Exploring Operation: 92-27=65, Resulting Numbers: [44, 65]
Generated Node #0,1,2: 30:[44, 65] Operation: 92-27=65
Exploring Operation: 44+27=71, Resulting Numbers: [92, 71]
Generated Node #0,1,3: 30:[92, 71] Operation: 44+27=71
Exploring Operation: 92-44=48, Resulting Numbers: [27, 48]
Generated Node #0,1,4: 30:[27, 48] Operation: 92-44=48
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 30:[27, 48], Operations: ['72-45=27', '92-44=48']
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[44, 65], Operations: ['72-45=27', '92-27=65']
Exploring Operation: 44*65=2860, Resulting Numbers: [2860]
2860,30 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 44+65=109, Resulting Numbers: [109]
109,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[92, 17], Operations: ['72-45=27', '44-27=17']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 92*17=1564, Resulting Numbers: [1564]
1564,30 unequal: No Solution
Exploring Operation: 92+17=109, Resulting Numbers: [109]
109,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[44, 119], Operations: ['72-45=27', '92+27=119']
Exploring Operation: 44*119=5236, Resulting Numbers: [5236]
5236,30 unequal: No Solution
Exploring Operation: 119-44=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 44+119=163, Resulting Numbers: [163]
163,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[92, 71], Operations: ['72-45=27', '44+27=71']
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,30 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 30:[45, 92, 28], Operations: ['72-44=28']
Exploring Operation: 92-28=64, Resulting Numbers: [45, 64]
Generated Node #0,2,0: 30:[45, 64] Operation: 92-28=64
Exploring Operation: 45-28=17, Resulting Numbers: [92, 17]
Generated Node #0,2,1: 30:[92, 17] Operation: 45-28=17
Exploring Operation: 92+28=120, Resulting Numbers: [45, 120]
Generated Node #0,2,2: 30:[45, 120] Operation: 92+28=120
Exploring Operation: 45+28=73, Resulting Numbers: [92, 73]
Generated Node #0,2,3: 30:[92, 73] Operation: 45+28=73
Exploring Operation: 92-45=47, Resulting Numbers: [28, 47]
Generated Node #0,2,4: 30:[28, 47] Operation: 92-45=47
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[28, 47], Operations: ['72-44=28', '92-45=47']
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,30 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[45, 64], Operations: ['72-44=28', '92-28=64']
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,30 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[92, 17], Operations: ['72-44=28', '45-28=17']
Exploring Operation: 92*17=1564, Resulting Numbers: [1564]
1564,30 unequal: No Solution
Exploring Operation: 92+17=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[45, 120], Operations: ['72-44=28', '92+28=120']
Exploring Operation: 45*120=5400, Resulting Numbers: [5400]
5400,30 unequal: No Solution
Exploring Operation: 45+120=165, Resulting Numbers: [165]
165,30 unequal: No Solution
Exploring Operation: 120-45=75, Resulting Numbers: [75]
75,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[92, 73], Operations: ['72-44=28', '45+28=73']
Exploring Operation: 92+73=165, Resulting Numbers: [165]
165,30 unequal: No Solution
Exploring Operation: 92*73=6716, Resulting Numbers: [6716]
6716,30 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,30 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: 30:[20, 1], Operations: ['92-72=20', '45-44=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[44, 25], Operations: ['92-45=47', '72-47=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,30 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[47, 28], Operations: ['92-45=47', '72-44=28']
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,30 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[44, 25], Operations: ['92-72=20', '45-20=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,30 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[45, 24], Operations: ['92-72=20', '44-20=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,30 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[45, 24], Operations: ['92-44=48', '72-48=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,30 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[48, 27], Operations: ['92-44=48', '72-45=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,30 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[72, 3], Operations: ['92-44=48', '48-45=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,30 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[72, 3], Operations: ['92-45=47', '47-44=3']
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,30 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[44, 65], Operations: ['92-72=20', '45+20=65']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 44+65=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Exploring Operation: 44*65=2860, Resulting Numbers: [2860]
2860,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[45, 64], Operations: ['92-72=20', '44+20=64']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,30 unequal: No Solution
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[72, 91], Operations: ['92-45=47', '44+47=91']
Exploring Operation: 72+91=163, Resulting Numbers: [163]
163,30 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 72*91=6552, Resulting Numbers: [6552]
6552,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[47, 116], Operations: ['92-45=47', '44+72=116']
Exploring Operation: 47+116=163, Resulting Numbers: [163]
163,30 unequal: No Solution
Exploring Operation: 116-47=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 47*116=5452, Resulting Numbers: [5452]
5452,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[48, 117], Operations: ['92-44=48', '45+72=117']
Exploring Operation: 117-48=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 48+117=165, Resulting Numbers: [165]
165,30 unequal: No Solution
Exploring Operation: 48*117=5616, Resulting Numbers: [5616]
5616,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[72, 93], Operations: ['92-44=48', '45+48=93']
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,30 unequal: No Solution
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,30 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,30 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
39,
93,
84,
5
] | 84 |
[
"84-39=45",
"45/5=9",
"93-9=84"
] |
Current State: 84:[39, 93, 84, 5], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [93, 5, 45]
Generated Node #2: [93, 5, 45] from Operation: 84-39=45
Current State: 84:[93, 5, 45], Operations: ['84-39=45']
Exploring Operation: 45/5=9, Resulting Numbers: [93, 9]
Generated Node #3: [93, 9] from Operation: 45/5=9
Current State: 84:[93, 9], Operations: ['84-39=45', '45/5=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[39, 93, 84, 5], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [93, 5, 45]
Generated Node #0,0: 84:[93, 5, 45] Operation: 84-39=45
Exploring Operation: 93-5=88, Resulting Numbers: [39, 84, 88]
Generated Node #0,1: 84:[39, 84, 88] Operation: 93-5=88
Exploring Operation: 93-39=54, Resulting Numbers: [84, 5, 54]
Generated Node #0,2: 84:[84, 5, 54] Operation: 93-39=54
Exploring Operation: 93-84=9, Resulting Numbers: [39, 5, 9]
Generated Node #0,3: 84:[39, 5, 9] Operation: 93-84=9
Exploring Operation: 39+5=44, Resulting Numbers: [93, 84, 44]
Generated Node #0,4: 84:[93, 84, 44] Operation: 39+5=44
Moving to Node #0,3
Current State: 84:[39, 5, 9], Operations: ['93-84=9']
Exploring Operation: 5*9=45, Resulting Numbers: [39, 45]
Generated Node #0,3,0: 84:[39, 45] Operation: 5*9=45
Exploring Operation: 9-5=4, Resulting Numbers: [39, 4]
Generated Node #0,3,1: 84:[39, 4] Operation: 9-5=4
Exploring Operation: 39-9=30, Resulting Numbers: [5, 30]
Generated Node #0,3,2: 84:[5, 30] Operation: 39-9=30
Exploring Operation: 39+5=44, Resulting Numbers: [9, 44]
Generated Node #0,3,3: 84:[9, 44] Operation: 39+5=44
Exploring Operation: 5+9=14, Resulting Numbers: [39, 14]
Generated Node #0,3,4: 84:[39, 14] Operation: 5+9=14
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[39, 4], Operations: ['93-84=9', '9-5=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,84 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,84 unequal: No Solution
No 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: 84:[5, 30], Operations: ['93-84=9', '39-9=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,84 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No 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: 84:[39, 14], Operations: ['93-84=9', '5+9=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,84 unequal: No Solution
No 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: 84:[9, 44], Operations: ['93-84=9', '39+5=44']
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,84 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,84 unequal: No Solution
No 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: 84:[39, 45], Operations: ['93-84=9', '5*9=45']
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,84 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[39, 93, 84, 5], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [39, 5, 9]
Generated Node #0,3: 84:[39, 5, 9] Operation: 93-84=9
Moving to Node #0,3
Current State: 84:[39, 5, 9], Operations: ['93-84=9']
Exploring Operation: 5*9=45, Resulting Numbers: [39, 45]
Generated Node #0,3,0: 84:[39, 45] Operation: 5*9=45
Moving to Node #0,3,0
Current State: 84:[39, 45], Operations: ['93-84=9', '5*9=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 |
hs_5
|
sum_heuristic
|
[
86,
23,
12,
49
] | 72 |
[
"86+23=109",
"49-12=37",
"109-37=72"
] |
Current State: 72:[86, 23, 12, 49], Operations: []
Exploring Operation: 86+23=109, Resulting Numbers: [12, 49, 109]
Generated Node #2: [12, 49, 109] from Operation: 86+23=109
Current State: 72:[12, 49, 109], Operations: ['86+23=109']
Exploring Operation: 49-12=37, Resulting Numbers: [109, 37]
Generated Node #3: [109, 37] from Operation: 49-12=37
Current State: 72:[109, 37], Operations: ['86+23=109', '49-12=37']
Exploring Operation: 109-37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[86, 23, 12, 49], Operations: []
Exploring Operation: 23+49=72, Resulting Numbers: [86, 12, 72]
Generated Node #0,0: 72:[86, 12, 72] Operation: 23+49=72
Exploring Operation: 86-49=37, Resulting Numbers: [23, 12, 37]
Generated Node #0,1: 72:[23, 12, 37] Operation: 86-49=37
Exploring Operation: 86-12=74, Resulting Numbers: [23, 49, 74]
Generated Node #0,2: 72:[23, 49, 74] Operation: 86-12=74
Exploring Operation: 49-23=26, Resulting Numbers: [86, 12, 26]
Generated Node #0,3: 72:[86, 12, 26] Operation: 49-23=26
Moving to Node #0,1
Current State: 72:[23, 12, 37], Operations: ['86-49=37']
Exploring Operation: 37-12=25, Resulting Numbers: [23, 25]
Generated Node #0,1,0: 72:[23, 25] Operation: 37-12=25
Exploring Operation: 23-12=11, Resulting Numbers: [37, 11]
Generated Node #0,1,1: 72:[37, 11] Operation: 23-12=11
Exploring Operation: 37-23=14, Resulting Numbers: [12, 14]
Generated Node #0,1,2: 72:[12, 14] Operation: 37-23=14
Exploring Operation: 23+12=35, Resulting Numbers: [37, 35]
Generated Node #0,1,3: 72:[37, 35] Operation: 23+12=35
Moving to Node #0,0
Current State: 72:[86, 12, 72], Operations: ['23+49=72']
Exploring Operation: 86-12=74, Resulting Numbers: [72, 74]
Generated Node #0,0,0: 72:[72, 74] Operation: 86-12=74
Exploring Operation: 86+12=98, Resulting Numbers: [72, 98]
Generated Node #0,0,1: 72:[72, 98] Operation: 86+12=98
Exploring Operation: 86-72=14, Resulting Numbers: [12, 14]
Generated Node #0,0,2: 72:[12, 14] Operation: 86-72=14
Exploring Operation: 72/12=6, Resulting Numbers: [86, 6]
Generated Node #0,0,3: 72:[86, 6] Operation: 72/12=6
Moving to Node #0,3
Current State: 72:[86, 12, 26], Operations: ['49-23=26']
Exploring Operation: 12+26=38, Resulting Numbers: [86, 38]
Generated Node #0,3,0: 72:[86, 38] Operation: 12+26=38
Exploring Operation: 86-26=60, Resulting Numbers: [12, 60]
Generated Node #0,3,1: 72:[12, 60] Operation: 86-26=60
Exploring Operation: 86-12=74, Resulting Numbers: [26, 74]
Generated Node #0,3,2: 72:[26, 74] Operation: 86-12=74
Exploring Operation: 26-12=14, Resulting Numbers: [86, 14]
Generated Node #0,3,3: 72:[86, 14] Operation: 26-12=14
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[26, 74], Operations: ['49-23=26', '86-12=74']
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,72 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 72:[12, 60], Operations: ['49-23=26', '86-26=60']
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[86, 23, 12, 49], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [86, 12, 26]
Generated Node #0,3: 72:[86, 12, 26] Operation: 49-23=26
Moving to Node #0,3
Current State: 72:[86, 12, 26], Operations: ['49-23=26']
Exploring Operation: 86-26=60, Resulting Numbers: [12, 60]
Generated Node #0,3,1: 72:[12, 60] Operation: 86-26=60
Moving to Node #0,3,1
Current State: 72:[12, 60], Operations: ['49-23=26', '86-26=60']
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 |
hs_4
|
mult_heuristic
|
[
8,
77,
79,
42
] | 25 |
[
"8+42=50",
"79-77=2",
"50/2=25"
] |
Current State: 25:[8, 77, 79, 42], Operations: []
Exploring Operation: 8+42=50, Resulting Numbers: [77, 79, 50]
Generated Node #2: [77, 79, 50] from Operation: 8+42=50
Current State: 25:[77, 79, 50], Operations: ['8+42=50']
Exploring Operation: 79-77=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 79-77=2
Current State: 25:[50, 2], Operations: ['8+42=50', '79-77=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[8, 77, 79, 42], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [8, 77, 37]
Generated Node #0,0: 25:[8, 77, 37] Operation: 79-42=37
Exploring Operation: 79-8=71, Resulting Numbers: [77, 42, 71]
Generated Node #0,1: 25:[77, 42, 71] Operation: 79-8=71
Exploring Operation: 77-42=35, Resulting Numbers: [8, 79, 35]
Generated Node #0,2: 25:[8, 79, 35] Operation: 77-42=35
Exploring Operation: 77-8=69, Resulting Numbers: [79, 42, 69]
Generated Node #0,3: 25:[79, 42, 69] Operation: 77-8=69
Exploring Operation: 79-77=2, Resulting Numbers: [8, 42, 2]
Generated Node #0,4: 25:[8, 42, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[8, 42, 2], Operations: ['79-77=2']
Exploring Operation: 42-2=40, Resulting Numbers: [8, 40]
Generated Node #0,4,0: 25:[8, 40] Operation: 42-2=40
Exploring Operation: 42-8=34, Resulting Numbers: [2, 34]
Generated Node #0,4,1: 25:[2, 34] Operation: 42-8=34
Exploring Operation: 8-2=6, Resulting Numbers: [42, 6]
Generated Node #0,4,2: 25:[42, 6] Operation: 8-2=6
Exploring Operation: 8/2=4, Resulting Numbers: [42, 4]
Generated Node #0,4,3: 25:[42, 4] Operation: 8/2=4
Exploring Operation: 42/2=21, Resulting Numbers: [8, 21]
Generated Node #0,4,4: 25:[8, 21] Operation: 42/2=21
Moving to Node #0,4,4
Current State: 25:[8, 21], Operations: ['79-77=2', '42/2=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[2, 34], Operations: ['79-77=2', '42-8=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[8, 40], Operations: ['79-77=2', '42-2=40']
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[42, 6], Operations: ['79-77=2', '8-2=6']
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,25 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[42, 4], Operations: ['79-77=2', '8/2=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[8, 77, 37], Operations: ['79-42=37']
Exploring Operation: 77-8=69, Resulting Numbers: [37, 69]
Generated Node #0,0,0: 25:[37, 69] Operation: 77-8=69
Exploring Operation: 37-8=29, Resulting Numbers: [77, 29]
Generated Node #0,0,1: 25:[77, 29] Operation: 37-8=29
Exploring Operation: 77-37=40, Resulting Numbers: [8, 40]
Generated Node #0,0,2: 25:[8, 40] Operation: 77-37=40
Exploring Operation: 8+77=85, Resulting Numbers: [37, 85]
Generated Node #0,0,3: 25:[37, 85] Operation: 8+77=85
Exploring Operation: 8+37=45, Resulting Numbers: [77, 45]
Generated Node #0,0,4: 25:[77, 45] Operation: 8+37=45
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[8, 40], Operations: ['79-42=37', '77-37=40']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,25 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,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:[37, 69], Operations: ['79-42=37', '77-8=69']
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,25 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,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,1
Current State: 25:[77, 29], Operations: ['79-42=37', '37-8=29']
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,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,3
Current State: 25:[37, 85], Operations: ['79-42=37', '8+77=85']
Exploring Operation: 37*85=3145, Resulting Numbers: [3145]
3145,25 unequal: No Solution
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 37+85=122, Resulting Numbers: [122]
122,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,4
Current State: 25:[77, 45], Operations: ['79-42=37', '8+37=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,25 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,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,2
Current State: 25:[8, 79, 35], Operations: ['77-42=35']
Exploring Operation: 8+79=87, Resulting Numbers: [35, 87]
Generated Node #0,2,0: 25:[35, 87] Operation: 8+79=87
Exploring Operation: 35-8=27, Resulting Numbers: [79, 27]
Generated Node #0,2,1: 25:[79, 27] Operation: 35-8=27
Exploring Operation: 79-35=44, Resulting Numbers: [8, 44]
Generated Node #0,2,2: 25:[8, 44] Operation: 79-35=44
Exploring Operation: 79-8=71, Resulting Numbers: [35, 71]
Generated Node #0,2,3: 25:[35, 71] Operation: 79-8=71
Exploring Operation: 8+35=43, Resulting Numbers: [79, 43]
Generated Node #0,2,4: 25:[79, 43] Operation: 8+35=43
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[8, 44], Operations: ['77-42=35', '79-35=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[79, 27], Operations: ['77-42=35', '35-8=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,25 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 25:[35, 71], Operations: ['77-42=35', '79-8=71']
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 35*71=2485, Resulting Numbers: [2485]
2485,25 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[35, 87], Operations: ['77-42=35', '8+79=87']
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,25 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 25:[79, 43], Operations: ['77-42=35', '8+35=43']
Exploring Operation: 79*43=3397, Resulting Numbers: [3397]
3397,25 unequal: No Solution
Exploring Operation: 79+43=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,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:[77, 42, 71], Operations: ['79-8=71']
Exploring Operation: 77+71=148, Resulting Numbers: [42, 148]
Generated Node #0,1,0: 25:[42, 148] Operation: 77+71=148
Exploring Operation: 77-42=35, Resulting Numbers: [71, 35]
Generated Node #0,1,1: 25:[71, 35] Operation: 77-42=35
Exploring Operation: 71-42=29, Resulting Numbers: [77, 29]
Generated Node #0,1,2: 25:[77, 29] Operation: 71-42=29
Exploring Operation: 77-71=6, Resulting Numbers: [42, 6]
Generated Node #0,1,3: 25:[42, 6] Operation: 77-71=6
Exploring Operation: 77+42=119, Resulting Numbers: [71, 119]
Generated Node #0,1,4: 25:[71, 119] Operation: 77+42=119
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[42, 6], Operations: ['79-8=71', '77-71=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,25 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[71, 35], Operations: ['79-8=71', '77-42=35']
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,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,1,2
Current State: 25:[77, 29], Operations: ['79-8=71', '71-42=29']
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,25 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,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,1,0
Current State: 25:[42, 148], Operations: ['79-8=71', '77+71=148']
Exploring Operation: 148-42=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 42+148=190, Resulting Numbers: [190]
190,25 unequal: No Solution
Exploring Operation: 42*148=6216, Resulting Numbers: [6216]
6216,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,1,4
Current State: 25:[71, 119], Operations: ['79-8=71', '77+42=119']
Exploring Operation: 71+119=190, Resulting Numbers: [190]
190,25 unequal: No Solution
Exploring Operation: 71*119=8449, Resulting Numbers: [8449]
8449,25 unequal: No Solution
Exploring Operation: 119-71=48, Resulting Numbers: [48]
48,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,3
Current State: 25:[79, 42, 69], Operations: ['77-8=69']
Exploring Operation: 69-42=27, Resulting Numbers: [79, 27]
Generated Node #0,3,0: 25:[79, 27] Operation: 69-42=27
Exploring Operation: 79-42=37, Resulting Numbers: [69, 37]
Generated Node #0,3,1: 25:[69, 37] Operation: 79-42=37
Exploring Operation: 79+69=148, Resulting Numbers: [42, 148]
Generated Node #0,3,2: 25:[42, 148] Operation: 79+69=148
Exploring Operation: 79-69=10, Resulting Numbers: [42, 10]
Generated Node #0,3,3: 25:[42, 10] Operation: 79-69=10
Exploring Operation: 79+42=121, Resulting Numbers: [69, 121]
Generated Node #0,3,4: 25:[69, 121] Operation: 79+42=121
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 25:[42, 10], Operations: ['77-8=69', '79-69=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,25 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 25:[79, 27], Operations: ['77-8=69', '69-42=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[69, 37], Operations: ['77-8=69', '79-42=37']
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,25 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[42, 148], Operations: ['77-8=69', '79+69=148']
Exploring Operation: 148-42=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 42+148=190, Resulting Numbers: [190]
190,25 unequal: No Solution
Exploring Operation: 42*148=6216, Resulting Numbers: [6216]
6216,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[69, 121], Operations: ['77-8=69', '79+42=121']
Exploring Operation: 69+121=190, Resulting Numbers: [190]
190,25 unequal: No Solution
Exploring Operation: 69*121=8349, Resulting Numbers: [8349]
8349,25 unequal: No Solution
Exploring Operation: 121-69=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
21,
27,
60,
90
] | 24 |
[
"27-21=6",
"90-60=30",
"30-6=24"
] |
Current State: 24:[21, 27, 60, 90], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [60, 90, 6]
Generated Node #2: [60, 90, 6] from Operation: 27-21=6
Current State: 24:[60, 90, 6], Operations: ['27-21=6']
Exploring Operation: 90-60=30, Resulting Numbers: [6, 30]
Generated Node #3: [6, 30] from Operation: 90-60=30
Current State: 24:[6, 30], Operations: ['27-21=6', '90-60=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[21, 27, 60, 90], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [21, 27, 30]
Generated Node #0,0: 24:[21, 27, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[21, 27, 30], Operations: ['90-60=30']
Exploring Operation: 30-27=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 24:[21, 3] Operation: 30-27=3
Moving to Node #0,0,0
Current State: 24:[21, 3], Operations: ['90-60=30', '30-27=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[21, 27, 60, 90], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [21, 27, 30]
Generated Node #0,0: 24:[21, 27, 30] Operation: 90-60=30
Moving to Node #0,0
Current State: 24:[21, 27, 30], Operations: ['90-60=30']
Exploring Operation: 30-27=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 24:[21, 3] Operation: 30-27=3
Moving to Node #0,0,0
Current State: 24:[21, 3], Operations: ['90-60=30', '30-27=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
41,
70,
2,
7
] | 87 |
[
"41-7=34",
"34/2=17",
"70+17=87"
] |
Current State: 87:[41, 70, 2, 7], Operations: []
Exploring Operation: 41-7=34, Resulting Numbers: [70, 2, 34]
Generated Node #2: [70, 2, 34] from Operation: 41-7=34
Current State: 87:[70, 2, 34], Operations: ['41-7=34']
Exploring Operation: 34/2=17, Resulting Numbers: [70, 17]
Generated Node #3: [70, 17] from Operation: 34/2=17
Current State: 87:[70, 17], Operations: ['41-7=34', '34/2=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[41, 70, 2, 7], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [41, 2, 10]
Generated Node #0,0: 87:[41, 2, 10] Operation: 70/7=10
Exploring Operation: 70-41=29, Resulting Numbers: [2, 7, 29]
Generated Node #0,1: 87:[2, 7, 29] Operation: 70-41=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[2, 7, 29], Operations: ['70-41=29']
Exploring Operation: 7-2=5, Resulting Numbers: [29, 5]
Generated Node #0,1,0: 87:[29, 5] Operation: 7-2=5
Exploring Operation: 2+7=9, Resulting Numbers: [29, 9]
Generated Node #0,1,1: 87:[29, 9] Operation: 2+7=9
Moving to Node #0,1,0
Current State: 87:[29, 5], Operations: ['70-41=29', '7-2=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[29, 9], Operations: ['70-41=29', '2+7=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[41, 2, 10], Operations: ['70/7=10']
Exploring Operation: 41*2=82, Resulting Numbers: [10, 82]
Generated Node #0,0,0: 87:[10, 82] Operation: 41*2=82
Exploring Operation: 41-10=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 87:[2, 31] Operation: 41-10=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[2, 31], Operations: ['70/7=10', '41-10=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[10, 82], Operations: ['70/7=10', '41*2=82']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 10+82=92, Resulting Numbers: [92]
92,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
60,
65,
79,
32
] | 14 |
[
"60+65=125",
"79+32=111",
"125-111=14"
] |
Current State: 14:[60, 65, 79, 32], Operations: []
Exploring Operation: 60+65=125, Resulting Numbers: [79, 32, 125]
Generated Node #2: [79, 32, 125] from Operation: 60+65=125
Current State: 14:[79, 32, 125], Operations: ['60+65=125']
Exploring Operation: 79+32=111, Resulting Numbers: [125, 111]
Generated Node #3: [125, 111] from Operation: 79+32=111
Current State: 14:[125, 111], Operations: ['60+65=125', '79+32=111']
Exploring Operation: 125-111=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[60, 65, 79, 32], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [60, 32, 14]
Generated Node #0,0: 14:[60, 32, 14] Operation: 79-65=14
Exploring Operation: 65-60=5, Resulting Numbers: [79, 32, 5]
Generated Node #0,1: 14:[79, 32, 5] Operation: 65-60=5
Exploring Operation: 79-60=19, Resulting Numbers: [65, 32, 19]
Generated Node #0,2: 14:[65, 32, 19] Operation: 79-60=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[60, 32, 14], Operations: ['79-65=14']
Exploring Operation: 60-32=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 14:[14, 28] Operation: 60-32=28
Exploring Operation: 32-14=18, Resulting Numbers: [60, 18]
Generated Node #0,0,1: 14:[60, 18] Operation: 32-14=18
Exploring Operation: 60-14=46, Resulting Numbers: [32, 46]
Generated Node #0,0,2: 14:[32, 46] Operation: 60-14=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[14, 28], Operations: ['79-65=14', '60-32=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[60, 65, 79, 32], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [60, 32, 14]
Generated Node #0,0: 14:[60, 32, 14] Operation: 79-65=14
Moving to Node #0,0
Current State: 14:[60, 32, 14], Operations: ['79-65=14']
Exploring Operation: 60-32=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 14:[14, 28] Operation: 60-32=28
Moving to Node #0,0,0
Current State: 14:[14, 28], Operations: ['79-65=14', '60-32=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
90,
16,
52,
52
] | 79 |
[
"52*52=2704",
"2704/16=169",
"169-90=79"
] |
Current State: 79:[90, 16, 52, 52], Operations: []
Exploring Operation: 52*52=2704, Resulting Numbers: [90, 16, 2704]
Generated Node #2: [90, 16, 2704] from Operation: 52*52=2704
Current State: 79:[90, 16, 2704], Operations: ['52*52=2704']
Exploring Operation: 2704/16=169, Resulting Numbers: [90, 169]
Generated Node #3: [90, 169] from Operation: 2704/16=169
Current State: 79:[90, 169], Operations: ['52*52=2704', '2704/16=169']
Exploring Operation: 169-90=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[90, 16, 52, 52], Operations: []
Exploring Operation: 52-16=36, Resulting Numbers: [90, 52, 36]
Generated Node #0,0: 79:[90, 52, 36] Operation: 52-16=36
Exploring Operation: 16+52=68, Resulting Numbers: [90, 52, 68]
Generated Node #0,1: 79:[90, 52, 68] Operation: 16+52=68
Exploring Operation: 90+16=106, Resulting Numbers: [52, 52, 106]
Generated Node #0,2: 79:[52, 52, 106] Operation: 90+16=106
Exploring Operation: 90-16=74, Resulting Numbers: [52, 52, 74]
Generated Node #0,3: 79:[52, 52, 74] Operation: 90-16=74
Exploring Operation: 16+52=68, Resulting Numbers: [90, 52, 68]
Generated Node #0,4: 79:[90, 52, 68] Operation: 16+52=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[90, 52, 68], Operations: ['16+52=68']
Exploring Operation: 52+68=120, Resulting Numbers: [90, 120]
Generated Node #0,1,0: 79:[90, 120] Operation: 52+68=120
Exploring Operation: 68-52=16, Resulting Numbers: [90, 16]
Generated Node #0,1,1: 79:[90, 16] Operation: 68-52=16
Exploring Operation: 90-52=38, Resulting Numbers: [68, 38]
Generated Node #0,1,2: 79:[68, 38] Operation: 90-52=38
Exploring Operation: 90-68=22, Resulting Numbers: [52, 22]
Generated Node #0,1,3: 79:[52, 22] Operation: 90-68=22
Exploring Operation: 90+52=142, Resulting Numbers: [68, 142]
Generated Node #0,1,4: 79:[68, 142] Operation: 90+52=142
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[90, 120], Operations: ['16+52=68', '52+68=120']
Exploring Operation: 120-90=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 90+120=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 90*120=10800, Resulting Numbers: [10800]
10800,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[68, 38], Operations: ['16+52=68', '90-52=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,79 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[90, 16], Operations: ['16+52=68', '68-52=16']
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 79:[68, 142], Operations: ['16+52=68', '90+52=142']
Exploring Operation: 68+142=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 68*142=9656, Resulting Numbers: [9656]
9656,79 unequal: No Solution
Exploring Operation: 142-68=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[52, 22], Operations: ['16+52=68', '90-68=22']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,79 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[90, 52, 68], Operations: ['16+52=68']
Exploring Operation: 90+52=142, Resulting Numbers: [68, 142]
Generated Node #0,4,0: 79:[68, 142] Operation: 90+52=142
Exploring Operation: 52+68=120, Resulting Numbers: [90, 120]
Generated Node #0,4,1: 79:[90, 120] Operation: 52+68=120
Exploring Operation: 90-68=22, Resulting Numbers: [52, 22]
Generated Node #0,4,2: 79:[52, 22] Operation: 90-68=22
Exploring Operation: 90-52=38, Resulting Numbers: [68, 38]
Generated Node #0,4,3: 79:[68, 38] Operation: 90-52=38
Exploring Operation: 68-52=16, Resulting Numbers: [90, 16]
Generated Node #0,4,4: 79:[90, 16] Operation: 68-52=16
Moving to Node #0,4,1
Current State: 79:[90, 120], Operations: ['16+52=68', '52+68=120']
Exploring Operation: 90+120=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 90*120=10800, Resulting Numbers: [10800]
10800,79 unequal: No Solution
Exploring Operation: 120-90=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[68, 38], Operations: ['16+52=68', '90-52=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[68, 142], Operations: ['16+52=68', '90+52=142']
Exploring Operation: 68+142=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 142-68=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 68*142=9656, Resulting Numbers: [9656]
9656,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[90, 16], Operations: ['16+52=68', '68-52=16']
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[52, 22], Operations: ['16+52=68', '90-68=22']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[52, 52, 74], Operations: ['90-16=74']
Exploring Operation: 52-52=0, Resulting Numbers: [74, 0]
Generated Node #0,3,0: 79:[74, 0] Operation: 52-52=0
Exploring Operation: 52/52=1, Resulting Numbers: [74, 1]
Generated Node #0,3,1: 79:[74, 1] Operation: 52/52=1
Exploring Operation: 52+74=126, Resulting Numbers: [52, 126]
Generated Node #0,3,2: 79:[52, 126] Operation: 52+74=126
Exploring Operation: 52+52=104, Resulting Numbers: [74, 104]
Generated Node #0,3,3: 79:[74, 104] Operation: 52+52=104
Exploring Operation: 52+74=126, Resulting Numbers: [52, 126]
Generated Node #0,3,4: 79:[52, 126] Operation: 52+74=126
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[74, 104], Operations: ['90-16=74', '52+52=104']
Exploring Operation: 74*104=7696, Resulting Numbers: [7696]
7696,79 unequal: No Solution
Exploring Operation: 74+104=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 104-74=30, Resulting Numbers: [30]
30,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[52, 126], Operations: ['90-16=74', '52+74=126']
Exploring Operation: 126-52=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 52+126=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 52*126=6552, Resulting Numbers: [6552]
6552,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 79:[52, 126], Operations: ['90-16=74', '52+74=126']
Exploring Operation: 126-52=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 52+126=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 52*126=6552, Resulting Numbers: [6552]
6552,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[74, 1], Operations: ['90-16=74', '52/52=1']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[74, 0], Operations: ['90-16=74', '52-52=0']
Exploring Operation: 74+0=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 74-0=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 74*0=0, Resulting Numbers: [0]
0,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[90, 52, 36], Operations: ['52-16=36']
Exploring Operation: 90+36=126, Resulting Numbers: [52, 126]
Generated Node #0,0,0: 79:[52, 126] Operation: 90+36=126
Exploring Operation: 90-52=38, Resulting Numbers: [36, 38]
Generated Node #0,0,1: 79:[36, 38] Operation: 90-52=38
Exploring Operation: 90-36=54, Resulting Numbers: [52, 54]
Generated Node #0,0,2: 79:[52, 54] Operation: 90-36=54
Exploring Operation: 52+36=88, Resulting Numbers: [90, 88]
Generated Node #0,0,3: 79:[90, 88] Operation: 52+36=88
Exploring Operation: 52-36=16, Resulting Numbers: [90, 16]
Generated Node #0,0,4: 79:[90, 16] Operation: 52-36=16
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[90, 88], Operations: ['52-16=36', '52+36=88']
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,79 unequal: No Solution
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[52, 54], Operations: ['52-16=36', '90-36=54']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[52, 126], Operations: ['52-16=36', '90+36=126']
Exploring Operation: 52+126=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 126-52=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 52*126=6552, Resulting Numbers: [6552]
6552,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 79:[90, 16], Operations: ['52-16=36', '52-36=16']
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[36, 38], Operations: ['52-16=36', '90-52=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,79 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[52, 52, 106], Operations: ['90+16=106']
Exploring Operation: 52/52=1, Resulting Numbers: [106, 1]
Generated Node #0,2,0: 79:[106, 1] Operation: 52/52=1
Exploring Operation: 106-52=54, Resulting Numbers: [52, 54]
Generated Node #0,2,1: 79:[52, 54] Operation: 106-52=54
Exploring Operation: 52-52=0, Resulting Numbers: [106, 0]
Generated Node #0,2,2: 79:[106, 0] Operation: 52-52=0
Exploring Operation: 106-52=54, Resulting Numbers: [52, 54]
Generated Node #0,2,3: 79:[52, 54] Operation: 106-52=54
Exploring Operation: 52+52=104, Resulting Numbers: [106, 104]
Generated Node #0,2,4: 79:[106, 104] Operation: 52+52=104
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[52, 54], Operations: ['90+16=106', '106-52=54']
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,79 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[52, 54], Operations: ['90+16=106', '106-52=54']
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,79 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 79:[106, 104], Operations: ['90+16=106', '52+52=104']
Exploring Operation: 106+104=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 106-104=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 106*104=11024, Resulting Numbers: [11024]
11024,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[106, 1], Operations: ['90+16=106', '52/52=1']
Exploring Operation: 106-1=105, Resulting Numbers: [105]
105,79 unequal: No Solution
Exploring Operation: 106+1=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 106*1=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 106/1=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[106, 0], Operations: ['90+16=106', '52-52=0']
Exploring Operation: 106+0=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 106*0=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 106-0=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
9,
1,
63,
25
] | 96 |
[
"9-1=8",
"63+25=88",
"8+88=96"
] |
Current State: 96:[9, 1, 63, 25], Operations: []
Exploring Operation: 9-1=8, Resulting Numbers: [63, 25, 8]
Generated Node #2: [63, 25, 8] from Operation: 9-1=8
Current State: 96:[63, 25, 8], Operations: ['9-1=8']
Exploring Operation: 63+25=88, Resulting Numbers: [8, 88]
Generated Node #3: [8, 88] from Operation: 63+25=88
Current State: 96:[8, 88], Operations: ['9-1=8', '63+25=88']
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[9, 1, 63, 25], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [1, 25, 54]
Generated Node #0,0: 96:[1, 25, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [1, 25, 7]
Generated Node #0,1: 96:[1, 25, 7] Operation: 63/9=7
Moving to Node #0,1
Current State: 96:[1, 25, 7], Operations: ['63/9=7']
Exploring Operation: 1+7=8, Resulting Numbers: [25, 8]
Generated Node #0,1,0: 96:[25, 8] Operation: 1+7=8
Exploring Operation: 25-1=24, Resulting Numbers: [7, 24]
Generated Node #0,1,1: 96:[7, 24] Operation: 25-1=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[25, 8], Operations: ['63/9=7', '1+7=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[7, 24], Operations: ['63/9=7', '25-1=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,96 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: 96:[1, 25, 54], Operations: ['63-9=54']
Exploring Operation: 54-25=29, Resulting Numbers: [1, 29]
Generated Node #0,0,0: 96:[1, 29] Operation: 54-25=29
Exploring Operation: 25-1=24, Resulting Numbers: [54, 24]
Generated Node #0,0,1: 96:[54, 24] Operation: 25-1=24
Moving to Node #0,0,0
Current State: 96:[1, 29], Operations: ['63-9=54', '54-25=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[54, 24], Operations: ['63-9=54', '25-1=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,96 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
69,
5,
72,
9
] | 18 |
[
"69+5=74",
"74-72=2",
"9*2=18"
] |
Current State: 18:[69, 5, 72, 9], Operations: []
Exploring Operation: 69+5=74, Resulting Numbers: [72, 9, 74]
Generated Node #2: [72, 9, 74] from Operation: 69+5=74
Current State: 18:[72, 9, 74], Operations: ['69+5=74']
Exploring Operation: 74-72=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 74-72=2
Current State: 18:[9, 2], Operations: ['69+5=74', '74-72=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[69, 5, 72, 9], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [5, 9, 3]
Generated Node #0,0: 18:[5, 9, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[5, 9, 3], Operations: ['72-69=3']
Exploring Operation: 5-3=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 18:[9, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 18:[9, 2], Operations: ['72-69=3', '5-3=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[69, 5, 72, 9], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [5, 9, 3]
Generated Node #0,0: 18:[5, 9, 3] Operation: 72-69=3
Moving to Node #0,0
Current State: 18:[5, 9, 3], Operations: ['72-69=3']
Exploring Operation: 5-3=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 18:[9, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 18:[9, 2], Operations: ['72-69=3', '5-3=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
84,
76,
16,
78
] | 88 |
[
"84+76=160",
"160/16=10",
"78+10=88"
] |
Current State: 88:[84, 76, 16, 78], Operations: []
Exploring Operation: 84+76=160, Resulting Numbers: [16, 78, 160]
Generated Node #2: [16, 78, 160] from Operation: 84+76=160
Current State: 88:[16, 78, 160], Operations: ['84+76=160']
Exploring Operation: 160/16=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 160/16=10
Current State: 88:[78, 10], Operations: ['84+76=160', '160/16=10']
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[84, 76, 16, 78], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [84, 16, 2]
Generated Node #0,0: 88:[84, 16, 2] Operation: 78-76=2
Moving to Node #0,0
Current State: 88:[84, 16, 2], Operations: ['78-76=2']
Exploring Operation: 16/2=8, Resulting Numbers: [84, 8]
Generated Node #0,0,0: 88:[84, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[84, 8], Operations: ['78-76=2', '16/2=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,88 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
|
[
64,
20,
11,
68
] | 13 |
[
"64-20=44",
"68-11=57",
"57-44=13"
] |
Current State: 13:[64, 20, 11, 68], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [11, 68, 44]
Generated Node #2: [11, 68, 44] from Operation: 64-20=44
Current State: 13:[11, 68, 44], Operations: ['64-20=44']
Exploring Operation: 68-11=57, Resulting Numbers: [44, 57]
Generated Node #3: [44, 57] from Operation: 68-11=57
Current State: 13:[44, 57], Operations: ['64-20=44', '68-11=57']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[64, 20, 11, 68], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [11, 68, 44]
Generated Node #0,0: 13:[11, 68, 44] Operation: 64-20=44
Exploring Operation: 68-64=4, Resulting Numbers: [20, 11, 4]
Generated Node #0,1: 13:[20, 11, 4] Operation: 68-64=4
Exploring Operation: 68-20=48, Resulting Numbers: [64, 11, 48]
Generated Node #0,2: 13:[64, 11, 48] Operation: 68-20=48
Exploring Operation: 64-11=53, Resulting Numbers: [20, 68, 53]
Generated Node #0,3: 13:[20, 68, 53] Operation: 64-11=53
Moving to Node #0,1
Current State: 13:[20, 11, 4], Operations: ['68-64=4']
Exploring Operation: 20-11=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 13:[4, 9] Operation: 20-11=9
Exploring Operation: 11+4=15, Resulting Numbers: [20, 15]
Generated Node #0,1,1: 13:[20, 15] Operation: 11+4=15
Exploring Operation: 20-4=16, Resulting Numbers: [11, 16]
Generated Node #0,1,2: 13:[11, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [11, 5]
Generated Node #0,1,3: 13:[11, 5] Operation: 20/4=5
Moving to Node #0,2
Current State: 13:[64, 11, 48], Operations: ['68-20=48']
Exploring Operation: 48-11=37, Resulting Numbers: [64, 37]
Generated Node #0,2,0: 13:[64, 37] Operation: 48-11=37
Exploring Operation: 64-11=53, Resulting Numbers: [48, 53]
Generated Node #0,2,1: 13:[48, 53] Operation: 64-11=53
Exploring Operation: 64+11=75, Resulting Numbers: [48, 75]
Generated Node #0,2,2: 13:[48, 75] Operation: 64+11=75
Exploring Operation: 64-48=16, Resulting Numbers: [11, 16]
Generated Node #0,2,3: 13:[11, 16] Operation: 64-48=16
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[11, 16], Operations: ['68-20=48', '64-48=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,13 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 16-11=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,0
Current State: 13:[64, 37], Operations: ['68-20=48', '48-11=37']
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,13 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,13 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,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:[48, 53], Operations: ['68-20=48', '64-11=53']
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,13 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,13 unequal: No Solution
Exploring Operation: 53-48=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:[48, 75], Operations: ['68-20=48', '64+11=75']
Exploring Operation: 48*75=3600, Resulting Numbers: [3600]
3600,13 unequal: No Solution
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,13 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,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:[11, 68, 44], Operations: ['64-20=44']
Exploring Operation: 68-11=57, Resulting Numbers: [44, 57]
Generated Node #0,0,0: 13:[44, 57] Operation: 68-11=57
Exploring Operation: 68-44=24, Resulting Numbers: [11, 24]
Generated Node #0,0,1: 13:[11, 24] Operation: 68-44=24
Exploring Operation: 44/11=4, Resulting Numbers: [68, 4]
Generated Node #0,0,2: 13:[68, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [68, 33]
Generated Node #0,0,3: 13:[68, 33] Operation: 44-11=33
Moving to Node #0,3
Current State: 13:[20, 68, 53], Operations: ['64-11=53']
Exploring Operation: 68-20=48, Resulting Numbers: [53, 48]
Generated Node #0,3,0: 13:[53, 48] Operation: 68-20=48
Exploring Operation: 53-20=33, Resulting Numbers: [68, 33]
Generated Node #0,3,1: 13:[68, 33] Operation: 53-20=33
Exploring Operation: 20+68=88, Resulting Numbers: [53, 88]
Generated Node #0,3,2: 13:[53, 88] Operation: 20+68=88
Exploring Operation: 68-53=15, Resulting Numbers: [20, 15]
Generated Node #0,3,3: 13:[20, 15] Operation: 68-53=15
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[20, 15], Operations: ['64-11=53', '68-53=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,13 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,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:[53, 48], Operations: ['64-11=53', '68-20=48']
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,13 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,13 unequal: No Solution
Exploring Operation: 53-48=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,3,1
Current State: 13:[68, 33], Operations: ['64-11=53', '53-20=33']
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,13 unequal: No Solution
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,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:[53, 88], Operations: ['64-11=53', '20+68=88']
Exploring Operation: 53+88=141, Resulting Numbers: [141]
141,13 unequal: No Solution
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 53*88=4664, Resulting Numbers: [4664]
4664,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 13:[11, 16], Operations: ['68-64=4', '20-4=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[20, 15], Operations: ['68-64=4', '11+4=15']
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,13 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[11, 5], Operations: ['68-64=4', '20/4=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,13 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[11, 24], Operations: ['64-20=44', '68-44=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,13 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[64, 20, 11, 68], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [11, 68, 44]
Generated Node #0,0: 13:[11, 68, 44] Operation: 64-20=44
Moving to Node #0,0
Current State: 13:[11, 68, 44], Operations: ['64-20=44']
Exploring Operation: 68-44=24, Resulting Numbers: [11, 24]
Generated Node #0,0,1: 13:[11, 24] Operation: 68-44=24
Moving to Node #0,0,1
Current State: 13:[11, 24], Operations: ['64-20=44', '68-44=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.947917 |
hs_4
|
sum_heuristic
|
[
72,
6,
8,
48
] | 96 |
[
"72-8=64",
"64-48=16",
"6*16=96"
] |
Current State: 96:[72, 6, 8, 48], Operations: []
Exploring Operation: 72-8=64, Resulting Numbers: [6, 48, 64]
Generated Node #2: [6, 48, 64] from Operation: 72-8=64
Current State: 96:[6, 48, 64], Operations: ['72-8=64']
Exploring Operation: 64-48=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 64-48=16
Current State: 96:[6, 16], Operations: ['72-8=64', '64-48=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[72, 6, 8, 48], Operations: []
Exploring Operation: 72-8=64, Resulting Numbers: [6, 48, 64]
Generated Node #0,0: 96:[6, 48, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [6, 48, 9]
Generated Node #0,1: 96:[6, 48, 9] Operation: 72/8=9
Exploring Operation: 72/6=12, Resulting Numbers: [8, 48, 12]
Generated Node #0,2: 96:[8, 48, 12] Operation: 72/6=12
Exploring Operation: 72+8=80, Resulting Numbers: [6, 48, 80]
Generated Node #0,3: 96:[6, 48, 80] Operation: 72+8=80
Exploring Operation: 72-48=24, Resulting Numbers: [6, 8, 24]
Generated Node #0,4: 96:[6, 8, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[8, 48, 12], Operations: ['72/6=12']
Exploring Operation: 48/12=4, Resulting Numbers: [8, 4]
Generated Node #0,2,0: 96:[8, 4] Operation: 48/12=4
Exploring Operation: 8*12=96, Resulting Numbers: [48, 96]
Generated Node #0,2,1: 96:[48, 96] Operation: 8*12=96
Exploring Operation: 48/8=6, Resulting Numbers: [12, 6]
Generated Node #0,2,2: 96:[12, 6] Operation: 48/8=6
Exploring Operation: 8+12=20, Resulting Numbers: [48, 20]
Generated Node #0,2,3: 96:[48, 20] Operation: 8+12=20
Exploring Operation: 12-8=4, Resulting Numbers: [48, 4]
Generated Node #0,2,4: 96:[48, 4] Operation: 12-8=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[8, 4], Operations: ['72/6=12', '48/12=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,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:[48, 96], Operations: ['72/6=12', '8*12=96']
Exploring Operation: 48+96=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 48*96=4608, Resulting Numbers: [4608]
4608,96 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,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:[12, 6], Operations: ['72/6=12', '48/8=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[48, 4], Operations: ['72/6=12', '12-8=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,96 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,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,3
Current State: 96:[48, 20], Operations: ['72/6=12', '8+12=20']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,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,4
Current State: 96:[6, 8, 24], Operations: ['72-48=24']
Exploring Operation: 8+24=32, Resulting Numbers: [6, 32]
Generated Node #0,4,0: 96:[6, 32] Operation: 8+24=32
Exploring Operation: 24-8=16, Resulting Numbers: [6, 16]
Generated Node #0,4,1: 96:[6, 16] Operation: 24-8=16
Exploring Operation: 8-6=2, Resulting Numbers: [24, 2]
Generated Node #0,4,2: 96:[24, 2] Operation: 8-6=2
Exploring Operation: 24/6=4, Resulting Numbers: [8, 4]
Generated Node #0,4,3: 96:[8, 4] Operation: 24/6=4
Exploring Operation: 6*8=48, Resulting Numbers: [24, 48]
Generated Node #0,4,4: 96:[24, 48] Operation: 6*8=48
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[6, 32], Operations: ['72-48=24', '8+24=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,96 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,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,4,1
Current State: 96:[6, 16], Operations: ['72-48=24', '24-8=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[72, 6, 8, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [6, 8, 24]
Generated Node #0,4: 96:[6, 8, 24] Operation: 72-48=24
Moving to Node #0,4
Current State: 96:[6, 8, 24], Operations: ['72-48=24']
Exploring Operation: 24-8=16, Resulting Numbers: [6, 16]
Generated Node #0,4,1: 96:[6, 16] Operation: 24-8=16
Moving to Node #0,4,1
Current State: 96:[6, 16], Operations: ['72-48=24', '24-8=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 |
hs_5
|
mult_heuristic
|
[
14,
48,
8,
25
] | 39 |
[
"14*8=112",
"48+25=73",
"112-73=39"
] |
Current State: 39:[14, 48, 8, 25], Operations: []
Exploring Operation: 14*8=112, Resulting Numbers: [48, 25, 112]
Generated Node #2: [48, 25, 112] from Operation: 14*8=112
Current State: 39:[48, 25, 112], Operations: ['14*8=112']
Exploring Operation: 48+25=73, Resulting Numbers: [112, 73]
Generated Node #3: [112, 73] from Operation: 48+25=73
Current State: 39:[112, 73], Operations: ['14*8=112', '48+25=73']
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[14, 48, 8, 25], Operations: []
Exploring Operation: 25-8=17, Resulting Numbers: [14, 48, 17]
Generated Node #0,0: 39:[14, 48, 17] Operation: 25-8=17
Exploring Operation: 14+25=39, Resulting Numbers: [48, 8, 39]
Generated Node #0,1: 39:[48, 8, 39] Operation: 14+25=39
Exploring Operation: 25-14=11, Resulting Numbers: [48, 8, 11]
Generated Node #0,2: 39:[48, 8, 11] Operation: 25-14=11
Exploring Operation: 48-8=40, Resulting Numbers: [14, 25, 40]
Generated Node #0,3: 39:[14, 25, 40] Operation: 48-8=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[14, 48, 17], Operations: ['25-8=17']
Exploring Operation: 48-17=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 39:[14, 31] Operation: 48-17=31
Exploring Operation: 14+17=31, Resulting Numbers: [48, 31]
Generated Node #0,0,1: 39:[48, 31] Operation: 14+17=31
Exploring Operation: 17-14=3, Resulting Numbers: [48, 3]
Generated Node #0,0,2: 39:[48, 3] Operation: 17-14=3
Exploring Operation: 48-14=34, Resulting Numbers: [17, 34]
Generated Node #0,0,3: 39:[17, 34] Operation: 48-14=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[14, 31], Operations: ['25-8=17', '48-17=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[48, 3], Operations: ['25-8=17', '17-14=3']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,39 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[17, 34], Operations: ['25-8=17', '48-14=34']
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[48, 31], Operations: ['25-8=17', '14+17=31']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,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:[48, 8, 39], Operations: ['14+25=39']
Exploring Operation: 48+8=56, Resulting Numbers: [39, 56]
Generated Node #0,1,0: 39:[39, 56] Operation: 48+8=56
Exploring Operation: 48/8=6, Resulting Numbers: [39, 6]
Generated Node #0,1,1: 39:[39, 6] Operation: 48/8=6
Exploring Operation: 48-39=9, Resulting Numbers: [8, 9]
Generated Node #0,1,2: 39:[8, 9] Operation: 48-39=9
Exploring Operation: 48-8=40, Resulting Numbers: [39, 40]
Generated Node #0,1,3: 39:[39, 40] Operation: 48-8=40
Moving to Node #0,1,3
Current State: 39:[39, 40], Operations: ['14+25=39', '48-8=40']
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,39 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[39, 6], Operations: ['14+25=39', '48/8=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,39 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[8, 9], Operations: ['14+25=39', '48-39=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[39, 56], Operations: ['14+25=39', '48+8=56']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[14, 25, 40], Operations: ['48-8=40']
Exploring Operation: 25-14=11, Resulting Numbers: [40, 11]
Generated Node #0,3,0: 39:[40, 11] Operation: 25-14=11
Exploring Operation: 40-14=26, Resulting Numbers: [25, 26]
Generated Node #0,3,1: 39:[25, 26] Operation: 40-14=26
Exploring Operation: 14+25=39, Resulting Numbers: [40, 39]
Generated Node #0,3,2: 39:[40, 39] Operation: 14+25=39
Exploring Operation: 40-25=15, Resulting Numbers: [14, 15]
Generated Node #0,3,3: 39:[14, 15] Operation: 40-25=15
Moving to Node #0,3,2
Current State: 39:[40, 39], Operations: ['48-8=40', '14+25=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[14, 15], Operations: ['48-8=40', '40-25=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,39 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[40, 11], Operations: ['48-8=40', '25-14=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,39 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[25, 26], Operations: ['48-8=40', '40-14=26']
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,39 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[48, 8, 11], Operations: ['25-14=11']
Exploring Operation: 48-8=40, Resulting Numbers: [11, 40]
Generated Node #0,2,0: 39:[11, 40] Operation: 48-8=40
Exploring Operation: 11-8=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 39:[48, 3] Operation: 11-8=3
Exploring Operation: 48-11=37, Resulting Numbers: [8, 37]
Generated Node #0,2,2: 39:[8, 37] Operation: 48-11=37
Exploring Operation: 48/8=6, Resulting Numbers: [11, 6]
Generated Node #0,2,3: 39:[11, 6] Operation: 48/8=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[11, 40], Operations: ['25-14=11', '48-8=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[11, 6], Operations: ['25-14=11', '48/8=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[8, 37], Operations: ['25-14=11', '48-11=37']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,39 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[48, 3], Operations: ['25-14=11', '11-8=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,39 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,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
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
8,
91,
27,
88
] | 73 |
[
"91-88=3",
"27*3=81",
"81-8=73"
] |
Current State: 73:[8, 91, 27, 88], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [8, 27, 3]
Generated Node #2: [8, 27, 3] from Operation: 91-88=3
Current State: 73:[8, 27, 3], Operations: ['91-88=3']
Exploring Operation: 27*3=81, Resulting Numbers: [8, 81]
Generated Node #3: [8, 81] from Operation: 27*3=81
Current State: 73:[8, 81], Operations: ['91-88=3', '27*3=81']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[8, 91, 27, 88], Operations: []
Exploring Operation: 91-8=83, Resulting Numbers: [27, 88, 83]
Generated Node #0,0: 73:[27, 88, 83] Operation: 91-8=83
Moving to Node #0,0
Current State: 73:[27, 88, 83], Operations: ['91-8=83']
Exploring Operation: 88-27=61, Resulting Numbers: [83, 61]
Generated Node #0,0,0: 73:[83, 61] Operation: 88-27=61
Moving to Node #0,0,0
Current State: 73:[83, 61], Operations: ['91-8=83', '88-27=61']
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,73 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
43,
95,
3,
12
] | 46 |
[
"43*3=129",
"95-12=83",
"129-83=46"
] |
Current State: 46:[43, 95, 3, 12], Operations: []
Exploring Operation: 43*3=129, Resulting Numbers: [95, 12, 129]
Generated Node #2: [95, 12, 129] from Operation: 43*3=129
Current State: 46:[95, 12, 129], Operations: ['43*3=129']
Exploring Operation: 95-12=83, Resulting Numbers: [129, 83]
Generated Node #3: [129, 83] from Operation: 95-12=83
Current State: 46:[129, 83], Operations: ['43*3=129', '95-12=83']
Exploring Operation: 129-83=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[43, 95, 3, 12], Operations: []
Exploring Operation: 12/3=4, Resulting Numbers: [43, 95, 4]
Generated Node #0,0: 46:[43, 95, 4] Operation: 12/3=4
Exploring Operation: 95-12=83, Resulting Numbers: [43, 3, 83]
Generated Node #0,1: 46:[43, 3, 83] Operation: 95-12=83
Exploring Operation: 95-43=52, Resulting Numbers: [3, 12, 52]
Generated Node #0,2: 46:[3, 12, 52] Operation: 95-43=52
Exploring Operation: 43-12=31, Resulting Numbers: [95, 3, 31]
Generated Node #0,3: 46:[95, 3, 31] Operation: 43-12=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[3, 12, 52], Operations: ['95-43=52']
Exploring Operation: 12-3=9, Resulting Numbers: [52, 9]
Generated Node #0,2,0: 46:[52, 9] Operation: 12-3=9
Exploring Operation: 52-3=49, Resulting Numbers: [12, 49]
Generated Node #0,2,1: 46:[12, 49] Operation: 52-3=49
Exploring Operation: 12/3=4, Resulting Numbers: [52, 4]
Generated Node #0,2,2: 46:[52, 4] Operation: 12/3=4
Exploring Operation: 52-12=40, Resulting Numbers: [3, 40]
Generated Node #0,2,3: 46:[3, 40] Operation: 52-12=40
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[3, 40], Operations: ['95-43=52', '52-12=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,46 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[52, 4], Operations: ['95-43=52', '12/3=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,46 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[52, 9], Operations: ['95-43=52', '12-3=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,46 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[12, 49], Operations: ['95-43=52', '52-3=49']
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,46 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,46 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: 46:[43, 3, 83], Operations: ['95-12=83']
Exploring Operation: 43-3=40, Resulting Numbers: [83, 40]
Generated Node #0,1,0: 46:[83, 40] Operation: 43-3=40
Exploring Operation: 83-3=80, Resulting Numbers: [43, 80]
Generated Node #0,1,1: 46:[43, 80] Operation: 83-3=80
Exploring Operation: 83-43=40, Resulting Numbers: [3, 40]
Generated Node #0,1,2: 46:[3, 40] Operation: 83-43=40
Exploring Operation: 43+3=46, Resulting Numbers: [83, 46]
Generated Node #0,1,3: 46:[83, 46] Operation: 43+3=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[3, 40], Operations: ['95-12=83', '83-43=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,46 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[43, 80], Operations: ['95-12=83', '83-3=80']
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,46 unequal: No Solution
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[83, 46], Operations: ['95-12=83', '43+3=46']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[83, 40], Operations: ['95-12=83', '43-3=40']
Exploring Operation: 83+40=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Exploring Operation: 83*40=3320, Resulting Numbers: [3320]
3320,46 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,46 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: 46:[43, 95, 4], Operations: ['12/3=4']
Exploring Operation: 95-43=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 46:[4, 52] Operation: 95-43=52
Exploring Operation: 95-4=91, Resulting Numbers: [43, 91]
Generated Node #0,0,1: 46:[43, 91] Operation: 95-4=91
Exploring Operation: 43-4=39, Resulting Numbers: [95, 39]
Generated Node #0,0,2: 46:[95, 39] Operation: 43-4=39
Exploring Operation: 43+4=47, Resulting Numbers: [95, 47]
Generated Node #0,0,3: 46:[95, 47] Operation: 43+4=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[4, 52], Operations: ['12/3=4', '95-43=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,46 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[43, 91], Operations: ['12/3=4', '95-4=91']
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,46 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 46:[95, 47], Operations: ['12/3=4', '43+4=47']
Exploring Operation: 95+47=142, Resulting Numbers: [142]
142,46 unequal: No Solution
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 95*47=4465, Resulting Numbers: [4465]
4465,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[95, 39], Operations: ['12/3=4', '43-4=39']
Exploring Operation: 95*39=3705, Resulting Numbers: [3705]
3705,46 unequal: No Solution
Exploring Operation: 95+39=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,46 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: 46:[95, 3, 31], Operations: ['43-12=31']
Exploring Operation: 95+3=98, Resulting Numbers: [31, 98]
Generated Node #0,3,0: 46:[31, 98] Operation: 95+3=98
Exploring Operation: 31-3=28, Resulting Numbers: [95, 28]
Generated Node #0,3,1: 46:[95, 28] Operation: 31-3=28
Exploring Operation: 95-3=92, Resulting Numbers: [31, 92]
Generated Node #0,3,2: 46:[31, 92] Operation: 95-3=92
Exploring Operation: 95-31=64, Resulting Numbers: [3, 64]
Generated Node #0,3,3: 46:[3, 64] Operation: 95-31=64
Moving to Node #0,3,3
Current State: 46:[3, 64], Operations: ['43-12=31', '95-31=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,46 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[31, 92], Operations: ['43-12=31', '95-3=92']
Exploring Operation: 31*92=2852, Resulting Numbers: [2852]
2852,46 unequal: No Solution
Exploring Operation: 31+92=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[95, 28], Operations: ['43-12=31', '31-3=28']
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,46 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[31, 98], Operations: ['43-12=31', '95+3=98']
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,46 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
|
[
35,
34,
81,
15
] | 65 |
[
"35-34=1",
"81-15=66",
"66-1=65"
] |
Current State: 65:[35, 34, 81, 15], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [81, 15, 1]
Generated Node #2: [81, 15, 1] from Operation: 35-34=1
Current State: 65:[81, 15, 1], Operations: ['35-34=1']
Exploring Operation: 81-15=66, Resulting Numbers: [1, 66]
Generated Node #3: [1, 66] from Operation: 81-15=66
Current State: 65:[1, 66], Operations: ['35-34=1', '81-15=66']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[35, 34, 81, 15], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [35, 15, 47]
Generated Node #0,0: 65:[35, 15, 47] Operation: 81-34=47
Exploring Operation: 35+34=69, Resulting Numbers: [81, 15, 69]
Generated Node #0,1: 65:[81, 15, 69] Operation: 35+34=69
Exploring Operation: 35-15=20, Resulting Numbers: [34, 81, 20]
Generated Node #0,2: 65:[34, 81, 20] Operation: 35-15=20
Exploring Operation: 81-35=46, Resulting Numbers: [34, 15, 46]
Generated Node #0,3: 65:[34, 15, 46] Operation: 81-35=46
Exploring Operation: 35-34=1, Resulting Numbers: [81, 15, 1]
Generated Node #0,4: 65:[81, 15, 1] Operation: 35-34=1
Moving to Node #0,1
Current State: 65:[81, 15, 69], Operations: ['35+34=69']
Exploring Operation: 81+15=96, Resulting Numbers: [69, 96]
Generated Node #0,1,0: 65:[69, 96] Operation: 81+15=96
Exploring Operation: 81-15=66, Resulting Numbers: [69, 66]
Generated Node #0,1,1: 65:[69, 66] Operation: 81-15=66
Exploring Operation: 69-15=54, Resulting Numbers: [81, 54]
Generated Node #0,1,2: 65:[81, 54] Operation: 69-15=54
Exploring Operation: 81-69=12, Resulting Numbers: [15, 12]
Generated Node #0,1,3: 65:[15, 12] Operation: 81-69=12
Exploring Operation: 15+69=84, Resulting Numbers: [81, 84]
Generated Node #0,1,4: 65:[81, 84] Operation: 15+69=84
Moving to Node #0,4
Current State: 65:[81, 15, 1], Operations: ['35-34=1']
Exploring Operation: 81-15=66, Resulting Numbers: [1, 66]
Generated Node #0,4,0: 65:[1, 66] Operation: 81-15=66
Exploring Operation: 81/1=81, Resulting Numbers: [15, 81]
Generated Node #0,4,1: 65:[15, 81] Operation: 81/1=81
Exploring Operation: 15-1=14, Resulting Numbers: [81, 14]
Generated Node #0,4,2: 65:[81, 14] Operation: 15-1=14
Exploring Operation: 81*1=81, Resulting Numbers: [15, 81]
Generated Node #0,4,3: 65:[15, 81] Operation: 81*1=81
Exploring Operation: 81-1=80, Resulting Numbers: [15, 80]
Generated Node #0,4,4: 65:[15, 80] Operation: 81-1=80
Moving to Node #0,0
Current State: 65:[35, 15, 47], Operations: ['81-34=47']
Exploring Operation: 35+15=50, Resulting Numbers: [47, 50]
Generated Node #0,0,0: 65:[47, 50] Operation: 35+15=50
Exploring Operation: 35+47=82, Resulting Numbers: [15, 82]
Generated Node #0,0,1: 65:[15, 82] Operation: 35+47=82
Exploring Operation: 35-15=20, Resulting Numbers: [47, 20]
Generated Node #0,0,2: 65:[47, 20] Operation: 35-15=20
Exploring Operation: 15+47=62, Resulting Numbers: [35, 62]
Generated Node #0,0,3: 65:[35, 62] Operation: 15+47=62
Exploring Operation: 47-35=12, Resulting Numbers: [15, 12]
Generated Node #0,0,4: 65:[15, 12] Operation: 47-35=12
Moving to Node #0,3
Current State: 65:[34, 15, 46], Operations: ['81-35=46']
Exploring Operation: 34-15=19, Resulting Numbers: [46, 19]
Generated Node #0,3,0: 65:[46, 19] Operation: 34-15=19
Exploring Operation: 34+46=80, Resulting Numbers: [15, 80]
Generated Node #0,3,1: 65:[15, 80] Operation: 34+46=80
Exploring Operation: 34+15=49, Resulting Numbers: [46, 49]
Generated Node #0,3,2: 65:[46, 49] Operation: 34+15=49
Exploring Operation: 15+46=61, Resulting Numbers: [34, 61]
Generated Node #0,3,3: 65:[34, 61] Operation: 15+46=61
Exploring Operation: 46-34=12, Resulting Numbers: [15, 12]
Generated Node #0,3,4: 65:[15, 12] Operation: 46-34=12
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[15, 12], Operations: ['81-35=46', '46-34=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,65 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[15, 80], Operations: ['81-35=46', '34+46=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[35, 34, 81, 15], Operations: []
Exploring Operation: 81-35=46, Resulting Numbers: [34, 15, 46]
Generated Node #0,3: 65:[34, 15, 46] Operation: 81-35=46
Moving to Node #0,3
Current State: 65:[34, 15, 46], Operations: ['81-35=46']
Exploring Operation: 34+46=80, Resulting Numbers: [15, 80]
Generated Node #0,3,1: 65:[15, 80] Operation: 34+46=80
Moving to Node #0,3,1
Current State: 65:[15, 80], Operations: ['81-35=46', '34+46=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 |
hs_5
|
mult_heuristic
|
[
95,
87,
46,
91
] | 23 |
[
"95+87=182",
"46*91=4186",
"4186/182=23"
] |
Current State: 23:[95, 87, 46, 91], Operations: []
Exploring Operation: 95+87=182, Resulting Numbers: [46, 91, 182]
Generated Node #2: [46, 91, 182] from Operation: 95+87=182
Current State: 23:[46, 91, 182], Operations: ['95+87=182']
Exploring Operation: 46*91=4186, Resulting Numbers: [182, 4186]
Generated Node #3: [182, 4186] from Operation: 46*91=4186
Current State: 23:[182, 4186], Operations: ['95+87=182', '46*91=4186']
Exploring Operation: 4186/182=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[95, 87, 46, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [95, 46, 4]
Generated Node #0,0: 23:[95, 46, 4] Operation: 91-87=4
Exploring Operation: 87-46=41, Resulting Numbers: [95, 91, 41]
Generated Node #0,1: 23:[95, 91, 41] Operation: 87-46=41
Exploring Operation: 95-87=8, Resulting Numbers: [46, 91, 8]
Generated Node #0,2: 23:[46, 91, 8] Operation: 95-87=8
Exploring Operation: 95-46=49, Resulting Numbers: [87, 91, 49]
Generated Node #0,3: 23:[87, 91, 49] Operation: 95-46=49
Exploring Operation: 95-91=4, Resulting Numbers: [87, 46, 4]
Generated Node #0,4: 23:[87, 46, 4] Operation: 95-91=4
Moving to Node #0,2
Current State: 23:[46, 91, 8], Operations: ['95-87=8']
Exploring Operation: 46+8=54, Resulting Numbers: [91, 54]
Generated Node #0,2,0: 23:[91, 54] Operation: 46+8=54
Exploring Operation: 91-46=45, Resulting Numbers: [8, 45]
Generated Node #0,2,1: 23:[8, 45] Operation: 91-46=45
Exploring Operation: 91-8=83, Resulting Numbers: [46, 83]
Generated Node #0,2,2: 23:[46, 83] Operation: 91-8=83
Exploring Operation: 46-8=38, Resulting Numbers: [91, 38]
Generated Node #0,2,3: 23:[91, 38] Operation: 46-8=38
Exploring Operation: 91+8=99, Resulting Numbers: [46, 99]
Generated Node #0,2,4: 23:[46, 99] Operation: 91+8=99
Moving to Node #0,4
Current State: 23:[87, 46, 4], Operations: ['95-91=4']
Exploring Operation: 46+4=50, Resulting Numbers: [87, 50]
Generated Node #0,4,0: 23:[87, 50] Operation: 46+4=50
Exploring Operation: 87+4=91, Resulting Numbers: [46, 91]
Generated Node #0,4,1: 23:[46, 91] Operation: 87+4=91
Exploring Operation: 87-4=83, Resulting Numbers: [46, 83]
Generated Node #0,4,2: 23:[46, 83] Operation: 87-4=83
Exploring Operation: 87-46=41, Resulting Numbers: [4, 41]
Generated Node #0,4,3: 23:[4, 41] Operation: 87-46=41
Exploring Operation: 46-4=42, Resulting Numbers: [87, 42]
Generated Node #0,4,4: 23:[87, 42] Operation: 46-4=42
Moving to Node #0,0
Current State: 23:[95, 46, 4], Operations: ['91-87=4']
Exploring Operation: 46+4=50, Resulting Numbers: [95, 50]
Generated Node #0,0,0: 23:[95, 50] Operation: 46+4=50
Exploring Operation: 95+4=99, Resulting Numbers: [46, 99]
Generated Node #0,0,1: 23:[46, 99] Operation: 95+4=99
Exploring Operation: 46-4=42, Resulting Numbers: [95, 42]
Generated Node #0,0,2: 23:[95, 42] Operation: 46-4=42
Exploring Operation: 95-46=49, Resulting Numbers: [4, 49]
Generated Node #0,0,3: 23:[4, 49] Operation: 95-46=49
Exploring Operation: 95-4=91, Resulting Numbers: [46, 91]
Generated Node #0,0,4: 23:[46, 91] Operation: 95-4=91
Moving to Node #0,1
Current State: 23:[95, 91, 41], Operations: ['87-46=41']
Exploring Operation: 95-41=54, Resulting Numbers: [91, 54]
Generated Node #0,1,0: 23:[91, 54] Operation: 95-41=54
Exploring Operation: 91-41=50, Resulting Numbers: [95, 50]
Generated Node #0,1,1: 23:[95, 50] Operation: 91-41=50
Exploring Operation: 95+91=186, Resulting Numbers: [41, 186]
Generated Node #0,1,2: 23:[41, 186] Operation: 95+91=186
Exploring Operation: 95+41=136, Resulting Numbers: [91, 136]
Generated Node #0,1,3: 23:[91, 136] Operation: 95+41=136
Exploring Operation: 95-91=4, Resulting Numbers: [41, 4]
Generated Node #0,1,4: 23:[41, 4] Operation: 95-91=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[41, 4], Operations: ['87-46=41', '95-91=4']
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,23 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[91, 54], Operations: ['87-46=41', '95-41=54']
Exploring Operation: 91+54=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 91*54=4914, Resulting Numbers: [4914]
4914,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[95, 50], Operations: ['87-46=41', '91-41=50']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[41, 186], Operations: ['87-46=41', '95+91=186']
Exploring Operation: 186-41=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Exploring Operation: 41*186=7626, Resulting Numbers: [7626]
7626,23 unequal: No Solution
Exploring Operation: 41+186=227, Resulting Numbers: [227]
227,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[91, 136], Operations: ['87-46=41', '95+41=136']
Exploring Operation: 91*136=12376, Resulting Numbers: [12376]
12376,23 unequal: No Solution
Exploring Operation: 136-91=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 91+136=227, Resulting Numbers: [227]
227,23 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: 23:[87, 91, 49], Operations: ['95-46=49']
Exploring Operation: 91-87=4, Resulting Numbers: [49, 4]
Generated Node #0,3,0: 23:[49, 4] Operation: 91-87=4
Exploring Operation: 91-49=42, Resulting Numbers: [87, 42]
Generated Node #0,3,1: 23:[87, 42] Operation: 91-49=42
Exploring Operation: 87+91=178, Resulting Numbers: [49, 178]
Generated Node #0,3,2: 23:[49, 178] Operation: 87+91=178
Exploring Operation: 87+49=136, Resulting Numbers: [91, 136]
Generated Node #0,3,3: 23:[91, 136] Operation: 87+49=136
Exploring Operation: 87-49=38, Resulting Numbers: [91, 38]
Generated Node #0,3,4: 23:[91, 38] Operation: 87-49=38
Moving to Node #0,2,1
Current State: 23:[8, 45], Operations: ['95-87=8', '91-46=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[4, 41], Operations: ['95-91=4', '87-46=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,23 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[4, 49], Operations: ['91-87=4', '95-46=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,23 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[49, 4], Operations: ['95-46=49', '91-87=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,23 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[46, 83], Operations: ['95-91=4', '87-4=83']
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,23 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[91, 38], Operations: ['95-87=8', '46-8=38']
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,23 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[87, 42], Operations: ['95-46=49', '91-49=42']
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,23 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[46, 83], Operations: ['95-87=8', '91-8=83']
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,23 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[91, 38], Operations: ['95-46=49', '87-49=38']
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[87, 42], Operations: ['95-91=4', '46-4=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,23 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[46, 91], Operations: ['91-87=4', '95-4=91']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[95, 42], Operations: ['91-87=4', '46-4=42']
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,23 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[46, 91], Operations: ['95-91=4', '87+4=91']
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,23 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[87, 50], Operations: ['95-91=4', '46+4=50']
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,23 unequal: No Solution
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[46, 99], Operations: ['91-87=4', '95+4=99']
Exploring Operation: 46+99=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Exploring Operation: 46*99=4554, Resulting Numbers: [4554]
4554,23 unequal: No Solution
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[46, 99], Operations: ['95-87=8', '91+8=99']
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 46*99=4554, Resulting Numbers: [4554]
4554,23 unequal: No Solution
Exploring Operation: 46+99=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[91, 54], Operations: ['95-87=8', '46+8=54']
Exploring Operation: 91*54=4914, Resulting Numbers: [4914]
4914,23 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 91+54=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[95, 50], Operations: ['91-87=4', '46+4=50']
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,23 unequal: No Solution
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[91, 136], Operations: ['95-46=49', '87+49=136']
Exploring Operation: 91+136=227, Resulting Numbers: [227]
227,23 unequal: No Solution
Exploring Operation: 136-91=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 91*136=12376, Resulting Numbers: [12376]
12376,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[49, 178], Operations: ['95-46=49', '87+91=178']
Exploring Operation: 178-49=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 49*178=8722, Resulting Numbers: [8722]
8722,23 unequal: No Solution
Exploring Operation: 49+178=227, Resulting Numbers: [227]
227,23 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.