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 |
|---|---|---|---|---|---|---|---|---|
[
18,
3,
27,
76
] | 64 | [
"18-3=15",
"76-27=49",
"15+49=64"
] | Current State: 64:[18, 3, 27, 76], Operations: []
Exploring Operation: 18-3=15, Resulting Numbers: [27, 76, 15]
Generated Node #2: [27, 76, 15] from Operation: 18-3=15
Current State: 64:[27, 76, 15], Operations: ['18-3=15']
Exploring Operation: 76-27=49, Resulting Numbers: [15, 49]
Generated Node #3: [15, 49] from Operation: 76-27=49
Current State: 64:[15, 49], Operations: ['18-3=15', '76-27=49']
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[18, 3, 27, 76], Operations: []
Exploring Operation: 76-18=58, Resulting Numbers: [3, 27, 58]
Generated Node #0,0: 64:[3, 27, 58] Operation: 76-18=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[3, 27, 58], Operations: ['76-18=58']
Exploring Operation: 58-27=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 64:[3, 31] Operation: 58-27=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[3, 31], Operations: ['76-18=58', '58-27=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
41,
64,
80
] | 20 | [
"64-41=23",
"92/23=4",
"80/4=20"
] | Current State: 20:[92, 41, 64, 80], Operations: []
Exploring Operation: 64-41=23, Resulting Numbers: [92, 80, 23]
Generated Node #2: [92, 80, 23] from Operation: 64-41=23
Current State: 20:[92, 80, 23], Operations: ['64-41=23']
Exploring Operation: 92/23=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 92/23=4
Current State: 20:[80, 4], Operations: ['64-41=23', '92/23=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[92, 41, 64, 80], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [41, 64, 12]
Generated Node #0,0: 20:[41, 64, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 20:[41, 64, 12], Operations: ['92-80=12']
Exploring Operation: 64-41=23, Resulting Numbers: [12, 23]
Generated Node #0,0,0: 20:[12, 23] Operation: 64-41=23
Moving to Node #0,0,0
Current State: 20:[12, 23], Operations: ['92-80=12', '64-41=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,20 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
77,
39,
49
] | 27 | [
"49-39=10",
"5*10=50",
"77-50=27"
] | Current State: 27:[5, 77, 39, 49], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [5, 77, 10]
Generated Node #2: [5, 77, 10] from Operation: 49-39=10
Current State: 27:[5, 77, 10], Operations: ['49-39=10']
Exploring Operation: 5*10=50, Resulting Numbers: [77, 50]
Generated Node #3: [77, 50] from Operation: 5*10=50
Current State: 27:[77, 50], Operations: ['49-39=10', '5*10=50']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 77, 39, 49], Operations: []
Exploring Operation: 39-5=34, Resulting Numbers: [77, 49, 34]
Generated Node #0,0: 27:[77, 49, 34] Operation: 39-5=34
Exploring Operation: 77-49=28, Resulting Numbers: [5, 39, 28]
Generated Node #0,1: 27:[5, 39, 28] Operation: 77-49=28
Exploring Operation: 49-39=10, Resulting Numbers: [5, 77, 10]
Generated Node #0,2: 27:[5, 77, 10] Operation: 49-39=10
Exploring Operation: 77-39=38, Resulting Numbers: [5, 49, 38]
Generated Node #0,3: 27:[5, 49, 38] Operation: 77-39=38
Exploring Operation: 77-5=72, Resulting Numbers: [39, 49, 72]
Generated Node #0,4: 27:[39, 49, 72] Operation: 77-5=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[5, 39, 28], Operations: ['77-49=28']
Exploring Operation: 39-5=34, Resulting Numbers: [28, 34]
Generated Node #0,1,0: 27:[28, 34] Operation: 39-5=34
Exploring Operation: 28-5=23, Resulting Numbers: [39, 23]
Generated Node #0,1,1: 27:[39, 23] Operation: 28-5=23
Exploring Operation: 39-28=11, Resulting Numbers: [5, 11]
Generated Node #0,1,2: 27:[5, 11] Operation: 39-28=11
Exploring Operation: 5+39=44, Resulting Numbers: [28, 44]
Generated Node #0,1,3: 27:[28, 44] Operation: 5+39=44
Exploring Operation: 5+28=33, Resulting Numbers: [39, 33]
Generated Node #0,1,4: 27:[39, 33] Operation: 5+28=33
Moving to Node #0,1,2
Current State: 27:[5, 11], Operations: ['77-49=28', '39-28=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[28, 34], Operations: ['77-49=28', '39-5=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[39, 23], Operations: ['77-49=28', '28-5=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[28, 44], Operations: ['77-49=28', '5+39=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,27 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[39, 33], Operations: ['77-49=28', '5+28=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,27 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[5, 49, 38], Operations: ['77-39=38']
Exploring Operation: 5+38=43, Resulting Numbers: [49, 43]
Generated Node #0,3,0: 27:[49, 43] Operation: 5+38=43
Exploring Operation: 5+49=54, Resulting Numbers: [38, 54]
Generated Node #0,3,1: 27:[38, 54] Operation: 5+49=54
Exploring Operation: 49-5=44, Resulting Numbers: [38, 44]
Generated Node #0,3,2: 27:[38, 44] Operation: 49-5=44
Exploring Operation: 38-5=33, Resulting Numbers: [49, 33]
Generated Node #0,3,3: 27:[49, 33] Operation: 38-5=33
Exploring Operation: 49-38=11, Resulting Numbers: [5, 11]
Generated Node #0,3,4: 27:[5, 11] Operation: 49-38=11
Moving to Node #0,3,4
Current State: 27:[5, 11], Operations: ['77-39=38', '49-38=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[49, 33], Operations: ['77-39=38', '38-5=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,27 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[38, 44], Operations: ['77-39=38', '49-5=44']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,27 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[49, 43], Operations: ['77-39=38', '5+38=43']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,27 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[38, 54], Operations: ['77-39=38', '5+49=54']
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,27 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[5, 77, 10], Operations: ['49-39=10']
Exploring Operation: 10-5=5, Resulting Numbers: [77, 5]
Generated Node #0,2,0: 27:[77, 5] Operation: 10-5=5
Exploring Operation: 5+77=82, Resulting Numbers: [10, 82]
Generated Node #0,2,1: 27:[10, 82] Operation: 5+77=82
Exploring Operation: 77-5=72, Resulting Numbers: [10, 72]
Generated Node #0,2,2: 27:[10, 72] Operation: 77-5=72
Exploring Operation: 77-10=67, Resulting Numbers: [5, 67]
Generated Node #0,2,3: 27:[5, 67] Operation: 77-10=67
Exploring Operation: 10/5=2, Resulting Numbers: [77, 2]
Generated Node #0,2,4: 27:[77, 2] Operation: 10/5=2
Moving to Node #0,2,3
Current State: 27:[5, 67], Operations: ['49-39=10', '77-10=67']
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,27 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[10, 72], Operations: ['49-39=10', '77-5=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[77, 2], Operations: ['49-39=10', '10/5=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,27 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[77, 5], Operations: ['49-39=10', '10-5=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[10, 82], Operations: ['49-39=10', '5+77=82']
Exploring Operation: 10*82=820, Resulting Numbers: [820]
820,27 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 10+82=92, Resulting Numbers: [92]
92,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[77, 49, 34], Operations: ['39-5=34']
Exploring Operation: 77-34=43, Resulting Numbers: [49, 43]
Generated Node #0,0,0: 27:[49, 43] Operation: 77-34=43
Exploring Operation: 77-49=28, Resulting Numbers: [34, 28]
Generated Node #0,0,1: 27:[34, 28] Operation: 77-49=28
Exploring Operation: 77+34=111, Resulting Numbers: [49, 111]
Generated Node #0,0,2: 27:[49, 111] Operation: 77+34=111
Exploring Operation: 49-34=15, Resulting Numbers: [77, 15]
Generated Node #0,0,3: 27:[77, 15] Operation: 49-34=15
Exploring Operation: 77+49=126, Resulting Numbers: [34, 126]
Generated Node #0,0,4: 27:[34, 126] Operation: 77+49=126
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[34, 28], Operations: ['39-5=34', '77-49=28']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[49, 43], Operations: ['39-5=34', '77-34=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,27 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[77, 15], Operations: ['39-5=34', '49-34=15']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,27 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[49, 111], Operations: ['39-5=34', '77+34=111']
Exploring Operation: 111-49=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 49*111=5439, Resulting Numbers: [5439]
5439,27 unequal: No Solution
Exploring Operation: 49+111=160, Resulting Numbers: [160]
160,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 27:[34, 126], Operations: ['39-5=34', '77+49=126']
Exploring Operation: 34+126=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 34*126=4284, Resulting Numbers: [4284]
4284,27 unequal: No Solution
Exploring Operation: 126-34=92, Resulting Numbers: [92]
92,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[39, 49, 72], Operations: ['77-5=72']
Exploring Operation: 72-39=33, Resulting Numbers: [49, 33]
Generated Node #0,4,0: 27:[49, 33] Operation: 72-39=33
Exploring Operation: 39+72=111, Resulting Numbers: [49, 111]
Generated Node #0,4,1: 27:[49, 111] Operation: 39+72=111
Exploring Operation: 72-49=23, Resulting Numbers: [39, 23]
Generated Node #0,4,2: 27:[39, 23] Operation: 72-49=23
Exploring Operation: 39+49=88, Resulting Numbers: [72, 88]
Generated Node #0,4,3: 27:[72, 88] Operation: 39+49=88
Exploring Operation: 49-39=10, Resulting Numbers: [72, 10]
Generated Node #0,4,4: 27:[72, 10] Operation: 49-39=10
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 27:[39, 23], Operations: ['77-5=72', '72-49=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 27:[49, 33], Operations: ['77-5=72', '72-39=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 27:[72, 10], Operations: ['77-5=72', '49-39=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,27 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 27:[49, 111], Operations: ['77-5=72', '39+72=111']
Exploring Operation: 111-49=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 49*111=5439, Resulting Numbers: [5439]
5439,27 unequal: No Solution
Exploring Operation: 49+111=160, Resulting Numbers: [160]
160,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[72, 88], Operations: ['77-5=72', '39+49=88']
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,27 unequal: No Solution
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
52,
69,
3,
56
] | 99 | [
"52+56=108",
"69*3=207",
"207-108=99"
] | Current State: 99:[52, 69, 3, 56], Operations: []
Exploring Operation: 52+56=108, Resulting Numbers: [69, 3, 108]
Generated Node #2: [69, 3, 108] from Operation: 52+56=108
Current State: 99:[69, 3, 108], Operations: ['52+56=108']
Exploring Operation: 69*3=207, Resulting Numbers: [108, 207]
Generated Node #3: [108, 207] from Operation: 69*3=207
Current State: 99:[108, 207], Operations: ['52+56=108', '69*3=207']
Exploring Operation: 207-108=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[52, 69, 3, 56], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [3, 56, 17]
Generated Node #0,0: 99:[3, 56, 17] Operation: 69-52=17
Exploring Operation: 69-56=13, Resulting Numbers: [52, 3, 13]
Generated Node #0,1: 99:[52, 3, 13] Operation: 69-56=13
Moving to Node #0,1
Current State: 99:[52, 3, 13], Operations: ['69-56=13']
Exploring Operation: 52-13=39, Resulting Numbers: [3, 39]
Generated Node #0,1,0: 99:[3, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 99:[3, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[3, 4], Operations: ['69-56=13', '52/13=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[3, 39], Operations: ['69-56=13', '52-13=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[3, 56, 17], Operations: ['69-52=17']
Exploring Operation: 56-17=39, Resulting Numbers: [3, 39]
Generated Node #0,0,0: 99:[3, 39] Operation: 56-17=39
Exploring Operation: 56-3=53, Resulting Numbers: [17, 53]
Generated Node #0,0,1: 99:[17, 53] Operation: 56-3=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[3, 39], Operations: ['69-52=17', '56-17=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,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,1
Current State: 99:[17, 53], Operations: ['69-52=17', '56-3=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
80,
55,
95
] | 82 | [
"41*80=3280",
"95-55=40",
"3280/40=82"
] | Current State: 82:[41, 80, 55, 95], Operations: []
Exploring Operation: 41*80=3280, Resulting Numbers: [55, 95, 3280]
Generated Node #2: [55, 95, 3280] from Operation: 41*80=3280
Current State: 82:[55, 95, 3280], Operations: ['41*80=3280']
Exploring Operation: 95-55=40, Resulting Numbers: [3280, 40]
Generated Node #3: [3280, 40] from Operation: 95-55=40
Current State: 82:[3280, 40], Operations: ['41*80=3280', '95-55=40']
Exploring Operation: 3280/40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[41, 80, 55, 95], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [80, 95, 14]
Generated Node #0,0: 82:[80, 95, 14] Operation: 55-41=14
Exploring Operation: 95-55=40, Resulting Numbers: [41, 80, 40]
Generated Node #0,1: 82:[41, 80, 40] Operation: 95-55=40
Moving to Node #0,1
Current State: 82:[41, 80, 40], Operations: ['95-55=40']
Exploring Operation: 80/40=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 82:[41, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [41, 40]
Generated Node #0,1,1: 82:[41, 40] Operation: 80-40=40
Moving to Node #0,0
Current State: 82:[80, 95, 14], Operations: ['55-41=14']
Exploring Operation: 95-80=15, Resulting Numbers: [14, 15]
Generated Node #0,0,0: 82:[14, 15] Operation: 95-80=15
Exploring Operation: 95-14=81, Resulting Numbers: [80, 81]
Generated Node #0,0,1: 82:[80, 81] Operation: 95-14=81
Moving to Node #0,1,0
Current State: 82:[41, 2], Operations: ['95-55=40', '80/40=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[41, 80, 55, 95], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [41, 80, 40]
Generated Node #0,1: 82:[41, 80, 40] Operation: 95-55=40
Moving to Node #0,1
Current State: 82:[41, 80, 40], Operations: ['95-55=40']
Exploring Operation: 80/40=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 82:[41, 2] Operation: 80/40=2
Moving to Node #0,1,0
Current State: 82:[41, 2], Operations: ['95-55=40', '80/40=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
76,
37,
15,
78
] | 24 | [
"76-37=39",
"78-15=63",
"63-39=24"
] | Current State: 24:[76, 37, 15, 78], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [15, 78, 39]
Generated Node #2: [15, 78, 39] from Operation: 76-37=39
Current State: 24:[15, 78, 39], Operations: ['76-37=39']
Exploring Operation: 78-15=63, Resulting Numbers: [39, 63]
Generated Node #3: [39, 63] from Operation: 78-15=63
Current State: 24:[39, 63], Operations: ['76-37=39', '78-15=63']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[76, 37, 15, 78], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [15, 78, 39]
Generated Node #0,0: 24:[15, 78, 39] Operation: 76-37=39
Exploring Operation: 78-76=2, Resulting Numbers: [37, 15, 2]
Generated Node #0,1: 24:[37, 15, 2] Operation: 78-76=2
Moving to Node #0,1
Current State: 24:[37, 15, 2], Operations: ['78-76=2']
Exploring Operation: 37-2=35, Resulting Numbers: [15, 35]
Generated Node #0,1,0: 24:[15, 35] Operation: 37-2=35
Exploring Operation: 37-15=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 24:[2, 22] Operation: 37-15=22
Moving to Node #0,0
Current State: 24:[15, 78, 39], Operations: ['76-37=39']
Exploring Operation: 78-39=39, Resulting Numbers: [15, 39]
Generated Node #0,0,0: 24:[15, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [15, 2]
Generated Node #0,0,1: 24:[15, 2] Operation: 78/39=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[15, 2], Operations: ['76-37=39', '78/39=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[15, 39], Operations: ['76-37=39', '78-39=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,24 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[76, 37, 15, 78], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [15, 78, 39]
Generated Node #0,0: 24:[15, 78, 39] Operation: 76-37=39
Moving to Node #0,0
Current State: 24:[15, 78, 39], Operations: ['76-37=39']
Exploring Operation: 78-39=39, Resulting Numbers: [15, 39]
Generated Node #0,0,0: 24:[15, 39] Operation: 78-39=39
Moving to Node #0,0,0
Current State: 24:[15, 39], Operations: ['76-37=39', '78-39=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
27,
30,
75,
9
] | 45 | [
"27-9=18",
"75*18=1350",
"1350/30=45"
] | Current State: 45:[27, 30, 75, 9], Operations: []
Exploring Operation: 27-9=18, Resulting Numbers: [30, 75, 18]
Generated Node #2: [30, 75, 18] from Operation: 27-9=18
Current State: 45:[30, 75, 18], Operations: ['27-9=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [30, 1350]
Generated Node #3: [30, 1350] from Operation: 75*18=1350
Current State: 45:[30, 1350], Operations: ['27-9=18', '75*18=1350']
Exploring Operation: 1350/30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[27, 30, 75, 9], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [30, 75, 3]
Generated Node #0,0: 45:[30, 75, 3] Operation: 27/9=3
Exploring Operation: 30-27=3, Resulting Numbers: [75, 9, 3]
Generated Node #0,1: 45:[75, 9, 3] Operation: 30-27=3
Exploring Operation: 75-30=45, Resulting Numbers: [27, 9, 45]
Generated Node #0,2: 45:[27, 9, 45] Operation: 75-30=45
Exploring Operation: 75-27=48, Resulting Numbers: [30, 9, 48]
Generated Node #0,3: 45:[30, 9, 48] Operation: 75-27=48
Exploring Operation: 27+30=57, Resulting Numbers: [75, 9, 57]
Generated Node #0,4: 45:[75, 9, 57] Operation: 27+30=57
Moving to Node #0,2
Current State: 45:[27, 9, 45], Operations: ['75-30=45']
Exploring Operation: 27/9=3, Resulting Numbers: [45, 3]
Generated Node #0,2,0: 45:[45, 3] Operation: 27/9=3
Exploring Operation: 27+9=36, Resulting Numbers: [45, 36]
Generated Node #0,2,1: 45:[45, 36] Operation: 27+9=36
Exploring Operation: 45/9=5, Resulting Numbers: [27, 5]
Generated Node #0,2,2: 45:[27, 5] Operation: 45/9=5
Exploring Operation: 45-27=18, Resulting Numbers: [9, 18]
Generated Node #0,2,3: 45:[9, 18] Operation: 45-27=18
Exploring Operation: 27-9=18, Resulting Numbers: [45, 18]
Generated Node #0,2,4: 45:[45, 18] Operation: 27-9=18
Moving to Node #0,3
Current State: 45:[30, 9, 48], Operations: ['75-27=48']
Exploring Operation: 48-9=39, Resulting Numbers: [30, 39]
Generated Node #0,3,0: 45:[30, 39] Operation: 48-9=39
Exploring Operation: 30-9=21, Resulting Numbers: [48, 21]
Generated Node #0,3,1: 45:[48, 21] Operation: 30-9=21
Exploring Operation: 9+48=57, Resulting Numbers: [30, 57]
Generated Node #0,3,2: 45:[30, 57] Operation: 9+48=57
Exploring Operation: 48-30=18, Resulting Numbers: [9, 18]
Generated Node #0,3,3: 45:[9, 18] Operation: 48-30=18
Exploring Operation: 30+9=39, Resulting Numbers: [48, 39]
Generated Node #0,3,4: 45:[48, 39] Operation: 30+9=39
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[9, 18], Operations: ['75-27=48', '48-30=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,45 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No 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: 45:[48, 21], Operations: ['75-27=48', '30-9=21']
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,45 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,45 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No 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: 45:[48, 39], Operations: ['75-27=48', '30+9=39']
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,45 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No 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: 45:[30, 39], Operations: ['75-27=48', '48-9=39']
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,45 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,45 unequal: No Solution
No 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: 45:[30, 57], Operations: ['75-27=48', '9+48=57']
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,45 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,45 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: 45:[75, 9, 3], Operations: ['30-27=3']
Exploring Operation: 75-3=72, Resulting Numbers: [9, 72]
Generated Node #0,1,0: 45:[9, 72] Operation: 75-3=72
Exploring Operation: 75/3=25, Resulting Numbers: [9, 25]
Generated Node #0,1,1: 45:[9, 25] Operation: 75/3=25
Exploring Operation: 75-9=66, Resulting Numbers: [3, 66]
Generated Node #0,1,2: 45:[3, 66] Operation: 75-9=66
Exploring Operation: 9-3=6, Resulting Numbers: [75, 6]
Generated Node #0,1,3: 45:[75, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [75, 3]
Generated Node #0,1,4: 45:[75, 3] Operation: 9/3=3
Moving to Node #0,4
Current State: 45:[75, 9, 57], Operations: ['27+30=57']
Exploring Operation: 75-9=66, Resulting Numbers: [57, 66]
Generated Node #0,4,0: 45:[57, 66] Operation: 75-9=66
Exploring Operation: 75+9=84, Resulting Numbers: [57, 84]
Generated Node #0,4,1: 45:[57, 84] Operation: 75+9=84
Exploring Operation: 75-57=18, Resulting Numbers: [9, 18]
Generated Node #0,4,2: 45:[9, 18] Operation: 75-57=18
Exploring Operation: 57-9=48, Resulting Numbers: [75, 48]
Generated Node #0,4,3: 45:[75, 48] Operation: 57-9=48
Exploring Operation: 9+57=66, Resulting Numbers: [75, 66]
Generated Node #0,4,4: 45:[75, 66] Operation: 9+57=66
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 45:[9, 18], Operations: ['27+30=57', '75-57=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,45 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No 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: 45:[57, 66], Operations: ['27+30=57', '75-9=66']
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,45 unequal: No Solution
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,45 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No 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: 45:[75, 48], Operations: ['27+30=57', '57-9=48']
Exploring Operation: 75*48=3600, Resulting Numbers: [3600]
3600,45 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 75+48=123, Resulting Numbers: [123]
123,45 unequal: No Solution
No 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: 45:[57, 84], Operations: ['27+30=57', '75+9=84']
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,45 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No 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: 45:[75, 66], Operations: ['27+30=57', '9+57=66']
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,45 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: 45:[30, 75, 3], Operations: ['27/9=3']
Exploring Operation: 30/3=10, Resulting Numbers: [75, 10]
Generated Node #0,0,0: 45:[75, 10] Operation: 30/3=10
Exploring Operation: 30+3=33, Resulting Numbers: [75, 33]
Generated Node #0,0,1: 45:[75, 33] Operation: 30+3=33
Exploring Operation: 75/3=25, Resulting Numbers: [30, 25]
Generated Node #0,0,2: 45:[30, 25] Operation: 75/3=25
Exploring Operation: 75-30=45, Resulting Numbers: [3, 45]
Generated Node #0,0,3: 45:[3, 45] Operation: 75-30=45
Exploring Operation: 30-3=27, Resulting Numbers: [75, 27]
Generated Node #0,0,4: 45:[75, 27] Operation: 30-3=27
Moving to Node #0,2,0
Current State: 45:[45, 3], Operations: ['75-30=45', '27/9=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[3, 45], Operations: ['27/9=3', '75-30=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[45, 18], Operations: ['75-30=45', '27-9=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[9, 18], Operations: ['75-30=45', '45-27=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,45 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[45, 36], Operations: ['75-30=45', '27+9=36']
Exploring Operation: 45*36=1620, Resulting Numbers: [1620]
1620,45 unequal: No Solution
Exploring Operation: 45+36=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[9, 25], Operations: ['30-27=3', '75/3=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[27, 5], Operations: ['75-30=45', '45/9=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[3, 66], Operations: ['30-27=3', '75-9=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,45 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,45 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[30, 25], Operations: ['27/9=3', '75/3=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[9, 72], Operations: ['30-27=3', '75-3=72']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[75, 3], Operations: ['30-27=3', '9/3=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,45 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[75, 10], Operations: ['27/9=3', '30/3=10']
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,45 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[75, 6], Operations: ['30-27=3', '9-3=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,45 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,45 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[75, 27], Operations: ['27/9=3', '30-3=27']
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[75, 33], Operations: ['27/9=3', '30+3=33']
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,45 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,45 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
33,
12,
43
] | 41 | [
"33+12=45",
"45-43=2",
"82/2=41"
] | Current State: 41:[82, 33, 12, 43], Operations: []
Exploring Operation: 33+12=45, Resulting Numbers: [82, 43, 45]
Generated Node #2: [82, 43, 45] from Operation: 33+12=45
Current State: 41:[82, 43, 45], Operations: ['33+12=45']
Exploring Operation: 45-43=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 45-43=2
Current State: 41:[82, 2], Operations: ['33+12=45', '45-43=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[82, 33, 12, 43], Operations: []
Exploring Operation: 43-12=31, Resulting Numbers: [82, 33, 31]
Generated Node #0,0: 41:[82, 33, 31] Operation: 43-12=31
Exploring Operation: 82-12=70, Resulting Numbers: [33, 43, 70]
Generated Node #0,1: 41:[33, 43, 70] Operation: 82-12=70
Exploring Operation: 82-43=39, Resulting Numbers: [33, 12, 39]
Generated Node #0,2: 41:[33, 12, 39] Operation: 82-43=39
Exploring Operation: 82-33=49, Resulting Numbers: [12, 43, 49]
Generated Node #0,3: 41:[12, 43, 49] Operation: 82-33=49
Exploring Operation: 33+12=45, Resulting Numbers: [82, 43, 45]
Generated Node #0,4: 41:[82, 43, 45] Operation: 33+12=45
Moving to Node #0,1
Current State: 41:[33, 43, 70], Operations: ['82-12=70']
Exploring Operation: 70-33=37, Resulting Numbers: [43, 37]
Generated Node #0,1,0: 41:[43, 37] Operation: 70-33=37
Exploring Operation: 33+70=103, Resulting Numbers: [43, 103]
Generated Node #0,1,1: 41:[43, 103] Operation: 33+70=103
Exploring Operation: 70-43=27, Resulting Numbers: [33, 27]
Generated Node #0,1,2: 41:[33, 27] Operation: 70-43=27
Exploring Operation: 43-33=10, Resulting Numbers: [70, 10]
Generated Node #0,1,3: 41:[70, 10] Operation: 43-33=10
Exploring Operation: 33+43=76, Resulting Numbers: [70, 76]
Generated Node #0,1,4: 41:[70, 76] Operation: 33+43=76
Moving to Node #0,3
Current State: 41:[12, 43, 49], Operations: ['82-33=49']
Exploring Operation: 12+49=61, Resulting Numbers: [43, 61]
Generated Node #0,3,0: 41:[43, 61] Operation: 12+49=61
Exploring Operation: 43-12=31, Resulting Numbers: [49, 31]
Generated Node #0,3,1: 41:[49, 31] Operation: 43-12=31
Exploring Operation: 49-43=6, Resulting Numbers: [12, 6]
Generated Node #0,3,2: 41:[12, 6] Operation: 49-43=6
Exploring Operation: 12+43=55, Resulting Numbers: [49, 55]
Generated Node #0,3,3: 41:[49, 55] Operation: 12+43=55
Exploring Operation: 49-12=37, Resulting Numbers: [43, 37]
Generated Node #0,3,4: 41:[43, 37] Operation: 49-12=37
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[43, 37], Operations: ['82-33=49', '49-12=37']
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,41 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[49, 31], Operations: ['82-33=49', '43-12=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,41 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[43, 61], Operations: ['82-33=49', '12+49=61']
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[49, 55], Operations: ['82-33=49', '12+43=55']
Exploring Operation: 49*55=2695, Resulting Numbers: [2695]
2695,41 unequal: No Solution
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[12, 6], Operations: ['82-33=49', '49-43=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,41 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: 41:[33, 12, 39], Operations: ['82-43=39']
Exploring Operation: 12+39=51, Resulting Numbers: [33, 51]
Generated Node #0,2,0: 41:[33, 51] Operation: 12+39=51
Exploring Operation: 39-12=27, Resulting Numbers: [33, 27]
Generated Node #0,2,1: 41:[33, 27] Operation: 39-12=27
Exploring Operation: 33-12=21, Resulting Numbers: [39, 21]
Generated Node #0,2,2: 41:[39, 21] Operation: 33-12=21
Exploring Operation: 33+12=45, Resulting Numbers: [39, 45]
Generated Node #0,2,3: 41:[39, 45] Operation: 33+12=45
Exploring Operation: 33+39=72, Resulting Numbers: [12, 72]
Generated Node #0,2,4: 41:[12, 72] Operation: 33+39=72
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[39, 45], Operations: ['82-43=39', '33+12=45']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[33, 51], Operations: ['82-43=39', '12+39=51']
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[33, 27], Operations: ['82-43=39', '39-12=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,41 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[39, 21], Operations: ['82-43=39', '33-12=21']
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,41 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[12, 72], Operations: ['82-43=39', '33+39=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,41 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,41 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: 41:[82, 43, 45], Operations: ['33+12=45']
Exploring Operation: 82-45=37, Resulting Numbers: [43, 37]
Generated Node #0,4,0: 41:[43, 37] Operation: 82-45=37
Exploring Operation: 82-43=39, Resulting Numbers: [45, 39]
Generated Node #0,4,1: 41:[45, 39] Operation: 82-43=39
Exploring Operation: 45-43=2, Resulting Numbers: [82, 2]
Generated Node #0,4,2: 41:[82, 2] Operation: 45-43=2
Exploring Operation: 82+43=125, Resulting Numbers: [45, 125]
Generated Node #0,4,3: 41:[45, 125] Operation: 82+43=125
Exploring Operation: 82+45=127, Resulting Numbers: [43, 127]
Generated Node #0,4,4: 41:[43, 127] Operation: 82+45=127
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[43, 37], Operations: ['33+12=45', '82-45=37']
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,41 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[45, 39], Operations: ['33+12=45', '82-43=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,41 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[82, 2], Operations: ['33+12=45', '45-43=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[82, 33, 12, 43], Operations: []
Exploring Operation: 33+12=45, Resulting Numbers: [82, 43, 45]
Generated Node #0,4: 41:[82, 43, 45] Operation: 33+12=45
Moving to Node #0,4
Current State: 41:[82, 43, 45], Operations: ['33+12=45']
Exploring Operation: 45-43=2, Resulting Numbers: [82, 2]
Generated Node #0,4,2: 41:[82, 2] Operation: 45-43=2
Moving to Node #0,4,2
Current State: 41:[82, 2], Operations: ['33+12=45', '45-43=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_5 | mult_heuristic |
[
82,
16,
7,
76
] | 17 | [
"82-16=66",
"7+76=83",
"83-66=17"
] | Current State: 17:[82, 16, 7, 76], Operations: []
Exploring Operation: 82-16=66, Resulting Numbers: [7, 76, 66]
Generated Node #2: [7, 76, 66] from Operation: 82-16=66
Current State: 17:[7, 76, 66], Operations: ['82-16=66']
Exploring Operation: 7+76=83, Resulting Numbers: [66, 83]
Generated Node #3: [66, 83] from Operation: 7+76=83
Current State: 17:[66, 83], Operations: ['82-16=66', '7+76=83']
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[82, 16, 7, 76], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [16, 7, 6]
Generated Node #0,0: 17:[16, 7, 6] Operation: 82-76=6
Exploring Operation: 82-7=75, Resulting Numbers: [16, 76, 75]
Generated Node #0,1: 17:[16, 76, 75] Operation: 82-7=75
Exploring Operation: 76-7=69, Resulting Numbers: [82, 16, 69]
Generated Node #0,2: 17:[82, 16, 69] Operation: 76-7=69
Exploring Operation: 82-16=66, Resulting Numbers: [7, 76, 66]
Generated Node #0,3: 17:[7, 76, 66] Operation: 82-16=66
Exploring Operation: 76-16=60, Resulting Numbers: [82, 7, 60]
Generated Node #0,4: 17:[82, 7, 60] Operation: 76-16=60
Moving to Node #0,0
Current State: 17:[16, 7, 6], Operations: ['82-76=6']
Exploring Operation: 16+6=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 17:[7, 22] Operation: 16+6=22
Exploring Operation: 7-6=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 17:[16, 1] Operation: 7-6=1
Exploring Operation: 7+6=13, Resulting Numbers: [16, 13]
Generated Node #0,0,2: 17:[16, 13] Operation: 7+6=13
Exploring Operation: 16-6=10, Resulting Numbers: [7, 10]
Generated Node #0,0,3: 17:[7, 10] Operation: 16-6=10
Exploring Operation: 16+7=23, Resulting Numbers: [6, 23]
Generated Node #0,0,4: 17:[6, 23] Operation: 16+7=23
Moving to Node #0,2
Current State: 17:[82, 16, 69], Operations: ['76-7=69']
Exploring Operation: 82-69=13, Resulting Numbers: [16, 13]
Generated Node #0,2,0: 17:[16, 13] Operation: 82-69=13
Exploring Operation: 16+69=85, Resulting Numbers: [82, 85]
Generated Node #0,2,1: 17:[82, 85] Operation: 16+69=85
Exploring Operation: 69-16=53, Resulting Numbers: [82, 53]
Generated Node #0,2,2: 17:[82, 53] Operation: 69-16=53
Exploring Operation: 82+16=98, Resulting Numbers: [69, 98]
Generated Node #0,2,3: 17:[69, 98] Operation: 82+16=98
Exploring Operation: 82-16=66, Resulting Numbers: [69, 66]
Generated Node #0,2,4: 17:[69, 66] Operation: 82-16=66
Moving to Node #0,4
Current State: 17:[82, 7, 60], Operations: ['76-16=60']
Exploring Operation: 82-60=22, Resulting Numbers: [7, 22]
Generated Node #0,4,0: 17:[7, 22] Operation: 82-60=22
Exploring Operation: 82+7=89, Resulting Numbers: [60, 89]
Generated Node #0,4,1: 17:[60, 89] Operation: 82+7=89
Exploring Operation: 7+60=67, Resulting Numbers: [82, 67]
Generated Node #0,4,2: 17:[82, 67] Operation: 7+60=67
Exploring Operation: 82-7=75, Resulting Numbers: [60, 75]
Generated Node #0,4,3: 17:[60, 75] Operation: 82-7=75
Exploring Operation: 60-7=53, Resulting Numbers: [82, 53]
Generated Node #0,4,4: 17:[82, 53] Operation: 60-7=53
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[7, 22], Operations: ['76-16=60', '82-60=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,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,4,3
Current State: 17:[60, 75], Operations: ['76-16=60', '82-7=75']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,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,4,4
Current State: 17:[82, 53], Operations: ['76-16=60', '60-7=53']
Exploring Operation: 82+53=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Exploring Operation: 82*53=4346, Resulting Numbers: [4346]
4346,17 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,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,4,1
Current State: 17:[60, 89], Operations: ['76-16=60', '82+7=89']
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,17 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,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,4,2
Current State: 17:[82, 67], Operations: ['76-16=60', '7+60=67']
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 82+67=149, Resulting Numbers: [149]
149,17 unequal: No Solution
Exploring Operation: 82*67=5494, Resulting Numbers: [5494]
5494,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 17:[16, 76, 75], Operations: ['82-7=75']
Exploring Operation: 76-75=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 17:[16, 1] Operation: 76-75=1
Exploring Operation: 76-16=60, Resulting Numbers: [75, 60]
Generated Node #0,1,1: 17:[75, 60] Operation: 76-16=60
Exploring Operation: 16+76=92, Resulting Numbers: [75, 92]
Generated Node #0,1,2: 17:[75, 92] Operation: 16+76=92
Exploring Operation: 16+75=91, Resulting Numbers: [76, 91]
Generated Node #0,1,3: 17:[76, 91] Operation: 16+75=91
Exploring Operation: 75-16=59, Resulting Numbers: [76, 59]
Generated Node #0,1,4: 17:[76, 59] Operation: 75-16=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[16, 1], Operations: ['82-7=75', '76-75=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[82, 16, 7, 76], Operations: []
Exploring Operation: 82-7=75, Resulting Numbers: [16, 76, 75]
Generated Node #0,1: 17:[16, 76, 75] Operation: 82-7=75
Moving to Node #0,1
Current State: 17:[16, 76, 75], Operations: ['82-7=75']
Exploring Operation: 76-75=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 17:[16, 1] Operation: 76-75=1
Moving to Node #0,1,0
Current State: 17:[16, 1], Operations: ['82-7=75', '76-75=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
90,
3,
12,
93
] | 39 | [
"93-90=3",
"3*12=36",
"3+36=39"
] | Current State: 39:[90, 3, 12, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [3, 12, 3]
Generated Node #2: [3, 12, 3] from Operation: 93-90=3
Current State: 39:[3, 12, 3], Operations: ['93-90=3']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,39 equal: Goal Reached
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[90, 3, 12, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [90, 12, 31]
Generated Node #0,0: 39:[90, 12, 31] Operation: 93/3=31
Exploring Operation: 90/3=30, Resulting Numbers: [12, 93, 30]
Generated Node #0,1: 39:[12, 93, 30] Operation: 90/3=30
Exploring Operation: 93-90=3, Resulting Numbers: [3, 12, 3]
Generated Node #0,2: 39:[3, 12, 3] Operation: 93-90=3
Moving to Node #0,2
Current State: 39:[3, 12, 3], Operations: ['93-90=3']
Exploring Operation: 12/3=4, Resulting Numbers: [3, 4]
Generated Node #0,2,0: 39:[3, 4] Operation: 12/3=4
Exploring Operation: 3+12=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 39:[3, 15] Operation: 3+12=15
Exploring Operation: 12/3=4, Resulting Numbers: [3, 4]
Generated Node #0,2,2: 39:[3, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[3, 4], Operations: ['93-90=3', '12/3=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 4-3=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,2
Current State: 39:[3, 4], Operations: ['93-90=3', '12/3=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,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,1
Current State: 39:[3, 15], Operations: ['93-90=3', '3+12=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,39 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: 39:[90, 12, 31], Operations: ['93/3=31']
Exploring Operation: 90-31=59, Resulting Numbers: [12, 59]
Generated Node #0,0,0: 39:[12, 59] Operation: 90-31=59
Exploring Operation: 12+31=43, Resulting Numbers: [90, 43]
Generated Node #0,0,1: 39:[90, 43] Operation: 12+31=43
Exploring Operation: 90-12=78, Resulting Numbers: [31, 78]
Generated Node #0,0,2: 39:[31, 78] Operation: 90-12=78
Moving to Node #0,1
Current State: 39:[12, 93, 30], Operations: ['90/3=30']
Exploring Operation: 93-12=81, Resulting Numbers: [30, 81]
Generated Node #0,1,0: 39:[30, 81] Operation: 93-12=81
Exploring Operation: 93-30=63, Resulting Numbers: [12, 63]
Generated Node #0,1,1: 39:[12, 63] Operation: 93-30=63
Exploring Operation: 12+30=42, Resulting Numbers: [93, 42]
Generated Node #0,1,2: 39:[93, 42] Operation: 12+30=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[12, 63], Operations: ['90/3=30', '93-30=63']
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,39 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,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,1,0
Current State: 39:[30, 81], Operations: ['90/3=30', '93-12=81']
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,39 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,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,1,2
Current State: 39:[93, 42], Operations: ['90/3=30', '12+30=42']
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,39 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,39 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: 39:[12, 59], Operations: ['93/3=31', '90-31=59']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 12+59=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 12*59=708, Resulting Numbers: [708]
708,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[31, 78], Operations: ['93/3=31', '90-12=78']
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[90, 43], Operations: ['93/3=31', '12+31=43']
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,39 unequal: No Solution
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,39 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,39 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
39,
13,
4
] | 72 | [
"71+13=84",
"39*4=156",
"156-84=72"
] | Current State: 72:[71, 39, 13, 4], Operations: []
Exploring Operation: 71+13=84, Resulting Numbers: [39, 4, 84]
Generated Node #2: [39, 4, 84] from Operation: 71+13=84
Current State: 72:[39, 4, 84], Operations: ['71+13=84']
Exploring Operation: 39*4=156, Resulting Numbers: [84, 156]
Generated Node #3: [84, 156] from Operation: 39*4=156
Current State: 72:[84, 156], Operations: ['71+13=84', '39*4=156']
Exploring Operation: 156-84=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[71, 39, 13, 4], Operations: []
Exploring Operation: 39-4=35, Resulting Numbers: [71, 13, 35]
Generated Node #0,0: 72:[71, 13, 35] Operation: 39-4=35
Exploring Operation: 39-13=26, Resulting Numbers: [71, 4, 26]
Generated Node #0,1: 72:[71, 4, 26] Operation: 39-13=26
Exploring Operation: 13-4=9, Resulting Numbers: [71, 39, 9]
Generated Node #0,2: 72:[71, 39, 9] Operation: 13-4=9
Exploring Operation: 39/13=3, Resulting Numbers: [71, 4, 3]
Generated Node #0,3: 72:[71, 4, 3] Operation: 39/13=3
Moving to Node #0,3
Current State: 72:[71, 4, 3], Operations: ['39/13=3']
Exploring Operation: 4*3=12, Resulting Numbers: [71, 12]
Generated Node #0,3,0: 72:[71, 12] Operation: 4*3=12
Exploring Operation: 71+3=74, Resulting Numbers: [4, 74]
Generated Node #0,3,1: 72:[4, 74] Operation: 71+3=74
Exploring Operation: 4+3=7, Resulting Numbers: [71, 7]
Generated Node #0,3,2: 72:[71, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 72:[71, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 72:[71, 12], Operations: ['39/13=3', '4*3=12']
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,72 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,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:[4, 74], Operations: ['39/13=3', '71+3=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,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,2
Current State: 72:[71, 7], Operations: ['39/13=3', '4+3=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,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,3
Current State: 72:[71, 1], Operations: ['39/13=3', '4-3=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[71, 39, 13, 4], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [71, 4, 3]
Generated Node #0,3: 72:[71, 4, 3] Operation: 39/13=3
Moving to Node #0,3
Current State: 72:[71, 4, 3], Operations: ['39/13=3']
Exploring Operation: 4-3=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 72:[71, 1] Operation: 4-3=1
Moving to Node #0,3,3
Current State: 72:[71, 1], Operations: ['39/13=3', '4-3=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
96,
26,
50,
67
] | 63 | [
"50-26=24",
"96/24=4",
"67-4=63"
] | Current State: 63:[96, 26, 50, 67], Operations: []
Exploring Operation: 50-26=24, Resulting Numbers: [96, 67, 24]
Generated Node #2: [96, 67, 24] from Operation: 50-26=24
Current State: 63:[96, 67, 24], Operations: ['50-26=24']
Exploring Operation: 96/24=4, Resulting Numbers: [67, 4]
Generated Node #3: [67, 4] from Operation: 96/24=4
Current State: 63:[67, 4], Operations: ['50-26=24', '96/24=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[96, 26, 50, 67], Operations: []
Exploring Operation: 96-26=70, Resulting Numbers: [50, 67, 70]
Generated Node #0,0: 63:[50, 67, 70] Operation: 96-26=70
Moving to Node #0,0
Current State: 63:[50, 67, 70], Operations: ['96-26=70']
Exploring Operation: 70-50=20, Resulting Numbers: [67, 20]
Generated Node #0,0,0: 63:[67, 20] Operation: 70-50=20
Moving to Node #0,0,0
Current State: 63:[67, 20], Operations: ['96-26=70', '70-50=20']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
83,
11,
62
] | 66 | [
"83-39=44",
"44/11=4",
"62+4=66"
] | Current State: 66:[39, 83, 11, 62], Operations: []
Exploring Operation: 83-39=44, Resulting Numbers: [11, 62, 44]
Generated Node #2: [11, 62, 44] from Operation: 83-39=44
Current State: 66:[11, 62, 44], Operations: ['83-39=44']
Exploring Operation: 44/11=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 44/11=4
Current State: 66:[62, 4], Operations: ['83-39=44', '44/11=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[39, 83, 11, 62], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [39, 11, 21]
Generated Node #0,0: 66:[39, 11, 21] Operation: 83-62=21
Exploring Operation: 83-11=72, Resulting Numbers: [39, 62, 72]
Generated Node #0,1: 66:[39, 62, 72] Operation: 83-11=72
Exploring Operation: 62-39=23, Resulting Numbers: [83, 11, 23]
Generated Node #0,2: 66:[83, 11, 23] Operation: 62-39=23
Exploring Operation: 83-39=44, Resulting Numbers: [11, 62, 44]
Generated Node #0,3: 66:[11, 62, 44] Operation: 83-39=44
Moving to Node #0,0
Current State: 66:[39, 11, 21], Operations: ['83-62=21']
Exploring Operation: 11+21=32, Resulting Numbers: [39, 32]
Generated Node #0,0,0: 66:[39, 32] Operation: 11+21=32
Exploring Operation: 39+21=60, Resulting Numbers: [11, 60]
Generated Node #0,0,1: 66:[11, 60] Operation: 39+21=60
Exploring Operation: 39-11=28, Resulting Numbers: [21, 28]
Generated Node #0,0,2: 66:[21, 28] Operation: 39-11=28
Exploring Operation: 39-21=18, Resulting Numbers: [11, 18]
Generated Node #0,0,3: 66:[11, 18] Operation: 39-21=18
Moving to Node #0,3
Current State: 66:[11, 62, 44], Operations: ['83-39=44']
Exploring Operation: 44-11=33, Resulting Numbers: [62, 33]
Generated Node #0,3,0: 66:[62, 33] Operation: 44-11=33
Exploring Operation: 62-44=18, Resulting Numbers: [11, 18]
Generated Node #0,3,1: 66:[11, 18] Operation: 62-44=18
Exploring Operation: 11+44=55, Resulting Numbers: [62, 55]
Generated Node #0,3,2: 66:[62, 55] Operation: 11+44=55
Exploring Operation: 44/11=4, Resulting Numbers: [62, 4]
Generated Node #0,3,3: 66:[62, 4] Operation: 44/11=4
Moving to Node #0,1
Current State: 66:[39, 62, 72], Operations: ['83-11=72']
Exploring Operation: 72-62=10, Resulting Numbers: [39, 10]
Generated Node #0,1,0: 66:[39, 10] Operation: 72-62=10
Exploring Operation: 72-39=33, Resulting Numbers: [62, 33]
Generated Node #0,1,1: 66:[62, 33] Operation: 72-39=33
Exploring Operation: 62-39=23, Resulting Numbers: [72, 23]
Generated Node #0,1,2: 66:[72, 23] Operation: 62-39=23
Exploring Operation: 39+62=101, Resulting Numbers: [72, 101]
Generated Node #0,1,3: 66:[72, 101] Operation: 39+62=101
Moving to Node #0,2
Current State: 66:[83, 11, 23], Operations: ['62-39=23']
Exploring Operation: 23-11=12, Resulting Numbers: [83, 12]
Generated Node #0,2,0: 66:[83, 12] Operation: 23-11=12
Exploring Operation: 83-11=72, Resulting Numbers: [23, 72]
Generated Node #0,2,1: 66:[23, 72] Operation: 83-11=72
Exploring Operation: 83-23=60, Resulting Numbers: [11, 60]
Generated Node #0,2,2: 66:[11, 60] Operation: 83-23=60
Exploring Operation: 11+23=34, Resulting Numbers: [83, 34]
Generated Node #0,2,3: 66:[83, 34] Operation: 11+23=34
Moving to Node #0,0,3
Current State: 66:[11, 18], Operations: ['83-62=21', '39-21=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,66 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[11, 18], Operations: ['83-39=44', '62-44=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,66 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[62, 33], Operations: ['83-39=44', '44-11=33']
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[62, 33], Operations: ['83-11=72', '72-39=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,66 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[62, 4], Operations: ['83-39=44', '44/11=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[39, 83, 11, 62], Operations: []
Exploring Operation: 83-39=44, Resulting Numbers: [11, 62, 44]
Generated Node #0,3: 66:[11, 62, 44] Operation: 83-39=44
Moving to Node #0,3
Current State: 66:[11, 62, 44], Operations: ['83-39=44']
Exploring Operation: 44/11=4, Resulting Numbers: [62, 4]
Generated Node #0,3,3: 66:[62, 4] Operation: 44/11=4
Moving to Node #0,3,3
Current State: 66:[62, 4], Operations: ['83-39=44', '44/11=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
50,
98,
29,
4
] | 68 | [
"98-50=48",
"29*4=116",
"116-48=68"
] | Current State: 68:[50, 98, 29, 4], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [29, 4, 48]
Generated Node #2: [29, 4, 48] from Operation: 98-50=48
Current State: 68:[29, 4, 48], Operations: ['98-50=48']
Exploring Operation: 29*4=116, Resulting Numbers: [48, 116]
Generated Node #3: [48, 116] from Operation: 29*4=116
Current State: 68:[48, 116], Operations: ['98-50=48', '29*4=116']
Exploring Operation: 116-48=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[50, 98, 29, 4], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [29, 4, 48]
Generated Node #0,0: 68:[29, 4, 48] Operation: 98-50=48
Exploring Operation: 98-29=69, Resulting Numbers: [50, 4, 69]
Generated Node #0,1: 68:[50, 4, 69] Operation: 98-29=69
Exploring Operation: 50-29=21, Resulting Numbers: [98, 4, 21]
Generated Node #0,2: 68:[98, 4, 21] Operation: 50-29=21
Exploring Operation: 50+29=79, Resulting Numbers: [98, 4, 79]
Generated Node #0,3: 68:[98, 4, 79] Operation: 50+29=79
Moving to Node #0,1
Current State: 68:[50, 4, 69], Operations: ['98-29=69']
Exploring Operation: 69-4=65, Resulting Numbers: [50, 65]
Generated Node #0,1,0: 68:[50, 65] Operation: 69-4=65
Exploring Operation: 50-4=46, Resulting Numbers: [69, 46]
Generated Node #0,1,1: 68:[69, 46] Operation: 50-4=46
Exploring Operation: 69-50=19, Resulting Numbers: [4, 19]
Generated Node #0,1,2: 68:[4, 19] Operation: 69-50=19
Exploring Operation: 50+4=54, Resulting Numbers: [69, 54]
Generated Node #0,1,3: 68:[69, 54] Operation: 50+4=54
Moving to Node #0,0
Current State: 68:[29, 4, 48], Operations: ['98-50=48']
Exploring Operation: 48/4=12, Resulting Numbers: [29, 12]
Generated Node #0,0,0: 68:[29, 12] Operation: 48/4=12
Exploring Operation: 29+4=33, Resulting Numbers: [48, 33]
Generated Node #0,0,1: 68:[48, 33] Operation: 29+4=33
Exploring Operation: 29+48=77, Resulting Numbers: [4, 77]
Generated Node #0,0,2: 68:[4, 77] Operation: 29+48=77
Exploring Operation: 48-29=19, Resulting Numbers: [4, 19]
Generated Node #0,0,3: 68:[4, 19] Operation: 48-29=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[4, 19], Operations: ['98-50=48', '48-29=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[4, 77], Operations: ['98-50=48', '29+48=77']
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,68 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[29, 12], Operations: ['98-50=48', '48/4=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,68 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[48, 33], Operations: ['98-50=48', '29+4=33']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,68 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: 68:[98, 4, 21], Operations: ['50-29=21']
Exploring Operation: 98-21=77, Resulting Numbers: [4, 77]
Generated Node #0,2,0: 68:[4, 77] Operation: 98-21=77
Exploring Operation: 98+4=102, Resulting Numbers: [21, 102]
Generated Node #0,2,1: 68:[21, 102] Operation: 98+4=102
Exploring Operation: 21-4=17, Resulting Numbers: [98, 17]
Generated Node #0,2,2: 68:[98, 17] Operation: 21-4=17
Exploring Operation: 98-4=94, Resulting Numbers: [21, 94]
Generated Node #0,2,3: 68:[21, 94] Operation: 98-4=94
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[4, 77], Operations: ['50-29=21', '98-21=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,68 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[98, 17], Operations: ['50-29=21', '21-4=17']
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,68 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Exploring Operation: 98*17=1666, Resulting Numbers: [1666]
1666,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[21, 94], Operations: ['50-29=21', '98-4=94']
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,68 unequal: No Solution
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,68 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[21, 102], Operations: ['50-29=21', '98+4=102']
Exploring Operation: 21+102=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 21*102=2142, Resulting Numbers: [2142]
2142,68 unequal: No Solution
Exploring Operation: 102-21=81, Resulting Numbers: [81]
81,68 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: 68:[98, 4, 79], Operations: ['50+29=79']
Exploring Operation: 98+4=102, Resulting Numbers: [79, 102]
Generated Node #0,3,0: 68:[79, 102] Operation: 98+4=102
Exploring Operation: 98-79=19, Resulting Numbers: [4, 19]
Generated Node #0,3,1: 68:[4, 19] Operation: 98-79=19
Exploring Operation: 79-4=75, Resulting Numbers: [98, 75]
Generated Node #0,3,2: 68:[98, 75] Operation: 79-4=75
Exploring Operation: 98-4=94, Resulting Numbers: [79, 94]
Generated Node #0,3,3: 68:[79, 94] Operation: 98-4=94
Moving to Node #0,1,2
Current State: 68:[4, 19], Operations: ['98-29=69', '69-50=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[4, 19], Operations: ['50+29=79', '98-79=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[69, 46], Operations: ['98-29=69', '50-4=46']
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,68 unequal: No Solution
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[69, 54], Operations: ['98-29=69', '50+4=54']
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,68 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[50, 65], Operations: ['98-29=69', '69-4=65']
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,68 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[98, 75], Operations: ['50+29=79', '79-4=75']
Exploring Operation: 98+75=173, Resulting Numbers: [173]
173,68 unequal: No Solution
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 98*75=7350, Resulting Numbers: [7350]
7350,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[79, 94], Operations: ['50+29=79', '98-4=94']
Exploring Operation: 79*94=7426, Resulting Numbers: [7426]
7426,68 unequal: No Solution
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 79+94=173, Resulting Numbers: [173]
173,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[79, 102], Operations: ['50+29=79', '98+4=102']
Exploring Operation: 79+102=181, Resulting Numbers: [181]
181,68 unequal: No Solution
Exploring Operation: 79*102=8058, Resulting Numbers: [8058]
8058,68 unequal: No Solution
Exploring Operation: 102-79=23, Resulting Numbers: [23]
23,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
5,
58,
51
] | 29 | [
"23*58=1334",
"51-5=46",
"1334/46=29"
] | Current State: 29:[23, 5, 58, 51], Operations: []
Exploring Operation: 23*58=1334, Resulting Numbers: [5, 51, 1334]
Generated Node #2: [5, 51, 1334] from Operation: 23*58=1334
Current State: 29:[5, 51, 1334], Operations: ['23*58=1334']
Exploring Operation: 51-5=46, Resulting Numbers: [1334, 46]
Generated Node #3: [1334, 46] from Operation: 51-5=46
Current State: 29:[1334, 46], Operations: ['23*58=1334', '51-5=46']
Exploring Operation: 1334/46=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[23, 5, 58, 51], Operations: []
Exploring Operation: 23+5=28, Resulting Numbers: [58, 51, 28]
Generated Node #0,0: 29:[58, 51, 28] Operation: 23+5=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[58, 51, 28], Operations: ['23+5=28']
Exploring Operation: 58-51=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 29:[28, 7] Operation: 58-51=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[28, 7], Operations: ['23+5=28', '58-51=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
11,
55,
42
] | 98 | [
"96-11=85",
"55-42=13",
"85+13=98"
] | Current State: 98:[96, 11, 55, 42], Operations: []
Exploring Operation: 96-11=85, Resulting Numbers: [55, 42, 85]
Generated Node #2: [55, 42, 85] from Operation: 96-11=85
Current State: 98:[55, 42, 85], Operations: ['96-11=85']
Exploring Operation: 55-42=13, Resulting Numbers: [85, 13]
Generated Node #3: [85, 13] from Operation: 55-42=13
Current State: 98:[85, 13], Operations: ['96-11=85', '55-42=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[96, 11, 55, 42], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [96, 11, 13]
Generated Node #0,0: 98:[96, 11, 13] Operation: 55-42=13
Exploring Operation: 55+42=97, Resulting Numbers: [96, 11, 97]
Generated Node #0,1: 98:[96, 11, 97] Operation: 55+42=97
Exploring Operation: 11+42=53, Resulting Numbers: [96, 55, 53]
Generated Node #0,2: 98:[96, 55, 53] Operation: 11+42=53
Exploring Operation: 55/11=5, Resulting Numbers: [96, 42, 5]
Generated Node #0,3: 98:[96, 42, 5] Operation: 55/11=5
Moving to Node #0,0
Current State: 98:[96, 11, 13], Operations: ['55-42=13']
Exploring Operation: 13-11=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 13-11=2
Exploring Operation: 96+11=107, Resulting Numbers: [13, 107]
Generated Node #0,0,1: 98:[13, 107] Operation: 96+11=107
Exploring Operation: 11+13=24, Resulting Numbers: [96, 24]
Generated Node #0,0,2: 98:[96, 24] Operation: 11+13=24
Exploring Operation: 96-11=85, Resulting Numbers: [13, 85]
Generated Node #0,0,3: 98:[13, 85] Operation: 96-11=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['55-42=13', '13-11=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[96, 11, 55, 42], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [96, 11, 13]
Generated Node #0,0: 98:[96, 11, 13] Operation: 55-42=13
Moving to Node #0,0
Current State: 98:[96, 11, 13], Operations: ['55-42=13']
Exploring Operation: 13-11=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 13-11=2
Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['55-42=13', '13-11=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
1,
90,
7,
93
] | 20 | [
"93-90=3",
"7*3=21",
"21-1=20"
] | Current State: 20:[1, 90, 7, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [1, 7, 3]
Generated Node #2: [1, 7, 3] from Operation: 93-90=3
Current State: 20:[1, 7, 3], Operations: ['93-90=3']
Exploring Operation: 7*3=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 7*3=21
Current State: 20:[1, 21], Operations: ['93-90=3', '7*3=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[1, 90, 7, 93], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [1, 93, 83]
Generated Node #0,0: 20:[1, 93, 83] Operation: 90-7=83
Exploring Operation: 93-90=3, Resulting Numbers: [1, 7, 3]
Generated Node #0,1: 20:[1, 7, 3] Operation: 93-90=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[1, 7, 3], Operations: ['93-90=3']
Exploring Operation: 7+3=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 20:[1, 10] Operation: 7+3=10
Exploring Operation: 7-3=4, Resulting Numbers: [1, 4]
Generated Node #0,1,1: 20:[1, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[1, 10], Operations: ['93-90=3', '7+3=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[1, 4], Operations: ['93-90=3', '7-3=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[1, 93, 83], Operations: ['90-7=83']
Exploring Operation: 93-83=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 20:[1, 10] Operation: 93-83=10
Exploring Operation: 93-1=92, Resulting Numbers: [83, 92]
Generated Node #0,0,1: 20:[83, 92] Operation: 93-1=92
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[1, 10], Operations: ['90-7=83', '93-83=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[83, 92], Operations: ['90-7=83', '93-1=92']
Exploring Operation: 92-83=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 83+92=175, Resulting Numbers: [175]
175,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
27,
89,
46
] | 98 | [
"89+46=135",
"135/27=5",
"93+5=98"
] | Current State: 98:[93, 27, 89, 46], Operations: []
Exploring Operation: 89+46=135, Resulting Numbers: [93, 27, 135]
Generated Node #2: [93, 27, 135] from Operation: 89+46=135
Current State: 98:[93, 27, 135], Operations: ['89+46=135']
Exploring Operation: 135/27=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 135/27=5
Current State: 98:[93, 5], Operations: ['89+46=135', '135/27=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[93, 27, 89, 46], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [93, 27, 43]
Generated Node #0,0: 98:[93, 27, 43] Operation: 89-46=43
Exploring Operation: 93-46=47, Resulting Numbers: [27, 89, 47]
Generated Node #0,1: 98:[27, 89, 47] Operation: 93-46=47
Exploring Operation: 46-27=19, Resulting Numbers: [93, 89, 19]
Generated Node #0,2: 98:[93, 89, 19] Operation: 46-27=19
Exploring Operation: 93-89=4, Resulting Numbers: [27, 46, 4]
Generated Node #0,3: 98:[27, 46, 4] Operation: 93-89=4
Exploring Operation: 89-27=62, Resulting Numbers: [93, 46, 62]
Generated Node #0,4: 98:[93, 46, 62] Operation: 89-27=62
Moving to Node #0,3
Current State: 98:[27, 46, 4], Operations: ['93-89=4']
Exploring Operation: 46-27=19, Resulting Numbers: [4, 19]
Generated Node #0,3,0: 98:[4, 19] Operation: 46-27=19
Exploring Operation: 27*4=108, Resulting Numbers: [46, 108]
Generated Node #0,3,1: 98:[46, 108] Operation: 27*4=108
Exploring Operation: 27+4=31, Resulting Numbers: [46, 31]
Generated Node #0,3,2: 98:[46, 31] Operation: 27+4=31
Exploring Operation: 46+4=50, Resulting Numbers: [27, 50]
Generated Node #0,3,3: 98:[27, 50] Operation: 46+4=50
Exploring Operation: 27-4=23, Resulting Numbers: [46, 23]
Generated Node #0,3,4: 98:[46, 23] Operation: 27-4=23
Moving to Node #0,2
Current State: 98:[93, 89, 19], Operations: ['46-27=19']
Exploring Operation: 89+19=108, Resulting Numbers: [93, 108]
Generated Node #0,2,0: 98:[93, 108] Operation: 89+19=108
Exploring Operation: 89-19=70, Resulting Numbers: [93, 70]
Generated Node #0,2,1: 98:[93, 70] Operation: 89-19=70
Exploring Operation: 93-19=74, Resulting Numbers: [89, 74]
Generated Node #0,2,2: 98:[89, 74] Operation: 93-19=74
Exploring Operation: 93-89=4, Resulting Numbers: [19, 4]
Generated Node #0,2,3: 98:[19, 4] Operation: 93-89=4
Exploring Operation: 93+19=112, Resulting Numbers: [89, 112]
Generated Node #0,2,4: 98:[89, 112] Operation: 93+19=112
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[19, 4], Operations: ['46-27=19', '93-89=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,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,0
Current State: 98:[93, 108], Operations: ['46-27=19', '89+19=108']
Exploring Operation: 108-93=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 93+108=201, Resulting Numbers: [201]
201,98 unequal: No Solution
Exploring Operation: 93*108=10044, Resulting Numbers: [10044]
10044,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,4
Current State: 98:[89, 112], Operations: ['46-27=19', '93+19=112']
Exploring Operation: 112-89=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 89*112=9968, Resulting Numbers: [9968]
9968,98 unequal: No Solution
Exploring Operation: 89+112=201, Resulting Numbers: [201]
201,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:[93, 70], Operations: ['46-27=19', '89-19=70']
Exploring Operation: 93*70=6510, Resulting Numbers: [6510]
6510,98 unequal: No Solution
Exploring Operation: 93+70=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,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:[89, 74], Operations: ['46-27=19', '93-19=74']
Exploring Operation: 89*74=6586, Resulting Numbers: [6586]
6586,98 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 89+74=163, Resulting Numbers: [163]
163,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 98:[93, 46, 62], Operations: ['89-27=62']
Exploring Operation: 93+46=139, Resulting Numbers: [62, 139]
Generated Node #0,4,0: 98:[62, 139] Operation: 93+46=139
Exploring Operation: 62-46=16, Resulting Numbers: [93, 16]
Generated Node #0,4,1: 98:[93, 16] Operation: 62-46=16
Exploring Operation: 93-62=31, Resulting Numbers: [46, 31]
Generated Node #0,4,2: 98:[46, 31] Operation: 93-62=31
Exploring Operation: 46+62=108, Resulting Numbers: [93, 108]
Generated Node #0,4,3: 98:[93, 108] Operation: 46+62=108
Exploring Operation: 93-46=47, Resulting Numbers: [62, 47]
Generated Node #0,4,4: 98:[62, 47] Operation: 93-46=47
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[93, 16], Operations: ['89-27=62', '62-46=16']
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,98 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,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,4,3
Current State: 98:[93, 108], Operations: ['89-27=62', '46+62=108']
Exploring Operation: 93*108=10044, Resulting Numbers: [10044]
10044,98 unequal: No Solution
Exploring Operation: 108-93=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 93+108=201, Resulting Numbers: [201]
201,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,4,4
Current State: 98:[62, 47], Operations: ['89-27=62', '93-46=47']
Exploring Operation: 62+47=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 62*47=2914, Resulting Numbers: [2914]
2914,98 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,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,4,2
Current State: 98:[46, 31], Operations: ['89-27=62', '93-62=31']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,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,4,0
Current State: 98:[62, 139], Operations: ['89-27=62', '93+46=139']
Exploring Operation: 62*139=8618, Resulting Numbers: [8618]
8618,98 unequal: No Solution
Exploring Operation: 62+139=201, Resulting Numbers: [201]
201,98 unequal: No Solution
Exploring Operation: 139-62=77, Resulting Numbers: [77]
77,98 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: 98:[93, 27, 43], Operations: ['89-46=43']
Exploring Operation: 43-27=16, Resulting Numbers: [93, 16]
Generated Node #0,0,0: 98:[93, 16] Operation: 43-27=16
Exploring Operation: 93-27=66, Resulting Numbers: [43, 66]
Generated Node #0,0,1: 98:[43, 66] Operation: 93-27=66
Exploring Operation: 93-43=50, Resulting Numbers: [27, 50]
Generated Node #0,0,2: 98:[27, 50] Operation: 93-43=50
Exploring Operation: 27+43=70, Resulting Numbers: [93, 70]
Generated Node #0,0,3: 98:[93, 70] Operation: 27+43=70
Exploring Operation: 93+27=120, Resulting Numbers: [43, 120]
Generated Node #0,0,4: 98:[43, 120] Operation: 93+27=120
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[93, 16], Operations: ['89-46=43', '43-27=16']
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,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,0,2
Current State: 98:[27, 50], Operations: ['89-46=43', '93-43=50']
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,98 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,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,0,1
Current State: 98:[43, 66], Operations: ['89-46=43', '93-27=66']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,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,0,3
Current State: 98:[93, 70], Operations: ['89-46=43', '27+43=70']
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 93+70=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Exploring Operation: 93*70=6510, Resulting Numbers: [6510]
6510,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,0,4
Current State: 98:[43, 120], Operations: ['89-46=43', '93+27=120']
Exploring Operation: 43+120=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Exploring Operation: 120-43=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 43*120=5160, Resulting Numbers: [5160]
5160,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:[27, 89, 47], Operations: ['93-46=47']
Exploring Operation: 89-47=42, Resulting Numbers: [27, 42]
Generated Node #0,1,0: 98:[27, 42] Operation: 89-47=42
Exploring Operation: 27+89=116, Resulting Numbers: [47, 116]
Generated Node #0,1,1: 98:[47, 116] Operation: 27+89=116
Exploring Operation: 89-27=62, Resulting Numbers: [47, 62]
Generated Node #0,1,2: 98:[47, 62] Operation: 89-27=62
Exploring Operation: 47-27=20, Resulting Numbers: [89, 20]
Generated Node #0,1,3: 98:[89, 20] Operation: 47-27=20
Exploring Operation: 27+47=74, Resulting Numbers: [89, 74]
Generated Node #0,1,4: 98:[89, 74] Operation: 27+47=74
Moving to Node #0,3,0
Current State: 98:[4, 19], Operations: ['93-89=4', '46-27=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[46, 23], Operations: ['93-89=4', '27-4=23']
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,98 unequal: No Solution
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[46, 108], Operations: ['93-89=4', '27*4=108']
Exploring Operation: 46+108=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 46*108=4968, Resulting Numbers: [4968]
4968,98 unequal: No Solution
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[27, 50], Operations: ['93-89=4', '46+4=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[89, 20], Operations: ['93-46=47', '47-27=20']
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,98 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[47, 62], Operations: ['93-46=47', '89-27=62']
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,98 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[46, 31], Operations: ['93-89=4', '27+4=31']
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,98 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[47, 116], Operations: ['93-46=47', '27+89=116']
Exploring Operation: 116-47=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 47+116=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Exploring Operation: 47*116=5452, Resulting Numbers: [5452]
5452,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[27, 42], Operations: ['93-46=47', '89-47=42']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,98 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[89, 74], Operations: ['93-46=47', '27+47=74']
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 89+74=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Exploring Operation: 89*74=6586, Resulting Numbers: [6586]
6586,98 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
56,
51,
74,
96
] | 27 | [
"56-51=5",
"96-74=22",
"5+22=27"
] | Current State: 27:[56, 51, 74, 96], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [74, 96, 5]
Generated Node #2: [74, 96, 5] from Operation: 56-51=5
Current State: 27:[74, 96, 5], Operations: ['56-51=5']
Exploring Operation: 96-74=22, Resulting Numbers: [5, 22]
Generated Node #3: [5, 22] from Operation: 96-74=22
Current State: 27:[5, 22], Operations: ['56-51=5', '96-74=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[56, 51, 74, 96], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [56, 51, 22]
Generated Node #0,0: 27:[56, 51, 22] Operation: 96-74=22
Exploring Operation: 96-56=40, Resulting Numbers: [51, 74, 40]
Generated Node #0,1: 27:[51, 74, 40] Operation: 96-56=40
Moving to Node #0,0
Current State: 27:[56, 51, 22], Operations: ['96-74=22']
Exploring Operation: 56-51=5, Resulting Numbers: [22, 5]
Generated Node #0,0,0: 27:[22, 5] Operation: 56-51=5
Exploring Operation: 56-22=34, Resulting Numbers: [51, 34]
Generated Node #0,0,1: 27:[51, 34] Operation: 56-22=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[22, 5], Operations: ['96-74=22', '56-51=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[56, 51, 74, 96], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [56, 51, 22]
Generated Node #0,0: 27:[56, 51, 22] Operation: 96-74=22
Moving to Node #0,0
Current State: 27:[56, 51, 22], Operations: ['96-74=22']
Exploring Operation: 56-51=5, Resulting Numbers: [22, 5]
Generated Node #0,0,0: 27:[22, 5] Operation: 56-51=5
Moving to Node #0,0,0
Current State: 27:[22, 5], Operations: ['96-74=22', '56-51=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
91,
8,
11,
26
] | 84 | [
"91+8=99",
"26-11=15",
"99-15=84"
] | Current State: 84:[91, 8, 11, 26], Operations: []
Exploring Operation: 91+8=99, Resulting Numbers: [11, 26, 99]
Generated Node #2: [11, 26, 99] from Operation: 91+8=99
Current State: 84:[11, 26, 99], Operations: ['91+8=99']
Exploring Operation: 26-11=15, Resulting Numbers: [99, 15]
Generated Node #3: [99, 15] from Operation: 26-11=15
Current State: 84:[99, 15], Operations: ['91+8=99', '26-11=15']
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[91, 8, 11, 26], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [91, 26, 3]
Generated Node #0,0: 84:[91, 26, 3] Operation: 11-8=3
Exploring Operation: 91-11=80, Resulting Numbers: [8, 26, 80]
Generated Node #0,1: 84:[8, 26, 80] Operation: 91-11=80
Exploring Operation: 91-8=83, Resulting Numbers: [11, 26, 83]
Generated Node #0,2: 84:[11, 26, 83] Operation: 91-8=83
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[11, 26, 83], Operations: ['91-8=83']
Exploring Operation: 26-11=15, Resulting Numbers: [83, 15]
Generated Node #0,2,0: 84:[83, 15] Operation: 26-11=15
Exploring Operation: 11+26=37, Resulting Numbers: [83, 37]
Generated Node #0,2,1: 84:[83, 37] Operation: 11+26=37
Exploring Operation: 11+83=94, Resulting Numbers: [26, 94]
Generated Node #0,2,2: 84:[26, 94] Operation: 11+83=94
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[83, 15], Operations: ['91-8=83', '26-11=15']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,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,2,1
Current State: 84:[83, 37], Operations: ['91-8=83', '11+26=37']
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,84 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,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,2,2
Current State: 84:[26, 94], Operations: ['91-8=83', '11+83=94']
Exploring Operation: 26*94=2444, Resulting Numbers: [2444]
2444,84 unequal: No Solution
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,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,1
Current State: 84:[8, 26, 80], Operations: ['91-11=80']
Exploring Operation: 26-8=18, Resulting Numbers: [80, 18]
Generated Node #0,1,0: 84:[80, 18] Operation: 26-8=18
Exploring Operation: 8+80=88, Resulting Numbers: [26, 88]
Generated Node #0,1,1: 84:[26, 88] Operation: 8+80=88
Exploring Operation: 80/8=10, Resulting Numbers: [26, 10]
Generated Node #0,1,2: 84:[26, 10] Operation: 80/8=10
Moving to Node #0,1,2
Current State: 84:[26, 10], Operations: ['91-11=80', '80/8=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,84 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[26, 88], Operations: ['91-11=80', '8+80=88']
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[80, 18], Operations: ['91-11=80', '26-8=18']
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,84 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,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,0
Current State: 84:[91, 26, 3], Operations: ['11-8=3']
Exploring Operation: 26+3=29, Resulting Numbers: [91, 29]
Generated Node #0,0,0: 84:[91, 29] Operation: 26+3=29
Exploring Operation: 26-3=23, Resulting Numbers: [91, 23]
Generated Node #0,0,1: 84:[91, 23] Operation: 26-3=23
Exploring Operation: 91-3=88, Resulting Numbers: [26, 88]
Generated Node #0,0,2: 84:[26, 88] Operation: 91-3=88
Moving to Node #0,0,2
Current State: 84:[26, 88], Operations: ['11-8=3', '91-3=88']
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,84 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[91, 29], Operations: ['11-8=3', '26+3=29']
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[91, 23], Operations: ['11-8=3', '26-3=23']
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,84 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,84 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 |
[
22,
30,
4,
98
] | 49 | [
"30-22=8",
"4*98=392",
"392/8=49"
] | Current State: 49:[22, 30, 4, 98], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [4, 98, 8]
Generated Node #2: [4, 98, 8] from Operation: 30-22=8
Current State: 49:[4, 98, 8], Operations: ['30-22=8']
Exploring Operation: 4*98=392, Resulting Numbers: [8, 392]
Generated Node #3: [8, 392] from Operation: 4*98=392
Current State: 49:[8, 392], Operations: ['30-22=8', '4*98=392']
Exploring Operation: 392/8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[22, 30, 4, 98], Operations: []
Exploring Operation: 22+30=52, Resulting Numbers: [4, 98, 52]
Generated Node #0,0: 49:[4, 98, 52] Operation: 22+30=52
Exploring Operation: 30-22=8, Resulting Numbers: [4, 98, 8]
Generated Node #0,1: 49:[4, 98, 8] Operation: 30-22=8
Exploring Operation: 98-30=68, Resulting Numbers: [22, 4, 68]
Generated Node #0,2: 49:[22, 4, 68] Operation: 98-30=68
Exploring Operation: 98-22=76, Resulting Numbers: [30, 4, 76]
Generated Node #0,3: 49:[30, 4, 76] Operation: 98-22=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[22, 4, 68], Operations: ['98-30=68']
Exploring Operation: 68-22=46, Resulting Numbers: [4, 46]
Generated Node #0,2,0: 49:[4, 46] Operation: 68-22=46
Exploring Operation: 68-4=64, Resulting Numbers: [22, 64]
Generated Node #0,2,1: 49:[22, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [22, 17]
Generated Node #0,2,2: 49:[22, 17] Operation: 68/4=17
Exploring Operation: 22-4=18, Resulting Numbers: [68, 18]
Generated Node #0,2,3: 49:[68, 18] Operation: 22-4=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[4, 46], Operations: ['98-30=68', '68-22=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[22, 17], Operations: ['98-30=68', '68/4=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,49 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[22, 64], Operations: ['98-30=68', '68-4=64']
Exploring Operation: 22*64=1408, Resulting Numbers: [1408]
1408,49 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[68, 18], Operations: ['98-30=68', '22-4=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[30, 4, 76], Operations: ['98-22=76']
Exploring Operation: 76/4=19, Resulting Numbers: [30, 19]
Generated Node #0,3,0: 49:[30, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [30, 72]
Generated Node #0,3,1: 49:[30, 72] Operation: 76-4=72
Exploring Operation: 30+4=34, Resulting Numbers: [76, 34]
Generated Node #0,3,2: 49:[76, 34] Operation: 30+4=34
Exploring Operation: 76-30=46, Resulting Numbers: [4, 46]
Generated Node #0,3,3: 49:[4, 46] Operation: 76-30=46
Moving to Node #0,3,3
Current State: 49:[4, 46], Operations: ['98-22=76', '76-30=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[30, 19], Operations: ['98-22=76', '76/4=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[22, 30, 4, 98], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [30, 4, 76]
Generated Node #0,3: 49:[30, 4, 76] Operation: 98-22=76
Moving to Node #0,3
Current State: 49:[30, 4, 76], Operations: ['98-22=76']
Exploring Operation: 76/4=19, Resulting Numbers: [30, 19]
Generated Node #0,3,0: 49:[30, 19] Operation: 76/4=19
Moving to Node #0,3,0
Current State: 49:[30, 19], Operations: ['98-22=76', '76/4=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
7,
24,
19,
96
] | 69 | [
"96/24=4",
"19*4=76",
"76-7=69"
] | Current State: 69:[7, 24, 19, 96], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [7, 19, 4]
Generated Node #2: [7, 19, 4] from Operation: 96/24=4
Current State: 69:[7, 19, 4], Operations: ['96/24=4']
Exploring Operation: 19*4=76, Resulting Numbers: [7, 76]
Generated Node #3: [7, 76] from Operation: 19*4=76
Current State: 69:[7, 76], Operations: ['96/24=4', '19*4=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[7, 24, 19, 96], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [7, 19, 4]
Generated Node #0,0: 69:[7, 19, 4] Operation: 96/24=4
Exploring Operation: 96-19=77, Resulting Numbers: [7, 24, 77]
Generated Node #0,1: 69:[7, 24, 77] Operation: 96-19=77
Exploring Operation: 96-24=72, Resulting Numbers: [7, 19, 72]
Generated Node #0,2: 69:[7, 19, 72] Operation: 96-24=72
Moving to Node #0,0
Current State: 69:[7, 19, 4], Operations: ['96/24=4']
Exploring Operation: 7+19=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 69:[4, 26] Operation: 7+19=26
Exploring Operation: 7-4=3, Resulting Numbers: [19, 3]
Generated Node #0,0,1: 69:[19, 3] Operation: 7-4=3
Exploring Operation: 19+4=23, Resulting Numbers: [7, 23]
Generated Node #0,0,2: 69:[7, 23] Operation: 19+4=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[4, 26], Operations: ['96/24=4', '7+19=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,69 unequal: No Solution
No 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: 69:[19, 3], Operations: ['96/24=4', '7-4=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,69 unequal: No Solution
No 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: 69:[7, 23], Operations: ['96/24=4', '19+4=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,69 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: 69:[7, 19, 72], Operations: ['96-24=72']
Exploring Operation: 72-7=65, Resulting Numbers: [19, 65]
Generated Node #0,2,0: 69:[19, 65] Operation: 72-7=65
Exploring Operation: 19-7=12, Resulting Numbers: [72, 12]
Generated Node #0,2,1: 69:[72, 12] Operation: 19-7=12
Exploring Operation: 7+19=26, Resulting Numbers: [72, 26]
Generated Node #0,2,2: 69:[72, 26] Operation: 7+19=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[72, 26], Operations: ['96-24=72', '7+19=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,69 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,69 unequal: No Solution
No 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: 69:[19, 65], Operations: ['96-24=72', '72-7=65']
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 19*65=1235, Resulting Numbers: [1235]
1235,69 unequal: No Solution
No 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: 69:[72, 12], Operations: ['96-24=72', '19-7=12']
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,69 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,69 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: 69:[7, 24, 77], Operations: ['96-19=77']
Exploring Operation: 77-7=70, Resulting Numbers: [24, 70]
Generated Node #0,1,0: 69:[24, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [24, 11]
Generated Node #0,1,1: 69:[24, 11] Operation: 77/7=11
Exploring Operation: 24-7=17, Resulting Numbers: [77, 17]
Generated Node #0,1,2: 69:[77, 17] Operation: 24-7=17
Moving to Node #0,1,0
Current State: 69:[24, 70], Operations: ['96-19=77', '77-7=70']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[24, 11], Operations: ['96-19=77', '77/7=11']
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[77, 17], Operations: ['96-19=77', '24-7=17']
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,69 unequal: No Solution
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
26,
46,
18,
83
] | 85 | [
"46-26=20",
"83-18=65",
"20+65=85"
] | Current State: 85:[26, 46, 18, 83], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [18, 83, 20]
Generated Node #2: [18, 83, 20] from Operation: 46-26=20
Current State: 85:[18, 83, 20], Operations: ['46-26=20']
Exploring Operation: 83-18=65, Resulting Numbers: [20, 65]
Generated Node #3: [20, 65] from Operation: 83-18=65
Current State: 85:[20, 65], Operations: ['46-26=20', '83-18=65']
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[26, 46, 18, 83], Operations: []
Exploring Operation: 46+18=64, Resulting Numbers: [26, 83, 64]
Generated Node #0,0: 85:[26, 83, 64] Operation: 46+18=64
Exploring Operation: 46-18=28, Resulting Numbers: [26, 83, 28]
Generated Node #0,1: 85:[26, 83, 28] Operation: 46-18=28
Exploring Operation: 46-26=20, Resulting Numbers: [18, 83, 20]
Generated Node #0,2: 85:[18, 83, 20] Operation: 46-26=20
Exploring Operation: 83-46=37, Resulting Numbers: [26, 18, 37]
Generated Node #0,3: 85:[26, 18, 37] Operation: 83-46=37
Exploring Operation: 26+46=72, Resulting Numbers: [18, 83, 72]
Generated Node #0,4: 85:[18, 83, 72] Operation: 26+46=72
Moving to Node #0,2
Current State: 85:[18, 83, 20], Operations: ['46-26=20']
Exploring Operation: 20-18=2, Resulting Numbers: [83, 2]
Generated Node #0,2,0: 85:[83, 2] Operation: 20-18=2
Exploring Operation: 18+83=101, Resulting Numbers: [20, 101]
Generated Node #0,2,1: 85:[20, 101] Operation: 18+83=101
Exploring Operation: 18+20=38, Resulting Numbers: [83, 38]
Generated Node #0,2,2: 85:[83, 38] Operation: 18+20=38
Exploring Operation: 83+20=103, Resulting Numbers: [18, 103]
Generated Node #0,2,3: 85:[18, 103] Operation: 83+20=103
Exploring Operation: 83-18=65, Resulting Numbers: [20, 65]
Generated Node #0,2,4: 85:[20, 65] Operation: 83-18=65
Moving to Node #0,4
Current State: 85:[18, 83, 72], Operations: ['26+46=72']
Exploring Operation: 18+83=101, Resulting Numbers: [72, 101]
Generated Node #0,4,0: 85:[72, 101] Operation: 18+83=101
Exploring Operation: 18+72=90, Resulting Numbers: [83, 90]
Generated Node #0,4,1: 85:[83, 90] Operation: 18+72=90
Exploring Operation: 83-18=65, Resulting Numbers: [72, 65]
Generated Node #0,4,2: 85:[72, 65] Operation: 83-18=65
Exploring Operation: 83-72=11, Resulting Numbers: [18, 11]
Generated Node #0,4,3: 85:[18, 11] Operation: 83-72=11
Exploring Operation: 72/18=4, Resulting Numbers: [83, 4]
Generated Node #0,4,4: 85:[83, 4] Operation: 72/18=4
Moving to Node #0,1
Current State: 85:[26, 83, 28], Operations: ['46-18=28']
Exploring Operation: 28-26=2, Resulting Numbers: [83, 2]
Generated Node #0,1,0: 85:[83, 2] Operation: 28-26=2
Exploring Operation: 83+28=111, Resulting Numbers: [26, 111]
Generated Node #0,1,1: 85:[26, 111] Operation: 83+28=111
Exploring Operation: 26+83=109, Resulting Numbers: [28, 109]
Generated Node #0,1,2: 85:[28, 109] Operation: 26+83=109
Exploring Operation: 83-26=57, Resulting Numbers: [28, 57]
Generated Node #0,1,3: 85:[28, 57] Operation: 83-26=57
Exploring Operation: 26+28=54, Resulting Numbers: [83, 54]
Generated Node #0,1,4: 85:[83, 54] Operation: 26+28=54
Moving to Node #0,3
Current State: 85:[26, 18, 37], Operations: ['83-46=37']
Exploring Operation: 26+37=63, Resulting Numbers: [18, 63]
Generated Node #0,3,0: 85:[18, 63] Operation: 26+37=63
Exploring Operation: 26-18=8, Resulting Numbers: [37, 8]
Generated Node #0,3,1: 85:[37, 8] Operation: 26-18=8
Exploring Operation: 37-18=19, Resulting Numbers: [26, 19]
Generated Node #0,3,2: 85:[26, 19] Operation: 37-18=19
Exploring Operation: 18+37=55, Resulting Numbers: [26, 55]
Generated Node #0,3,3: 85:[26, 55] Operation: 18+37=55
Exploring Operation: 37-26=11, Resulting Numbers: [18, 11]
Generated Node #0,3,4: 85:[18, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 85:[26, 83, 64], Operations: ['46+18=64']
Exploring Operation: 26+64=90, Resulting Numbers: [83, 90]
Generated Node #0,0,0: 85:[83, 90] Operation: 26+64=90
Exploring Operation: 64-26=38, Resulting Numbers: [83, 38]
Generated Node #0,0,1: 85:[83, 38] Operation: 64-26=38
Exploring Operation: 26+83=109, Resulting Numbers: [64, 109]
Generated Node #0,0,2: 85:[64, 109] Operation: 26+83=109
Exploring Operation: 83-26=57, Resulting Numbers: [64, 57]
Generated Node #0,0,3: 85:[64, 57] Operation: 83-26=57
Exploring Operation: 83-64=19, Resulting Numbers: [26, 19]
Generated Node #0,0,4: 85:[26, 19] Operation: 83-64=19
Moving to Node #0,4,4
Current State: 85:[83, 4], Operations: ['26+46=72', '72/18=4']
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,85 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[83, 2], Operations: ['46-26=20', '20-18=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,85 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[26, 46, 18, 83], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [18, 83, 20]
Generated Node #0,2: 85:[18, 83, 20] Operation: 46-26=20
Moving to Node #0,2
Current State: 85:[18, 83, 20], Operations: ['46-26=20']
Exploring Operation: 20-18=2, Resulting Numbers: [83, 2]
Generated Node #0,2,0: 85:[83, 2] Operation: 20-18=2
Moving to Node #0,2,0
Current State: 85:[83, 2], Operations: ['46-26=20', '20-18=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.965278 | hs_5 | mult_heuristic |
[
39,
70,
10,
17
] | 80 | [
"70/10=7",
"17*7=119",
"119-39=80"
] | Current State: 80:[39, 70, 10, 17], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [39, 17, 7]
Generated Node #2: [39, 17, 7] from Operation: 70/10=7
Current State: 80:[39, 17, 7], Operations: ['70/10=7']
Exploring Operation: 17*7=119, Resulting Numbers: [39, 119]
Generated Node #3: [39, 119] from Operation: 17*7=119
Current State: 80:[39, 119], Operations: ['70/10=7', '17*7=119']
Exploring Operation: 119-39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[39, 70, 10, 17], Operations: []
Exploring Operation: 70+10=80, Resulting Numbers: [39, 17, 80]
Generated Node #0,0: 80:[39, 17, 80] Operation: 70+10=80
Exploring Operation: 70/10=7, Resulting Numbers: [39, 17, 7]
Generated Node #0,1: 80:[39, 17, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 80:[39, 17, 80], Operations: ['70+10=80']
Exploring Operation: 39-17=22, Resulting Numbers: [80, 22]
Generated Node #0,0,0: 80:[80, 22] Operation: 39-17=22
Exploring Operation: 80-39=41, Resulting Numbers: [17, 41]
Generated Node #0,0,1: 80:[17, 41] Operation: 80-39=41
Moving to Node #0,1
Current State: 80:[39, 17, 7], Operations: ['70/10=7']
Exploring Operation: 17-7=10, Resulting Numbers: [39, 10]
Generated Node #0,1,0: 80:[39, 10] Operation: 17-7=10
Exploring Operation: 39-17=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 80:[7, 22] Operation: 39-17=22
Moving to Node #0,1,0
Current State: 80:[39, 10], Operations: ['70/10=7', '17-7=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[80, 22], Operations: ['70+10=80', '39-17=22']
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,80 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[17, 41], Operations: ['70+10=80', '80-39=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[7, 22], Operations: ['70/10=7', '39-17=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,80 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
4,
93,
37
] | 23 | [
"93-37=56",
"56/4=14",
"9+14=23"
] | Current State: 23:[9, 4, 93, 37], Operations: []
Exploring Operation: 93-37=56, Resulting Numbers: [9, 4, 56]
Generated Node #2: [9, 4, 56] from Operation: 93-37=56
Current State: 23:[9, 4, 56], Operations: ['93-37=56']
Exploring Operation: 56/4=14, Resulting Numbers: [9, 14]
Generated Node #3: [9, 14] from Operation: 56/4=14
Current State: 23:[9, 14], Operations: ['93-37=56', '56/4=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[9, 4, 93, 37], Operations: []
Exploring Operation: 93-37=56, Resulting Numbers: [9, 4, 56]
Generated Node #0,0: 23:[9, 4, 56] Operation: 93-37=56
Exploring Operation: 9+4=13, Resulting Numbers: [93, 37, 13]
Generated Node #0,1: 23:[93, 37, 13] Operation: 9+4=13
Exploring Operation: 93-4=89, Resulting Numbers: [9, 37, 89]
Generated Node #0,2: 23:[9, 37, 89] Operation: 93-4=89
Exploring Operation: 37-9=28, Resulting Numbers: [4, 93, 28]
Generated Node #0,3: 23:[4, 93, 28] Operation: 37-9=28
Exploring Operation: 93-9=84, Resulting Numbers: [4, 37, 84]
Generated Node #0,4: 23:[4, 37, 84] Operation: 93-9=84
Moving to Node #0,0
Current State: 23:[9, 4, 56], Operations: ['93-37=56']
Exploring Operation: 9+4=13, Resulting Numbers: [56, 13]
Generated Node #0,0,0: 23:[56, 13] Operation: 9+4=13
Exploring Operation: 56-9=47, Resulting Numbers: [4, 47]
Generated Node #0,0,1: 23:[4, 47] Operation: 56-9=47
Exploring Operation: 56/4=14, Resulting Numbers: [9, 14]
Generated Node #0,0,2: 23:[9, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [9, 52]
Generated Node #0,0,3: 23:[9, 52] Operation: 56-4=52
Exploring Operation: 9*4=36, Resulting Numbers: [56, 36]
Generated Node #0,0,4: 23:[56, 36] Operation: 9*4=36
Moving to Node #0,2
Current State: 23:[9, 37, 89], Operations: ['93-4=89']
Exploring Operation: 89-9=80, Resulting Numbers: [37, 80]
Generated Node #0,2,0: 23:[37, 80] Operation: 89-9=80
Exploring Operation: 37-9=28, Resulting Numbers: [89, 28]
Generated Node #0,2,1: 23:[89, 28] Operation: 37-9=28
Exploring Operation: 89-37=52, Resulting Numbers: [9, 52]
Generated Node #0,2,2: 23:[9, 52] Operation: 89-37=52
Exploring Operation: 9+89=98, Resulting Numbers: [37, 98]
Generated Node #0,2,3: 23:[37, 98] Operation: 9+89=98
Exploring Operation: 9+37=46, Resulting Numbers: [89, 46]
Generated Node #0,2,4: 23:[89, 46] Operation: 9+37=46
Moving to Node #0,4
Current State: 23:[4, 37, 84], Operations: ['93-9=84']
Exploring Operation: 84-37=47, Resulting Numbers: [4, 47]
Generated Node #0,4,0: 23:[4, 47] Operation: 84-37=47
Exploring Operation: 37-4=33, Resulting Numbers: [84, 33]
Generated Node #0,4,1: 23:[84, 33] Operation: 37-4=33
Exploring Operation: 4+37=41, Resulting Numbers: [84, 41]
Generated Node #0,4,2: 23:[84, 41] Operation: 4+37=41
Exploring Operation: 84/4=21, Resulting Numbers: [37, 21]
Generated Node #0,4,3: 23:[37, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [37, 80]
Generated Node #0,4,4: 23:[37, 80] Operation: 84-4=80
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 23:[37, 21], Operations: ['93-9=84', '84/4=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,23 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,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,4,0
Current State: 23:[4, 47], Operations: ['93-9=84', '84-37=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,23 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,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,4,1
Current State: 23:[84, 33], Operations: ['93-9=84', '37-4=33']
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,23 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,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,4,4
Current State: 23:[37, 80], Operations: ['93-9=84', '84-4=80']
Exploring Operation: 37+80=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 37*80=2960, Resulting Numbers: [2960]
2960,23 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,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,4,2
Current State: 23:[84, 41], Operations: ['93-9=84', '4+37=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,23 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,23 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: 23:[93, 37, 13], Operations: ['9+4=13']
Exploring Operation: 93+13=106, Resulting Numbers: [37, 106]
Generated Node #0,1,0: 23:[37, 106] Operation: 93+13=106
Exploring Operation: 93-13=80, Resulting Numbers: [37, 80]
Generated Node #0,1,1: 23:[37, 80] Operation: 93-13=80
Exploring Operation: 93-37=56, Resulting Numbers: [13, 56]
Generated Node #0,1,2: 23:[13, 56] Operation: 93-37=56
Exploring Operation: 37+13=50, Resulting Numbers: [93, 50]
Generated Node #0,1,3: 23:[93, 50] Operation: 37+13=50
Exploring Operation: 37-13=24, Resulting Numbers: [93, 24]
Generated Node #0,1,4: 23:[93, 24] Operation: 37-13=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[13, 56], Operations: ['9+4=13', '93-37=56']
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,23 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,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:[37, 80], Operations: ['9+4=13', '93-13=80']
Exploring Operation: 37*80=2960, Resulting Numbers: [2960]
2960,23 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 37+80=117, Resulting Numbers: [117]
117,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,4
Current State: 23:[93, 24], Operations: ['9+4=13', '37-13=24']
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,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:[37, 106], Operations: ['9+4=13', '93+13=106']
Exploring Operation: 37*106=3922, Resulting Numbers: [3922]
3922,23 unequal: No Solution
Exploring Operation: 37+106=143, Resulting Numbers: [143]
143,23 unequal: No Solution
Exploring Operation: 106-37=69, Resulting Numbers: [69]
69,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:[93, 50], Operations: ['9+4=13', '37+13=50']
Exploring Operation: 93+50=143, Resulting Numbers: [143]
143,23 unequal: No Solution
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 93*50=4650, Resulting Numbers: [4650]
4650,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:[4, 93, 28], Operations: ['37-9=28']
Exploring Operation: 93-28=65, Resulting Numbers: [4, 65]
Generated Node #0,3,0: 23:[4, 65] Operation: 93-28=65
Exploring Operation: 4+28=32, Resulting Numbers: [93, 32]
Generated Node #0,3,1: 23:[93, 32] Operation: 4+28=32
Exploring Operation: 93-4=89, Resulting Numbers: [28, 89]
Generated Node #0,3,2: 23:[28, 89] Operation: 93-4=89
Exploring Operation: 4+93=97, Resulting Numbers: [28, 97]
Generated Node #0,3,3: 23:[28, 97] Operation: 4+93=97
Exploring Operation: 28-4=24, Resulting Numbers: [93, 24]
Generated Node #0,3,4: 23:[93, 24] Operation: 28-4=24
Moving to Node #0,0,2
Current State: 23:[9, 14], Operations: ['93-37=56', '56/4=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[9, 4, 93, 37], Operations: []
Exploring Operation: 93-37=56, Resulting Numbers: [9, 4, 56]
Generated Node #0,0: 23:[9, 4, 56] Operation: 93-37=56
Moving to Node #0,0
Current State: 23:[9, 4, 56], Operations: ['93-37=56']
Exploring Operation: 56/4=14, Resulting Numbers: [9, 14]
Generated Node #0,0,2: 23:[9, 14] Operation: 56/4=14
Moving to Node #0,0,2
Current State: 23:[9, 14], Operations: ['93-37=56', '56/4=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.94184 | hs_5 | mult_heuristic |
[
10,
36,
31,
13
] | 80 | [
"36-31=5",
"13-5=8",
"10*8=80"
] | Current State: 80:[10, 36, 31, 13], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [10, 13, 5]
Generated Node #2: [10, 13, 5] from Operation: 36-31=5
Current State: 80:[10, 13, 5], Operations: ['36-31=5']
Exploring Operation: 13-5=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 13-5=8
Current State: 80:[10, 8], Operations: ['36-31=5', '13-5=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[10, 36, 31, 13], Operations: []
Exploring Operation: 31-13=18, Resulting Numbers: [10, 36, 18]
Generated Node #0,0: 80:[10, 36, 18] Operation: 31-13=18
Exploring Operation: 36-31=5, Resulting Numbers: [10, 13, 5]
Generated Node #0,1: 80:[10, 13, 5] Operation: 36-31=5
Moving to Node #0,1
Current State: 80:[10, 13, 5], Operations: ['36-31=5']
Exploring Operation: 13-10=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 80:[5, 3] Operation: 13-10=3
Exploring Operation: 13-5=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 80:[10, 8] Operation: 13-5=8
Moving to Node #0,0
Current State: 80:[10, 36, 18], Operations: ['31-13=18']
Exploring Operation: 36-18=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 80:[10, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [10, 2]
Generated Node #0,0,1: 80:[10, 2] Operation: 36/18=2
Moving to Node #0,1,1
Current State: 80:[10, 8], Operations: ['36-31=5', '13-5=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[10, 36, 31, 13], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [10, 13, 5]
Generated Node #0,1: 80:[10, 13, 5] Operation: 36-31=5
Moving to Node #0,1
Current State: 80:[10, 13, 5], Operations: ['36-31=5']
Exploring Operation: 13-5=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 80:[10, 8] Operation: 13-5=8
Moving to Node #0,1,1
Current State: 80:[10, 8], Operations: ['36-31=5', '13-5=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
95,
17,
45,
4
] | 88 | [
"45-17=28",
"28/4=7",
"95-7=88"
] | Current State: 88:[95, 17, 45, 4], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [95, 4, 28]
Generated Node #2: [95, 4, 28] from Operation: 45-17=28
Current State: 88:[95, 4, 28], Operations: ['45-17=28']
Exploring Operation: 28/4=7, Resulting Numbers: [95, 7]
Generated Node #3: [95, 7] from Operation: 28/4=7
Current State: 88:[95, 7], Operations: ['45-17=28', '28/4=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[95, 17, 45, 4], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [45, 4, 78]
Generated Node #0,0: 88:[45, 4, 78] Operation: 95-17=78
Exploring Operation: 95-4=91, Resulting Numbers: [17, 45, 91]
Generated Node #0,1: 88:[17, 45, 91] Operation: 95-4=91
Exploring Operation: 17-4=13, Resulting Numbers: [95, 45, 13]
Generated Node #0,2: 88:[95, 45, 13] Operation: 17-4=13
Exploring Operation: 95-45=50, Resulting Numbers: [17, 4, 50]
Generated Node #0,3: 88:[17, 4, 50] Operation: 95-45=50
Exploring Operation: 17+4=21, Resulting Numbers: [95, 45, 21]
Generated Node #0,4: 88:[95, 45, 21] Operation: 17+4=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[17, 45, 91], Operations: ['95-4=91']
Exploring Operation: 91-17=74, Resulting Numbers: [45, 74]
Generated Node #0,1,0: 88:[45, 74] Operation: 91-17=74
Exploring Operation: 91-45=46, Resulting Numbers: [17, 46]
Generated Node #0,1,1: 88:[17, 46] Operation: 91-45=46
Exploring Operation: 17+45=62, Resulting Numbers: [91, 62]
Generated Node #0,1,2: 88:[91, 62] Operation: 17+45=62
Exploring Operation: 45-17=28, Resulting Numbers: [91, 28]
Generated Node #0,1,3: 88:[91, 28] Operation: 45-17=28
Exploring Operation: 17+91=108, Resulting Numbers: [45, 108]
Generated Node #0,1,4: 88:[45, 108] Operation: 17+91=108
Moving to Node #0,1,1
Current State: 88:[17, 46], Operations: ['95-4=91', '91-45=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,88 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[91, 28], Operations: ['95-4=91', '45-17=28']
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,88 unequal: No Solution
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[45, 74], Operations: ['95-4=91', '91-17=74']
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[91, 62], Operations: ['95-4=91', '17+45=62']
Exploring Operation: 91*62=5642, Resulting Numbers: [5642]
5642,88 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 91+62=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[45, 108], Operations: ['95-4=91', '17+91=108']
Exploring Operation: 45+108=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 45*108=4860, Resulting Numbers: [4860]
4860,88 unequal: No Solution
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[95, 45, 21], Operations: ['17+4=21']
Exploring Operation: 95-21=74, Resulting Numbers: [45, 74]
Generated Node #0,4,0: 88:[45, 74] Operation: 95-21=74
Exploring Operation: 45+21=66, Resulting Numbers: [95, 66]
Generated Node #0,4,1: 88:[95, 66] Operation: 45+21=66
Exploring Operation: 45-21=24, Resulting Numbers: [95, 24]
Generated Node #0,4,2: 88:[95, 24] Operation: 45-21=24
Exploring Operation: 95+21=116, Resulting Numbers: [45, 116]
Generated Node #0,4,3: 88:[45, 116] Operation: 95+21=116
Exploring Operation: 95-45=50, Resulting Numbers: [21, 50]
Generated Node #0,4,4: 88:[21, 50] Operation: 95-45=50
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 88:[21, 50], Operations: ['17+4=21', '95-45=50']
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 88:[95, 24], Operations: ['17+4=21', '45-21=24']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,88 unequal: No Solution
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 88:[45, 74], Operations: ['17+4=21', '95-21=74']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[95, 66], Operations: ['17+4=21', '45+21=66']
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 95*66=6270, Resulting Numbers: [6270]
6270,88 unequal: No Solution
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 88:[45, 116], Operations: ['17+4=21', '95+21=116']
Exploring Operation: 45+116=161, Resulting Numbers: [161]
161,88 unequal: No Solution
Exploring Operation: 45*116=5220, Resulting Numbers: [5220]
5220,88 unequal: No Solution
Exploring Operation: 116-45=71, Resulting Numbers: [71]
71,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[95, 45, 13], Operations: ['17-4=13']
Exploring Operation: 45-13=32, Resulting Numbers: [95, 32]
Generated Node #0,2,0: 88:[95, 32] Operation: 45-13=32
Exploring Operation: 95-45=50, Resulting Numbers: [13, 50]
Generated Node #0,2,1: 88:[13, 50] Operation: 95-45=50
Exploring Operation: 95-13=82, Resulting Numbers: [45, 82]
Generated Node #0,2,2: 88:[45, 82] Operation: 95-13=82
Exploring Operation: 95+13=108, Resulting Numbers: [45, 108]
Generated Node #0,2,3: 88:[45, 108] Operation: 95+13=108
Exploring Operation: 45+13=58, Resulting Numbers: [95, 58]
Generated Node #0,2,4: 88:[95, 58] Operation: 45+13=58
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[45, 82], Operations: ['17-4=13', '95-13=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[13, 50], Operations: ['17-4=13', '95-45=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,88 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[95, 32], Operations: ['17-4=13', '45-13=32']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 95*32=3040, Resulting Numbers: [3040]
3040,88 unequal: No Solution
Exploring Operation: 95+32=127, Resulting Numbers: [127]
127,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[45, 108], Operations: ['17-4=13', '95+13=108']
Exploring Operation: 45+108=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 45*108=4860, Resulting Numbers: [4860]
4860,88 unequal: No Solution
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 88:[95, 58], Operations: ['17-4=13', '45+13=58']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 95*58=5510, Resulting Numbers: [5510]
5510,88 unequal: No Solution
Exploring Operation: 95+58=153, Resulting Numbers: [153]
153,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[45, 4, 78], Operations: ['95-17=78']
Exploring Operation: 45+4=49, Resulting Numbers: [78, 49]
Generated Node #0,0,0: 88:[78, 49] Operation: 45+4=49
Exploring Operation: 78-4=74, Resulting Numbers: [45, 74]
Generated Node #0,0,1: 88:[45, 74] Operation: 78-4=74
Exploring Operation: 4+78=82, Resulting Numbers: [45, 82]
Generated Node #0,0,2: 88:[45, 82] Operation: 4+78=82
Exploring Operation: 78-45=33, Resulting Numbers: [4, 33]
Generated Node #0,0,3: 88:[4, 33] Operation: 78-45=33
Exploring Operation: 45-4=41, Resulting Numbers: [78, 41]
Generated Node #0,0,4: 88:[78, 41] Operation: 45-4=41
Moving to Node #0,0,2
Current State: 88:[45, 82], Operations: ['95-17=78', '4+78=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[4, 33], Operations: ['95-17=78', '78-45=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[78, 41], Operations: ['95-17=78', '45-4=41']
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,88 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[78, 49], Operations: ['95-17=78', '45+4=49']
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,88 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[45, 74], Operations: ['95-17=78', '78-4=74']
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,88 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[17, 4, 50], Operations: ['95-45=50']
Exploring Operation: 50-4=46, Resulting Numbers: [17, 46]
Generated Node #0,3,0: 88:[17, 46] Operation: 50-4=46
Exploring Operation: 17-4=13, Resulting Numbers: [50, 13]
Generated Node #0,3,1: 88:[50, 13] Operation: 17-4=13
Exploring Operation: 4+50=54, Resulting Numbers: [17, 54]
Generated Node #0,3,2: 88:[17, 54] Operation: 4+50=54
Exploring Operation: 17+4=21, Resulting Numbers: [50, 21]
Generated Node #0,3,3: 88:[50, 21] Operation: 17+4=21
Exploring Operation: 50-17=33, Resulting Numbers: [4, 33]
Generated Node #0,3,4: 88:[4, 33] Operation: 50-17=33
Moving to Node #0,3,0
Current State: 88:[17, 46], Operations: ['95-45=50', '50-4=46']
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,88 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[50, 21], Operations: ['95-45=50', '17+4=21']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[50, 13], Operations: ['95-45=50', '17-4=13']
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,88 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[4, 33], Operations: ['95-45=50', '50-17=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[17, 54], Operations: ['95-45=50', '4+50=54']
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,88 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
24,
76,
80
] | 56 | [
"24-10=14",
"80-76=4",
"14*4=56"
] | Current State: 56:[10, 24, 76, 80], Operations: []
Exploring Operation: 24-10=14, Resulting Numbers: [76, 80, 14]
Generated Node #2: [76, 80, 14] from Operation: 24-10=14
Current State: 56:[76, 80, 14], Operations: ['24-10=14']
Exploring Operation: 80-76=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 80-76=4
Current State: 56:[14, 4], Operations: ['24-10=14', '80-76=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[10, 24, 76, 80], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [10, 76, 56]
Generated Node #0,0: 56:[10, 76, 56] Operation: 80-24=56
Exploring Operation: 80-76=4, Resulting Numbers: [10, 24, 4]
Generated Node #0,1: 56:[10, 24, 4] Operation: 80-76=4
Exploring Operation: 80/10=8, Resulting Numbers: [24, 76, 8]
Generated Node #0,2: 56:[24, 76, 8] Operation: 80/10=8
Exploring Operation: 76-24=52, Resulting Numbers: [10, 80, 52]
Generated Node #0,3: 56:[10, 80, 52] Operation: 76-24=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[10, 24, 4], Operations: ['80-76=4']
Exploring Operation: 10+4=14, Resulting Numbers: [24, 14]
Generated Node #0,1,0: 56:[24, 14] Operation: 10+4=14
Exploring Operation: 24-10=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 56:[4, 14] Operation: 24-10=14
Exploring Operation: 24+4=28, Resulting Numbers: [10, 28]
Generated Node #0,1,2: 56:[10, 28] Operation: 24+4=28
Exploring Operation: 24/4=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 56:[10, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[4, 14], Operations: ['80-76=4', '24-10=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[10, 24, 76, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [10, 24, 4]
Generated Node #0,1: 56:[10, 24, 4] Operation: 80-76=4
Moving to Node #0,1
Current State: 56:[10, 24, 4], Operations: ['80-76=4']
Exploring Operation: 24-10=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 56:[4, 14] Operation: 24-10=14
Moving to Node #0,1,1
Current State: 56:[4, 14], Operations: ['80-76=4', '24-10=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
27,
29,
18,
48
] | 57 | [
"29-27=2",
"18/2=9",
"48+9=57"
] | Current State: 57:[27, 29, 18, 48], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [18, 48, 2]
Generated Node #2: [18, 48, 2] from Operation: 29-27=2
Current State: 57:[18, 48, 2], Operations: ['29-27=2']
Exploring Operation: 18/2=9, Resulting Numbers: [48, 9]
Generated Node #3: [48, 9] from Operation: 18/2=9
Current State: 57:[48, 9], Operations: ['29-27=2', '18/2=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[27, 29, 18, 48], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [27, 18, 19]
Generated Node #0,0: 57:[27, 18, 19] Operation: 48-29=19
Exploring Operation: 27+29=56, Resulting Numbers: [18, 48, 56]
Generated Node #0,1: 57:[18, 48, 56] Operation: 27+29=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[27, 18, 19], Operations: ['48-29=19']
Exploring Operation: 27-19=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 57:[18, 8] Operation: 27-19=8
Exploring Operation: 27-18=9, Resulting Numbers: [19, 9]
Generated Node #0,0,1: 57:[19, 9] Operation: 27-18=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[18, 8], Operations: ['48-29=19', '27-19=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,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,0,1
Current State: 57:[19, 9], Operations: ['48-29=19', '27-18=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,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:[18, 48, 56], Operations: ['27+29=56']
Exploring Operation: 56-48=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 57:[18, 8] Operation: 56-48=8
Exploring Operation: 18+48=66, Resulting Numbers: [56, 66]
Generated Node #0,1,1: 57:[56, 66] Operation: 18+48=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[18, 8], Operations: ['27+29=56', '56-48=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,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,1,1
Current State: 57:[56, 66], Operations: ['27+29=56', '18+48=66']
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,57 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
72,
3,
21
] | 68 | [
"72-22=50",
"21-3=18",
"50+18=68"
] | Current State: 68:[22, 72, 3, 21], Operations: []
Exploring Operation: 72-22=50, Resulting Numbers: [3, 21, 50]
Generated Node #2: [3, 21, 50] from Operation: 72-22=50
Current State: 68:[3, 21, 50], Operations: ['72-22=50']
Exploring Operation: 21-3=18, Resulting Numbers: [50, 18]
Generated Node #3: [50, 18] from Operation: 21-3=18
Current State: 68:[50, 18], Operations: ['72-22=50', '21-3=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[22, 72, 3, 21], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [72, 3, 1]
Generated Node #0,0: 68:[72, 3, 1] Operation: 22-21=1
Moving to Node #0,0
Current State: 68:[72, 3, 1], Operations: ['22-21=1']
Exploring Operation: 72-3=69, Resulting Numbers: [1, 69]
Generated Node #0,0,0: 68:[1, 69] Operation: 72-3=69
Moving to Node #0,0,0
Current State: 68:[1, 69], Operations: ['22-21=1', '72-3=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[22, 72, 3, 21], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [72, 3, 1]
Generated Node #0,0: 68:[72, 3, 1] Operation: 22-21=1
Moving to Node #0,0
Current State: 68:[72, 3, 1], Operations: ['22-21=1']
Exploring Operation: 72-3=69, Resulting Numbers: [1, 69]
Generated Node #0,0,0: 68:[1, 69] Operation: 72-3=69
Moving to Node #0,0,0
Current State: 68:[1, 69], Operations: ['22-21=1', '72-3=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
4,
24,
64,
4
] | 88 | [
"4+24=28",
"64-4=60",
"28+60=88"
] | Current State: 88:[4, 24, 64, 4], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [64, 28]
Generated Node #2: [64, 28] from Operation: 4+24=28
Current State: 88:[64, 28], Operations: ['4+24=28']
Exploring Operation: 64-4=60, Resulting Numbers: [28, 60]
Generated Node #3: [28, 60] from Operation: 64-4=60
Current State: 88:[28, 60], Operations: ['4+24=28', '64-4=60']
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[4, 24, 64, 4], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [4, 24, 16]
Generated Node #0,0: 88:[4, 24, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [24, 4, 60]
Generated Node #0,1: 88:[24, 4, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [24, 4, 16]
Generated Node #0,2: 88:[24, 4, 16] Operation: 64/4=16
Exploring Operation: 64-24=40, Resulting Numbers: [4, 4, 40]
Generated Node #0,3: 88:[4, 4, 40] Operation: 64-24=40
Exploring Operation: 24+64=88, Resulting Numbers: [4, 4, 88]
Generated Node #0,4: 88:[4, 4, 88] Operation: 24+64=88
Moving to Node #0,4
Current State: 88:[4, 4, 88], Operations: ['24+64=88']
Exploring Operation: 4-4=0, Resulting Numbers: [88, 0]
Generated Node #0,4,0: 88:[88, 0] Operation: 4-4=0
Exploring Operation: 4+4=8, Resulting Numbers: [88, 8]
Generated Node #0,4,1: 88:[88, 8] Operation: 4+4=8
Exploring Operation: 4/4=1, Resulting Numbers: [88, 1]
Generated Node #0,4,2: 88:[88, 1] Operation: 4/4=1
Exploring Operation: 88/4=22, Resulting Numbers: [4, 22]
Generated Node #0,4,3: 88:[4, 22] Operation: 88/4=22
Exploring Operation: 88/4=22, Resulting Numbers: [4, 22]
Generated Node #0,4,4: 88:[4, 22] Operation: 88/4=22
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 88:[88, 8], Operations: ['24+64=88', '4+4=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[4, 22], Operations: ['24+64=88', '88/4=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[4, 24, 64, 4], Operations: []
Exploring Operation: 24+64=88, Resulting Numbers: [4, 4, 88]
Generated Node #0,4: 88:[4, 4, 88] Operation: 24+64=88
Moving to Node #0,4
Current State: 88:[4, 4, 88], Operations: ['24+64=88']
Exploring Operation: 88/4=22, Resulting Numbers: [4, 22]
Generated Node #0,4,3: 88:[4, 22] Operation: 88/4=22
Moving to Node #0,4,3
Current State: 88:[4, 22], Operations: ['24+64=88', '88/4=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
97,
85,
89,
38
] | 55 | [
"97+85=182",
"89+38=127",
"182-127=55"
] | Current State: 55:[97, 85, 89, 38], Operations: []
Exploring Operation: 97+85=182, Resulting Numbers: [89, 38, 182]
Generated Node #2: [89, 38, 182] from Operation: 97+85=182
Current State: 55:[89, 38, 182], Operations: ['97+85=182']
Exploring Operation: 89+38=127, Resulting Numbers: [182, 127]
Generated Node #3: [182, 127] from Operation: 89+38=127
Current State: 55:[182, 127], Operations: ['97+85=182', '89+38=127']
Exploring Operation: 182-127=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[97, 85, 89, 38], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [97, 38, 4]
Generated Node #0,0: 55:[97, 38, 4] Operation: 89-85=4
Exploring Operation: 97-89=8, Resulting Numbers: [85, 38, 8]
Generated Node #0,1: 55:[85, 38, 8] Operation: 97-89=8
Exploring Operation: 97-38=59, Resulting Numbers: [85, 89, 59]
Generated Node #0,2: 55:[85, 89, 59] Operation: 97-38=59
Exploring Operation: 97-85=12, Resulting Numbers: [89, 38, 12]
Generated Node #0,3: 55:[89, 38, 12] Operation: 97-85=12
Moving to Node #0,1
Current State: 55:[85, 38, 8], Operations: ['97-89=8']
Exploring Operation: 38+8=46, Resulting Numbers: [85, 46]
Generated Node #0,1,0: 55:[85, 46] Operation: 38+8=46
Exploring Operation: 85-38=47, Resulting Numbers: [8, 47]
Generated Node #0,1,1: 55:[8, 47] Operation: 85-38=47
Exploring Operation: 38-8=30, Resulting Numbers: [85, 30]
Generated Node #0,1,2: 55:[85, 30] Operation: 38-8=30
Exploring Operation: 85-8=77, Resulting Numbers: [38, 77]
Generated Node #0,1,3: 55:[38, 77] Operation: 85-8=77
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[8, 47], Operations: ['97-89=8', '85-38=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[97, 85, 89, 38], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [85, 38, 8]
Generated Node #0,1: 55:[85, 38, 8] Operation: 97-89=8
Moving to Node #0,1
Current State: 55:[85, 38, 8], Operations: ['97-89=8']
Exploring Operation: 85-38=47, Resulting Numbers: [8, 47]
Generated Node #0,1,1: 55:[8, 47] Operation: 85-38=47
Moving to Node #0,1,1
Current State: 55:[8, 47], Operations: ['97-89=8', '85-38=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
46,
6,
52,
92
] | 75 | [
"46+92=138",
"138/6=23",
"52+23=75"
] | Current State: 75:[46, 6, 52, 92], Operations: []
Exploring Operation: 46+92=138, Resulting Numbers: [6, 52, 138]
Generated Node #2: [6, 52, 138] from Operation: 46+92=138
Current State: 75:[6, 52, 138], Operations: ['46+92=138']
Exploring Operation: 138/6=23, Resulting Numbers: [52, 23]
Generated Node #3: [52, 23] from Operation: 138/6=23
Current State: 75:[52, 23], Operations: ['46+92=138', '138/6=23']
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[46, 6, 52, 92], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [6, 92, 6]
Generated Node #0,0: 75:[6, 92, 6] Operation: 52-46=6
Exploring Operation: 92/46=2, Resulting Numbers: [6, 52, 2]
Generated Node #0,1: 75:[6, 52, 2] Operation: 92/46=2
Moving to Node #0,0
Current State: 75:[6, 92, 6], Operations: ['52-46=6']
Exploring Operation: 92-6=86, Resulting Numbers: [6, 86]
Generated Node #0,0,0: 75:[6, 86] Operation: 92-6=86
Exploring Operation: 92-6=86, Resulting Numbers: [6, 86]
Generated Node #0,0,1: 75:[6, 86] Operation: 92-6=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[6, 86], Operations: ['52-46=6', '92-6=86']
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[6, 86], Operations: ['52-46=6', '92-6=86']
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,75 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: 75:[6, 52, 2], Operations: ['92/46=2']
Exploring Operation: 6+52=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 75:[2, 58] Operation: 6+52=58
Exploring Operation: 52/2=26, Resulting Numbers: [6, 26]
Generated Node #0,1,1: 75:[6, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[6, 26], Operations: ['92/46=2', '52/2=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[2, 58], Operations: ['92/46=2', '6+52=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
88,
61,
33
] | 39 | [
"2*33=66",
"88-61=27",
"66-27=39"
] | Current State: 39:[2, 88, 61, 33], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [88, 61, 66]
Generated Node #2: [88, 61, 66] from Operation: 2*33=66
Current State: 39:[88, 61, 66], Operations: ['2*33=66']
Exploring Operation: 88-61=27, Resulting Numbers: [66, 27]
Generated Node #3: [66, 27] from Operation: 88-61=27
Current State: 39:[66, 27], Operations: ['2*33=66', '88-61=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[2, 88, 61, 33], Operations: []
Exploring Operation: 88-33=55, Resulting Numbers: [2, 61, 55]
Generated Node #0,0: 39:[2, 61, 55] Operation: 88-33=55
Exploring Operation: 88/2=44, Resulting Numbers: [61, 33, 44]
Generated Node #0,1: 39:[61, 33, 44] Operation: 88/2=44
Exploring Operation: 88-61=27, Resulting Numbers: [2, 33, 27]
Generated Node #0,2: 39:[2, 33, 27] Operation: 88-61=27
Exploring Operation: 61-33=28, Resulting Numbers: [2, 88, 28]
Generated Node #0,3: 39:[2, 88, 28] Operation: 61-33=28
Moving to Node #0,2
Current State: 39:[2, 33, 27], Operations: ['88-61=27']
Exploring Operation: 27-2=25, Resulting Numbers: [33, 25]
Generated Node #0,2,0: 39:[33, 25] Operation: 27-2=25
Exploring Operation: 33-27=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 39:[2, 6] Operation: 33-27=6
Exploring Operation: 2+33=35, Resulting Numbers: [27, 35]
Generated Node #0,2,2: 39:[27, 35] Operation: 2+33=35
Exploring Operation: 2+27=29, Resulting Numbers: [33, 29]
Generated Node #0,2,3: 39:[33, 29] Operation: 2+27=29
Moving to Node #0,1
Current State: 39:[61, 33, 44], Operations: ['88/2=44']
Exploring Operation: 61-33=28, Resulting Numbers: [44, 28]
Generated Node #0,1,0: 39:[44, 28] Operation: 61-33=28
Exploring Operation: 61-44=17, Resulting Numbers: [33, 17]
Generated Node #0,1,1: 39:[33, 17] Operation: 61-44=17
Exploring Operation: 61+33=94, Resulting Numbers: [44, 94]
Generated Node #0,1,2: 39:[44, 94] Operation: 61+33=94
Exploring Operation: 44-33=11, Resulting Numbers: [61, 11]
Generated Node #0,1,3: 39:[61, 11] Operation: 44-33=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[33, 17], Operations: ['88/2=44', '61-44=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,39 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,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,1,0
Current State: 39:[44, 28], Operations: ['88/2=44', '61-33=28']
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 44*28=1232, Resulting Numbers: [1232]
1232,39 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,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,1,3
Current State: 39:[61, 11], Operations: ['88/2=44', '44-33=11']
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,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,1,2
Current State: 39:[44, 94], Operations: ['88/2=44', '61+33=94']
Exploring Operation: 44+94=138, Resulting Numbers: [138]
138,39 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 44*94=4136, Resulting Numbers: [4136]
4136,39 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: 39:[2, 61, 55], Operations: ['88-33=55']
Exploring Operation: 61-55=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 39:[2, 6] Operation: 61-55=6
Exploring Operation: 61-2=59, Resulting Numbers: [55, 59]
Generated Node #0,0,1: 39:[55, 59] Operation: 61-2=59
Exploring Operation: 55-2=53, Resulting Numbers: [61, 53]
Generated Node #0,0,2: 39:[61, 53] Operation: 55-2=53
Exploring Operation: 2+61=63, Resulting Numbers: [55, 63]
Generated Node #0,0,3: 39:[55, 63] Operation: 2+61=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[2, 6], Operations: ['88-33=55', '61-55=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,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,0,1
Current State: 39:[55, 59], Operations: ['88-33=55', '61-2=59']
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,39 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,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,0,2
Current State: 39:[61, 53], Operations: ['88-33=55', '55-2=53']
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 61*53=3233, Resulting Numbers: [3233]
3233,39 unequal: No Solution
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,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,0,3
Current State: 39:[55, 63], Operations: ['88-33=55', '2+61=63']
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,39 unequal: No Solution
Exploring Operation: 55*63=3465, Resulting Numbers: [3465]
3465,39 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,39 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: 39:[2, 88, 28], Operations: ['61-33=28']
Exploring Operation: 88-2=86, Resulting Numbers: [28, 86]
Generated Node #0,3,0: 39:[28, 86] Operation: 88-2=86
Exploring Operation: 28/2=14, Resulting Numbers: [88, 14]
Generated Node #0,3,1: 39:[88, 14] Operation: 28/2=14
Exploring Operation: 88-28=60, Resulting Numbers: [2, 60]
Generated Node #0,3,2: 39:[2, 60] Operation: 88-28=60
Exploring Operation: 88/2=44, Resulting Numbers: [28, 44]
Generated Node #0,3,3: 39:[28, 44] Operation: 88/2=44
Moving to Node #0,2,1
Current State: 39:[2, 6], Operations: ['88-61=27', '33-27=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[33, 29], Operations: ['88-61=27', '2+27=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[27, 35], Operations: ['88-61=27', '2+33=35']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,39 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[28, 44], Operations: ['61-33=28', '88/2=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[33, 25], Operations: ['88-61=27', '27-2=25']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,39 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[2, 60], Operations: ['61-33=28', '88-28=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,39 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[88, 14], Operations: ['61-33=28', '28/2=14']
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[28, 86], Operations: ['61-33=28', '88-2=86']
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,39 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,39 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
70,
64,
67
] | 37 | [
"24+70=94",
"64+67=131",
"131-94=37"
] | Current State: 37:[24, 70, 64, 67], Operations: []
Exploring Operation: 24+70=94, Resulting Numbers: [64, 67, 94]
Generated Node #2: [64, 67, 94] from Operation: 24+70=94
Current State: 37:[64, 67, 94], Operations: ['24+70=94']
Exploring Operation: 64+67=131, Resulting Numbers: [94, 131]
Generated Node #3: [94, 131] from Operation: 64+67=131
Current State: 37:[94, 131], Operations: ['24+70=94', '64+67=131']
Exploring Operation: 131-94=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 70, 64, 67], Operations: []
Exploring Operation: 70-24=46, Resulting Numbers: [64, 67, 46]
Generated Node #0,0: 37:[64, 67, 46] Operation: 70-24=46
Exploring Operation: 64-24=40, Resulting Numbers: [70, 67, 40]
Generated Node #0,1: 37:[70, 67, 40] Operation: 64-24=40
Moving to Node #0,0
Current State: 37:[64, 67, 46], Operations: ['70-24=46']
Exploring Operation: 67-46=21, Resulting Numbers: [64, 21]
Generated Node #0,0,0: 37:[64, 21] Operation: 67-46=21
Exploring Operation: 67-64=3, Resulting Numbers: [46, 3]
Generated Node #0,0,1: 37:[46, 3] Operation: 67-64=3
Moving to Node #0,1
Current State: 37:[70, 67, 40], Operations: ['64-24=40']
Exploring Operation: 70-67=3, Resulting Numbers: [40, 3]
Generated Node #0,1,0: 37:[40, 3] Operation: 70-67=3
Exploring Operation: 70-40=30, Resulting Numbers: [67, 30]
Generated Node #0,1,1: 37:[67, 30] Operation: 70-40=30
Moving to Node #0,1,0
Current State: 37:[40, 3], Operations: ['64-24=40', '70-67=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[24, 70, 64, 67], Operations: []
Exploring Operation: 64-24=40, Resulting Numbers: [70, 67, 40]
Generated Node #0,1: 37:[70, 67, 40] Operation: 64-24=40
Moving to Node #0,1
Current State: 37:[70, 67, 40], Operations: ['64-24=40']
Exploring Operation: 70-67=3, Resulting Numbers: [40, 3]
Generated Node #0,1,0: 37:[40, 3] Operation: 70-67=3
Moving to Node #0,1,0
Current State: 37:[40, 3], Operations: ['64-24=40', '70-67=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
75,
76,
18,
50
] | 67 | [
"76-75=1",
"18+50=68",
"68-1=67"
] | Current State: 67:[75, 76, 18, 50], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [18, 50, 1]
Generated Node #2: [18, 50, 1] from Operation: 76-75=1
Current State: 67:[18, 50, 1], Operations: ['76-75=1']
Exploring Operation: 18+50=68, Resulting Numbers: [1, 68]
Generated Node #3: [1, 68] from Operation: 18+50=68
Current State: 67:[1, 68], Operations: ['76-75=1', '18+50=68']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[75, 76, 18, 50], Operations: []
Exploring Operation: 18+50=68, Resulting Numbers: [75, 76, 68]
Generated Node #0,0: 67:[75, 76, 68] Operation: 18+50=68
Moving to Node #0,0
Current State: 67:[75, 76, 68], Operations: ['18+50=68']
Exploring Operation: 76-75=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 67:[68, 1] Operation: 76-75=1
Moving to Node #0,0,0
Current State: 67:[68, 1], Operations: ['18+50=68', '76-75=1']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[75, 76, 18, 50], Operations: []
Exploring Operation: 18+50=68, Resulting Numbers: [75, 76, 68]
Generated Node #0,0: 67:[75, 76, 68] Operation: 18+50=68
Moving to Node #0,0
Current State: 67:[75, 76, 68], Operations: ['18+50=68']
Exploring Operation: 76-75=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 67:[68, 1] Operation: 76-75=1
Moving to Node #0,0,0
Current State: 67:[68, 1], Operations: ['18+50=68', '76-75=1']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
75,
49,
23,
41
] | 38 | [
"75-49=26",
"23+41=64",
"64-26=38"
] | Current State: 38:[75, 49, 23, 41], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [23, 41, 26]
Generated Node #2: [23, 41, 26] from Operation: 75-49=26
Current State: 38:[23, 41, 26], Operations: ['75-49=26']
Exploring Operation: 23+41=64, Resulting Numbers: [26, 64]
Generated Node #3: [26, 64] from Operation: 23+41=64
Current State: 38:[26, 64], Operations: ['75-49=26', '23+41=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[75, 49, 23, 41], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [23, 41, 26]
Generated Node #0,0: 38:[23, 41, 26] Operation: 75-49=26
Moving to Node #0,0
Current State: 38:[23, 41, 26], Operations: ['75-49=26']
Exploring Operation: 26-23=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 38:[41, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 38:[41, 3], Operations: ['75-49=26', '26-23=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[75, 49, 23, 41], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [23, 41, 26]
Generated Node #0,0: 38:[23, 41, 26] Operation: 75-49=26
Moving to Node #0,0
Current State: 38:[23, 41, 26], Operations: ['75-49=26']
Exploring Operation: 26-23=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 38:[41, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 38:[41, 3], Operations: ['75-49=26', '26-23=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
33,
21,
25,
12
] | 30 | [
"25-21=4",
"12/4=3",
"33-3=30"
] | Current State: 30:[33, 21, 25, 12], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [33, 12, 4]
Generated Node #2: [33, 12, 4] from Operation: 25-21=4
Current State: 30:[33, 12, 4], Operations: ['25-21=4']
Exploring Operation: 12/4=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 12/4=3
Current State: 30:[33, 3], Operations: ['25-21=4', '12/4=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[33, 21, 25, 12], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [33, 12, 4]
Generated Node #0,0: 30:[33, 12, 4] Operation: 25-21=4
Exploring Operation: 33-21=12, Resulting Numbers: [25, 12, 12]
Generated Node #0,1: 30:[25, 12, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[33, 12, 4], Operations: ['25-21=4']
Exploring Operation: 12/4=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 30:[33, 3] Operation: 12/4=3
Exploring Operation: 33-4=29, Resulting Numbers: [12, 29]
Generated Node #0,0,1: 30:[12, 29] Operation: 33-4=29
Moving to Node #0,0,0
Current State: 30:[33, 3], Operations: ['25-21=4', '12/4=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[33, 21, 25, 12], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [33, 12, 4]
Generated Node #0,0: 30:[33, 12, 4] Operation: 25-21=4
Moving to Node #0,0
Current State: 30:[33, 12, 4], Operations: ['25-21=4']
Exploring Operation: 12/4=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 30:[33, 3] Operation: 12/4=3
Moving to Node #0,0,0
Current State: 30:[33, 3], Operations: ['25-21=4', '12/4=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
10,
21,
53,
42
] | 20 | [
"10+21=31",
"53-42=11",
"31-11=20"
] | Current State: 20:[10, 21, 53, 42], Operations: []
Exploring Operation: 10+21=31, Resulting Numbers: [53, 42, 31]
Generated Node #2: [53, 42, 31] from Operation: 10+21=31
Current State: 20:[53, 42, 31], Operations: ['10+21=31']
Exploring Operation: 53-42=11, Resulting Numbers: [31, 11]
Generated Node #3: [31, 11] from Operation: 53-42=11
Current State: 20:[31, 11], Operations: ['10+21=31', '53-42=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[10, 21, 53, 42], Operations: []
Exploring Operation: 53-21=32, Resulting Numbers: [10, 42, 32]
Generated Node #0,0: 20:[10, 42, 32] Operation: 53-21=32
Exploring Operation: 42/21=2, Resulting Numbers: [10, 53, 2]
Generated Node #0,1: 20:[10, 53, 2] Operation: 42/21=2
Exploring Operation: 53-42=11, Resulting Numbers: [10, 21, 11]
Generated Node #0,2: 20:[10, 21, 11] Operation: 53-42=11
Exploring Operation: 42-21=21, Resulting Numbers: [10, 53, 21]
Generated Node #0,3: 20:[10, 53, 21] Operation: 42-21=21
Moving to Node #0,2
Current State: 20:[10, 21, 11], Operations: ['53-42=11']
Exploring Operation: 11-10=1, Resulting Numbers: [21, 1]
Generated Node #0,2,0: 20:[21, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [21, 21]
Generated Node #0,2,1: 20:[21, 21] Operation: 10+11=21
Exploring Operation: 21-10=11, Resulting Numbers: [11, 11]
Generated Node #0,2,2: 20:[11, 11] Operation: 21-10=11
Exploring Operation: 21-11=10, Resulting Numbers: [10, 10]
Generated Node #0,2,3: 20:[10, 10] Operation: 21-11=10
Moving to Node #0,1
Current State: 20:[10, 53, 2], Operations: ['42/21=2']
Exploring Operation: 53-2=51, Resulting Numbers: [10, 51]
Generated Node #0,1,0: 20:[10, 51] Operation: 53-2=51
Exploring Operation: 10*2=20, Resulting Numbers: [53, 20]
Generated Node #0,1,1: 20:[53, 20] Operation: 10*2=20
Exploring Operation: 10/2=5, Resulting Numbers: [53, 5]
Generated Node #0,1,2: 20:[53, 5] Operation: 10/2=5
Exploring Operation: 53-10=43, Resulting Numbers: [2, 43]
Generated Node #0,1,3: 20:[2, 43] Operation: 53-10=43
Moving to Node #0,3
Current State: 20:[10, 53, 21], Operations: ['42-21=21']
Exploring Operation: 53-10=43, Resulting Numbers: [21, 43]
Generated Node #0,3,0: 20:[21, 43] Operation: 53-10=43
Exploring Operation: 53-21=32, Resulting Numbers: [10, 32]
Generated Node #0,3,1: 20:[10, 32] Operation: 53-21=32
Exploring Operation: 21-10=11, Resulting Numbers: [53, 11]
Generated Node #0,3,2: 20:[53, 11] Operation: 21-10=11
Exploring Operation: 10+53=63, Resulting Numbers: [21, 63]
Generated Node #0,3,3: 20:[21, 63] Operation: 10+53=63
Moving to Node #0,0
Current State: 20:[10, 42, 32], Operations: ['53-21=32']
Exploring Operation: 32-10=22, Resulting Numbers: [42, 22]
Generated Node #0,0,0: 20:[42, 22] Operation: 32-10=22
Exploring Operation: 42-32=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 20:[10, 10] Operation: 42-32=10
Exploring Operation: 42-10=32, Resulting Numbers: [32, 32]
Generated Node #0,0,2: 20:[32, 32] Operation: 42-10=32
Exploring Operation: 10+42=52, Resulting Numbers: [32, 52]
Generated Node #0,0,3: 20:[32, 52] Operation: 10+42=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[10, 10], Operations: ['53-21=32', '42-32=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[10, 21, 53, 42], Operations: []
Exploring Operation: 53-21=32, Resulting Numbers: [10, 42, 32]
Generated Node #0,0: 20:[10, 42, 32] Operation: 53-21=32
Moving to Node #0,0
Current State: 20:[10, 42, 32], Operations: ['53-21=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 20:[10, 10] Operation: 42-32=10
Moving to Node #0,0,1
Current State: 20:[10, 10], Operations: ['53-21=32', '42-32=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | sum_heuristic |
[
17,
6,
93,
60
] | 51 | [
"17*6=102",
"93+60=153",
"153-102=51"
] | Current State: 51:[17, 6, 93, 60], Operations: []
Exploring Operation: 17*6=102, Resulting Numbers: [93, 60, 102]
Generated Node #2: [93, 60, 102] from Operation: 17*6=102
Current State: 51:[93, 60, 102], Operations: ['17*6=102']
Exploring Operation: 93+60=153, Resulting Numbers: [102, 153]
Generated Node #3: [102, 153] from Operation: 93+60=153
Current State: 51:[102, 153], Operations: ['17*6=102', '93+60=153']
Exploring Operation: 153-102=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[17, 6, 93, 60], Operations: []
Exploring Operation: 93-17=76, Resulting Numbers: [6, 60, 76]
Generated Node #0,0: 51:[6, 60, 76] Operation: 93-17=76
Exploring Operation: 93-6=87, Resulting Numbers: [17, 60, 87]
Generated Node #0,1: 51:[17, 60, 87] Operation: 93-6=87
Exploring Operation: 60-6=54, Resulting Numbers: [17, 93, 54]
Generated Node #0,2: 51:[17, 93, 54] Operation: 60-6=54
Exploring Operation: 93-60=33, Resulting Numbers: [17, 6, 33]
Generated Node #0,3: 51:[17, 6, 33] Operation: 93-60=33
Moving to Node #0,3
Current State: 51:[17, 6, 33], Operations: ['93-60=33']
Exploring Operation: 33-6=27, Resulting Numbers: [17, 27]
Generated Node #0,3,0: 51:[17, 27] Operation: 33-6=27
Exploring Operation: 17+33=50, Resulting Numbers: [6, 50]
Generated Node #0,3,1: 51:[6, 50] Operation: 17+33=50
Exploring Operation: 33-17=16, Resulting Numbers: [6, 16]
Generated Node #0,3,2: 51:[6, 16] Operation: 33-17=16
Exploring Operation: 6+33=39, Resulting Numbers: [17, 39]
Generated Node #0,3,3: 51:[17, 39] Operation: 6+33=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[6, 50], Operations: ['93-60=33', '17+33=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,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,3,2
Current State: 51:[6, 16], Operations: ['93-60=33', '33-17=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,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,3,0
Current State: 51:[17, 27], Operations: ['93-60=33', '33-6=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,51 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,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,3,3
Current State: 51:[17, 39], Operations: ['93-60=33', '6+33=39']
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,51 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,51 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: 51:[6, 60, 76], Operations: ['93-17=76']
Exploring Operation: 60-6=54, Resulting Numbers: [76, 54]
Generated Node #0,0,0: 51:[76, 54] Operation: 60-6=54
Exploring Operation: 76-60=16, Resulting Numbers: [6, 16]
Generated Node #0,0,1: 51:[6, 16] Operation: 76-60=16
Exploring Operation: 76-6=70, Resulting Numbers: [60, 70]
Generated Node #0,0,2: 51:[60, 70] Operation: 76-6=70
Exploring Operation: 60/6=10, Resulting Numbers: [76, 10]
Generated Node #0,0,3: 51:[76, 10] Operation: 60/6=10
Moving to Node #0,2
Current State: 51:[17, 93, 54], Operations: ['60-6=54']
Exploring Operation: 93-17=76, Resulting Numbers: [54, 76]
Generated Node #0,2,0: 51:[54, 76] Operation: 93-17=76
Exploring Operation: 93-54=39, Resulting Numbers: [17, 39]
Generated Node #0,2,1: 51:[17, 39] Operation: 93-54=39
Exploring Operation: 54-17=37, Resulting Numbers: [93, 37]
Generated Node #0,2,2: 51:[93, 37] Operation: 54-17=37
Exploring Operation: 17+93=110, Resulting Numbers: [54, 110]
Generated Node #0,2,3: 51:[54, 110] Operation: 17+93=110
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[17, 39], Operations: ['60-6=54', '93-54=39']
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,51 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,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,2,0
Current State: 51:[54, 76], Operations: ['60-6=54', '93-17=76']
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 54*76=4104, Resulting Numbers: [4104]
4104,51 unequal: No Solution
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,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,2,2
Current State: 51:[93, 37], Operations: ['60-6=54', '54-17=37']
Exploring Operation: 93+37=130, Resulting Numbers: [130]
130,51 unequal: No Solution
Exploring Operation: 93*37=3441, Resulting Numbers: [3441]
3441,51 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,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,2,3
Current State: 51:[54, 110], Operations: ['60-6=54', '17+93=110']
Exploring Operation: 110-54=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 54+110=164, Resulting Numbers: [164]
164,51 unequal: No Solution
Exploring Operation: 54*110=5940, Resulting Numbers: [5940]
5940,51 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: 51:[17, 60, 87], Operations: ['93-6=87']
Exploring Operation: 60-17=43, Resulting Numbers: [87, 43]
Generated Node #0,1,0: 51:[87, 43] Operation: 60-17=43
Exploring Operation: 17+60=77, Resulting Numbers: [87, 77]
Generated Node #0,1,1: 51:[87, 77] Operation: 17+60=77
Exploring Operation: 87-60=27, Resulting Numbers: [17, 27]
Generated Node #0,1,2: 51:[17, 27] Operation: 87-60=27
Exploring Operation: 87-17=70, Resulting Numbers: [60, 70]
Generated Node #0,1,3: 51:[60, 70] Operation: 87-17=70
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[17, 27], Operations: ['93-6=87', '87-60=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,51 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,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,3
Current State: 51:[60, 70], Operations: ['93-6=87', '87-17=70']
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,51 unequal: No Solution
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,51 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,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,0
Current State: 51:[87, 43], Operations: ['93-6=87', '60-17=43']
Exploring Operation: 87+43=130, Resulting Numbers: [130]
130,51 unequal: No Solution
Exploring Operation: 87*43=3741, Resulting Numbers: [3741]
3741,51 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,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,1
Current State: 51:[87, 77], Operations: ['93-6=87', '17+60=77']
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,51 unequal: No Solution
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 51:[6, 16], Operations: ['93-17=76', '76-60=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[60, 70], Operations: ['93-17=76', '76-6=70']
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,51 unequal: No Solution
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[76, 54], Operations: ['93-17=76', '60-6=54']
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,51 unequal: No Solution
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[76, 10], Operations: ['93-17=76', '60/6=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,51 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,51 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,51 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
88,
61,
17,
84
] | 74 | [
"88-61=27",
"17+84=101",
"101-27=74"
] | Current State: 74:[88, 61, 17, 84], Operations: []
Exploring Operation: 88-61=27, Resulting Numbers: [17, 84, 27]
Generated Node #2: [17, 84, 27] from Operation: 88-61=27
Current State: 74:[17, 84, 27], Operations: ['88-61=27']
Exploring Operation: 17+84=101, Resulting Numbers: [27, 101]
Generated Node #3: [27, 101] from Operation: 17+84=101
Current State: 74:[27, 101], Operations: ['88-61=27', '17+84=101']
Exploring Operation: 101-27=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[88, 61, 17, 84], Operations: []
Exploring Operation: 88-17=71, Resulting Numbers: [61, 84, 71]
Generated Node #0,0: 74:[61, 84, 71] Operation: 88-17=71
Exploring Operation: 84-17=67, Resulting Numbers: [88, 61, 67]
Generated Node #0,1: 74:[88, 61, 67] Operation: 84-17=67
Exploring Operation: 61-17=44, Resulting Numbers: [88, 84, 44]
Generated Node #0,2: 74:[88, 84, 44] Operation: 61-17=44
Exploring Operation: 61+17=78, Resulting Numbers: [88, 84, 78]
Generated Node #0,3: 74:[88, 84, 78] Operation: 61+17=78
Exploring Operation: 88-84=4, Resulting Numbers: [61, 17, 4]
Generated Node #0,4: 74:[61, 17, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[61, 84, 71], Operations: ['88-17=71']
Exploring Operation: 84-61=23, Resulting Numbers: [71, 23]
Generated Node #0,0,0: 74:[71, 23] Operation: 84-61=23
Exploring Operation: 84-71=13, Resulting Numbers: [61, 13]
Generated Node #0,0,1: 74:[61, 13] Operation: 84-71=13
Exploring Operation: 61+71=132, Resulting Numbers: [84, 132]
Generated Node #0,0,2: 74:[84, 132] Operation: 61+71=132
Exploring Operation: 71-61=10, Resulting Numbers: [84, 10]
Generated Node #0,0,3: 74:[84, 10] Operation: 71-61=10
Exploring Operation: 61+84=145, Resulting Numbers: [71, 145]
Generated Node #0,0,4: 74:[71, 145] Operation: 61+84=145
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[71, 23], Operations: ['88-17=71', '84-61=23']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,74 unequal: No Solution
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[84, 10], Operations: ['88-17=71', '71-61=10']
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,74 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[88, 61, 17, 84], Operations: []
Exploring Operation: 88-17=71, Resulting Numbers: [61, 84, 71]
Generated Node #0,0: 74:[61, 84, 71] Operation: 88-17=71
Moving to Node #0,0
Current State: 74:[61, 84, 71], Operations: ['88-17=71']
Exploring Operation: 71-61=10, Resulting Numbers: [84, 10]
Generated Node #0,0,3: 74:[84, 10] Operation: 71-61=10
Moving to Node #0,0,3
Current State: 74:[84, 10], Operations: ['88-17=71', '71-61=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
22,
13,
1,
20
] | 26 | [
"22*1=22",
"22-20=2",
"13*2=26"
] | Current State: 26:[22, 13, 1, 20], Operations: []
Exploring Operation: 22*1=22, Resulting Numbers: [13, 20, 22]
Generated Node #2: [13, 20, 22] from Operation: 22*1=22
Current State: 26:[13, 20, 22], Operations: ['22*1=22']
Exploring Operation: 22-20=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 22-20=2
Current State: 26:[13, 2], Operations: ['22*1=22', '22-20=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[22, 13, 1, 20], Operations: []
Exploring Operation: 1+20=21, Resulting Numbers: [22, 13, 21]
Generated Node #0,0: 26:[22, 13, 21] Operation: 1+20=21
Exploring Operation: 22-20=2, Resulting Numbers: [13, 1, 2]
Generated Node #0,1: 26:[13, 1, 2] Operation: 22-20=2
Exploring Operation: 22+1=23, Resulting Numbers: [13, 20, 23]
Generated Node #0,2: 26:[13, 20, 23] Operation: 22+1=23
Moving to Node #0,1
Current State: 26:[13, 1, 2], Operations: ['22-20=2']
Exploring Operation: 1*2=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 26:[13, 2] Operation: 1*2=2
Exploring Operation: 13*1=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 26:[2, 13] Operation: 13*1=13
Exploring Operation: 13/1=13, Resulting Numbers: [2, 13]
Generated Node #0,1,2: 26:[2, 13] Operation: 13/1=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[13, 2], Operations: ['22-20=2', '1*2=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[22, 13, 1, 20], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [13, 1, 2]
Generated Node #0,1: 26:[13, 1, 2] Operation: 22-20=2
Moving to Node #0,1
Current State: 26:[13, 1, 2], Operations: ['22-20=2']
Exploring Operation: 1*2=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 26:[13, 2] Operation: 1*2=2
Moving to Node #0,1,0
Current State: 26:[13, 2], Operations: ['22-20=2', '1*2=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
29,
17,
23,
71
] | 69 | [
"29+17=46",
"46/23=2",
"71-2=69"
] | Current State: 69:[29, 17, 23, 71], Operations: []
Exploring Operation: 29+17=46, Resulting Numbers: [23, 71, 46]
Generated Node #2: [23, 71, 46] from Operation: 29+17=46
Current State: 69:[23, 71, 46], Operations: ['29+17=46']
Exploring Operation: 46/23=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 46/23=2
Current State: 69:[71, 2], Operations: ['29+17=46', '46/23=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[29, 17, 23, 71], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [23, 71, 12]
Generated Node #0,0: 69:[23, 71, 12] Operation: 29-17=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[23, 71, 12], Operations: ['29-17=12']
Exploring Operation: 23-12=11, Resulting Numbers: [71, 11]
Generated Node #0,0,0: 69:[71, 11] Operation: 23-12=11
Moving to Node #0,0,0
Current State: 69:[71, 11], Operations: ['29-17=12', '23-12=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
66,
70,
17
] | 43 | [
"66-56=10",
"70-17=53",
"53-10=43"
] | Current State: 43:[56, 66, 70, 17], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [70, 17, 10]
Generated Node #2: [70, 17, 10] from Operation: 66-56=10
Current State: 43:[70, 17, 10], Operations: ['66-56=10']
Exploring Operation: 70-17=53, Resulting Numbers: [10, 53]
Generated Node #3: [10, 53] from Operation: 70-17=53
Current State: 43:[10, 53], Operations: ['66-56=10', '70-17=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[56, 66, 70, 17], Operations: []
Exploring Operation: 66-17=49, Resulting Numbers: [56, 70, 49]
Generated Node #0,0: 43:[56, 70, 49] Operation: 66-17=49
Exploring Operation: 70-56=14, Resulting Numbers: [66, 17, 14]
Generated Node #0,1: 43:[66, 17, 14] Operation: 70-56=14
Exploring Operation: 70-17=53, Resulting Numbers: [56, 66, 53]
Generated Node #0,2: 43:[56, 66, 53] Operation: 70-17=53
Exploring Operation: 56-17=39, Resulting Numbers: [66, 70, 39]
Generated Node #0,3: 43:[66, 70, 39] Operation: 56-17=39
Moving to Node #0,0
Current State: 43:[56, 70, 49], Operations: ['66-17=49']
Exploring Operation: 70-56=14, Resulting Numbers: [49, 14]
Generated Node #0,0,0: 43:[49, 14] Operation: 70-56=14
Exploring Operation: 70-49=21, Resulting Numbers: [56, 21]
Generated Node #0,0,1: 43:[56, 21] Operation: 70-49=21
Exploring Operation: 56+70=126, Resulting Numbers: [49, 126]
Generated Node #0,0,2: 43:[49, 126] Operation: 56+70=126
Exploring Operation: 56-49=7, Resulting Numbers: [70, 7]
Generated Node #0,0,3: 43:[70, 7] Operation: 56-49=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[49, 14], Operations: ['66-17=49', '70-56=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,43 unequal: No Solution
No 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: 43:[56, 21], Operations: ['66-17=49', '70-49=21']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,43 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No 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: 43:[70, 7], Operations: ['66-17=49', '56-49=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,43 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No 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: 43:[49, 126], Operations: ['66-17=49', '56+70=126']
Exploring Operation: 49+126=175, Resulting Numbers: [175]
175,43 unequal: No Solution
Exploring Operation: 126-49=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 49*126=6174, Resulting Numbers: [6174]
6174,43 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: 43:[56, 66, 53], Operations: ['70-17=53']
Exploring Operation: 66-56=10, Resulting Numbers: [53, 10]
Generated Node #0,2,0: 43:[53, 10] Operation: 66-56=10
Exploring Operation: 66-53=13, Resulting Numbers: [56, 13]
Generated Node #0,2,1: 43:[56, 13] Operation: 66-53=13
Exploring Operation: 56+66=122, Resulting Numbers: [53, 122]
Generated Node #0,2,2: 43:[53, 122] Operation: 56+66=122
Exploring Operation: 56-53=3, Resulting Numbers: [66, 3]
Generated Node #0,2,3: 43:[66, 3] Operation: 56-53=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[53, 10], Operations: ['70-17=53', '66-56=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[56, 66, 70, 17], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [56, 66, 53]
Generated Node #0,2: 43:[56, 66, 53] Operation: 70-17=53
Moving to Node #0,2
Current State: 43:[56, 66, 53], Operations: ['70-17=53']
Exploring Operation: 66-56=10, Resulting Numbers: [53, 10]
Generated Node #0,2,0: 43:[53, 10] Operation: 66-56=10
Moving to Node #0,2,0
Current State: 43:[53, 10], Operations: ['70-17=53', '66-56=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
36,
67,
44,
53
] | 66 | [
"67-36=31",
"44+53=97",
"97-31=66"
] | Current State: 66:[36, 67, 44, 53], Operations: []
Exploring Operation: 67-36=31, Resulting Numbers: [44, 53, 31]
Generated Node #2: [44, 53, 31] from Operation: 67-36=31
Current State: 66:[44, 53, 31], Operations: ['67-36=31']
Exploring Operation: 44+53=97, Resulting Numbers: [31, 97]
Generated Node #3: [31, 97] from Operation: 44+53=97
Current State: 66:[31, 97], Operations: ['67-36=31', '44+53=97']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[36, 67, 44, 53], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [36, 44, 14]
Generated Node #0,0: 66:[36, 44, 14] Operation: 67-53=14
Exploring Operation: 53-36=17, Resulting Numbers: [67, 44, 17]
Generated Node #0,1: 66:[67, 44, 17] Operation: 53-36=17
Exploring Operation: 44-36=8, Resulting Numbers: [67, 53, 8]
Generated Node #0,2: 66:[67, 53, 8] Operation: 44-36=8
Exploring Operation: 53-44=9, Resulting Numbers: [36, 67, 9]
Generated Node #0,3: 66:[36, 67, 9] Operation: 53-44=9
Exploring Operation: 67-44=23, Resulting Numbers: [36, 53, 23]
Generated Node #0,4: 66:[36, 53, 23] Operation: 67-44=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[36, 67, 9], Operations: ['53-44=9']
Exploring Operation: 36+9=45, Resulting Numbers: [67, 45]
Generated Node #0,3,0: 66:[67, 45] Operation: 36+9=45
Exploring Operation: 67-36=31, Resulting Numbers: [9, 31]
Generated Node #0,3,1: 66:[9, 31] Operation: 67-36=31
Exploring Operation: 67-9=58, Resulting Numbers: [36, 58]
Generated Node #0,3,2: 66:[36, 58] Operation: 67-9=58
Exploring Operation: 36/9=4, Resulting Numbers: [67, 4]
Generated Node #0,3,3: 66:[67, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [67, 27]
Generated Node #0,3,4: 66:[67, 27] Operation: 36-9=27
Moving to Node #0,3,3
Current State: 66:[67, 4], Operations: ['53-44=9', '36/9=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,66 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[9, 31], Operations: ['53-44=9', '67-36=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[67, 27], Operations: ['53-44=9', '36-9=27']
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,66 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[36, 58], Operations: ['53-44=9', '67-9=58']
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[67, 45], Operations: ['53-44=9', '36+9=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,66 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,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,2
Current State: 66:[67, 53, 8], Operations: ['44-36=8']
Exploring Operation: 67-53=14, Resulting Numbers: [8, 14]
Generated Node #0,2,0: 66:[8, 14] Operation: 67-53=14
Exploring Operation: 53+8=61, Resulting Numbers: [67, 61]
Generated Node #0,2,1: 66:[67, 61] Operation: 53+8=61
Exploring Operation: 53-8=45, Resulting Numbers: [67, 45]
Generated Node #0,2,2: 66:[67, 45] Operation: 53-8=45
Exploring Operation: 67-8=59, Resulting Numbers: [53, 59]
Generated Node #0,2,3: 66:[53, 59] Operation: 67-8=59
Exploring Operation: 67+8=75, Resulting Numbers: [53, 75]
Generated Node #0,2,4: 66:[53, 75] Operation: 67+8=75
Moving to Node #0,2,0
Current State: 66:[8, 14], Operations: ['44-36=8', '67-53=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[67, 61], Operations: ['44-36=8', '53+8=61']
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,66 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[67, 45], Operations: ['44-36=8', '53-8=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,66 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[53, 59], Operations: ['44-36=8', '67-8=59']
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,66 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[53, 75], Operations: ['44-36=8', '67+8=75']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,66 unequal: No Solution
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[36, 44, 14], Operations: ['67-53=14']
Exploring Operation: 36+44=80, Resulting Numbers: [14, 80]
Generated Node #0,0,0: 66:[14, 80] Operation: 36+44=80
Exploring Operation: 44-36=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 66:[14, 8] Operation: 44-36=8
Exploring Operation: 44-14=30, Resulting Numbers: [36, 30]
Generated Node #0,0,2: 66:[36, 30] Operation: 44-14=30
Exploring Operation: 44+14=58, Resulting Numbers: [36, 58]
Generated Node #0,0,3: 66:[36, 58] Operation: 44+14=58
Exploring Operation: 36-14=22, Resulting Numbers: [44, 22]
Generated Node #0,0,4: 66:[44, 22] Operation: 36-14=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[14, 8], Operations: ['67-53=14', '44-36=8']
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,66 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 14-8=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,0,2
Current State: 66:[36, 30], Operations: ['67-53=14', '44-14=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[36, 67, 44, 53], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [36, 44, 14]
Generated Node #0,0: 66:[36, 44, 14] Operation: 67-53=14
Moving to Node #0,0
Current State: 66:[36, 44, 14], Operations: ['67-53=14']
Exploring Operation: 44-14=30, Resulting Numbers: [36, 30]
Generated Node #0,0,2: 66:[36, 30] Operation: 44-14=30
Moving to Node #0,0,2
Current State: 66:[36, 30], Operations: ['67-53=14', '44-14=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
84,
50,
30,
35
] | 31 | [
"84-50=34",
"30+35=65",
"65-34=31"
] | Current State: 31:[84, 50, 30, 35], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [30, 35, 34]
Generated Node #2: [30, 35, 34] from Operation: 84-50=34
Current State: 31:[30, 35, 34], Operations: ['84-50=34']
Exploring Operation: 30+35=65, Resulting Numbers: [34, 65]
Generated Node #3: [34, 65] from Operation: 30+35=65
Current State: 31:[34, 65], Operations: ['84-50=34', '30+35=65']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[84, 50, 30, 35], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [30, 35, 34]
Generated Node #0,0: 31:[30, 35, 34] Operation: 84-50=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[30, 35, 34], Operations: ['84-50=34']
Exploring Operation: 35-30=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 31:[34, 5] Operation: 35-30=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[34, 5], Operations: ['84-50=34', '35-30=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
43,
44,
4,
71
] | 62 | [
"43+71=114",
"44*4=176",
"176-114=62"
] | Current State: 62:[43, 44, 4, 71], Operations: []
Exploring Operation: 43+71=114, Resulting Numbers: [44, 4, 114]
Generated Node #2: [44, 4, 114] from Operation: 43+71=114
Current State: 62:[44, 4, 114], Operations: ['43+71=114']
Exploring Operation: 44*4=176, Resulting Numbers: [114, 176]
Generated Node #3: [114, 176] from Operation: 44*4=176
Current State: 62:[114, 176], Operations: ['43+71=114', '44*4=176']
Exploring Operation: 176-114=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[43, 44, 4, 71], Operations: []
Exploring Operation: 44-43=1, Resulting Numbers: [4, 71, 1]
Generated Node #0,0: 62:[4, 71, 1] Operation: 44-43=1
Exploring Operation: 71-43=28, Resulting Numbers: [44, 4, 28]
Generated Node #0,1: 62:[44, 4, 28] Operation: 71-43=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[4, 71, 1], Operations: ['44-43=1']
Exploring Operation: 71-4=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 62:[1, 67] Operation: 71-4=67
Exploring Operation: 4-1=3, Resulting Numbers: [71, 3]
Generated Node #0,0,1: 62:[71, 3] Operation: 4-1=3
Moving to Node #0,0,0
Current State: 62:[1, 67], Operations: ['44-43=1', '71-4=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[71, 3], Operations: ['44-43=1', '4-1=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,62 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,62 unequal: No Solution
No 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: 62:[44, 4, 28], Operations: ['71-43=28']
Exploring Operation: 44/4=11, Resulting Numbers: [28, 11]
Generated Node #0,1,0: 62:[28, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [28, 40]
Generated Node #0,1,1: 62:[28, 40] Operation: 44-4=40
Moving to Node #0,1,0
Current State: 62:[28, 11], Operations: ['71-43=28', '44/4=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[28, 40], Operations: ['71-43=28', '44-4=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
24,
20,
26
] | 18 | [
"24+26=50",
"50/25=2",
"20-2=18"
] | Current State: 18:[25, 24, 20, 26], Operations: []
Exploring Operation: 24+26=50, Resulting Numbers: [25, 20, 50]
Generated Node #2: [25, 20, 50] from Operation: 24+26=50
Current State: 18:[25, 20, 50], Operations: ['24+26=50']
Exploring Operation: 50/25=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 50/25=2
Current State: 18:[20, 2], Operations: ['24+26=50', '50/25=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[25, 24, 20, 26], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [25, 20, 2]
Generated Node #0,0: 18:[25, 20, 2] Operation: 26-24=2
Exploring Operation: 25-20=5, Resulting Numbers: [24, 26, 5]
Generated Node #0,1: 18:[24, 26, 5] Operation: 25-20=5
Exploring Operation: 25-24=1, Resulting Numbers: [20, 26, 1]
Generated Node #0,2: 18:[20, 26, 1] Operation: 25-24=1
Exploring Operation: 26-25=1, Resulting Numbers: [24, 20, 1]
Generated Node #0,3: 18:[24, 20, 1] Operation: 26-25=1
Exploring Operation: 26-20=6, Resulting Numbers: [25, 24, 6]
Generated Node #0,4: 18:[25, 24, 6] Operation: 26-20=6
Moving to Node #0,0
Current State: 18:[25, 20, 2], Operations: ['26-24=2']
Exploring Operation: 25-20=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 18:[2, 5] Operation: 25-20=5
Exploring Operation: 20/2=10, Resulting Numbers: [25, 10]
Generated Node #0,0,1: 18:[25, 10] Operation: 20/2=10
Exploring Operation: 25+2=27, Resulting Numbers: [20, 27]
Generated Node #0,0,2: 18:[20, 27] Operation: 25+2=27
Exploring Operation: 20-2=18, Resulting Numbers: [25, 18]
Generated Node #0,0,3: 18:[25, 18] Operation: 20-2=18
Exploring Operation: 25-2=23, Resulting Numbers: [20, 23]
Generated Node #0,0,4: 18:[20, 23] Operation: 25-2=23
Moving to Node #0,3
Current State: 18:[24, 20, 1], Operations: ['26-25=1']
Exploring Operation: 24/1=24, Resulting Numbers: [20, 24]
Generated Node #0,3,0: 18:[20, 24] Operation: 24/1=24
Exploring Operation: 24-20=4, Resulting Numbers: [1, 4]
Generated Node #0,3,1: 18:[1, 4] Operation: 24-20=4
Exploring Operation: 20-1=19, Resulting Numbers: [24, 19]
Generated Node #0,3,2: 18:[24, 19] Operation: 20-1=19
Exploring Operation: 24-1=23, Resulting Numbers: [20, 23]
Generated Node #0,3,3: 18:[20, 23] Operation: 24-1=23
Exploring Operation: 24*1=24, Resulting Numbers: [20, 24]
Generated Node #0,3,4: 18:[20, 24] Operation: 24*1=24
Moving to Node #0,2
Current State: 18:[20, 26, 1], Operations: ['25-24=1']
Exploring Operation: 26-20=6, Resulting Numbers: [1, 6]
Generated Node #0,2,0: 18:[1, 6] Operation: 26-20=6
Exploring Operation: 26-1=25, Resulting Numbers: [20, 25]
Generated Node #0,2,1: 18:[20, 25] Operation: 26-1=25
Exploring Operation: 20/1=20, Resulting Numbers: [26, 20]
Generated Node #0,2,2: 18:[26, 20] Operation: 20/1=20
Exploring Operation: 20-1=19, Resulting Numbers: [26, 19]
Generated Node #0,2,3: 18:[26, 19] Operation: 20-1=19
Exploring Operation: 20*1=20, Resulting Numbers: [26, 20]
Generated Node #0,2,4: 18:[26, 20] Operation: 20*1=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[1, 6], Operations: ['25-24=1', '26-20=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No 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: 18:[20, 25], Operations: ['25-24=1', '26-1=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,18 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No 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: 18:[26, 19], Operations: ['25-24=1', '20-1=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,18 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No 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: 18:[26, 20], Operations: ['25-24=1', '20/1=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,18 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,18 unequal: No Solution
No 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: 18:[26, 20], Operations: ['25-24=1', '20*1=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,18 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,18 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: 18:[25, 24, 6], Operations: ['26-20=6']
Exploring Operation: 25-24=1, Resulting Numbers: [6, 1]
Generated Node #0,4,0: 18:[6, 1] Operation: 25-24=1
Exploring Operation: 25-6=19, Resulting Numbers: [24, 19]
Generated Node #0,4,1: 18:[24, 19] Operation: 25-6=19
Exploring Operation: 24-6=18, Resulting Numbers: [25, 18]
Generated Node #0,4,2: 18:[25, 18] Operation: 24-6=18
Exploring Operation: 25+6=31, Resulting Numbers: [24, 31]
Generated Node #0,4,3: 18:[24, 31] Operation: 25+6=31
Exploring Operation: 24/6=4, Resulting Numbers: [25, 4]
Generated Node #0,4,4: 18:[25, 4] Operation: 24/6=4
Moving to Node #0,1
Current State: 18:[24, 26, 5], Operations: ['25-20=5']
Exploring Operation: 24+5=29, Resulting Numbers: [26, 29]
Generated Node #0,1,0: 18:[26, 29] Operation: 24+5=29
Exploring Operation: 26-5=21, Resulting Numbers: [24, 21]
Generated Node #0,1,1: 18:[24, 21] Operation: 26-5=21
Exploring Operation: 26-24=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 18:[5, 2] Operation: 26-24=2
Exploring Operation: 26+5=31, Resulting Numbers: [24, 31]
Generated Node #0,1,3: 18:[24, 31] Operation: 26+5=31
Exploring Operation: 24-5=19, Resulting Numbers: [26, 19]
Generated Node #0,1,4: 18:[26, 19] Operation: 24-5=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[5, 2], Operations: ['25-20=5', '26-24=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No 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: 18:[24, 21], Operations: ['25-20=5', '26-5=21']
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,18 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No 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: 18:[26, 19], Operations: ['25-20=5', '24-5=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,18 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No 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: 18:[26, 29], Operations: ['25-20=5', '24+5=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,18 unequal: No Solution
No 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: 18:[24, 31], Operations: ['25-20=5', '26+5=31']
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,18 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: 18:[2, 5], Operations: ['26-24=2', '25-20=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[6, 1], Operations: ['26-20=6', '25-24=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[1, 4], Operations: ['26-25=1', '24-20=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[24, 19], Operations: ['26-25=1', '20-1=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[20, 23], Operations: ['26-24=2', '25-2=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,18 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[24, 19], Operations: ['26-20=6', '25-6=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,18 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[25, 18], Operations: ['26-20=6', '24-6=18']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[25, 18], Operations: ['26-24=2', '20-2=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,18 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[20, 23], Operations: ['26-25=1', '24-1=23']
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,18 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[25, 4], Operations: ['26-20=6', '24/6=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[20, 24], Operations: ['26-25=1', '24*1=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,18 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[20, 24], Operations: ['26-25=1', '24/1=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,18 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[25, 10], Operations: ['26-24=2', '20/2=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[20, 27], Operations: ['26-24=2', '25+2=27']
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,18 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[24, 31], Operations: ['26-20=6', '25+6=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,18 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
74,
43,
39,
47
] | 76 | [
"39+47=86",
"86/43=2",
"74+2=76"
] | Current State: 76:[74, 43, 39, 47], Operations: []
Exploring Operation: 39+47=86, Resulting Numbers: [74, 43, 86]
Generated Node #2: [74, 43, 86] from Operation: 39+47=86
Current State: 76:[74, 43, 86], Operations: ['39+47=86']
Exploring Operation: 86/43=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 86/43=2
Current State: 76:[74, 2], Operations: ['39+47=86', '86/43=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[74, 43, 39, 47], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [74, 47, 4]
Generated Node #0,0: 76:[74, 47, 4] Operation: 43-39=4
Exploring Operation: 47-39=8, Resulting Numbers: [74, 43, 8]
Generated Node #0,1: 76:[74, 43, 8] Operation: 47-39=8
Exploring Operation: 47-43=4, Resulting Numbers: [74, 39, 4]
Generated Node #0,2: 76:[74, 39, 4] Operation: 47-43=4
Moving to Node #0,2
Current State: 76:[74, 39, 4], Operations: ['47-43=4']
Exploring Operation: 74-39=35, Resulting Numbers: [4, 35]
Generated Node #0,2,0: 76:[4, 35] Operation: 74-39=35
Exploring Operation: 74+4=78, Resulting Numbers: [39, 78]
Generated Node #0,2,1: 76:[39, 78] Operation: 74+4=78
Exploring Operation: 39-4=35, Resulting Numbers: [74, 35]
Generated Node #0,2,2: 76:[74, 35] Operation: 39-4=35
Moving to Node #0,0
Current State: 76:[74, 47, 4], Operations: ['43-39=4']
Exploring Operation: 47-4=43, Resulting Numbers: [74, 43]
Generated Node #0,0,0: 76:[74, 43] Operation: 47-4=43
Exploring Operation: 74+4=78, Resulting Numbers: [47, 78]
Generated Node #0,0,1: 76:[47, 78] Operation: 74+4=78
Exploring Operation: 74-47=27, Resulting Numbers: [4, 27]
Generated Node #0,0,2: 76:[4, 27] Operation: 74-47=27
Moving to Node #0,1
Current State: 76:[74, 43, 8], Operations: ['47-39=8']
Exploring Operation: 43-8=35, Resulting Numbers: [74, 35]
Generated Node #0,1,0: 76:[74, 35] Operation: 43-8=35
Exploring Operation: 74-43=31, Resulting Numbers: [8, 31]
Generated Node #0,1,1: 76:[8, 31] Operation: 74-43=31
Exploring Operation: 74+8=82, Resulting Numbers: [43, 82]
Generated Node #0,1,2: 76:[43, 82] Operation: 74+8=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[74, 35], Operations: ['47-39=8', '43-8=35']
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[8, 31], Operations: ['47-39=8', '74-43=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,76 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[43, 82], Operations: ['47-39=8', '74+8=82']
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,76 unequal: No Solution
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,76 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: 76:[4, 35], Operations: ['47-43=4', '74-39=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[39, 78], Operations: ['47-43=4', '74+4=78']
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 39+78=117, Resulting Numbers: [117]
117,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[74, 35], Operations: ['47-43=4', '39-4=35']
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,76 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[74, 43], Operations: ['43-39=4', '47-4=43']
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,76 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[4, 27], Operations: ['43-39=4', '74-47=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[47, 78], Operations: ['43-39=4', '74+4=78']
Exploring Operation: 47+78=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 47*78=3666, Resulting Numbers: [3666]
3666,76 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
77,
28,
3
] | 61 | [
"77/7=11",
"3*11=33",
"28+33=61"
] | Current State: 61:[7, 77, 28, 3], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [28, 3, 11]
Generated Node #2: [28, 3, 11] from Operation: 77/7=11
Current State: 61:[28, 3, 11], Operations: ['77/7=11']
Exploring Operation: 3*11=33, Resulting Numbers: [28, 33]
Generated Node #3: [28, 33] from Operation: 3*11=33
Current State: 61:[28, 33], Operations: ['77/7=11', '3*11=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[7, 77, 28, 3], Operations: []
Exploring Operation: 28*3=84, Resulting Numbers: [7, 77, 84]
Generated Node #0,0: 61:[7, 77, 84] Operation: 28*3=84
Exploring Operation: 7*3=21, Resulting Numbers: [77, 28, 21]
Generated Node #0,1: 61:[77, 28, 21] Operation: 7*3=21
Exploring Operation: 77-7=70, Resulting Numbers: [28, 3, 70]
Generated Node #0,2: 61:[28, 3, 70] Operation: 77-7=70
Moving to Node #0,1
Current State: 61:[77, 28, 21], Operations: ['7*3=21']
Exploring Operation: 77-28=49, Resulting Numbers: [21, 49]
Generated Node #0,1,0: 61:[21, 49] Operation: 77-28=49
Exploring Operation: 77-21=56, Resulting Numbers: [28, 56]
Generated Node #0,1,1: 61:[28, 56] Operation: 77-21=56
Exploring Operation: 28+21=49, Resulting Numbers: [77, 49]
Generated Node #0,1,2: 61:[77, 49] Operation: 28+21=49
Moving to Node #0,0
Current State: 61:[7, 77, 84], Operations: ['28*3=84']
Exploring Operation: 84-7=77, Resulting Numbers: [77, 77]
Generated Node #0,0,0: 61:[77, 77] Operation: 84-7=77
Exploring Operation: 7+77=84, Resulting Numbers: [84, 84]
Generated Node #0,0,1: 61:[84, 84] Operation: 7+77=84
Exploring Operation: 77-7=70, Resulting Numbers: [84, 70]
Generated Node #0,0,2: 61:[84, 70] Operation: 77-7=70
Moving to Node #0,2
Current State: 61:[28, 3, 70], Operations: ['77-7=70']
Exploring Operation: 70-3=67, Resulting Numbers: [28, 67]
Generated Node #0,2,0: 61:[28, 67] Operation: 70-3=67
Exploring Operation: 28+3=31, Resulting Numbers: [70, 31]
Generated Node #0,2,1: 61:[70, 31] Operation: 28+3=31
Exploring Operation: 28*3=84, Resulting Numbers: [70, 84]
Generated Node #0,2,2: 61:[70, 84] Operation: 28*3=84
Moving to Node #0,1,2
Current State: 61:[77, 49], Operations: ['7*3=21', '28+21=49']
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,61 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,61 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[70, 84], Operations: ['77-7=70', '28*3=84']
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,61 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[77, 77], Operations: ['28*3=84', '84-7=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[84, 70], Operations: ['28*3=84', '77-7=70']
Exploring Operation: 84*70=5880, Resulting Numbers: [5880]
5880,61 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 84+70=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[28, 56], Operations: ['7*3=21', '77-21=56']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[70, 31], Operations: ['77-7=70', '28+3=31']
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,61 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[28, 67], Operations: ['77-7=70', '70-3=67']
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,61 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[84, 84], Operations: ['28*3=84', '7+77=84']
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,61 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[21, 49], Operations: ['7*3=21', '77-28=49']
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,61 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
2,
20,
24
] | 55 | [
"53-2=51",
"24-20=4",
"51+4=55"
] | Current State: 55:[53, 2, 20, 24], Operations: []
Exploring Operation: 53-2=51, Resulting Numbers: [20, 24, 51]
Generated Node #2: [20, 24, 51] from Operation: 53-2=51
Current State: 55:[20, 24, 51], Operations: ['53-2=51']
Exploring Operation: 24-20=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 24-20=4
Current State: 55:[51, 4], Operations: ['53-2=51', '24-20=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[53, 2, 20, 24], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [53, 2, 4]
Generated Node #0,0: 55:[53, 2, 4] Operation: 24-20=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[53, 2, 4], Operations: ['24-20=4']
Exploring Operation: 53+2=55, Resulting Numbers: [4, 55]
Generated Node #0,0,0: 55:[4, 55] Operation: 53+2=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[4, 55], Operations: ['24-20=4', '53+2=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
26,
4,
16
] | 37 | [
"26-16=10",
"4*10=40",
"40-3=37"
] | Current State: 37:[3, 26, 4, 16], Operations: []
Exploring Operation: 26-16=10, Resulting Numbers: [3, 4, 10]
Generated Node #2: [3, 4, 10] from Operation: 26-16=10
Current State: 37:[3, 4, 10], Operations: ['26-16=10']
Exploring Operation: 4*10=40, Resulting Numbers: [3, 40]
Generated Node #3: [3, 40] from Operation: 4*10=40
Current State: 37:[3, 40], Operations: ['26-16=10', '4*10=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[3, 26, 4, 16], Operations: []
Exploring Operation: 3*16=48, Resulting Numbers: [26, 4, 48]
Generated Node #0,0: 37:[26, 4, 48] Operation: 3*16=48
Exploring Operation: 3*4=12, Resulting Numbers: [26, 16, 12]
Generated Node #0,1: 37:[26, 16, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[26, 4, 48], Operations: ['3*16=48']
Exploring Operation: 26+4=30, Resulting Numbers: [48, 30]
Generated Node #0,0,0: 37:[48, 30] Operation: 26+4=30
Exploring Operation: 48-4=44, Resulting Numbers: [26, 44]
Generated Node #0,0,1: 37:[26, 44] Operation: 48-4=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[48, 30], Operations: ['3*16=48', '26+4=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[26, 44], Operations: ['3*16=48', '48-4=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[26, 16, 12], Operations: ['3*4=12']
Exploring Operation: 26+12=38, Resulting Numbers: [16, 38]
Generated Node #0,1,0: 37:[16, 38] Operation: 26+12=38
Exploring Operation: 16+12=28, Resulting Numbers: [26, 28]
Generated Node #0,1,1: 37:[26, 28] Operation: 16+12=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[26, 28], Operations: ['3*4=12', '16+12=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[16, 38], Operations: ['3*4=12', '26+12=38']
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
29,
76,
95
] | 95 | [
"76-76=0",
"29*0=0",
"95+0=95"
] | Current State: 95:[76, 29, 76, 95], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [29, 95, 0]
Generated Node #2: [29, 95, 0] from Operation: 76-76=0
Current State: 95:[29, 95, 0], Operations: ['76-76=0']
Exploring Operation: 29*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 29*0=0
Current State: 95:[95, 0], Operations: ['76-76=0', '29*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[76, 29, 76, 95], Operations: []
Exploring Operation: 95-76=19, Resulting Numbers: [29, 76, 19]
Generated Node #0,0: 95:[29, 76, 19] Operation: 95-76=19
Exploring Operation: 76-76=0, Resulting Numbers: [29, 95, 0]
Generated Node #0,1: 95:[29, 95, 0] Operation: 76-76=0
Exploring Operation: 76+29=105, Resulting Numbers: [76, 95, 105]
Generated Node #0,2: 95:[76, 95, 105] Operation: 76+29=105
Exploring Operation: 76/76=1, Resulting Numbers: [29, 95, 1]
Generated Node #0,3: 95:[29, 95, 1] Operation: 76/76=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[29, 95, 1], Operations: ['76/76=1']
Exploring Operation: 29*1=29, Resulting Numbers: [95, 29]
Generated Node #0,3,0: 95:[95, 29] Operation: 29*1=29
Exploring Operation: 29/1=29, Resulting Numbers: [95, 29]
Generated Node #0,3,1: 95:[95, 29] Operation: 29/1=29
Exploring Operation: 29-1=28, Resulting Numbers: [95, 28]
Generated Node #0,3,2: 95:[95, 28] Operation: 29-1=28
Exploring Operation: 95*1=95, Resulting Numbers: [29, 95]
Generated Node #0,3,3: 95:[29, 95] Operation: 95*1=95
Moving to Node #0,3,2
Current State: 95:[95, 28], Operations: ['76/76=1', '29-1=28']
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,95 unequal: No Solution
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,95 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[95, 29], Operations: ['76/76=1', '29/1=29']
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,95 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[95, 29], Operations: ['76/76=1', '29*1=29']
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,95 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[29, 95], Operations: ['76/76=1', '95*1=95']
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,95 unequal: No Solution
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,95 unequal: No Solution
No 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: 95:[29, 95, 0], Operations: ['76-76=0']
Exploring Operation: 29-0=29, Resulting Numbers: [95, 29]
Generated Node #0,1,0: 95:[95, 29] Operation: 29-0=29
Exploring Operation: 29+0=29, Resulting Numbers: [95, 29]
Generated Node #0,1,1: 95:[95, 29] Operation: 29+0=29
Exploring Operation: 29*0=0, Resulting Numbers: [95, 0]
Generated Node #0,1,2: 95:[95, 0] Operation: 29*0=0
Exploring Operation: 95+0=95, Resulting Numbers: [29, 95]
Generated Node #0,1,3: 95:[29, 95] Operation: 95+0=95
Moving to Node #0,1,2
Current State: 95:[95, 0], Operations: ['76-76=0', '29*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[76, 29, 76, 95], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [29, 95, 0]
Generated Node #0,1: 95:[29, 95, 0] Operation: 76-76=0
Moving to Node #0,1
Current State: 95:[29, 95, 0], Operations: ['76-76=0']
Exploring Operation: 29*0=0, Resulting Numbers: [95, 0]
Generated Node #0,1,2: 95:[95, 0] Operation: 29*0=0
Moving to Node #0,1,2
Current State: 95:[95, 0], Operations: ['76-76=0', '29*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
88,
7,
18,
25
] | 15 | [
"88-18=70",
"70/7=10",
"25-10=15"
] | Current State: 15:[88, 7, 18, 25], Operations: []
Exploring Operation: 88-18=70, Resulting Numbers: [7, 25, 70]
Generated Node #2: [7, 25, 70] from Operation: 88-18=70
Current State: 15:[7, 25, 70], Operations: ['88-18=70']
Exploring Operation: 70/7=10, Resulting Numbers: [25, 10]
Generated Node #3: [25, 10] from Operation: 70/7=10
Current State: 15:[25, 10], Operations: ['88-18=70', '70/7=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[88, 7, 18, 25], Operations: []
Exploring Operation: 88-18=70, Resulting Numbers: [7, 25, 70]
Generated Node #0,0: 15:[7, 25, 70] Operation: 88-18=70
Exploring Operation: 25-18=7, Resulting Numbers: [88, 7, 7]
Generated Node #0,1: 15:[88, 7, 7] Operation: 25-18=7
Exploring Operation: 88-25=63, Resulting Numbers: [7, 18, 63]
Generated Node #0,2: 15:[7, 18, 63] Operation: 88-25=63
Exploring Operation: 88-7=81, Resulting Numbers: [18, 25, 81]
Generated Node #0,3: 15:[18, 25, 81] Operation: 88-7=81
Moving to Node #0,2
Current State: 15:[7, 18, 63], Operations: ['88-25=63']
Exploring Operation: 63-7=56, Resulting Numbers: [18, 56]
Generated Node #0,2,0: 15:[18, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [18, 9]
Generated Node #0,2,1: 15:[18, 9] Operation: 63/7=9
Exploring Operation: 18-7=11, Resulting Numbers: [63, 11]
Generated Node #0,2,2: 15:[63, 11] Operation: 18-7=11
Exploring Operation: 63-18=45, Resulting Numbers: [7, 45]
Generated Node #0,2,3: 15:[7, 45] Operation: 63-18=45
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[18, 9], Operations: ['88-25=63', '63/7=9']
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,15 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[7, 45], Operations: ['88-25=63', '63-18=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[18, 56], Operations: ['88-25=63', '63-7=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,15 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[63, 11], Operations: ['88-25=63', '18-7=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,15 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,15 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: 15:[7, 25, 70], Operations: ['88-18=70']
Exploring Operation: 70-7=63, Resulting Numbers: [25, 63]
Generated Node #0,0,0: 15:[25, 63] Operation: 70-7=63
Exploring Operation: 70-25=45, Resulting Numbers: [7, 45]
Generated Node #0,0,1: 15:[7, 45] Operation: 70-25=45
Exploring Operation: 25-7=18, Resulting Numbers: [70, 18]
Generated Node #0,0,2: 15:[70, 18] Operation: 25-7=18
Exploring Operation: 70/7=10, Resulting Numbers: [25, 10]
Generated Node #0,0,3: 15:[25, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[25, 10], Operations: ['88-18=70', '70/7=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[88, 7, 18, 25], Operations: []
Exploring Operation: 88-18=70, Resulting Numbers: [7, 25, 70]
Generated Node #0,0: 15:[7, 25, 70] Operation: 88-18=70
Moving to Node #0,0
Current State: 15:[7, 25, 70], Operations: ['88-18=70']
Exploring Operation: 70/7=10, Resulting Numbers: [25, 10]
Generated Node #0,0,3: 15:[25, 10] Operation: 70/7=10
Moving to Node #0,0,3
Current State: 15:[25, 10], Operations: ['88-18=70', '70/7=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
23,
86,
3,
58
] | 54 | [
"23+86=109",
"58-3=55",
"109-55=54"
] | Current State: 54:[23, 86, 3, 58], Operations: []
Exploring Operation: 23+86=109, Resulting Numbers: [3, 58, 109]
Generated Node #2: [3, 58, 109] from Operation: 23+86=109
Current State: 54:[3, 58, 109], Operations: ['23+86=109']
Exploring Operation: 58-3=55, Resulting Numbers: [109, 55]
Generated Node #3: [109, 55] from Operation: 58-3=55
Current State: 54:[109, 55], Operations: ['23+86=109', '58-3=55']
Exploring Operation: 109-55=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[23, 86, 3, 58], Operations: []
Exploring Operation: 86-3=83, Resulting Numbers: [23, 58, 83]
Generated Node #0,0: 54:[23, 58, 83] Operation: 86-3=83
Exploring Operation: 86-23=63, Resulting Numbers: [3, 58, 63]
Generated Node #0,1: 54:[3, 58, 63] Operation: 86-23=63
Exploring Operation: 86-58=28, Resulting Numbers: [23, 3, 28]
Generated Node #0,2: 54:[23, 3, 28] Operation: 86-58=28
Exploring Operation: 23+3=26, Resulting Numbers: [86, 58, 26]
Generated Node #0,3: 54:[86, 58, 26] Operation: 23+3=26
Moving to Node #0,2
Current State: 54:[23, 3, 28], Operations: ['86-58=28']
Exploring Operation: 23+28=51, Resulting Numbers: [3, 51]
Generated Node #0,2,0: 54:[3, 51] Operation: 23+28=51
Exploring Operation: 28-23=5, Resulting Numbers: [3, 5]
Generated Node #0,2,1: 54:[3, 5] Operation: 28-23=5
Exploring Operation: 23-3=20, Resulting Numbers: [28, 20]
Generated Node #0,2,2: 54:[28, 20] Operation: 23-3=20
Exploring Operation: 23+3=26, Resulting Numbers: [28, 26]
Generated Node #0,2,3: 54:[28, 26] Operation: 23+3=26
Moving to Node #0,1
Current State: 54:[3, 58, 63], Operations: ['86-23=63']
Exploring Operation: 58-3=55, Resulting Numbers: [63, 55]
Generated Node #0,1,0: 54:[63, 55] Operation: 58-3=55
Exploring Operation: 63-58=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 54:[3, 5] Operation: 63-58=5
Exploring Operation: 63-3=60, Resulting Numbers: [58, 60]
Generated Node #0,1,2: 54:[58, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [58, 21]
Generated Node #0,1,3: 54:[58, 21] Operation: 63/3=21
Moving to Node #0,3
Current State: 54:[86, 58, 26], Operations: ['23+3=26']
Exploring Operation: 86+26=112, Resulting Numbers: [58, 112]
Generated Node #0,3,0: 54:[58, 112] Operation: 86+26=112
Exploring Operation: 58-26=32, Resulting Numbers: [86, 32]
Generated Node #0,3,1: 54:[86, 32] Operation: 58-26=32
Exploring Operation: 86-26=60, Resulting Numbers: [58, 60]
Generated Node #0,3,2: 54:[58, 60] Operation: 86-26=60
Exploring Operation: 86-58=28, Resulting Numbers: [26, 28]
Generated Node #0,3,3: 54:[26, 28] Operation: 86-58=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[26, 28], Operations: ['23+3=26', '86-58=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[23, 86, 3, 58], Operations: []
Exploring Operation: 23+3=26, Resulting Numbers: [86, 58, 26]
Generated Node #0,3: 54:[86, 58, 26] Operation: 23+3=26
Moving to Node #0,3
Current State: 54:[86, 58, 26], Operations: ['23+3=26']
Exploring Operation: 86-58=28, Resulting Numbers: [26, 28]
Generated Node #0,3,3: 54:[26, 28] Operation: 86-58=28
Moving to Node #0,3,3
Current State: 54:[26, 28], Operations: ['23+3=26', '86-58=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
23,
69,
24,
96
] | 50 | [
"69-23=46",
"96/24=4",
"46+4=50"
] | Current State: 50:[23, 69, 24, 96], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [24, 96, 46]
Generated Node #2: [24, 96, 46] from Operation: 69-23=46
Current State: 50:[24, 96, 46], Operations: ['69-23=46']
Exploring Operation: 96/24=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 96/24=4
Current State: 50:[46, 4], Operations: ['69-23=46', '96/24=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[23, 69, 24, 96], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [23, 69, 4]
Generated Node #0,0: 50:[23, 69, 4] Operation: 96/24=4
Exploring Operation: 96-24=72, Resulting Numbers: [23, 69, 72]
Generated Node #0,1: 50:[23, 69, 72] Operation: 96-24=72
Exploring Operation: 96-23=73, Resulting Numbers: [69, 24, 73]
Generated Node #0,2: 50:[69, 24, 73] Operation: 96-23=73
Exploring Operation: 96-69=27, Resulting Numbers: [23, 24, 27]
Generated Node #0,3: 50:[23, 24, 27] Operation: 96-69=27
Moving to Node #0,3
Current State: 50:[23, 24, 27], Operations: ['96-69=27']
Exploring Operation: 24-23=1, Resulting Numbers: [27, 1]
Generated Node #0,3,0: 50:[27, 1] Operation: 24-23=1
Exploring Operation: 27-23=4, Resulting Numbers: [24, 4]
Generated Node #0,3,1: 50:[24, 4] Operation: 27-23=4
Exploring Operation: 24+27=51, Resulting Numbers: [23, 51]
Generated Node #0,3,2: 50:[23, 51] Operation: 24+27=51
Exploring Operation: 23+27=50, Resulting Numbers: [24, 50]
Generated Node #0,3,3: 50:[24, 50] Operation: 23+27=50
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[24, 50], Operations: ['96-69=27', '23+27=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[24, 4], Operations: ['96-69=27', '27-23=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[27, 1], Operations: ['96-69=27', '24-23=1']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[23, 51], Operations: ['96-69=27', '24+27=51']
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,50 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 50:[23, 69, 4], Operations: ['96/24=4']
Exploring Operation: 69-23=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 50:[4, 46] Operation: 69-23=46
Exploring Operation: 23+4=27, Resulting Numbers: [69, 27]
Generated Node #0,0,1: 50:[69, 27] Operation: 23+4=27
Exploring Operation: 69-4=65, Resulting Numbers: [23, 65]
Generated Node #0,0,2: 50:[23, 65] Operation: 69-4=65
Exploring Operation: 69/23=3, Resulting Numbers: [4, 3]
Generated Node #0,0,3: 50:[4, 3] Operation: 69/23=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[4, 3], Operations: ['96/24=4', '69/23=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[4, 46], Operations: ['96/24=4', '69-23=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,50 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[23, 69, 24, 96], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [23, 69, 4]
Generated Node #0,0: 50:[23, 69, 4] Operation: 96/24=4
Moving to Node #0,0
Current State: 50:[23, 69, 4], Operations: ['96/24=4']
Exploring Operation: 69-23=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 50:[4, 46] Operation: 69-23=46
Moving to Node #0,0,0
Current State: 50:[4, 46], Operations: ['96/24=4', '69-23=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
48,
22,
6,
80
] | 43 | [
"22-6=16",
"80/16=5",
"48-5=43"
] | Current State: 43:[48, 22, 6, 80], Operations: []
Exploring Operation: 22-6=16, Resulting Numbers: [48, 80, 16]
Generated Node #2: [48, 80, 16] from Operation: 22-6=16
Current State: 43:[48, 80, 16], Operations: ['22-6=16']
Exploring Operation: 80/16=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 80/16=5
Current State: 43:[48, 5], Operations: ['22-6=16', '80/16=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[48, 22, 6, 80], Operations: []
Exploring Operation: 80-22=58, Resulting Numbers: [48, 6, 58]
Generated Node #0,0: 43:[48, 6, 58] Operation: 80-22=58
Exploring Operation: 22+6=28, Resulting Numbers: [48, 80, 28]
Generated Node #0,1: 43:[48, 80, 28] Operation: 22+6=28
Moving to Node #0,0
Current State: 43:[48, 6, 58], Operations: ['80-22=58']
Exploring Operation: 48-6=42, Resulting Numbers: [58, 42]
Generated Node #0,0,0: 43:[58, 42] Operation: 48-6=42
Exploring Operation: 58-6=52, Resulting Numbers: [48, 52]
Generated Node #0,0,1: 43:[48, 52] Operation: 58-6=52
Moving to Node #0,1
Current State: 43:[48, 80, 28], Operations: ['22+6=28']
Exploring Operation: 80-28=52, Resulting Numbers: [48, 52]
Generated Node #0,1,0: 43:[48, 52] Operation: 80-28=52
Exploring Operation: 80-48=32, Resulting Numbers: [28, 32]
Generated Node #0,1,1: 43:[28, 32] Operation: 80-48=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[48, 52], Operations: ['22+6=28', '80-28=52']
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No 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: 43:[28, 32], Operations: ['22+6=28', '80-48=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 43:[48, 52], Operations: ['80-22=58', '58-6=52']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[58, 42], Operations: ['80-22=58', '48-6=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,43 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
5,
39,
50
] | 93 | [
"50-39=11",
"8*11=88",
"5+88=93"
] | Current State: 93:[8, 5, 39, 50], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [8, 5, 11]
Generated Node #2: [8, 5, 11] from Operation: 50-39=11
Current State: 93:[8, 5, 11], Operations: ['50-39=11']
Exploring Operation: 8*11=88, Resulting Numbers: [5, 88]
Generated Node #3: [5, 88] from Operation: 8*11=88
Current State: 93:[5, 88], Operations: ['50-39=11', '8*11=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[8, 5, 39, 50], Operations: []
Exploring Operation: 39+50=89, Resulting Numbers: [8, 5, 89]
Generated Node #0,0: 93:[8, 5, 89] Operation: 39+50=89
Moving to Node #0,0
Current State: 93:[8, 5, 89], Operations: ['39+50=89']
Exploring Operation: 8-5=3, Resulting Numbers: [89, 3]
Generated Node #0,0,0: 93:[89, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[89, 3], Operations: ['39+50=89', '8-5=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,93 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 |
[
87,
88,
80,
7
] | 63 | [
"88+80=168",
"168/7=24",
"87-24=63"
] | Current State: 63:[87, 88, 80, 7], Operations: []
Exploring Operation: 88+80=168, Resulting Numbers: [87, 7, 168]
Generated Node #2: [87, 7, 168] from Operation: 88+80=168
Current State: 63:[87, 7, 168], Operations: ['88+80=168']
Exploring Operation: 168/7=24, Resulting Numbers: [87, 24]
Generated Node #3: [87, 24] from Operation: 168/7=24
Current State: 63:[87, 24], Operations: ['88+80=168', '168/7=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[87, 88, 80, 7], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [80, 7, 1]
Generated Node #0,0: 63:[80, 7, 1] Operation: 88-87=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[80, 7, 1], Operations: ['88-87=1']
Exploring Operation: 80-7=73, Resulting Numbers: [1, 73]
Generated Node #0,0,0: 63:[1, 73] Operation: 80-7=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[1, 73], Operations: ['88-87=1', '80-7=73']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
23,
65,
20,
57
] | 79 | [
"65-23=42",
"57-20=37",
"42+37=79"
] | Current State: 79:[23, 65, 20, 57], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [20, 57, 42]
Generated Node #2: [20, 57, 42] from Operation: 65-23=42
Current State: 79:[20, 57, 42], Operations: ['65-23=42']
Exploring Operation: 57-20=37, Resulting Numbers: [42, 37]
Generated Node #3: [42, 37] from Operation: 57-20=37
Current State: 79:[42, 37], Operations: ['65-23=42', '57-20=37']
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[23, 65, 20, 57], Operations: []
Exploring Operation: 23+20=43, Resulting Numbers: [65, 57, 43]
Generated Node #0,0: 79:[65, 57, 43] Operation: 23+20=43
Exploring Operation: 20+57=77, Resulting Numbers: [23, 65, 77]
Generated Node #0,1: 79:[23, 65, 77] Operation: 20+57=77
Moving to Node #0,0
Current State: 79:[65, 57, 43], Operations: ['23+20=43']
Exploring Operation: 57+43=100, Resulting Numbers: [65, 100]
Generated Node #0,0,0: 79:[65, 100] Operation: 57+43=100
Exploring Operation: 65+43=108, Resulting Numbers: [57, 108]
Generated Node #0,0,1: 79:[57, 108] Operation: 65+43=108
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[65, 100], Operations: ['23+20=43', '57+43=100']
Exploring Operation: 100-65=35, Resulting Numbers: [35]
35,79 unequal: No Solution
Exploring Operation: 65+100=165, Resulting Numbers: [165]
165,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,0,1
Current State: 79:[57, 108], Operations: ['23+20=43', '65+43=108']
Exploring Operation: 57+108=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 108-57=51, Resulting Numbers: [51]
51,79 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: 79:[23, 65, 77], Operations: ['20+57=77']
Exploring Operation: 23+65=88, Resulting Numbers: [77, 88]
Generated Node #0,1,0: 79:[77, 88] Operation: 23+65=88
Exploring Operation: 23+77=100, Resulting Numbers: [65, 100]
Generated Node #0,1,1: 79:[65, 100] Operation: 23+77=100
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[77, 88], Operations: ['20+57=77', '23+65=88']
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,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,1,1
Current State: 79:[65, 100], Operations: ['20+57=77', '23+77=100']
Exploring Operation: 100-65=35, Resulting Numbers: [35]
35,79 unequal: No Solution
Exploring Operation: 65+100=165, Resulting Numbers: [165]
165,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
44,
96,
21
] | 49 | [
"96-21=75",
"75/15=5",
"44+5=49"
] | Current State: 49:[15, 44, 96, 21], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [15, 44, 75]
Generated Node #2: [15, 44, 75] from Operation: 96-21=75
Current State: 49:[15, 44, 75], Operations: ['96-21=75']
Exploring Operation: 75/15=5, Resulting Numbers: [44, 5]
Generated Node #3: [44, 5] from Operation: 75/15=5
Current State: 49:[44, 5], Operations: ['96-21=75', '75/15=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[15, 44, 96, 21], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [44, 96, 6]
Generated Node #0,0: 49:[44, 96, 6] Operation: 21-15=6
Exploring Operation: 96-21=75, Resulting Numbers: [15, 44, 75]
Generated Node #0,1: 49:[15, 44, 75] Operation: 96-21=75
Exploring Operation: 96-44=52, Resulting Numbers: [15, 21, 52]
Generated Node #0,2: 49:[15, 21, 52] Operation: 96-44=52
Exploring Operation: 15+21=36, Resulting Numbers: [44, 96, 36]
Generated Node #0,3: 49:[44, 96, 36] Operation: 15+21=36
Exploring Operation: 96-15=81, Resulting Numbers: [44, 21, 81]
Generated Node #0,4: 49:[44, 21, 81] Operation: 96-15=81
Moving to Node #0,2
Current State: 49:[15, 21, 52], Operations: ['96-44=52']
Exploring Operation: 52-15=37, Resulting Numbers: [21, 37]
Generated Node #0,2,0: 49:[21, 37] Operation: 52-15=37
Exploring Operation: 15+52=67, Resulting Numbers: [21, 67]
Generated Node #0,2,1: 49:[21, 67] Operation: 15+52=67
Exploring Operation: 15+21=36, Resulting Numbers: [52, 36]
Generated Node #0,2,2: 49:[52, 36] Operation: 15+21=36
Exploring Operation: 21-15=6, Resulting Numbers: [52, 6]
Generated Node #0,2,3: 49:[52, 6] Operation: 21-15=6
Exploring Operation: 52-21=31, Resulting Numbers: [15, 31]
Generated Node #0,2,4: 49:[15, 31] Operation: 52-21=31
Moving to Node #0,1
Current State: 49:[15, 44, 75], Operations: ['96-21=75']
Exploring Operation: 75/15=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 49:[44, 5] Operation: 75/15=5
Exploring Operation: 44-15=29, Resulting Numbers: [75, 29]
Generated Node #0,1,1: 49:[75, 29] Operation: 44-15=29
Exploring Operation: 15+44=59, Resulting Numbers: [75, 59]
Generated Node #0,1,2: 49:[75, 59] Operation: 15+44=59
Exploring Operation: 75-44=31, Resulting Numbers: [15, 31]
Generated Node #0,1,3: 49:[15, 31] Operation: 75-44=31
Exploring Operation: 75-15=60, Resulting Numbers: [44, 60]
Generated Node #0,1,4: 49:[44, 60] Operation: 75-15=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[44, 5], Operations: ['96-21=75', '75/15=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,49 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[15, 44, 96, 21], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [15, 44, 75]
Generated Node #0,1: 49:[15, 44, 75] Operation: 96-21=75
Moving to Node #0,1
Current State: 49:[15, 44, 75], Operations: ['96-21=75']
Exploring Operation: 75/15=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 49:[44, 5] Operation: 75/15=5
Moving to Node #0,1,0
Current State: 49:[44, 5], Operations: ['96-21=75', '75/15=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
57,
28,
21,
95
] | 31 | [
"57+28=85",
"21+95=116",
"116-85=31"
] | Current State: 31:[57, 28, 21, 95], Operations: []
Exploring Operation: 57+28=85, Resulting Numbers: [21, 95, 85]
Generated Node #2: [21, 95, 85] from Operation: 57+28=85
Current State: 31:[21, 95, 85], Operations: ['57+28=85']
Exploring Operation: 21+95=116, Resulting Numbers: [85, 116]
Generated Node #3: [85, 116] from Operation: 21+95=116
Current State: 31:[85, 116], Operations: ['57+28=85', '21+95=116']
Exploring Operation: 116-85=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[57, 28, 21, 95], Operations: []
Exploring Operation: 95-28=67, Resulting Numbers: [57, 21, 67]
Generated Node #0,0: 31:[57, 21, 67] Operation: 95-28=67
Exploring Operation: 95-57=38, Resulting Numbers: [28, 21, 38]
Generated Node #0,1: 31:[28, 21, 38] Operation: 95-57=38
Exploring Operation: 95-21=74, Resulting Numbers: [57, 28, 74]
Generated Node #0,2: 31:[57, 28, 74] Operation: 95-21=74
Exploring Operation: 57-28=29, Resulting Numbers: [21, 95, 29]
Generated Node #0,3: 31:[21, 95, 29] Operation: 57-28=29
Exploring Operation: 57-21=36, Resulting Numbers: [28, 95, 36]
Generated Node #0,4: 31:[28, 95, 36] Operation: 57-21=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[28, 21, 38], Operations: ['95-57=38']
Exploring Operation: 21+38=59, Resulting Numbers: [28, 59]
Generated Node #0,1,0: 31:[28, 59] Operation: 21+38=59
Exploring Operation: 28-21=7, Resulting Numbers: [38, 7]
Generated Node #0,1,1: 31:[38, 7] Operation: 28-21=7
Exploring Operation: 28+21=49, Resulting Numbers: [38, 49]
Generated Node #0,1,2: 31:[38, 49] Operation: 28+21=49
Exploring Operation: 38-28=10, Resulting Numbers: [21, 10]
Generated Node #0,1,3: 31:[21, 10] Operation: 38-28=10
Exploring Operation: 38-21=17, Resulting Numbers: [28, 17]
Generated Node #0,1,4: 31:[28, 17] Operation: 38-21=17
Moving to Node #0,1,4
Current State: 31:[28, 17], Operations: ['95-57=38', '38-21=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,31 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[38, 49], Operations: ['95-57=38', '28+21=49']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[28, 59], Operations: ['95-57=38', '21+38=59']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[57, 28, 21, 95], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [28, 21, 38]
Generated Node #0,1: 31:[28, 21, 38] Operation: 95-57=38
Moving to Node #0,1
Current State: 31:[28, 21, 38], Operations: ['95-57=38']
Exploring Operation: 21+38=59, Resulting Numbers: [28, 59]
Generated Node #0,1,0: 31:[28, 59] Operation: 21+38=59
Moving to Node #0,1,0
Current State: 31:[28, 59], Operations: ['95-57=38', '21+38=59']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
4,
50,
33,
20
] | 63 | [
"4*20=80",
"50-33=17",
"80-17=63"
] | Current State: 63:[4, 50, 33, 20], Operations: []
Exploring Operation: 4*20=80, Resulting Numbers: [50, 33, 80]
Generated Node #2: [50, 33, 80] from Operation: 4*20=80
Current State: 63:[50, 33, 80], Operations: ['4*20=80']
Exploring Operation: 50-33=17, Resulting Numbers: [80, 17]
Generated Node #3: [80, 17] from Operation: 50-33=17
Current State: 63:[80, 17], Operations: ['4*20=80', '50-33=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[4, 50, 33, 20], Operations: []
Exploring Operation: 50-33=17, Resulting Numbers: [4, 20, 17]
Generated Node #0,0: 63:[4, 20, 17] Operation: 50-33=17
Exploring Operation: 33-20=13, Resulting Numbers: [4, 50, 13]
Generated Node #0,1: 63:[4, 50, 13] Operation: 33-20=13
Moving to Node #0,0
Current State: 63:[4, 20, 17], Operations: ['50-33=17']
Exploring Operation: 4+17=21, Resulting Numbers: [20, 21]
Generated Node #0,0,0: 63:[20, 21] Operation: 4+17=21
Exploring Operation: 20-17=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 63:[4, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[20, 21], Operations: ['50-33=17', '4+17=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,63 unequal: No Solution
No 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: 63:[4, 3], Operations: ['50-33=17', '20-17=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 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: 63:[4, 50, 13], Operations: ['33-20=13']
Exploring Operation: 4+50=54, Resulting Numbers: [13, 54]
Generated Node #0,1,0: 63:[13, 54] Operation: 4+50=54
Exploring Operation: 50+13=63, Resulting Numbers: [4, 63]
Generated Node #0,1,1: 63:[4, 63] Operation: 50+13=63
Moving to Node #0,1,1
Current State: 63:[4, 63], Operations: ['33-20=13', '50+13=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[13, 54], Operations: ['33-20=13', '4+50=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,63 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
23,
13,
2
] | 11 | [
"38-23=15",
"13*2=26",
"26-15=11"
] | Current State: 11:[38, 23, 13, 2], Operations: []
Exploring Operation: 38-23=15, Resulting Numbers: [13, 2, 15]
Generated Node #2: [13, 2, 15] from Operation: 38-23=15
Current State: 11:[13, 2, 15], Operations: ['38-23=15']
Exploring Operation: 13*2=26, Resulting Numbers: [15, 26]
Generated Node #3: [15, 26] from Operation: 13*2=26
Current State: 11:[15, 26], Operations: ['38-23=15', '13*2=26']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[38, 23, 13, 2], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [23, 13, 19]
Generated Node #0,0: 11:[23, 13, 19] Operation: 38/2=19
Exploring Operation: 38-23=15, Resulting Numbers: [13, 2, 15]
Generated Node #0,1: 11:[13, 2, 15] Operation: 38-23=15
Exploring Operation: 38-13=25, Resulting Numbers: [23, 2, 25]
Generated Node #0,2: 11:[23, 2, 25] Operation: 38-13=25
Moving to Node #0,1
Current State: 11:[13, 2, 15], Operations: ['38-23=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 11:[13, 13] Operation: 15-2=13
Exploring Operation: 13+2=15, Resulting Numbers: [15, 15]
Generated Node #0,1,1: 11:[15, 15] Operation: 13+2=15
Exploring Operation: 13-2=11, Resulting Numbers: [15, 11]
Generated Node #0,1,2: 11:[15, 11] Operation: 13-2=11
Moving to Node #0,0
Current State: 11:[23, 13, 19], Operations: ['38/2=19']
Exploring Operation: 19-13=6, Resulting Numbers: [23, 6]
Generated Node #0,0,0: 11:[23, 6] Operation: 19-13=6
Exploring Operation: 23-19=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 11:[13, 4] Operation: 23-19=4
Exploring Operation: 23-13=10, Resulting Numbers: [19, 10]
Generated Node #0,0,2: 11:[19, 10] Operation: 23-13=10
Moving to Node #0,2
Current State: 11:[23, 2, 25], Operations: ['38-13=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23, 23]
Generated Node #0,2,0: 11:[23, 23] Operation: 25-2=23
Exploring Operation: 25-23=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 11:[2, 2] Operation: 25-23=2
Exploring Operation: 23-2=21, Resulting Numbers: [25, 21]
Generated Node #0,2,2: 11:[25, 21] Operation: 23-2=21
Moving to Node #0,1,0
Current State: 11:[13, 13], Operations: ['38-23=15', '15-2=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[15, 11], Operations: ['38-23=15', '13-2=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[15, 15], Operations: ['38-23=15', '13+2=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[19, 10], Operations: ['38/2=19', '23-13=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[13, 4], Operations: ['38/2=19', '23-19=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[23, 6], Operations: ['38/2=19', '19-13=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[2, 2], Operations: ['38-13=25', '25-23=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[23, 23], Operations: ['38-13=25', '25-2=23']
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[25, 21], Operations: ['38-13=25', '23-2=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
19,
35,
28
] | 66 | [
"54+19=73",
"35-28=7",
"73-7=66"
] | Current State: 66:[54, 19, 35, 28], Operations: []
Exploring Operation: 54+19=73, Resulting Numbers: [35, 28, 73]
Generated Node #2: [35, 28, 73] from Operation: 54+19=73
Current State: 66:[35, 28, 73], Operations: ['54+19=73']
Exploring Operation: 35-28=7, Resulting Numbers: [73, 7]
Generated Node #3: [73, 7] from Operation: 35-28=7
Current State: 66:[73, 7], Operations: ['54+19=73', '35-28=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 19, 35, 28], Operations: []
Exploring Operation: 54-19=35, Resulting Numbers: [35, 28, 35]
Generated Node #0,0: 66:[35, 28, 35] Operation: 54-19=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[35, 28, 35], Operations: ['54-19=35']
Exploring Operation: 35-28=7, Resulting Numbers: [35, 7]
Generated Node #0,0,0: 66:[35, 7] Operation: 35-28=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[35, 7], Operations: ['54-19=35', '35-28=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
58,
2,
33
] | 89 | [
"93-33=60",
"58/2=29",
"60+29=89"
] | Current State: 89:[93, 58, 2, 33], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [58, 2, 60]
Generated Node #2: [58, 2, 60] from Operation: 93-33=60
Current State: 89:[58, 2, 60], Operations: ['93-33=60']
Exploring Operation: 58/2=29, Resulting Numbers: [60, 29]
Generated Node #3: [60, 29] from Operation: 58/2=29
Current State: 89:[60, 29], Operations: ['93-33=60', '58/2=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[93, 58, 2, 33], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [93, 58, 66]
Generated Node #0,0: 89:[93, 58, 66] Operation: 2*33=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[93, 58, 66], Operations: ['2*33=66']
Exploring Operation: 58+66=124, Resulting Numbers: [93, 124]
Generated Node #0,0,0: 89:[93, 124] Operation: 58+66=124
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[93, 124], Operations: ['2*33=66', '58+66=124']
Exploring Operation: 124-93=31, Resulting Numbers: [31]
31,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
19,
90,
46
] | 22 | [
"21-19=2",
"90-46=44",
"44/2=22"
] | Current State: 22:[21, 19, 90, 46], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [90, 46, 2]
Generated Node #2: [90, 46, 2] from Operation: 21-19=2
Current State: 22:[90, 46, 2], Operations: ['21-19=2']
Exploring Operation: 90-46=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 90-46=44
Current State: 22:[2, 44], Operations: ['21-19=2', '90-46=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[21, 19, 90, 46], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [19, 46, 69]
Generated Node #0,0: 22:[19, 46, 69] Operation: 90-21=69
Exploring Operation: 90-19=71, Resulting Numbers: [21, 46, 71]
Generated Node #0,1: 22:[21, 46, 71] Operation: 90-19=71
Exploring Operation: 90-46=44, Resulting Numbers: [21, 19, 44]
Generated Node #0,2: 22:[21, 19, 44] Operation: 90-46=44
Exploring Operation: 46-21=25, Resulting Numbers: [19, 90, 25]
Generated Node #0,3: 22:[19, 90, 25] Operation: 46-21=25
Moving to Node #0,2
Current State: 22:[21, 19, 44], Operations: ['90-46=44']
Exploring Operation: 21+19=40, Resulting Numbers: [44, 40]
Generated Node #0,2,0: 22:[44, 40] Operation: 21+19=40
Exploring Operation: 44-21=23, Resulting Numbers: [19, 23]
Generated Node #0,2,1: 22:[19, 23] Operation: 44-21=23
Exploring Operation: 44-19=25, Resulting Numbers: [21, 25]
Generated Node #0,2,2: 22:[21, 25] Operation: 44-19=25
Exploring Operation: 21-19=2, Resulting Numbers: [44, 2]
Generated Node #0,2,3: 22:[44, 2] Operation: 21-19=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[19, 23], Operations: ['90-46=44', '44-21=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[21, 25], Operations: ['90-46=44', '44-19=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,22 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[44, 2], Operations: ['90-46=44', '21-19=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[21, 19, 90, 46], Operations: []
Exploring Operation: 90-46=44, Resulting Numbers: [21, 19, 44]
Generated Node #0,2: 22:[21, 19, 44] Operation: 90-46=44
Moving to Node #0,2
Current State: 22:[21, 19, 44], Operations: ['90-46=44']
Exploring Operation: 21-19=2, Resulting Numbers: [44, 2]
Generated Node #0,2,3: 22:[44, 2] Operation: 21-19=2
Moving to Node #0,2,3
Current State: 22:[44, 2], Operations: ['90-46=44', '21-19=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
58,
58,
55,
88
] | 34 | [
"58/58=1",
"88-55=33",
"1+33=34"
] | Current State: 34:[58, 58, 55, 88], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [55, 88, 1]
Generated Node #2: [55, 88, 1] from Operation: 58/58=1
Current State: 34:[55, 88, 1], Operations: ['58/58=1']
Exploring Operation: 88-55=33, Resulting Numbers: [1, 33]
Generated Node #3: [1, 33] from Operation: 88-55=33
Current State: 34:[1, 33], Operations: ['58/58=1', '88-55=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[58, 58, 55, 88], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [58, 58, 33]
Generated Node #0,0: 34:[58, 58, 33] Operation: 88-55=33
Exploring Operation: 88-58=30, Resulting Numbers: [58, 55, 30]
Generated Node #0,1: 34:[58, 55, 30] Operation: 88-58=30
Exploring Operation: 88-58=30, Resulting Numbers: [58, 55, 30]
Generated Node #0,2: 34:[58, 55, 30] Operation: 88-58=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[58, 58, 33], Operations: ['88-55=33']
Exploring Operation: 58/58=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 34:[33, 1] Operation: 58/58=1
Exploring Operation: 58-58=0, Resulting Numbers: [33, 0]
Generated Node #0,0,1: 34:[33, 0] Operation: 58-58=0
Exploring Operation: 58-33=25, Resulting Numbers: [58, 25]
Generated Node #0,0,2: 34:[58, 25] Operation: 58-33=25
Moving to Node #0,0,0
Current State: 34:[33, 1], Operations: ['88-55=33', '58/58=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[58, 58, 55, 88], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [58, 58, 33]
Generated Node #0,0: 34:[58, 58, 33] Operation: 88-55=33
Moving to Node #0,0
Current State: 34:[58, 58, 33], Operations: ['88-55=33']
Exploring Operation: 58/58=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 34:[33, 1] Operation: 58/58=1
Moving to Node #0,0,0
Current State: 34:[33, 1], Operations: ['88-55=33', '58/58=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
3,
21,
19,
35
] | 24 | [
"21/3=7",
"35/7=5",
"19+5=24"
] | Current State: 24:[3, 21, 19, 35], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [19, 35, 7]
Generated Node #2: [19, 35, 7] from Operation: 21/3=7
Current State: 24:[19, 35, 7], Operations: ['21/3=7']
Exploring Operation: 35/7=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 35/7=5
Current State: 24:[19, 5], Operations: ['21/3=7', '35/7=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 21, 19, 35], Operations: []
Exploring Operation: 3+19=22, Resulting Numbers: [21, 35, 22]
Generated Node #0,0: 24:[21, 35, 22] Operation: 3+19=22
Exploring Operation: 35-19=16, Resulting Numbers: [3, 21, 16]
Generated Node #0,1: 24:[3, 21, 16] Operation: 35-19=16
Exploring Operation: 35-21=14, Resulting Numbers: [3, 19, 14]
Generated Node #0,2: 24:[3, 19, 14] Operation: 35-21=14
Exploring Operation: 21-19=2, Resulting Numbers: [3, 35, 2]
Generated Node #0,3: 24:[3, 35, 2] Operation: 21-19=2
Exploring Operation: 3+21=24, Resulting Numbers: [19, 35, 24]
Generated Node #0,4: 24:[19, 35, 24] Operation: 3+21=24
Moving to Node #0,1
Current State: 24:[3, 21, 16], Operations: ['35-19=16']
Exploring Operation: 21/3=7, Resulting Numbers: [16, 7]
Generated Node #0,1,0: 24:[16, 7] Operation: 21/3=7
Exploring Operation: 21-16=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 24:[3, 5] Operation: 21-16=5
Exploring Operation: 3+16=19, Resulting Numbers: [21, 19]
Generated Node #0,1,2: 24:[21, 19] Operation: 3+16=19
Exploring Operation: 16-3=13, Resulting Numbers: [21, 13]
Generated Node #0,1,3: 24:[21, 13] Operation: 16-3=13
Exploring Operation: 3+21=24, Resulting Numbers: [16, 24]
Generated Node #0,1,4: 24:[16, 24] Operation: 3+21=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[3, 5], Operations: ['35-19=16', '21-16=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[21, 13], Operations: ['35-19=16', '16-3=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,24 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 24:[16, 24], Operations: ['35-19=16', '3+21=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,24 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[16, 7], Operations: ['35-19=16', '21/3=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[21, 19], Operations: ['35-19=16', '3+16=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,24 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,24 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: 24:[3, 19, 14], Operations: ['35-21=14']
Exploring Operation: 19+14=33, Resulting Numbers: [3, 33]
Generated Node #0,2,0: 24:[3, 33] Operation: 19+14=33
Exploring Operation: 19-3=16, Resulting Numbers: [14, 16]
Generated Node #0,2,1: 24:[14, 16] Operation: 19-3=16
Exploring Operation: 14-3=11, Resulting Numbers: [19, 11]
Generated Node #0,2,2: 24:[19, 11] Operation: 14-3=11
Exploring Operation: 3+19=22, Resulting Numbers: [14, 22]
Generated Node #0,2,3: 24:[14, 22] Operation: 3+19=22
Exploring Operation: 19-14=5, Resulting Numbers: [3, 5]
Generated Node #0,2,4: 24:[3, 5] Operation: 19-14=5
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 24:[3, 5], Operations: ['35-21=14', '19-14=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[14, 22], Operations: ['35-21=14', '3+19=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[14, 16], Operations: ['35-21=14', '19-3=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[19, 11], Operations: ['35-21=14', '14-3=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,24 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[3, 33], Operations: ['35-21=14', '19+14=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,24 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: 24:[3, 35, 2], Operations: ['21-19=2']
Exploring Operation: 35-2=33, Resulting Numbers: [3, 33]
Generated Node #0,3,0: 24:[3, 33] Operation: 35-2=33
Exploring Operation: 3-2=1, Resulting Numbers: [35, 1]
Generated Node #0,3,1: 24:[35, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [35, 5]
Generated Node #0,3,2: 24:[35, 5] Operation: 3+2=5
Exploring Operation: 35-3=32, Resulting Numbers: [2, 32]
Generated Node #0,3,3: 24:[2, 32] Operation: 35-3=32
Exploring Operation: 3*2=6, Resulting Numbers: [35, 6]
Generated Node #0,3,4: 24:[35, 6] Operation: 3*2=6
Moving to Node #0,0
Current State: 24:[21, 35, 22], Operations: ['3+19=22']
Exploring Operation: 35-21=14, Resulting Numbers: [22, 14]
Generated Node #0,0,0: 24:[22, 14] Operation: 35-21=14
Exploring Operation: 21+22=43, Resulting Numbers: [35, 43]
Generated Node #0,0,1: 24:[35, 43] Operation: 21+22=43
Exploring Operation: 35-22=13, Resulting Numbers: [21, 13]
Generated Node #0,0,2: 24:[21, 13] Operation: 35-22=13
Exploring Operation: 21+35=56, Resulting Numbers: [22, 56]
Generated Node #0,0,3: 24:[22, 56] Operation: 21+35=56
Exploring Operation: 22-21=1, Resulting Numbers: [35, 1]
Generated Node #0,0,4: 24:[35, 1] Operation: 22-21=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[22, 14], Operations: ['3+19=22', '35-21=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,24 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[21, 13], Operations: ['3+19=22', '35-22=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 24:[35, 1], Operations: ['3+19=22', '22-21=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[35, 43], Operations: ['3+19=22', '21+22=43']
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,24 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,24 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[22, 56], Operations: ['3+19=22', '21+35=56']
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,24 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,24 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: 24:[19, 35, 24], Operations: ['3+21=24']
Exploring Operation: 24-19=5, Resulting Numbers: [35, 5]
Generated Node #0,4,0: 24:[35, 5] Operation: 24-19=5
Exploring Operation: 19+35=54, Resulting Numbers: [24, 54]
Generated Node #0,4,1: 24:[24, 54] Operation: 19+35=54
Exploring Operation: 35-24=11, Resulting Numbers: [19, 11]
Generated Node #0,4,2: 24:[19, 11] Operation: 35-24=11
Exploring Operation: 35-19=16, Resulting Numbers: [24, 16]
Generated Node #0,4,3: 24:[24, 16] Operation: 35-19=16
Exploring Operation: 19+24=43, Resulting Numbers: [35, 43]
Generated Node #0,4,4: 24:[35, 43] Operation: 19+24=43
Moving to Node #0,4,3
Current State: 24:[24, 16], Operations: ['3+21=24', '35-19=16']
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,24 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Moving to Node #0,4,2
Current State: 24:[19, 11], Operations: ['3+21=24', '35-24=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,24 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[2, 32], Operations: ['21-19=2', '35-3=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[3, 33], Operations: ['21-19=2', '35-2=33']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Moving to Node #0,3,4
Current State: 24:[35, 6], Operations: ['21-19=2', '3*2=6']
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,24 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[35, 5], Operations: ['21-19=2', '3+2=5']
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,24 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Moving to Node #0,4,0
Current State: 24:[35, 5], Operations: ['3+21=24', '24-19=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,24 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[35, 1], Operations: ['21-19=2', '3-2=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Moving to Node #0,4,4
Current State: 24:[35, 43], Operations: ['3+21=24', '19+24=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,24 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,24 unequal: No Solution
Moving to Node #0,4,1
Current State: 24:[24, 54], Operations: ['3+21=24', '19+35=54']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,24 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,24 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
93,
24,
31,
56
] | 35 | [
"93/31=3",
"56-24=32",
"3+32=35"
] | Current State: 35:[93, 24, 31, 56], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [24, 56, 3]
Generated Node #2: [24, 56, 3] from Operation: 93/31=3
Current State: 35:[24, 56, 3], Operations: ['93/31=3']
Exploring Operation: 56-24=32, Resulting Numbers: [3, 32]
Generated Node #3: [3, 32] from Operation: 56-24=32
Current State: 35:[3, 32], Operations: ['93/31=3', '56-24=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[93, 24, 31, 56], Operations: []
Exploring Operation: 93-56=37, Resulting Numbers: [24, 31, 37]
Generated Node #0,0: 35:[24, 31, 37] Operation: 93-56=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[24, 31, 37], Operations: ['93-56=37']
Exploring Operation: 31-24=7, Resulting Numbers: [37, 7]
Generated Node #0,0,0: 35:[37, 7] Operation: 31-24=7
Moving to Node #0,0,0
Current State: 35:[37, 7], Operations: ['93-56=37', '31-24=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
99,
20,
6,
33
] | 29 | [
"99/33=3",
"20+6=26",
"3+26=29"
] | Current State: 29:[99, 20, 6, 33], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [20, 6, 3]
Generated Node #2: [20, 6, 3] from Operation: 99/33=3
Current State: 29:[20, 6, 3], Operations: ['99/33=3']
Exploring Operation: 20+6=26, Resulting Numbers: [3, 26]
Generated Node #3: [3, 26] from Operation: 20+6=26
Current State: 29:[3, 26], Operations: ['99/33=3', '20+6=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[99, 20, 6, 33], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [20, 6, 3]
Generated Node #0,0: 29:[20, 6, 3] Operation: 99/33=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[20, 6, 3], Operations: ['99/33=3']
Exploring Operation: 6*3=18, Resulting Numbers: [20, 18]
Generated Node #0,0,0: 29:[20, 18] Operation: 6*3=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[20, 18], Operations: ['99/33=3', '6*3=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
25,
75,
61
] | 35 | [
"61-29=32",
"75/25=3",
"32+3=35"
] | Current State: 35:[29, 25, 75, 61], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [25, 75, 32]
Generated Node #2: [25, 75, 32] from Operation: 61-29=32
Current State: 35:[25, 75, 32], Operations: ['61-29=32']
Exploring Operation: 75/25=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 75/25=3
Current State: 35:[32, 3], Operations: ['61-29=32', '75/25=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[29, 25, 75, 61], Operations: []
Exploring Operation: 75-29=46, Resulting Numbers: [25, 61, 46]
Generated Node #0,0: 35:[25, 61, 46] Operation: 75-29=46
Exploring Operation: 75-25=50, Resulting Numbers: [29, 61, 50]
Generated Node #0,1: 35:[29, 61, 50] Operation: 75-25=50
Exploring Operation: 75-61=14, Resulting Numbers: [29, 25, 14]
Generated Node #0,2: 35:[29, 25, 14] Operation: 75-61=14
Exploring Operation: 61-25=36, Resulting Numbers: [29, 75, 36]
Generated Node #0,3: 35:[29, 75, 36] Operation: 61-25=36
Exploring Operation: 75/25=3, Resulting Numbers: [29, 61, 3]
Generated Node #0,4: 35:[29, 61, 3] Operation: 75/25=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[29, 25, 14], Operations: ['75-61=14']
Exploring Operation: 25+14=39, Resulting Numbers: [29, 39]
Generated Node #0,2,0: 35:[29, 39] Operation: 25+14=39
Exploring Operation: 25-14=11, Resulting Numbers: [29, 11]
Generated Node #0,2,1: 35:[29, 11] Operation: 25-14=11
Exploring Operation: 29+14=43, Resulting Numbers: [25, 43]
Generated Node #0,2,2: 35:[25, 43] Operation: 29+14=43
Exploring Operation: 29-25=4, Resulting Numbers: [14, 4]
Generated Node #0,2,3: 35:[14, 4] Operation: 29-25=4
Exploring Operation: 29-14=15, Resulting Numbers: [25, 15]
Generated Node #0,2,4: 35:[25, 15] Operation: 29-14=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[14, 4], Operations: ['75-61=14', '29-25=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,35 unequal: No Solution
No 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: 35:[29, 39], Operations: ['75-61=14', '25+14=39']
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,35 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,35 unequal: No Solution
No 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: 35:[29, 11], Operations: ['75-61=14', '25-14=11']
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,35 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No 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: 35:[25, 43], Operations: ['75-61=14', '29+14=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,35 unequal: No Solution
No 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: 35:[25, 15], Operations: ['75-61=14', '29-14=15']
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,35 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[29, 61, 3], Operations: ['75/25=3']
Exploring Operation: 29-3=26, Resulting Numbers: [61, 26]
Generated Node #0,4,0: 35:[61, 26] Operation: 29-3=26
Exploring Operation: 29+3=32, Resulting Numbers: [61, 32]
Generated Node #0,4,1: 35:[61, 32] Operation: 29+3=32
Exploring Operation: 61-3=58, Resulting Numbers: [29, 58]
Generated Node #0,4,2: 35:[29, 58] Operation: 61-3=58
Exploring Operation: 61-29=32, Resulting Numbers: [3, 32]
Generated Node #0,4,3: 35:[3, 32] Operation: 61-29=32
Exploring Operation: 61+3=64, Resulting Numbers: [29, 64]
Generated Node #0,4,4: 35:[29, 64] Operation: 61+3=64
Moving to Node #0,4,3
Current State: 35:[3, 32], Operations: ['75/25=3', '61-29=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[29, 25, 75, 61], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [29, 61, 3]
Generated Node #0,4: 35:[29, 61, 3] Operation: 75/25=3
Moving to Node #0,4
Current State: 35:[29, 61, 3], Operations: ['75/25=3']
Exploring Operation: 61-29=32, Resulting Numbers: [3, 32]
Generated Node #0,4,3: 35:[3, 32] Operation: 61-29=32
Moving to Node #0,4,3
Current State: 35:[3, 32], Operations: ['75/25=3', '61-29=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
29,
29,
31,
39
] | 50 | [
"29+29=58",
"39-31=8",
"58-8=50"
] | Current State: 50:[29, 29, 31, 39], Operations: []
Exploring Operation: 29+29=58, Resulting Numbers: [31, 39, 58]
Generated Node #2: [31, 39, 58] from Operation: 29+29=58
Current State: 50:[31, 39, 58], Operations: ['29+29=58']
Exploring Operation: 39-31=8, Resulting Numbers: [58, 8]
Generated Node #3: [58, 8] from Operation: 39-31=8
Current State: 50:[58, 8], Operations: ['29+29=58', '39-31=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[29, 29, 31, 39], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [29, 31, 10]
Generated Node #0,0: 50:[29, 31, 10] Operation: 39-29=10
Exploring Operation: 39-29=10, Resulting Numbers: [29, 31, 10]
Generated Node #0,1: 50:[29, 31, 10] Operation: 39-29=10
Exploring Operation: 39-31=8, Resulting Numbers: [29, 29, 8]
Generated Node #0,2: 50:[29, 29, 8] Operation: 39-31=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[29, 31, 10], Operations: ['39-29=10']
Exploring Operation: 29+31=60, Resulting Numbers: [10, 60]
Generated Node #0,0,0: 50:[10, 60] Operation: 29+31=60
Exploring Operation: 31-10=21, Resulting Numbers: [29, 21]
Generated Node #0,0,1: 50:[29, 21] Operation: 31-10=21
Exploring Operation: 31-29=2, Resulting Numbers: [10, 2]
Generated Node #0,0,2: 50:[10, 2] Operation: 31-29=2
Moving to Node #0,0,2
Current State: 50:[10, 2], Operations: ['39-29=10', '31-29=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[29, 21], Operations: ['39-29=10', '31-10=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[29, 29, 31, 39], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [29, 31, 10]
Generated Node #0,0: 50:[29, 31, 10] Operation: 39-29=10
Moving to Node #0,0
Current State: 50:[29, 31, 10], Operations: ['39-29=10']
Exploring Operation: 31-10=21, Resulting Numbers: [29, 21]
Generated Node #0,0,1: 50:[29, 21] Operation: 31-10=21
Moving to Node #0,0,1
Current State: 50:[29, 21], Operations: ['39-29=10', '31-10=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
63,
79,
14,
35
] | 33 | [
"79-63=16",
"14+35=49",
"49-16=33"
] | Current State: 33:[63, 79, 14, 35], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [14, 35, 16]
Generated Node #2: [14, 35, 16] from Operation: 79-63=16
Current State: 33:[14, 35, 16], Operations: ['79-63=16']
Exploring Operation: 14+35=49, Resulting Numbers: [16, 49]
Generated Node #3: [16, 49] from Operation: 14+35=49
Current State: 33:[16, 49], Operations: ['79-63=16', '14+35=49']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[63, 79, 14, 35], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [14, 35, 16]
Generated Node #0,0: 33:[14, 35, 16] Operation: 79-63=16
Moving to Node #0,0
Current State: 33:[14, 35, 16], Operations: ['79-63=16']
Exploring Operation: 16-14=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['79-63=16', '16-14=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[63, 79, 14, 35], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [14, 35, 16]
Generated Node #0,0: 33:[14, 35, 16] Operation: 79-63=16
Moving to Node #0,0
Current State: 33:[14, 35, 16], Operations: ['79-63=16']
Exploring Operation: 16-14=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 16-14=2
Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['79-63=16', '16-14=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
59,
81,
65
] | 82 | [
"6+59=65",
"65/65=1",
"81+1=82"
] | Current State: 82:[6, 59, 81, 65], Operations: []
Exploring Operation: 6+59=65, Resulting Numbers: [81, 65, 65]
Generated Node #2: [81, 65, 65] from Operation: 6+59=65
Current State: 82:[81, 65, 65], Operations: ['6+59=65']
Exploring Operation: 65/65=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 65/65=1
Current State: 82:[81, 1], Operations: ['6+59=65', '65/65=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[6, 59, 81, 65], Operations: []
Exploring Operation: 6+59=65, Resulting Numbers: [81, 65, 65]
Generated Node #0,0: 82:[81, 65, 65] Operation: 6+59=65
Exploring Operation: 81-65=16, Resulting Numbers: [6, 59, 16]
Generated Node #0,1: 82:[6, 59, 16] Operation: 81-65=16
Exploring Operation: 59-6=53, Resulting Numbers: [81, 65, 53]
Generated Node #0,2: 82:[81, 65, 53] Operation: 59-6=53
Exploring Operation: 6+65=71, Resulting Numbers: [59, 81, 71]
Generated Node #0,3: 82:[59, 81, 71] Operation: 6+65=71
Exploring Operation: 65-59=6, Resulting Numbers: [6, 81, 6]
Generated Node #0,4: 82:[6, 81, 6] Operation: 65-59=6
Moving to Node #0,4
Current State: 82:[6, 81, 6], Operations: ['65-59=6']
Exploring Operation: 6-6=0, Resulting Numbers: [81, 0]
Generated Node #0,4,0: 82:[81, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [81, 1]
Generated Node #0,4,1: 82:[81, 1] Operation: 6/6=1
Exploring Operation: 81+6=87, Resulting Numbers: [6, 87]
Generated Node #0,4,2: 82:[6, 87] Operation: 81+6=87
Exploring Operation: 6*6=36, Resulting Numbers: [81, 36]
Generated Node #0,4,3: 82:[81, 36] Operation: 6*6=36
Exploring Operation: 6+81=87, Resulting Numbers: [6, 87]
Generated Node #0,4,4: 82:[6, 87] Operation: 6+81=87
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 82:[81, 1], Operations: ['65-59=6', '6/6=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[6, 59, 81, 65], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [6, 81, 6]
Generated Node #0,4: 82:[6, 81, 6] Operation: 65-59=6
Moving to Node #0,4
Current State: 82:[6, 81, 6], Operations: ['65-59=6']
Exploring Operation: 6/6=1, Resulting Numbers: [81, 1]
Generated Node #0,4,1: 82:[81, 1] Operation: 6/6=1
Moving to Node #0,4,1
Current State: 82:[81, 1], Operations: ['65-59=6', '6/6=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
4,
29,
29,
80
] | 85 | [
"4+80=84",
"29/29=1",
"84+1=85"
] | Current State: 85:[4, 29, 29, 80], Operations: []
Exploring Operation: 4+80=84, Resulting Numbers: [29, 29, 84]
Generated Node #2: [29, 29, 84] from Operation: 4+80=84
Current State: 85:[29, 29, 84], Operations: ['4+80=84']
Exploring Operation: 29/29=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 29/29=1
Current State: 85:[84, 1], Operations: ['4+80=84', '29/29=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[4, 29, 29, 80], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [29, 80, 25]
Generated Node #0,0: 85:[29, 80, 25] Operation: 29-4=25
Exploring Operation: 29-4=25, Resulting Numbers: [29, 80, 25]
Generated Node #0,1: 85:[29, 80, 25] Operation: 29-4=25
Exploring Operation: 4+80=84, Resulting Numbers: [29, 29, 84]
Generated Node #0,2: 85:[29, 29, 84] Operation: 4+80=84
Exploring Operation: 29/29=1, Resulting Numbers: [4, 80, 1]
Generated Node #0,3: 85:[4, 80, 1] Operation: 29/29=1
Exploring Operation: 29-29=0, Resulting Numbers: [4, 80, 0]
Generated Node #0,4: 85:[4, 80, 0] Operation: 29-29=0
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[4, 80, 1], Operations: ['29/29=1']
Exploring Operation: 80+1=81, Resulting Numbers: [4, 81]
Generated Node #0,3,0: 85:[4, 81] Operation: 80+1=81
Exploring Operation: 4*1=4, Resulting Numbers: [80, 4]
Generated Node #0,3,1: 85:[80, 4] Operation: 4*1=4
Exploring Operation: 4+80=84, Resulting Numbers: [1, 84]
Generated Node #0,3,2: 85:[1, 84] Operation: 4+80=84
Exploring Operation: 4+1=5, Resulting Numbers: [80, 5]
Generated Node #0,3,3: 85:[80, 5] Operation: 4+1=5
Exploring Operation: 4/1=4, Resulting Numbers: [80, 4]
Generated Node #0,3,4: 85:[80, 4] Operation: 4/1=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[4, 81], Operations: ['29/29=1', '80+1=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[4, 29, 29, 80], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [4, 80, 1]
Generated Node #0,3: 85:[4, 80, 1] Operation: 29/29=1
Moving to Node #0,3
Current State: 85:[4, 80, 1], Operations: ['29/29=1']
Exploring Operation: 80+1=81, Resulting Numbers: [4, 81]
Generated Node #0,3,0: 85:[4, 81] Operation: 80+1=81
Moving to Node #0,3,0
Current State: 85:[4, 81], Operations: ['29/29=1', '80+1=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
8,
78,
38,
34
] | 74 | [
"78-8=70",
"38-34=4",
"70+4=74"
] | Current State: 74:[8, 78, 38, 34], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [38, 34, 70]
Generated Node #2: [38, 34, 70] from Operation: 78-8=70
Current State: 74:[38, 34, 70], Operations: ['78-8=70']
Exploring Operation: 38-34=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 38-34=4
Current State: 74:[70, 4], Operations: ['78-8=70', '38-34=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[8, 78, 38, 34], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [78, 38, 42]
Generated Node #0,0: 74:[78, 38, 42] Operation: 8+34=42
Exploring Operation: 78-8=70, Resulting Numbers: [38, 34, 70]
Generated Node #0,1: 74:[38, 34, 70] Operation: 78-8=70
Moving to Node #0,1
Current State: 74:[38, 34, 70], Operations: ['78-8=70']
Exploring Operation: 38+34=72, Resulting Numbers: [70, 72]
Generated Node #0,1,0: 74:[70, 72] Operation: 38+34=72
Exploring Operation: 70-34=36, Resulting Numbers: [38, 36]
Generated Node #0,1,1: 74:[38, 36] Operation: 70-34=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[38, 36], Operations: ['78-8=70', '70-34=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[8, 78, 38, 34], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [38, 34, 70]
Generated Node #0,1: 74:[38, 34, 70] Operation: 78-8=70
Moving to Node #0,1
Current State: 74:[38, 34, 70], Operations: ['78-8=70']
Exploring Operation: 70-34=36, Resulting Numbers: [38, 36]
Generated Node #0,1,1: 74:[38, 36] Operation: 70-34=36
Moving to Node #0,1,1
Current State: 74:[38, 36], Operations: ['78-8=70', '70-34=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
11,
2,
61,
75
] | 57 | [
"61+75=136",
"136/2=68",
"68-11=57"
] | Current State: 57:[11, 2, 61, 75], Operations: []
Exploring Operation: 61+75=136, Resulting Numbers: [11, 2, 136]
Generated Node #2: [11, 2, 136] from Operation: 61+75=136
Current State: 57:[11, 2, 136], Operations: ['61+75=136']
Exploring Operation: 136/2=68, Resulting Numbers: [11, 68]
Generated Node #3: [11, 68] from Operation: 136/2=68
Current State: 57:[11, 68], Operations: ['61+75=136', '136/2=68']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[11, 2, 61, 75], Operations: []
Exploring Operation: 61-11=50, Resulting Numbers: [2, 75, 50]
Generated Node #0,0: 57:[2, 75, 50] Operation: 61-11=50
Exploring Operation: 75-11=64, Resulting Numbers: [2, 61, 64]
Generated Node #0,1: 57:[2, 61, 64] Operation: 75-11=64
Exploring Operation: 75-61=14, Resulting Numbers: [11, 2, 14]
Generated Node #0,2: 57:[11, 2, 14] Operation: 75-61=14
Exploring Operation: 11*2=22, Resulting Numbers: [61, 75, 22]
Generated Node #0,3: 57:[61, 75, 22] Operation: 11*2=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[2, 61, 64], Operations: ['75-11=64']
Exploring Operation: 2+61=63, Resulting Numbers: [64, 63]
Generated Node #0,1,0: 57:[64, 63] Operation: 2+61=63
Exploring Operation: 64-2=62, Resulting Numbers: [61, 62]
Generated Node #0,1,1: 57:[61, 62] Operation: 64-2=62
Exploring Operation: 61-2=59, Resulting Numbers: [64, 59]
Generated Node #0,1,2: 57:[64, 59] Operation: 61-2=59
Exploring Operation: 64-61=3, Resulting Numbers: [2, 3]
Generated Node #0,1,3: 57:[2, 3] Operation: 64-61=3
Moving to Node #0,1,3
Current State: 57:[2, 3], Operations: ['75-11=64', '64-61=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[64, 59], Operations: ['75-11=64', '61-2=59']
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[61, 62], Operations: ['75-11=64', '64-2=62']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 61*62=3782, Resulting Numbers: [3782]
3782,57 unequal: No Solution
Exploring Operation: 61+62=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[64, 63], Operations: ['75-11=64', '2+61=63']
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,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:[11, 2, 14], Operations: ['75-61=14']
Exploring Operation: 11+14=25, Resulting Numbers: [2, 25]
Generated Node #0,2,0: 57:[2, 25] Operation: 11+14=25
Exploring Operation: 11*2=22, Resulting Numbers: [14, 22]
Generated Node #0,2,1: 57:[14, 22] Operation: 11*2=22
Exploring Operation: 11+2=13, Resulting Numbers: [14, 13]
Generated Node #0,2,2: 57:[14, 13] Operation: 11+2=13
Exploring Operation: 14-11=3, Resulting Numbers: [2, 3]
Generated Node #0,2,3: 57:[2, 3] Operation: 14-11=3
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[2, 3], Operations: ['75-61=14', '14-11=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,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:[2, 25], Operations: ['75-61=14', '11+14=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,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:[14, 22], Operations: ['75-61=14', '11*2=22']
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,57 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,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,2
Current State: 57:[14, 13], Operations: ['75-61=14', '11+2=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,57 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[61, 75, 22], Operations: ['11*2=22']
Exploring Operation: 75-22=53, Resulting Numbers: [61, 53]
Generated Node #0,3,0: 57:[61, 53] Operation: 75-22=53
Exploring Operation: 61-22=39, Resulting Numbers: [75, 39]
Generated Node #0,3,1: 57:[75, 39] Operation: 61-22=39
Exploring Operation: 61+22=83, Resulting Numbers: [75, 83]
Generated Node #0,3,2: 57:[75, 83] Operation: 61+22=83
Exploring Operation: 75-61=14, Resulting Numbers: [22, 14]
Generated Node #0,3,3: 57:[22, 14] Operation: 75-61=14
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[61, 53], Operations: ['11*2=22', '75-22=53']
Exploring Operation: 61*53=3233, Resulting Numbers: [3233]
3233,57 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,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,3,3
Current State: 57:[22, 14], Operations: ['11*2=22', '75-61=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,57 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,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,3,1
Current State: 57:[75, 39], Operations: ['11*2=22', '61-22=39']
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,57 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,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,3,2
Current State: 57:[75, 83], Operations: ['11*2=22', '61+22=83']
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,57 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,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,0
Current State: 57:[2, 75, 50], Operations: ['61-11=50']
Exploring Operation: 75-50=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 57:[2, 25] Operation: 75-50=25
Exploring Operation: 75-2=73, Resulting Numbers: [50, 73]
Generated Node #0,0,1: 57:[50, 73] Operation: 75-2=73
Exploring Operation: 50/2=25, Resulting Numbers: [75, 25]
Generated Node #0,0,2: 57:[75, 25] Operation: 50/2=25
Exploring Operation: 2+50=52, Resulting Numbers: [75, 52]
Generated Node #0,0,3: 57:[75, 52] Operation: 2+50=52
Moving to Node #0,0,0
Current State: 57:[2, 25], Operations: ['61-11=50', '75-50=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[75, 52], Operations: ['61-11=50', '2+50=52']
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,57 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[50, 73], Operations: ['61-11=50', '75-2=73']
Exploring Operation: 50+73=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 50*73=3650, Resulting Numbers: [3650]
3650,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[75, 25], Operations: ['61-11=50', '50/2=25']
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,57 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,57 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 |
[
6,
90,
13,
22
] | 50 | [
"90/6=15",
"13+22=35",
"15+35=50"
] | Current State: 50:[6, 90, 13, 22], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [13, 22, 15]
Generated Node #2: [13, 22, 15] from Operation: 90/6=15
Current State: 50:[13, 22, 15], Operations: ['90/6=15']
Exploring Operation: 13+22=35, Resulting Numbers: [15, 35]
Generated Node #3: [15, 35] from Operation: 13+22=35
Current State: 50:[15, 35], Operations: ['90/6=15', '13+22=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 90, 13, 22], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [6, 13, 68]
Generated Node #0,0: 50:[6, 13, 68] Operation: 90-22=68
Exploring Operation: 90-6=84, Resulting Numbers: [13, 22, 84]
Generated Node #0,1: 50:[13, 22, 84] Operation: 90-6=84
Exploring Operation: 90-13=77, Resulting Numbers: [6, 22, 77]
Generated Node #0,2: 50:[6, 22, 77] Operation: 90-13=77
Exploring Operation: 22-13=9, Resulting Numbers: [6, 90, 9]
Generated Node #0,3: 50:[6, 90, 9] Operation: 22-13=9
Exploring Operation: 90/6=15, Resulting Numbers: [13, 22, 15]
Generated Node #0,4: 50:[13, 22, 15] Operation: 90/6=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[13, 22, 15], Operations: ['90/6=15']
Exploring Operation: 13+15=28, Resulting Numbers: [22, 28]
Generated Node #0,4,0: 50:[22, 28] Operation: 13+15=28
Exploring Operation: 15-13=2, Resulting Numbers: [22, 2]
Generated Node #0,4,1: 50:[22, 2] Operation: 15-13=2
Exploring Operation: 22-13=9, Resulting Numbers: [15, 9]
Generated Node #0,4,2: 50:[15, 9] Operation: 22-13=9
Exploring Operation: 13+22=35, Resulting Numbers: [15, 35]
Generated Node #0,4,3: 50:[15, 35] Operation: 13+22=35
Exploring Operation: 22-15=7, Resulting Numbers: [13, 7]
Generated Node #0,4,4: 50:[13, 7] Operation: 22-15=7
Moving to Node #0,4,1
Current State: 50:[22, 2], Operations: ['90/6=15', '15-13=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[13, 7], Operations: ['90/6=15', '22-15=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[22, 28], Operations: ['90/6=15', '13+15=28']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[6, 90, 13, 22], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [13, 22, 15]
Generated Node #0,4: 50:[13, 22, 15] Operation: 90/6=15
Moving to Node #0,4
Current State: 50:[13, 22, 15], Operations: ['90/6=15']
Exploring Operation: 13+15=28, Resulting Numbers: [22, 28]
Generated Node #0,4,0: 50:[22, 28] Operation: 13+15=28
Moving to Node #0,4,0
Current State: 50:[22, 28], Operations: ['90/6=15', '13+15=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
39,
59,
16,
32
] | 96 | [
"39+59=98",
"32/16=2",
"98-2=96"
] | Current State: 96:[39, 59, 16, 32], Operations: []
Exploring Operation: 39+59=98, Resulting Numbers: [16, 32, 98]
Generated Node #2: [16, 32, 98] from Operation: 39+59=98
Current State: 96:[16, 32, 98], Operations: ['39+59=98']
Exploring Operation: 32/16=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 32/16=2
Current State: 96:[98, 2], Operations: ['39+59=98', '32/16=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[39, 59, 16, 32], Operations: []
Exploring Operation: 39+59=98, Resulting Numbers: [16, 32, 98]
Generated Node #0,0: 96:[16, 32, 98] Operation: 39+59=98
Exploring Operation: 59-32=27, Resulting Numbers: [39, 16, 27]
Generated Node #0,1: 96:[39, 16, 27] Operation: 59-32=27
Exploring Operation: 59-39=20, Resulting Numbers: [16, 32, 20]
Generated Node #0,2: 96:[16, 32, 20] Operation: 59-39=20
Exploring Operation: 39-16=23, Resulting Numbers: [59, 32, 23]
Generated Node #0,3: 96:[59, 32, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[16, 32, 98], Operations: ['39+59=98']
Exploring Operation: 98-16=82, Resulting Numbers: [32, 82]
Generated Node #0,0,0: 96:[32, 82] Operation: 98-16=82
Exploring Operation: 16+32=48, Resulting Numbers: [98, 48]
Generated Node #0,0,1: 96:[98, 48] Operation: 16+32=48
Exploring Operation: 32-16=16, Resulting Numbers: [98, 16]
Generated Node #0,0,2: 96:[98, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [98, 2]
Generated Node #0,0,3: 96:[98, 2] Operation: 32/16=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[98, 48], Operations: ['39+59=98', '16+32=48']
Exploring Operation: 98+48=146, Resulting Numbers: [146]
146,96 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 98*48=4704, Resulting Numbers: [4704]
4704,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[98, 16], Operations: ['39+59=98', '32-16=16']
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,96 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[98, 2], Operations: ['39+59=98', '32/16=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[39, 59, 16, 32], Operations: []
Exploring Operation: 39+59=98, Resulting Numbers: [16, 32, 98]
Generated Node #0,0: 96:[16, 32, 98] Operation: 39+59=98
Moving to Node #0,0
Current State: 96:[16, 32, 98], Operations: ['39+59=98']
Exploring Operation: 32/16=2, Resulting Numbers: [98, 2]
Generated Node #0,0,3: 96:[98, 2] Operation: 32/16=2
Moving to Node #0,0,3
Current State: 96:[98, 2], Operations: ['39+59=98', '32/16=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
72,
39,
18,
78
] | 42 | [
"78-72=6",
"18/6=3",
"39+3=42"
] | Current State: 42:[72, 39, 18, 78], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [39, 18, 6]
Generated Node #2: [39, 18, 6] from Operation: 78-72=6
Current State: 42:[39, 18, 6], Operations: ['78-72=6']
Exploring Operation: 18/6=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 18/6=3
Current State: 42:[39, 3], Operations: ['78-72=6', '18/6=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[72, 39, 18, 78], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [39, 78, 4]
Generated Node #0,0: 42:[39, 78, 4] Operation: 72/18=4
Exploring Operation: 78-72=6, Resulting Numbers: [39, 18, 6]
Generated Node #0,1: 42:[39, 18, 6] Operation: 78-72=6
Exploring Operation: 78/39=2, Resulting Numbers: [72, 18, 2]
Generated Node #0,2: 42:[72, 18, 2] Operation: 78/39=2
Exploring Operation: 78-39=39, Resulting Numbers: [72, 18, 39]
Generated Node #0,3: 42:[72, 18, 39] Operation: 78-39=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[39, 18, 6], Operations: ['78-72=6']
Exploring Operation: 39+6=45, Resulting Numbers: [18, 45]
Generated Node #0,1,0: 42:[18, 45] Operation: 39+6=45
Exploring Operation: 39-18=21, Resulting Numbers: [6, 21]
Generated Node #0,1,1: 42:[6, 21] Operation: 39-18=21
Exploring Operation: 18-6=12, Resulting Numbers: [39, 12]
Generated Node #0,1,2: 42:[39, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [39, 3]
Generated Node #0,1,3: 42:[39, 3] Operation: 18/6=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[6, 21], Operations: ['78-72=6', '39-18=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,42 unequal: No Solution
No 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: 42:[39, 3], Operations: ['78-72=6', '18/6=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[72, 39, 18, 78], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [39, 18, 6]
Generated Node #0,1: 42:[39, 18, 6] Operation: 78-72=6
Moving to Node #0,1
Current State: 42:[39, 18, 6], Operations: ['78-72=6']
Exploring Operation: 18/6=3, Resulting Numbers: [39, 3]
Generated Node #0,1,3: 42:[39, 3] Operation: 18/6=3
Moving to Node #0,1,3
Current State: 42:[39, 3], Operations: ['78-72=6', '18/6=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
15,
96,
76,
75
] | 82 | [
"96-15=81",
"76-75=1",
"81+1=82"
] | Current State: 82:[15, 96, 76, 75], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [76, 75, 81]
Generated Node #2: [76, 75, 81] from Operation: 96-15=81
Current State: 82:[76, 75, 81], Operations: ['96-15=81']
Exploring Operation: 76-75=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 76-75=1
Current State: 82:[81, 1], Operations: ['96-15=81', '76-75=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[15, 96, 76, 75], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [96, 76, 5]
Generated Node #0,0: 82:[96, 76, 5] Operation: 75/15=5
Exploring Operation: 76-75=1, Resulting Numbers: [15, 96, 1]
Generated Node #0,1: 82:[15, 96, 1] Operation: 76-75=1
Exploring Operation: 15+76=91, Resulting Numbers: [96, 75, 91]
Generated Node #0,2: 82:[96, 75, 91] Operation: 15+76=91
Exploring Operation: 15+75=90, Resulting Numbers: [96, 76, 90]
Generated Node #0,3: 82:[96, 76, 90] Operation: 15+75=90
Exploring Operation: 96-15=81, Resulting Numbers: [76, 75, 81]
Generated Node #0,4: 82:[76, 75, 81] Operation: 96-15=81
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[76, 75, 81], Operations: ['96-15=81']
Exploring Operation: 81-75=6, Resulting Numbers: [76, 6]
Generated Node #0,4,0: 82:[76, 6] Operation: 81-75=6
Exploring Operation: 81-76=5, Resulting Numbers: [75, 5]
Generated Node #0,4,1: 82:[75, 5] Operation: 81-76=5
Exploring Operation: 76+75=151, Resulting Numbers: [81, 151]
Generated Node #0,4,2: 82:[81, 151] Operation: 76+75=151
Exploring Operation: 75+81=156, Resulting Numbers: [76, 156]
Generated Node #0,4,3: 82:[76, 156] Operation: 75+81=156
Exploring Operation: 76-75=1, Resulting Numbers: [81, 1]
Generated Node #0,4,4: 82:[81, 1] Operation: 76-75=1
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 82:[81, 1], Operations: ['96-15=81', '76-75=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[15, 96, 76, 75], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [76, 75, 81]
Generated Node #0,4: 82:[76, 75, 81] Operation: 96-15=81
Moving to Node #0,4
Current State: 82:[76, 75, 81], Operations: ['96-15=81']
Exploring Operation: 76-75=1, Resulting Numbers: [81, 1]
Generated Node #0,4,4: 82:[81, 1] Operation: 76-75=1
Moving to Node #0,4,4
Current State: 82:[81, 1], Operations: ['96-15=81', '76-75=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
80,
88,
20,
73
] | 61 | [
"88-80=8",
"73-20=53",
"8+53=61"
] | Current State: 61:[80, 88, 20, 73], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [20, 73, 8]
Generated Node #2: [20, 73, 8] from Operation: 88-80=8
Current State: 61:[20, 73, 8], Operations: ['88-80=8']
Exploring Operation: 73-20=53, Resulting Numbers: [8, 53]
Generated Node #3: [8, 53] from Operation: 73-20=53
Current State: 61:[8, 53], Operations: ['88-80=8', '73-20=53']
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[80, 88, 20, 73], Operations: []
Exploring Operation: 80+20=100, Resulting Numbers: [88, 73, 100]
Generated Node #0,0: 61:[88, 73, 100] Operation: 80+20=100
Exploring Operation: 80-20=60, Resulting Numbers: [88, 73, 60]
Generated Node #0,1: 61:[88, 73, 60] Operation: 80-20=60
Exploring Operation: 88-20=68, Resulting Numbers: [80, 73, 68]
Generated Node #0,2: 61:[80, 73, 68] Operation: 88-20=68
Exploring Operation: 73-20=53, Resulting Numbers: [80, 88, 53]
Generated Node #0,3: 61:[80, 88, 53] Operation: 73-20=53
Exploring Operation: 88+20=108, Resulting Numbers: [80, 73, 108]
Generated Node #0,4: 61:[80, 73, 108] Operation: 88+20=108
Moving to Node #0,2
Current State: 61:[80, 73, 68], Operations: ['88-20=68']
Exploring Operation: 80-73=7, Resulting Numbers: [68, 7]
Generated Node #0,2,0: 61:[68, 7] Operation: 80-73=7
Exploring Operation: 80+68=148, Resulting Numbers: [73, 148]
Generated Node #0,2,1: 61:[73, 148] Operation: 80+68=148
Exploring Operation: 80-68=12, Resulting Numbers: [73, 12]
Generated Node #0,2,2: 61:[73, 12] Operation: 80-68=12
Exploring Operation: 73-68=5, Resulting Numbers: [80, 5]
Generated Node #0,2,3: 61:[80, 5] Operation: 73-68=5
Exploring Operation: 80+73=153, Resulting Numbers: [68, 153]
Generated Node #0,2,4: 61:[68, 153] Operation: 80+73=153
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[68, 7], Operations: ['88-20=68', '80-73=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[80, 88, 20, 73], Operations: []
Exploring Operation: 88-20=68, Resulting Numbers: [80, 73, 68]
Generated Node #0,2: 61:[80, 73, 68] Operation: 88-20=68
Moving to Node #0,2
Current State: 61:[80, 73, 68], Operations: ['88-20=68']
Exploring Operation: 80-73=7, Resulting Numbers: [68, 7]
Generated Node #0,2,0: 61:[68, 7] Operation: 80-73=7
Moving to Node #0,2,0
Current State: 61:[68, 7], Operations: ['88-20=68', '80-73=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
32,
35,
9,
60
] | 54 | [
"35-32=3",
"60-9=51",
"3+51=54"
] | Current State: 54:[32, 35, 9, 60], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [9, 60, 3]
Generated Node #2: [9, 60, 3] from Operation: 35-32=3
Current State: 54:[9, 60, 3], Operations: ['35-32=3']
Exploring Operation: 60-9=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 60-9=51
Current State: 54:[3, 51], Operations: ['35-32=3', '60-9=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[32, 35, 9, 60], Operations: []
Exploring Operation: 60-32=28, Resulting Numbers: [35, 9, 28]
Generated Node #0,0: 54:[35, 9, 28] Operation: 60-32=28
Exploring Operation: 60-35=25, Resulting Numbers: [32, 9, 25]
Generated Node #0,1: 54:[32, 9, 25] Operation: 60-35=25
Exploring Operation: 35-32=3, Resulting Numbers: [9, 60, 3]
Generated Node #0,2: 54:[9, 60, 3] Operation: 35-32=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[9, 60, 3], Operations: ['35-32=3']
Exploring Operation: 60-9=51, Resulting Numbers: [3, 51]
Generated Node #0,2,0: 54:[3, 51] Operation: 60-9=51
Exploring Operation: 60-3=57, Resulting Numbers: [9, 57]
Generated Node #0,2,1: 54:[9, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [9, 20]
Generated Node #0,2,2: 54:[9, 20] Operation: 60/3=20
Moving to Node #0,2,2
Current State: 54:[9, 20], Operations: ['35-32=3', '60/3=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[3, 51], Operations: ['35-32=3', '60-9=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[32, 35, 9, 60], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [9, 60, 3]
Generated Node #0,2: 54:[9, 60, 3] Operation: 35-32=3
Moving to Node #0,2
Current State: 54:[9, 60, 3], Operations: ['35-32=3']
Exploring Operation: 60-9=51, Resulting Numbers: [3, 51]
Generated Node #0,2,0: 54:[3, 51] Operation: 60-9=51
Moving to Node #0,2,0
Current State: 54:[3, 51], Operations: ['35-32=3', '60-9=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
38,
63,
10,
74
] | 39 | [
"63-38=25",
"74-10=64",
"64-25=39"
] | Current State: 39:[38, 63, 10, 74], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [10, 74, 25]
Generated Node #2: [10, 74, 25] from Operation: 63-38=25
Current State: 39:[10, 74, 25], Operations: ['63-38=25']
Exploring Operation: 74-10=64, Resulting Numbers: [25, 64]
Generated Node #3: [25, 64] from Operation: 74-10=64
Current State: 39:[25, 64], Operations: ['63-38=25', '74-10=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[38, 63, 10, 74], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [38, 10, 11]
Generated Node #0,0: 39:[38, 10, 11] Operation: 74-63=11
Exploring Operation: 63-38=25, Resulting Numbers: [10, 74, 25]
Generated Node #0,1: 39:[10, 74, 25] Operation: 63-38=25
Exploring Operation: 74-38=36, Resulting Numbers: [63, 10, 36]
Generated Node #0,2: 39:[63, 10, 36] Operation: 74-38=36
Exploring Operation: 63-10=53, Resulting Numbers: [38, 74, 53]
Generated Node #0,3: 39:[38, 74, 53] Operation: 63-10=53
Moving to Node #0,0
Current State: 39:[38, 10, 11], Operations: ['74-63=11']
Exploring Operation: 10+11=21, Resulting Numbers: [38, 21]
Generated Node #0,0,0: 39:[38, 21] Operation: 10+11=21
Exploring Operation: 38-10=28, Resulting Numbers: [11, 28]
Generated Node #0,0,1: 39:[11, 28] Operation: 38-10=28
Exploring Operation: 38+10=48, Resulting Numbers: [11, 48]
Generated Node #0,0,2: 39:[11, 48] Operation: 38+10=48
Exploring Operation: 11-10=1, Resulting Numbers: [38, 1]
Generated Node #0,0,3: 39:[38, 1] Operation: 11-10=1
Moving to Node #0,2
Current State: 39:[63, 10, 36], Operations: ['74-38=36']
Exploring Operation: 63+10=73, Resulting Numbers: [36, 73]
Generated Node #0,2,0: 39:[36, 73] Operation: 63+10=73
Exploring Operation: 63-10=53, Resulting Numbers: [36, 53]
Generated Node #0,2,1: 39:[36, 53] Operation: 63-10=53
Exploring Operation: 63-36=27, Resulting Numbers: [10, 27]
Generated Node #0,2,2: 39:[10, 27] Operation: 63-36=27
Exploring Operation: 10+36=46, Resulting Numbers: [63, 46]
Generated Node #0,2,3: 39:[63, 46] Operation: 10+36=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[10, 27], Operations: ['74-38=36', '63-36=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,39 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,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,1
Current State: 39:[36, 53], Operations: ['74-38=36', '63-10=53']
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,39 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,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,3
Current State: 39:[63, 46], Operations: ['74-38=36', '10+36=46']
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,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,0
Current State: 39:[36, 73], Operations: ['74-38=36', '63+10=73']
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,39 unequal: No Solution
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,39 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: 39:[38, 74, 53], Operations: ['63-10=53']
Exploring Operation: 38+74=112, Resulting Numbers: [53, 112]
Generated Node #0,3,0: 39:[53, 112] Operation: 38+74=112
Exploring Operation: 74-53=21, Resulting Numbers: [38, 21]
Generated Node #0,3,1: 39:[38, 21] Operation: 74-53=21
Exploring Operation: 53-38=15, Resulting Numbers: [74, 15]
Generated Node #0,3,2: 39:[74, 15] Operation: 53-38=15
Exploring Operation: 74-38=36, Resulting Numbers: [53, 36]
Generated Node #0,3,3: 39:[53, 36] Operation: 74-38=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[38, 21], Operations: ['63-10=53', '74-53=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,39 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,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,3
Current State: 39:[53, 36], Operations: ['63-10=53', '74-38=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,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,2
Current State: 39:[74, 15], Operations: ['63-10=53', '53-38=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,39 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,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,0
Current State: 39:[53, 112], Operations: ['63-10=53', '38+74=112']
Exploring Operation: 53+112=165, Resulting Numbers: [165]
165,39 unequal: No Solution
Exploring Operation: 53*112=5936, Resulting Numbers: [5936]
5936,39 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,39 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: 39:[10, 74, 25], Operations: ['63-38=25']
Exploring Operation: 74-25=49, Resulting Numbers: [10, 49]
Generated Node #0,1,0: 39:[10, 49] Operation: 74-25=49
Exploring Operation: 10+25=35, Resulting Numbers: [74, 35]
Generated Node #0,1,1: 39:[74, 35] Operation: 10+25=35
Exploring Operation: 74-10=64, Resulting Numbers: [25, 64]
Generated Node #0,1,2: 39:[25, 64] Operation: 74-10=64
Exploring Operation: 25-10=15, Resulting Numbers: [74, 15]
Generated Node #0,1,3: 39:[74, 15] Operation: 25-10=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[10, 49], Operations: ['63-38=25', '74-25=49']
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,39 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[38, 63, 10, 74], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [10, 74, 25]
Generated Node #0,1: 39:[10, 74, 25] Operation: 63-38=25
Moving to Node #0,1
Current State: 39:[10, 74, 25], Operations: ['63-38=25']
Exploring Operation: 74-25=49, Resulting Numbers: [10, 49]
Generated Node #0,1,0: 39:[10, 49] Operation: 74-25=49
Moving to Node #0,1,0
Current State: 39:[10, 49], Operations: ['63-38=25', '74-25=49']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
99,
43,
32,
33
] | 33 | [
"99/33=3",
"43-32=11",
"3*11=33"
] | Current State: 33:[99, 43, 32, 33], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [43, 32, 3]
Generated Node #2: [43, 32, 3] from Operation: 99/33=3
Current State: 33:[43, 32, 3], Operations: ['99/33=3']
Exploring Operation: 43-32=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 43-32=11
Current State: 33:[3, 11], Operations: ['99/33=3', '43-32=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[99, 43, 32, 33], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [32, 33, 56]
Generated Node #0,0: 33:[32, 33, 56] Operation: 99-43=56
Exploring Operation: 99/33=3, Resulting Numbers: [43, 32, 3]
Generated Node #0,1: 33:[43, 32, 3] Operation: 99/33=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[43, 32, 3], Operations: ['99/33=3']
Exploring Operation: 43-3=40, Resulting Numbers: [32, 40]
Generated Node #0,1,0: 33:[32, 40] Operation: 43-3=40
Exploring Operation: 43-32=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 33:[3, 11] Operation: 43-32=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[3, 11], Operations: ['99/33=3', '43-32=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[99, 43, 32, 33], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [43, 32, 3]
Generated Node #0,1: 33:[43, 32, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 33:[43, 32, 3], Operations: ['99/33=3']
Exploring Operation: 43-32=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 33:[3, 11] Operation: 43-32=11
Moving to Node #0,1,1
Current State: 33:[3, 11], Operations: ['99/33=3', '43-32=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
57,
5,
85,
71
] | 31 | [
"71-57=14",
"85/5=17",
"14+17=31"
] | Current State: 31:[57, 5, 85, 71], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [5, 85, 14]
Generated Node #2: [5, 85, 14] from Operation: 71-57=14
Current State: 31:[5, 85, 14], Operations: ['71-57=14']
Exploring Operation: 85/5=17, Resulting Numbers: [14, 17]
Generated Node #3: [14, 17] from Operation: 85/5=17
Current State: 31:[14, 17], Operations: ['71-57=14', '85/5=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[57, 5, 85, 71], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [57, 5, 14]
Generated Node #0,0: 31:[57, 5, 14] Operation: 85-71=14
Exploring Operation: 85-57=28, Resulting Numbers: [5, 71, 28]
Generated Node #0,1: 31:[5, 71, 28] Operation: 85-57=28
Moving to Node #0,0
Current State: 31:[57, 5, 14], Operations: ['85-71=14']
Exploring Operation: 57-14=43, Resulting Numbers: [5, 43]
Generated Node #0,0,0: 31:[5, 43] Operation: 57-14=43
Exploring Operation: 57-5=52, Resulting Numbers: [14, 52]
Generated Node #0,0,1: 31:[14, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[5, 43], Operations: ['85-71=14', '57-14=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[14, 52], Operations: ['85-71=14', '57-5=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 31:[5, 71, 28], Operations: ['85-57=28']
Exploring Operation: 71-5=66, Resulting Numbers: [28, 66]
Generated Node #0,1,0: 31:[28, 66] Operation: 71-5=66
Exploring Operation: 71-28=43, Resulting Numbers: [5, 43]
Generated Node #0,1,1: 31:[5, 43] Operation: 71-28=43
Moving to Node #0,1,0
Current State: 31:[28, 66], Operations: ['85-57=28', '71-5=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[5, 43], Operations: ['85-57=28', '71-28=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
35,
3,
13
] | 64 | [
"54-13=41",
"35*3=105",
"105-41=64"
] | Current State: 64:[54, 35, 3, 13], Operations: []
Exploring Operation: 54-13=41, Resulting Numbers: [35, 3, 41]
Generated Node #2: [35, 3, 41] from Operation: 54-13=41
Current State: 64:[35, 3, 41], Operations: ['54-13=41']
Exploring Operation: 35*3=105, Resulting Numbers: [41, 105]
Generated Node #3: [41, 105] from Operation: 35*3=105
Current State: 64:[41, 105], Operations: ['54-13=41', '35*3=105']
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[54, 35, 3, 13], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [3, 13, 19]
Generated Node #0,0: 64:[3, 13, 19] Operation: 54-35=19
Exploring Operation: 54+3=57, Resulting Numbers: [35, 13, 57]
Generated Node #0,1: 64:[35, 13, 57] Operation: 54+3=57
Exploring Operation: 54-13=41, Resulting Numbers: [35, 3, 41]
Generated Node #0,2: 64:[35, 3, 41] Operation: 54-13=41
Exploring Operation: 54+13=67, Resulting Numbers: [35, 3, 67]
Generated Node #0,3: 64:[35, 3, 67] Operation: 54+13=67
Exploring Operation: 54/3=18, Resulting Numbers: [35, 13, 18]
Generated Node #0,4: 64:[35, 13, 18] Operation: 54/3=18
Moving to Node #0,0
Current State: 64:[3, 13, 19], Operations: ['54-35=19']
Exploring Operation: 19-13=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 64:[3, 6] Operation: 19-13=6
Exploring Operation: 13-3=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 64:[19, 10] Operation: 13-3=10
Exploring Operation: 3+13=16, Resulting Numbers: [19, 16]
Generated Node #0,0,2: 64:[19, 16] Operation: 3+13=16
Exploring Operation: 19-3=16, Resulting Numbers: [13, 16]
Generated Node #0,0,3: 64:[13, 16] Operation: 19-3=16
Exploring Operation: 13+19=32, Resulting Numbers: [3, 32]
Generated Node #0,0,4: 64:[3, 32] Operation: 13+19=32
Moving to Node #0,3
Current State: 64:[35, 3, 67], Operations: ['54+13=67']
Exploring Operation: 35-3=32, Resulting Numbers: [67, 32]
Generated Node #0,3,0: 64:[67, 32] Operation: 35-3=32
Exploring Operation: 3+67=70, Resulting Numbers: [35, 70]
Generated Node #0,3,1: 64:[35, 70] Operation: 3+67=70
Exploring Operation: 35+3=38, Resulting Numbers: [67, 38]
Generated Node #0,3,2: 64:[67, 38] Operation: 35+3=38
Exploring Operation: 67-3=64, Resulting Numbers: [35, 64]
Generated Node #0,3,3: 64:[35, 64] Operation: 67-3=64
Exploring Operation: 67-35=32, Resulting Numbers: [3, 32]
Generated Node #0,3,4: 64:[3, 32] Operation: 67-35=32
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[3, 32], Operations: ['54+13=67', '67-35=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[67, 32], Operations: ['54+13=67', '35-3=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[35, 64], Operations: ['54+13=67', '67-3=64']
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,64 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[35, 70], Operations: ['54+13=67', '3+67=70']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,64 unequal: No Solution
Exploring Operation: 35*70=2450, Resulting Numbers: [2450]
2450,64 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[67, 38], Operations: ['54+13=67', '35+3=38']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,64 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,64 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: 64:[35, 13, 18], Operations: ['54/3=18']
Exploring Operation: 35-18=17, Resulting Numbers: [13, 17]
Generated Node #0,4,0: 64:[13, 17] Operation: 35-18=17
Exploring Operation: 35-13=22, Resulting Numbers: [18, 22]
Generated Node #0,4,1: 64:[18, 22] Operation: 35-13=22
Exploring Operation: 35+18=53, Resulting Numbers: [13, 53]
Generated Node #0,4,2: 64:[13, 53] Operation: 35+18=53
Exploring Operation: 13+18=31, Resulting Numbers: [35, 31]
Generated Node #0,4,3: 64:[35, 31] Operation: 13+18=31
Exploring Operation: 18-13=5, Resulting Numbers: [35, 5]
Generated Node #0,4,4: 64:[35, 5] Operation: 18-13=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[13, 17], Operations: ['54/3=18', '35-18=17']
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,64 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[35, 31], Operations: ['54/3=18', '13+18=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,64 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[35, 5], Operations: ['54/3=18', '18-13=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,64 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[18, 22], Operations: ['54/3=18', '35-13=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,64 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[13, 53], Operations: ['54/3=18', '35+18=53']
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,64 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: 64:[35, 13, 57], Operations: ['54+3=57']
Exploring Operation: 57-35=22, Resulting Numbers: [13, 22]
Generated Node #0,1,0: 64:[13, 22] Operation: 57-35=22
Exploring Operation: 57-13=44, Resulting Numbers: [35, 44]
Generated Node #0,1,1: 64:[35, 44] Operation: 57-13=44
Exploring Operation: 35+13=48, Resulting Numbers: [57, 48]
Generated Node #0,1,2: 64:[57, 48] Operation: 35+13=48
Exploring Operation: 13+57=70, Resulting Numbers: [35, 70]
Generated Node #0,1,3: 64:[35, 70] Operation: 13+57=70
Exploring Operation: 35-13=22, Resulting Numbers: [57, 22]
Generated Node #0,1,4: 64:[57, 22] Operation: 35-13=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[13, 22], Operations: ['54+3=57', '57-35=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,64 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[35, 70], Operations: ['54+3=57', '13+57=70']
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,64 unequal: No Solution
Exploring Operation: 35*70=2450, Resulting Numbers: [2450]
2450,64 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[57, 22], Operations: ['54+3=57', '35-13=22']
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,64 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[35, 44], Operations: ['54+3=57', '57-13=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,64 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[57, 48], Operations: ['54+3=57', '35+13=48']
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,64 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,64 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[35, 3, 41], Operations: ['54-13=41']
Exploring Operation: 35+3=38, Resulting Numbers: [41, 38]
Generated Node #0,2,0: 64:[41, 38] Operation: 35+3=38
Exploring Operation: 41-35=6, Resulting Numbers: [3, 6]
Generated Node #0,2,1: 64:[3, 6] Operation: 41-35=6
Exploring Operation: 35+41=76, Resulting Numbers: [3, 76]
Generated Node #0,2,2: 64:[3, 76] Operation: 35+41=76
Exploring Operation: 41-3=38, Resulting Numbers: [35, 38]
Generated Node #0,2,3: 64:[35, 38] Operation: 41-3=38
Exploring Operation: 35-3=32, Resulting Numbers: [41, 32]
Generated Node #0,2,4: 64:[41, 32] Operation: 35-3=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[3, 6], Operations: ['54-13=41', '41-35=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[35, 38], Operations: ['54-13=41', '41-3=38']
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,64 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[41, 32], Operations: ['54-13=41', '35-3=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,64 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[3, 76], Operations: ['54-13=41', '35+41=76']
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,64 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[41, 38], Operations: ['54-13=41', '35+3=38']
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 64:[3, 32], Operations: ['54-35=19', '13+19=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[19, 16], Operations: ['54-35=19', '3+13=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[3, 6], Operations: ['54-35=19', '19-13=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[13, 16], Operations: ['54-35=19', '19-3=16']
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,64 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[19, 10], Operations: ['54-35=19', '13-3=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
42,
7,
12,
80
] | 38 | [
"42+80=122",
"7*12=84",
"122-84=38"
] | Current State: 38:[42, 7, 12, 80], Operations: []
Exploring Operation: 42+80=122, Resulting Numbers: [7, 12, 122]
Generated Node #2: [7, 12, 122] from Operation: 42+80=122
Current State: 38:[7, 12, 122], Operations: ['42+80=122']
Exploring Operation: 7*12=84, Resulting Numbers: [122, 84]
Generated Node #3: [122, 84] from Operation: 7*12=84
Current State: 38:[122, 84], Operations: ['42+80=122', '7*12=84']
Exploring Operation: 122-84=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[42, 7, 12, 80], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [42, 80, 5]
Generated Node #0,0: 38:[42, 80, 5] Operation: 12-7=5
Exploring Operation: 80-7=73, Resulting Numbers: [42, 12, 73]
Generated Node #0,1: 38:[42, 12, 73] Operation: 80-7=73
Exploring Operation: 80-12=68, Resulting Numbers: [42, 7, 68]
Generated Node #0,2: 38:[42, 7, 68] Operation: 80-12=68
Exploring Operation: 80-42=38, Resulting Numbers: [7, 12, 38]
Generated Node #0,3: 38:[7, 12, 38] Operation: 80-42=38
Exploring Operation: 7+12=19, Resulting Numbers: [42, 80, 19]
Generated Node #0,4: 38:[42, 80, 19] Operation: 7+12=19
Moving to Node #0,3
Current State: 38:[7, 12, 38], Operations: ['80-42=38']
Exploring Operation: 38-12=26, Resulting Numbers: [7, 26]
Generated Node #0,3,0: 38:[7, 26] Operation: 38-12=26
Exploring Operation: 7+12=19, Resulting Numbers: [38, 19]
Generated Node #0,3,1: 38:[38, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [38, 5]
Generated Node #0,3,2: 38:[38, 5] Operation: 12-7=5
Exploring Operation: 38-7=31, Resulting Numbers: [12, 31]
Generated Node #0,3,3: 38:[12, 31] Operation: 38-7=31
Exploring Operation: 7+38=45, Resulting Numbers: [12, 45]
Generated Node #0,3,4: 38:[12, 45] Operation: 7+38=45
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[38, 19], Operations: ['80-42=38', '7+12=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,38 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No 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: 38:[38, 5], Operations: ['80-42=38', '12-7=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,38 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,38 unequal: No Solution
No 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: 38:[7, 26], Operations: ['80-42=38', '38-12=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,38 unequal: No Solution
No 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: 38:[12, 31], Operations: ['80-42=38', '38-7=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,38 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[12, 45], Operations: ['80-42=38', '7+38=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,38 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: 38:[42, 7, 68], Operations: ['80-12=68']
Exploring Operation: 68-7=61, Resulting Numbers: [42, 61]
Generated Node #0,2,0: 38:[42, 61] Operation: 68-7=61
Exploring Operation: 68-42=26, Resulting Numbers: [7, 26]
Generated Node #0,2,1: 38:[7, 26] Operation: 68-42=26
Exploring Operation: 42-7=35, Resulting Numbers: [68, 35]
Generated Node #0,2,2: 38:[68, 35] Operation: 42-7=35
Exploring Operation: 42/7=6, Resulting Numbers: [68, 6]
Generated Node #0,2,3: 38:[68, 6] Operation: 42/7=6
Exploring Operation: 42+7=49, Resulting Numbers: [68, 49]
Generated Node #0,2,4: 38:[68, 49] Operation: 42+7=49
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[7, 26], Operations: ['80-12=68', '68-42=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,38 unequal: No Solution
No 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: 38:[42, 61], Operations: ['80-12=68', '68-7=61']
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,38 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No 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: 38:[68, 35], Operations: ['80-12=68', '42-7=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,38 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No 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: 38:[68, 6], Operations: ['80-12=68', '42/7=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,38 unequal: No Solution
No 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: 38:[68, 49], Operations: ['80-12=68', '42+7=49']
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,38 unequal: No Solution
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,38 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,38 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: 38:[42, 12, 73], Operations: ['80-7=73']
Exploring Operation: 42+12=54, Resulting Numbers: [73, 54]
Generated Node #0,1,0: 38:[73, 54] Operation: 42+12=54
Exploring Operation: 12+73=85, Resulting Numbers: [42, 85]
Generated Node #0,1,1: 38:[42, 85] Operation: 12+73=85
Exploring Operation: 42-12=30, Resulting Numbers: [73, 30]
Generated Node #0,1,2: 38:[73, 30] Operation: 42-12=30
Exploring Operation: 73-12=61, Resulting Numbers: [42, 61]
Generated Node #0,1,3: 38:[42, 61] Operation: 73-12=61
Exploring Operation: 73-42=31, Resulting Numbers: [12, 31]
Generated Node #0,1,4: 38:[12, 31] Operation: 73-42=31
Moving to Node #0,4
Current State: 38:[42, 80, 19], Operations: ['7+12=19']
Exploring Operation: 80-19=61, Resulting Numbers: [42, 61]
Generated Node #0,4,0: 38:[42, 61] Operation: 80-19=61
Exploring Operation: 80+19=99, Resulting Numbers: [42, 99]
Generated Node #0,4,1: 38:[42, 99] Operation: 80+19=99
Exploring Operation: 42+19=61, Resulting Numbers: [80, 61]
Generated Node #0,4,2: 38:[80, 61] Operation: 42+19=61
Exploring Operation: 80-42=38, Resulting Numbers: [19, 38]
Generated Node #0,4,3: 38:[19, 38] Operation: 80-42=38
Exploring Operation: 42-19=23, Resulting Numbers: [80, 23]
Generated Node #0,4,4: 38:[80, 23] Operation: 42-19=23
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 38:[19, 38], Operations: ['7+12=19', '80-42=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,38 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[42, 61], Operations: ['7+12=19', '80-19=61']
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,38 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[80, 23], Operations: ['7+12=19', '42-19=23']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,38 unequal: No Solution
No 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: 38:[42, 99], Operations: ['7+12=19', '80+19=99']
Exploring Operation: 42*99=4158, Resulting Numbers: [4158]
4158,38 unequal: No Solution
Exploring Operation: 42+99=141, Resulting Numbers: [141]
141,38 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,38 unequal: No Solution
No 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: 38:[80, 61], Operations: ['7+12=19', '42+19=61']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,38 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,38 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: 38:[42, 80, 5], Operations: ['12-7=5']
Exploring Operation: 80-5=75, Resulting Numbers: [42, 75]
Generated Node #0,0,0: 38:[42, 75] Operation: 80-5=75
Exploring Operation: 80-42=38, Resulting Numbers: [5, 38]
Generated Node #0,0,1: 38:[5, 38] Operation: 80-42=38
Exploring Operation: 42+5=47, Resulting Numbers: [80, 47]
Generated Node #0,0,2: 38:[80, 47] Operation: 42+5=47
Exploring Operation: 80/5=16, Resulting Numbers: [42, 16]
Generated Node #0,0,3: 38:[42, 16] Operation: 80/5=16
Exploring Operation: 42-5=37, Resulting Numbers: [80, 37]
Generated Node #0,0,4: 38:[80, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[5, 38], Operations: ['12-7=5', '80-42=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,38 unequal: No Solution
No 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: 38:[42, 16], Operations: ['12-7=5', '80/5=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,38 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No 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: 38:[42, 75], Operations: ['12-7=5', '80-5=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,38 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,38 unequal: No Solution
No 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: 38:[80, 37], Operations: ['12-7=5', '42-5=37']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,38 unequal: No Solution
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,38 unequal: No Solution
No 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: 38:[80, 47], Operations: ['12-7=5', '42+5=47']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,38 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 38:[12, 31], Operations: ['80-7=73', '73-42=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,38 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[42, 61], Operations: ['80-7=73', '73-12=61']
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,38 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[73, 30], Operations: ['80-7=73', '42-12=30']
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[73, 54], Operations: ['80-7=73', '42+12=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,38 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[42, 85], Operations: ['80-7=73', '12+73=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,38 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,38 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
20,
50,
71
] | 22 | [
"29+71=100",
"100/50=2",
"20+2=22"
] | Current State: 22:[29, 20, 50, 71], Operations: []
Exploring Operation: 29+71=100, Resulting Numbers: [20, 50, 100]
Generated Node #2: [20, 50, 100] from Operation: 29+71=100
Current State: 22:[20, 50, 100], Operations: ['29+71=100']
Exploring Operation: 100/50=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 100/50=2
Current State: 22:[20, 2], Operations: ['29+71=100', '100/50=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[29, 20, 50, 71], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [20, 71, 21]
Generated Node #0,0: 22:[20, 71, 21] Operation: 50-29=21
Exploring Operation: 71-50=21, Resulting Numbers: [29, 20, 21]
Generated Node #0,1: 22:[29, 20, 21] Operation: 71-50=21
Exploring Operation: 71-29=42, Resulting Numbers: [20, 50, 42]
Generated Node #0,2: 22:[20, 50, 42] Operation: 71-29=42
Moving to Node #0,1
Current State: 22:[29, 20, 21], Operations: ['71-50=21']
Exploring Operation: 29-21=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 22:[20, 8] Operation: 29-21=8
Exploring Operation: 29-20=9, Resulting Numbers: [21, 9]
Generated Node #0,1,1: 22:[21, 9] Operation: 29-20=9
Exploring Operation: 21-20=1, Resulting Numbers: [29, 1]
Generated Node #0,1,2: 22:[29, 1] Operation: 21-20=1
Moving to Node #0,2
Current State: 22:[20, 50, 42], Operations: ['71-29=42']
Exploring Operation: 50-42=8, Resulting Numbers: [20, 8]
Generated Node #0,2,0: 22:[20, 8] Operation: 50-42=8
Exploring Operation: 50-20=30, Resulting Numbers: [42, 30]
Generated Node #0,2,1: 22:[42, 30] Operation: 50-20=30
Exploring Operation: 42-20=22, Resulting Numbers: [50, 22]
Generated Node #0,2,2: 22:[50, 22] Operation: 42-20=22
Moving to Node #0,0
Current State: 22:[20, 71, 21], Operations: ['50-29=21']
Exploring Operation: 71-20=51, Resulting Numbers: [21, 51]
Generated Node #0,0,0: 22:[21, 51] Operation: 71-20=51
Exploring Operation: 71-21=50, Resulting Numbers: [20, 50]
Generated Node #0,0,1: 22:[20, 50] Operation: 71-21=50
Exploring Operation: 21-20=1, Resulting Numbers: [71, 1]
Generated Node #0,0,2: 22:[71, 1] Operation: 21-20=1
Moving to Node #0,1,1
Current State: 22:[21, 9], Operations: ['71-50=21', '29-20=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,22 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[20, 8], Operations: ['71-50=21', '29-21=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,22 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[20, 8], Operations: ['71-29=42', '50-42=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,22 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[29, 1], Operations: ['71-50=21', '21-20=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[50, 22], Operations: ['71-29=42', '42-20=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,22 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[42, 30], Operations: ['71-29=42', '50-20=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,22 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[21, 51], Operations: ['50-29=21', '71-20=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,22 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[20, 50], Operations: ['50-29=21', '71-21=50']
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,22 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[71, 1], Operations: ['50-29=21', '21-20=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
98,
28,
32,
32
] | 28 | [
"32-32=0",
"98*0=0",
"28+0=28"
] | Current State: 28:[98, 28, 32, 32], Operations: []
Exploring Operation: 32-32=0, Resulting Numbers: [98, 28, 0]
Generated Node #2: [98, 28, 0] from Operation: 32-32=0
Current State: 28:[98, 28, 0], Operations: ['32-32=0']
Exploring Operation: 98*0=0, Resulting Numbers: [28, 0]
Generated Node #3: [28, 0] from Operation: 98*0=0
Current State: 28:[28, 0], Operations: ['32-32=0', '98*0=0']
Exploring Operation: 28+0=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[98, 28, 32, 32], Operations: []
Exploring Operation: 98-28=70, Resulting Numbers: [32, 32, 70]
Generated Node #0,0: 28:[32, 32, 70] Operation: 98-28=70
Exploring Operation: 98-32=66, Resulting Numbers: [28, 32, 66]
Generated Node #0,1: 28:[28, 32, 66] Operation: 98-32=66
Exploring Operation: 98-32=66, Resulting Numbers: [28, 32, 66]
Generated Node #0,2: 28:[28, 32, 66] Operation: 98-32=66
Exploring Operation: 32/32=1, Resulting Numbers: [98, 28, 1]
Generated Node #0,3: 28:[98, 28, 1] Operation: 32/32=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[28, 32, 66], Operations: ['98-32=66']
Exploring Operation: 66-28=38, Resulting Numbers: [32, 38]
Generated Node #0,1,0: 28:[32, 38] Operation: 66-28=38
Exploring Operation: 66-32=34, Resulting Numbers: [28, 34]
Generated Node #0,1,1: 28:[28, 34] Operation: 66-32=34
Exploring Operation: 32-28=4, Resulting Numbers: [66, 4]
Generated Node #0,1,2: 28:[66, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [66, 60]
Generated Node #0,1,3: 28:[66, 60] Operation: 28+32=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[28, 34], Operations: ['98-32=66', '66-32=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,28 unequal: No Solution
No 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: 28:[32, 38], Operations: ['98-32=66', '66-28=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No 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: 28:[66, 4], Operations: ['98-32=66', '32-28=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,28 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No 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: 28:[66, 60], Operations: ['98-32=66', '28+32=60']
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,28 unequal: No Solution
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,28 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: 28:[28, 32, 66], Operations: ['98-32=66']
Exploring Operation: 32-28=4, Resulting Numbers: [66, 4]
Generated Node #0,2,0: 28:[66, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [66, 60]
Generated Node #0,2,1: 28:[66, 60] Operation: 28+32=60
Exploring Operation: 66-28=38, Resulting Numbers: [32, 38]
Generated Node #0,2,2: 28:[32, 38] Operation: 66-28=38
Exploring Operation: 66-32=34, Resulting Numbers: [28, 34]
Generated Node #0,2,3: 28:[28, 34] Operation: 66-32=34
Moving to Node #0,2,3
Current State: 28:[28, 34], Operations: ['98-32=66', '66-32=34']
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,28 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[32, 38], Operations: ['98-32=66', '66-28=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[66, 4], Operations: ['98-32=66', '32-28=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[66, 60], Operations: ['98-32=66', '28+32=60']
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,28 unequal: No Solution
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[32, 32, 70], Operations: ['98-28=70']
Exploring Operation: 70-32=38, Resulting Numbers: [32, 38]
Generated Node #0,0,0: 28:[32, 38] Operation: 70-32=38
Exploring Operation: 32-32=0, Resulting Numbers: [70, 0]
Generated Node #0,0,1: 28:[70, 0] Operation: 32-32=0
Exploring Operation: 70-32=38, Resulting Numbers: [32, 38]
Generated Node #0,0,2: 28:[32, 38] Operation: 70-32=38
Exploring Operation: 32/32=1, Resulting Numbers: [70, 1]
Generated Node #0,0,3: 28:[70, 1] Operation: 32/32=1
Moving to Node #0,0,0
Current State: 28:[32, 38], Operations: ['98-28=70', '70-32=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[32, 38], Operations: ['98-28=70', '70-32=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[70, 1], Operations: ['98-28=70', '32/32=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[70, 0], Operations: ['98-28=70', '32-32=0']
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 70*0=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[98, 28, 1], Operations: ['32/32=1']
Exploring Operation: 98-28=70, Resulting Numbers: [1, 70]
Generated Node #0,3,0: 28:[1, 70] Operation: 98-28=70
Exploring Operation: 98-1=97, Resulting Numbers: [28, 97]
Generated Node #0,3,1: 28:[28, 97] Operation: 98-1=97
Exploring Operation: 98/1=98, Resulting Numbers: [28, 98]
Generated Node #0,3,2: 28:[28, 98] Operation: 98/1=98
Exploring Operation: 98*1=98, Resulting Numbers: [28, 98]
Generated Node #0,3,3: 28:[28, 98] Operation: 98*1=98
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[1, 70], Operations: ['32/32=1', '98-28=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No 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: 28:[28, 97], Operations: ['32/32=1', '98-1=97']
Exploring Operation: 28+97=125, Resulting Numbers: [125]
125,28 unequal: No Solution
Exploring Operation: 28*97=2716, Resulting Numbers: [2716]
2716,28 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No 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: 28:[28, 98], Operations: ['32/32=1', '98/1=98']
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,28 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No 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: 28:[28, 98], Operations: ['32/32=1', '98*1=98']
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,28 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,28 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 |
[
38,
24,
57,
15
] | 51 | [
"24*57=1368",
"1368/38=36",
"15+36=51"
] | Current State: 51:[38, 24, 57, 15], Operations: []
Exploring Operation: 24*57=1368, Resulting Numbers: [38, 15, 1368]
Generated Node #2: [38, 15, 1368] from Operation: 24*57=1368
Current State: 51:[38, 15, 1368], Operations: ['24*57=1368']
Exploring Operation: 1368/38=36, Resulting Numbers: [15, 36]
Generated Node #3: [15, 36] from Operation: 1368/38=36
Current State: 51:[15, 36], Operations: ['24*57=1368', '1368/38=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[38, 24, 57, 15], Operations: []
Exploring Operation: 57-38=19, Resulting Numbers: [24, 15, 19]
Generated Node #0,0: 51:[24, 15, 19] Operation: 57-38=19
Exploring Operation: 38+24=62, Resulting Numbers: [57, 15, 62]
Generated Node #0,1: 51:[57, 15, 62] Operation: 38+24=62
Exploring Operation: 38+15=53, Resulting Numbers: [24, 57, 53]
Generated Node #0,2: 51:[24, 57, 53] Operation: 38+15=53
Exploring Operation: 38-24=14, Resulting Numbers: [57, 15, 14]
Generated Node #0,3: 51:[57, 15, 14] Operation: 38-24=14
Exploring Operation: 38-15=23, Resulting Numbers: [24, 57, 23]
Generated Node #0,4: 51:[24, 57, 23] Operation: 38-15=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[24, 15, 19], Operations: ['57-38=19']
Exploring Operation: 24+15=39, Resulting Numbers: [19, 39]
Generated Node #0,0,0: 51:[19, 39] Operation: 24+15=39
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 51:[15, 5] Operation: 24-19=5
Exploring Operation: 19-15=4, Resulting Numbers: [24, 4]
Generated Node #0,0,2: 51:[24, 4] Operation: 19-15=4
Exploring Operation: 24+19=43, Resulting Numbers: [15, 43]
Generated Node #0,0,3: 51:[15, 43] Operation: 24+19=43
Exploring Operation: 24-15=9, Resulting Numbers: [19, 9]
Generated Node #0,0,4: 51:[19, 9] Operation: 24-15=9
Moving to Node #0,0,1
Current State: 51:[15, 5], Operations: ['57-38=19', '24-19=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[19, 9], Operations: ['57-38=19', '24-15=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,51 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[24, 4], Operations: ['57-38=19', '19-15=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[15, 43], Operations: ['57-38=19', '24+19=43']
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,51 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[19, 39], Operations: ['57-38=19', '24+15=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,51 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,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,3
Current State: 51:[57, 15, 14], Operations: ['38-24=14']
Exploring Operation: 57-15=42, Resulting Numbers: [14, 42]
Generated Node #0,3,0: 51:[14, 42] Operation: 57-15=42
Exploring Operation: 57-14=43, Resulting Numbers: [15, 43]
Generated Node #0,3,1: 51:[15, 43] Operation: 57-14=43
Exploring Operation: 57+14=71, Resulting Numbers: [15, 71]
Generated Node #0,3,2: 51:[15, 71] Operation: 57+14=71
Exploring Operation: 15+14=29, Resulting Numbers: [57, 29]
Generated Node #0,3,3: 51:[57, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [57, 1]
Generated Node #0,3,4: 51:[57, 1] Operation: 15-14=1
Moving to Node #0,3,4
Current State: 51:[57, 1], Operations: ['38-24=14', '15-14=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[15, 43], Operations: ['38-24=14', '57-14=43']
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,51 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[14, 42], Operations: ['38-24=14', '57-15=42']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,51 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[57, 29], Operations: ['38-24=14', '15+14=29']
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[15, 71], Operations: ['38-24=14', '57+14=71']
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,51 unequal: No Solution
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,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,2
Current State: 51:[24, 57, 53], Operations: ['38+15=53']
Exploring Operation: 24+57=81, Resulting Numbers: [53, 81]
Generated Node #0,2,0: 51:[53, 81] Operation: 24+57=81
Exploring Operation: 57-53=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 51:[24, 4] Operation: 57-53=4
Exploring Operation: 24+53=77, Resulting Numbers: [57, 77]
Generated Node #0,2,2: 51:[57, 77] Operation: 24+53=77
Exploring Operation: 53-24=29, Resulting Numbers: [57, 29]
Generated Node #0,2,3: 51:[57, 29] Operation: 53-24=29
Exploring Operation: 57-24=33, Resulting Numbers: [53, 33]
Generated Node #0,2,4: 51:[53, 33] Operation: 57-24=33
Moving to Node #0,2,1
Current State: 51:[24, 4], Operations: ['38+15=53', '57-53=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[53, 33], Operations: ['38+15=53', '57-24=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,51 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[57, 29], Operations: ['38+15=53', '53-24=29']
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,51 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[53, 81], Operations: ['38+15=53', '24+57=81']
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,51 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[57, 77], Operations: ['38+15=53', '24+53=77']
Exploring Operation: 57*77=4389, Resulting Numbers: [4389]
4389,51 unequal: No Solution
Exploring Operation: 57+77=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,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:[57, 15, 62], Operations: ['38+24=62']
Exploring Operation: 62-15=47, Resulting Numbers: [57, 47]
Generated Node #0,1,0: 51:[57, 47] Operation: 62-15=47
Exploring Operation: 57+15=72, Resulting Numbers: [62, 72]
Generated Node #0,1,1: 51:[62, 72] Operation: 57+15=72
Exploring Operation: 57-15=42, Resulting Numbers: [62, 42]
Generated Node #0,1,2: 51:[62, 42] Operation: 57-15=42
Exploring Operation: 15+62=77, Resulting Numbers: [57, 77]
Generated Node #0,1,3: 51:[57, 77] Operation: 15+62=77
Exploring Operation: 62-57=5, Resulting Numbers: [15, 5]
Generated Node #0,1,4: 51:[15, 5] Operation: 62-57=5
Moving to Node #0,1,4
Current State: 51:[15, 5], Operations: ['38+24=62', '62-57=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[57, 47], Operations: ['38+24=62', '62-15=47']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[62, 42], Operations: ['38+24=62', '57-15=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[62, 72], Operations: ['38+24=62', '57+15=72']
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 62+72=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 62*72=4464, Resulting Numbers: [4464]
4464,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[57, 77], Operations: ['38+24=62', '15+62=77']
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 57*77=4389, Resulting Numbers: [4389]
4389,51 unequal: No Solution
Exploring Operation: 57+77=134, Resulting Numbers: [134]
134,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,4
Current State: 51:[24, 57, 23], Operations: ['38-15=23']
Exploring Operation: 24+23=47, Resulting Numbers: [57, 47]
Generated Node #0,4,0: 51:[57, 47] Operation: 24+23=47
Exploring Operation: 57-24=33, Resulting Numbers: [23, 33]
Generated Node #0,4,1: 51:[23, 33] Operation: 57-24=33
Exploring Operation: 24+57=81, Resulting Numbers: [23, 81]
Generated Node #0,4,2: 51:[23, 81] Operation: 24+57=81
Exploring Operation: 57-23=34, Resulting Numbers: [24, 34]
Generated Node #0,4,3: 51:[24, 34] Operation: 57-23=34
Exploring Operation: 24-23=1, Resulting Numbers: [57, 1]
Generated Node #0,4,4: 51:[57, 1] Operation: 24-23=1
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 51:[57, 1], Operations: ['38-15=23', '24-23=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,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,4,0
Current State: 51:[57, 47], Operations: ['38-15=23', '24+23=47']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,51 unequal: No Solution
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,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,4,1
Current State: 51:[23, 33], Operations: ['38-15=23', '57-24=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,51 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,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,4,3
Current State: 51:[24, 34], Operations: ['38-15=23', '57-23=34']
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,51 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,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,4,2
Current State: 51:[23, 81], Operations: ['38-15=23', '24+57=81']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,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_5 | sum_heuristic |
[
65,
9,
97,
13
] | 83 | [
"65/13=5",
"97-9=88",
"88-5=83"
] | Current State: 83:[65, 9, 97, 13], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [9, 97, 5]
Generated Node #2: [9, 97, 5] from Operation: 65/13=5
Current State: 83:[9, 97, 5], Operations: ['65/13=5']
Exploring Operation: 97-9=88, Resulting Numbers: [5, 88]
Generated Node #3: [5, 88] from Operation: 97-9=88
Current State: 83:[5, 88], Operations: ['65/13=5', '97-9=88']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[65, 9, 97, 13], Operations: []
Exploring Operation: 65+13=78, Resulting Numbers: [9, 97, 78]
Generated Node #0,0: 83:[9, 97, 78] Operation: 65+13=78
Exploring Operation: 65+9=74, Resulting Numbers: [97, 13, 74]
Generated Node #0,1: 83:[97, 13, 74] Operation: 65+9=74
Exploring Operation: 9*13=117, Resulting Numbers: [65, 97, 117]
Generated Node #0,2: 83:[65, 97, 117] Operation: 9*13=117
Moving to Node #0,2
Current State: 83:[65, 97, 117], Operations: ['9*13=117']
Exploring Operation: 117-65=52, Resulting Numbers: [97, 52]
Generated Node #0,2,0: 83:[97, 52] Operation: 117-65=52
Exploring Operation: 117-97=20, Resulting Numbers: [65, 20]
Generated Node #0,2,1: 83:[65, 20] Operation: 117-97=20
Exploring Operation: 97-65=32, Resulting Numbers: [117, 32]
Generated Node #0,2,2: 83:[117, 32] Operation: 97-65=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[97, 52], Operations: ['9*13=117', '117-65=52']
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,83 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,83 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[65, 20], Operations: ['9*13=117', '117-97=20']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,83 unequal: No Solution
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[117, 32], Operations: ['9*13=117', '97-65=32']
Exploring Operation: 117*32=3744, Resulting Numbers: [3744]
3744,83 unequal: No Solution
Exploring Operation: 117+32=149, Resulting Numbers: [149]
149,83 unequal: No Solution
Exploring Operation: 117-32=85, Resulting Numbers: [85]
85,83 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: 83:[9, 97, 78], Operations: ['65+13=78']
Exploring Operation: 9+97=106, Resulting Numbers: [78, 106]
Generated Node #0,0,0: 83:[78, 106] Operation: 9+97=106
Exploring Operation: 9+78=87, Resulting Numbers: [97, 87]
Generated Node #0,0,1: 83:[97, 87] Operation: 9+78=87
Exploring Operation: 97-9=88, Resulting Numbers: [78, 88]
Generated Node #0,0,2: 83:[78, 88] Operation: 97-9=88
Moving to Node #0,1
Current State: 83:[97, 13, 74], Operations: ['65+9=74']
Exploring Operation: 97+13=110, Resulting Numbers: [74, 110]
Generated Node #0,1,0: 83:[74, 110] Operation: 97+13=110
Exploring Operation: 97-13=84, Resulting Numbers: [74, 84]
Generated Node #0,1,1: 83:[74, 84] Operation: 97-13=84
Exploring Operation: 13+74=87, Resulting Numbers: [97, 87]
Generated Node #0,1,2: 83:[97, 87] Operation: 13+74=87
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[74, 84], Operations: ['65+9=74', '97-13=84']
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[97, 87], Operations: ['65+9=74', '13+74=87']
Exploring Operation: 97*87=8439, Resulting Numbers: [8439]
8439,83 unequal: No Solution
Exploring Operation: 97+87=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 97-87=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[74, 110], Operations: ['65+9=74', '97+13=110']
Exploring Operation: 74*110=8140, Resulting Numbers: [8140]
8140,83 unequal: No Solution
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 74+110=184, Resulting Numbers: [184]
184,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 83:[78, 88], Operations: ['65+13=78', '97-9=88']
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,83 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[97, 87], Operations: ['65+13=78', '9+78=87']
Exploring Operation: 97*87=8439, Resulting Numbers: [8439]
8439,83 unequal: No Solution
Exploring Operation: 97+87=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 97-87=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[78, 106], Operations: ['65+13=78', '9+97=106']
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,83 unequal: No Solution
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,83 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
63,
2,
53
] | 19 | [
"7+63=70",
"53-2=51",
"70-51=19"
] | Current State: 19:[7, 63, 2, 53], Operations: []
Exploring Operation: 7+63=70, Resulting Numbers: [2, 53, 70]
Generated Node #2: [2, 53, 70] from Operation: 7+63=70
Current State: 19:[2, 53, 70], Operations: ['7+63=70']
Exploring Operation: 53-2=51, Resulting Numbers: [70, 51]
Generated Node #3: [70, 51] from Operation: 53-2=51
Current State: 19:[70, 51], Operations: ['7+63=70', '53-2=51']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[7, 63, 2, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [7, 2, 10]
Generated Node #0,0: 19:[7, 2, 10] Operation: 63-53=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[7, 2, 10], Operations: ['63-53=10']
Exploring Operation: 2*10=20, Resulting Numbers: [7, 20]
Generated Node #0,0,0: 19:[7, 20] Operation: 2*10=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[7, 20], Operations: ['63-53=10', '2*10=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
83,
34,
74
] | 44 | [
"83-19=64",
"34+74=108",
"108-64=44"
] | Current State: 44:[19, 83, 34, 74], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [34, 74, 64]
Generated Node #2: [34, 74, 64] from Operation: 83-19=64
Current State: 44:[34, 74, 64], Operations: ['83-19=64']
Exploring Operation: 34+74=108, Resulting Numbers: [64, 108]
Generated Node #3: [64, 108] from Operation: 34+74=108
Current State: 44:[64, 108], Operations: ['83-19=64', '34+74=108']
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[19, 83, 34, 74], Operations: []
Exploring Operation: 83-34=49, Resulting Numbers: [19, 74, 49]
Generated Node #0,0: 44:[19, 74, 49] Operation: 83-34=49
Exploring Operation: 74-34=40, Resulting Numbers: [19, 83, 40]
Generated Node #0,1: 44:[19, 83, 40] Operation: 74-34=40
Exploring Operation: 83-74=9, Resulting Numbers: [19, 34, 9]
Generated Node #0,2: 44:[19, 34, 9] Operation: 83-74=9
Moving to Node #0,2
Current State: 44:[19, 34, 9], Operations: ['83-74=9']
Exploring Operation: 34+9=43, Resulting Numbers: [19, 43]
Generated Node #0,2,0: 44:[19, 43] Operation: 34+9=43
Exploring Operation: 34-9=25, Resulting Numbers: [19, 25]
Generated Node #0,2,1: 44:[19, 25] Operation: 34-9=25
Exploring Operation: 34-19=15, Resulting Numbers: [9, 15]
Generated Node #0,2,2: 44:[9, 15] Operation: 34-19=15
Moving to Node #0,0
Current State: 44:[19, 74, 49], Operations: ['83-34=49']
Exploring Operation: 74-49=25, Resulting Numbers: [19, 25]
Generated Node #0,0,0: 44:[19, 25] Operation: 74-49=25
Exploring Operation: 49-19=30, Resulting Numbers: [74, 30]
Generated Node #0,0,1: 44:[74, 30] Operation: 49-19=30
Exploring Operation: 74-19=55, Resulting Numbers: [49, 55]
Generated Node #0,0,2: 44:[49, 55] Operation: 74-19=55
Moving to Node #0,1
Current State: 44:[19, 83, 40], Operations: ['74-34=40']
Exploring Operation: 83-40=43, Resulting Numbers: [19, 43]
Generated Node #0,1,0: 44:[19, 43] Operation: 83-40=43
Exploring Operation: 40-19=21, Resulting Numbers: [83, 21]
Generated Node #0,1,1: 44:[83, 21] Operation: 40-19=21
Exploring Operation: 83-19=64, Resulting Numbers: [40, 64]
Generated Node #0,1,2: 44:[40, 64] Operation: 83-19=64
Moving to Node #0,2,0
Current State: 44:[19, 43], Operations: ['83-74=9', '34+9=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,44 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[19, 43], Operations: ['74-34=40', '83-40=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[9, 15], Operations: ['83-74=9', '34-19=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[19, 25], Operations: ['83-74=9', '34-9=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,44 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[19, 83, 34, 74], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [19, 34, 9]
Generated Node #0,2: 44:[19, 34, 9] Operation: 83-74=9
Moving to Node #0,2
Current State: 44:[19, 34, 9], Operations: ['83-74=9']
Exploring Operation: 34-9=25, Resulting Numbers: [19, 25]
Generated Node #0,2,1: 44:[19, 25] Operation: 34-9=25
Moving to Node #0,2,1
Current State: 44:[19, 25], Operations: ['83-74=9', '34-9=25']
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
77,
63,
80,
15
] | 18 | [
"80-77=3",
"15*3=45",
"63-45=18"
] | Current State: 18:[77, 63, 80, 15], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [63, 15, 3]
Generated Node #2: [63, 15, 3] from Operation: 80-77=3
Current State: 18:[63, 15, 3], Operations: ['80-77=3']
Exploring Operation: 15*3=45, Resulting Numbers: [63, 45]
Generated Node #3: [63, 45] from Operation: 15*3=45
Current State: 18:[63, 45], Operations: ['80-77=3', '15*3=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[77, 63, 80, 15], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [77, 15, 17]
Generated Node #0,0: 18:[77, 15, 17] Operation: 80-63=17
Exploring Operation: 77-63=14, Resulting Numbers: [80, 15, 14]
Generated Node #0,1: 18:[80, 15, 14] Operation: 77-63=14
Exploring Operation: 77-15=62, Resulting Numbers: [63, 80, 62]
Generated Node #0,2: 18:[63, 80, 62] Operation: 77-15=62
Exploring Operation: 80-77=3, Resulting Numbers: [63, 15, 3]
Generated Node #0,3: 18:[63, 15, 3] Operation: 80-77=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[63, 15, 3], Operations: ['80-77=3']
Exploring Operation: 63/3=21, Resulting Numbers: [15, 21]
Generated Node #0,3,0: 18:[15, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [15, 60]
Generated Node #0,3,1: 18:[15, 60] Operation: 63-3=60
Exploring Operation: 63-15=48, Resulting Numbers: [3, 48]
Generated Node #0,3,2: 18:[3, 48] Operation: 63-15=48
Exploring Operation: 15+3=18, Resulting Numbers: [63, 18]
Generated Node #0,3,3: 18:[63, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[15, 21], Operations: ['80-77=3', '63/3=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,18 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[3, 48], Operations: ['80-77=3', '63-15=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[15, 60], Operations: ['80-77=3', '63-3=60']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,18 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,18 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[63, 18], Operations: ['80-77=3', '15+3=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,18 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,18 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: 18:[77, 15, 17], Operations: ['80-63=17']
Exploring Operation: 77-17=60, Resulting Numbers: [15, 60]
Generated Node #0,0,0: 18:[15, 60] Operation: 77-17=60
Exploring Operation: 15+17=32, Resulting Numbers: [77, 32]
Generated Node #0,0,1: 18:[77, 32] Operation: 15+17=32
Exploring Operation: 77-15=62, Resulting Numbers: [17, 62]
Generated Node #0,0,2: 18:[17, 62] Operation: 77-15=62
Exploring Operation: 17-15=2, Resulting Numbers: [77, 2]
Generated Node #0,0,3: 18:[77, 2] Operation: 17-15=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[15, 60], Operations: ['80-63=17', '77-17=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,18 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[17, 62], Operations: ['80-63=17', '77-15=62']
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,18 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[77, 2], Operations: ['80-63=17', '17-15=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,18 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,18 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[77, 32], Operations: ['80-63=17', '15+17=32']
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,18 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,18 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: 18:[80, 15, 14], Operations: ['77-63=14']
Exploring Operation: 15-14=1, Resulting Numbers: [80, 1]
Generated Node #0,1,0: 18:[80, 1] Operation: 15-14=1
Exploring Operation: 80-15=65, Resulting Numbers: [14, 65]
Generated Node #0,1,1: 18:[14, 65] Operation: 80-15=65
Exploring Operation: 80-14=66, Resulting Numbers: [15, 66]
Generated Node #0,1,2: 18:[15, 66] Operation: 80-14=66
Exploring Operation: 15+14=29, Resulting Numbers: [80, 29]
Generated Node #0,1,3: 18:[80, 29] Operation: 15+14=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[14, 65], Operations: ['77-63=14', '80-15=65']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,18 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[15, 66], Operations: ['77-63=14', '80-14=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,18 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[80, 1], Operations: ['77-63=14', '15-14=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[80, 29], Operations: ['77-63=14', '15+14=29']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,18 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: 18:[63, 80, 62], Operations: ['77-15=62']
Exploring Operation: 63-62=1, Resulting Numbers: [80, 1]
Generated Node #0,2,0: 18:[80, 1] Operation: 63-62=1
Exploring Operation: 80-63=17, Resulting Numbers: [62, 17]
Generated Node #0,2,1: 18:[62, 17] Operation: 80-63=17
Exploring Operation: 80-62=18, Resulting Numbers: [63, 18]
Generated Node #0,2,2: 18:[63, 18] Operation: 80-62=18
Exploring Operation: 63+80=143, Resulting Numbers: [62, 143]
Generated Node #0,2,3: 18:[62, 143] Operation: 63+80=143
Moving to Node #0,2,1
Current State: 18:[62, 17], Operations: ['77-15=62', '80-63=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,18 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[63, 18], Operations: ['77-15=62', '80-62=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[80, 1], Operations: ['77-15=62', '63-62=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[62, 143], Operations: ['77-15=62', '63+80=143']
Exploring Operation: 62+143=205, Resulting Numbers: [205]
205,18 unequal: No Solution
Exploring Operation: 143-62=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 62*143=8866, Resulting Numbers: [8866]
8866,18 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 |
[
12,
73,
73,
42
] | 42 | [
"73-73=0",
"12*0=0",
"42+0=42"
] | Current State: 42:[12, 73, 73, 42], Operations: []
Exploring Operation: 73-73=0, Resulting Numbers: [12, 42, 0]
Generated Node #2: [12, 42, 0] from Operation: 73-73=0
Current State: 42:[12, 42, 0], Operations: ['73-73=0']
Exploring Operation: 12*0=0, Resulting Numbers: [42, 0]
Generated Node #3: [42, 0] from Operation: 12*0=0
Current State: 42:[42, 0], Operations: ['73-73=0', '12*0=0']
Exploring Operation: 42+0=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[12, 73, 73, 42], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [12, 73, 31]
Generated Node #0,0: 42:[12, 73, 31] Operation: 73-42=31
Exploring Operation: 73-73=0, Resulting Numbers: [12, 42, 0]
Generated Node #0,1: 42:[12, 42, 0] Operation: 73-73=0
Exploring Operation: 73/73=1, Resulting Numbers: [12, 42, 1]
Generated Node #0,2: 42:[12, 42, 1] Operation: 73/73=1
Exploring Operation: 73-42=31, Resulting Numbers: [12, 73, 31]
Generated Node #0,3: 42:[12, 73, 31] Operation: 73-42=31
Moving to Node #0,2
Current State: 42:[12, 42, 1], Operations: ['73/73=1']
Exploring Operation: 42*1=42, Resulting Numbers: [12, 42]
Generated Node #0,2,0: 42:[12, 42] Operation: 42*1=42
Exploring Operation: 12*1=12, Resulting Numbers: [42, 12]
Generated Node #0,2,1: 42:[42, 12] Operation: 12*1=12
Exploring Operation: 12/1=12, Resulting Numbers: [42, 12]
Generated Node #0,2,2: 42:[42, 12] Operation: 12/1=12
Exploring Operation: 12+1=13, Resulting Numbers: [42, 13]
Generated Node #0,2,3: 42:[42, 13] Operation: 12+1=13
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[42, 13], Operations: ['73/73=1', '12+1=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,42 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[12, 42], Operations: ['73/73=1', '42*1=42']
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[42, 12], Operations: ['73/73=1', '12*1=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,42 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[42, 12], Operations: ['73/73=1', '12/1=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,42 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 42:[12, 42, 0], Operations: ['73-73=0']
Exploring Operation: 12*0=0, Resulting Numbers: [42, 0]
Generated Node #0,1,0: 42:[42, 0] Operation: 12*0=0
Exploring Operation: 12-0=12, Resulting Numbers: [42, 12]
Generated Node #0,1,1: 42:[42, 12] Operation: 12-0=12
Exploring Operation: 42+0=42, Resulting Numbers: [12, 42]
Generated Node #0,1,2: 42:[12, 42] Operation: 42+0=42
Exploring Operation: 12+0=12, Resulting Numbers: [42, 12]
Generated Node #0,1,3: 42:[42, 12] Operation: 12+0=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[42, 0], Operations: ['73-73=0', '12*0=0']
Exploring Operation: 42*0=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[12, 73, 73, 42], Operations: []
Exploring Operation: 73-73=0, Resulting Numbers: [12, 42, 0]
Generated Node #0,1: 42:[12, 42, 0] Operation: 73-73=0
Moving to Node #0,1
Current State: 42:[12, 42, 0], Operations: ['73-73=0']
Exploring Operation: 12*0=0, Resulting Numbers: [42, 0]
Generated Node #0,1,0: 42:[42, 0] Operation: 12*0=0
Moving to Node #0,1,0
Current State: 42:[42, 0], Operations: ['73-73=0', '12*0=0']
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
71,
14,
80,
53
] | 48 | [
"71+14=85",
"80+53=133",
"133-85=48"
] | Current State: 48:[71, 14, 80, 53], Operations: []
Exploring Operation: 71+14=85, Resulting Numbers: [80, 53, 85]
Generated Node #2: [80, 53, 85] from Operation: 71+14=85
Current State: 48:[80, 53, 85], Operations: ['71+14=85']
Exploring Operation: 80+53=133, Resulting Numbers: [85, 133]
Generated Node #3: [85, 133] from Operation: 80+53=133
Current State: 48:[85, 133], Operations: ['71+14=85', '80+53=133']
Exploring Operation: 133-85=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[71, 14, 80, 53], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [80, 53, 57]
Generated Node #0,0: 48:[80, 53, 57] Operation: 71-14=57
Exploring Operation: 80-53=27, Resulting Numbers: [71, 14, 27]
Generated Node #0,1: 48:[71, 14, 27] Operation: 80-53=27
Exploring Operation: 71-53=18, Resulting Numbers: [14, 80, 18]
Generated Node #0,2: 48:[14, 80, 18] Operation: 71-53=18
Exploring Operation: 80-71=9, Resulting Numbers: [14, 53, 9]
Generated Node #0,3: 48:[14, 53, 9] Operation: 80-71=9
Exploring Operation: 80-14=66, Resulting Numbers: [71, 53, 66]
Generated Node #0,4: 48:[71, 53, 66] Operation: 80-14=66
Moving to Node #0,3
Current State: 48:[14, 53, 9], Operations: ['80-71=9']
Exploring Operation: 53+9=62, Resulting Numbers: [14, 62]
Generated Node #0,3,0: 48:[14, 62] Operation: 53+9=62
Exploring Operation: 14-9=5, Resulting Numbers: [53, 5]
Generated Node #0,3,1: 48:[53, 5] Operation: 14-9=5
Exploring Operation: 14+9=23, Resulting Numbers: [53, 23]
Generated Node #0,3,2: 48:[53, 23] Operation: 14+9=23
Exploring Operation: 53-9=44, Resulting Numbers: [14, 44]
Generated Node #0,3,3: 48:[14, 44] Operation: 53-9=44
Exploring Operation: 53-14=39, Resulting Numbers: [9, 39]
Generated Node #0,3,4: 48:[9, 39] Operation: 53-14=39
Moving to Node #0,1
Current State: 48:[71, 14, 27], Operations: ['80-53=27']
Exploring Operation: 71+14=85, Resulting Numbers: [27, 85]
Generated Node #0,1,0: 48:[27, 85] Operation: 71+14=85
Exploring Operation: 71-27=44, Resulting Numbers: [14, 44]
Generated Node #0,1,1: 48:[14, 44] Operation: 71-27=44
Exploring Operation: 71-14=57, Resulting Numbers: [27, 57]
Generated Node #0,1,2: 48:[27, 57] Operation: 71-14=57
Exploring Operation: 27-14=13, Resulting Numbers: [71, 13]
Generated Node #0,1,3: 48:[71, 13] Operation: 27-14=13
Exploring Operation: 14+27=41, Resulting Numbers: [71, 41]
Generated Node #0,1,4: 48:[71, 41] Operation: 14+27=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[14, 44], Operations: ['80-53=27', '71-27=44']
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,48 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[27, 57], Operations: ['80-53=27', '71-14=57']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[71, 13], Operations: ['80-53=27', '27-14=13']
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[71, 41], Operations: ['80-53=27', '14+27=41']
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,48 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[27, 85], Operations: ['80-53=27', '71+14=85']
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 27+85=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Exploring Operation: 27*85=2295, Resulting Numbers: [2295]
2295,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 48:[14, 80, 18], Operations: ['71-53=18']
Exploring Operation: 14+80=94, Resulting Numbers: [18, 94]
Generated Node #0,2,0: 48:[18, 94] Operation: 14+80=94
Exploring Operation: 18-14=4, Resulting Numbers: [80, 4]
Generated Node #0,2,1: 48:[80, 4] Operation: 18-14=4
Exploring Operation: 80-14=66, Resulting Numbers: [18, 66]
Generated Node #0,2,2: 48:[18, 66] Operation: 80-14=66
Exploring Operation: 80-18=62, Resulting Numbers: [14, 62]
Generated Node #0,2,3: 48:[14, 62] Operation: 80-18=62
Exploring Operation: 14+18=32, Resulting Numbers: [80, 32]
Generated Node #0,2,4: 48:[80, 32] Operation: 14+18=32
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[14, 62], Operations: ['71-53=18', '80-18=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[71, 14, 80, 53], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [14, 80, 18]
Generated Node #0,2: 48:[14, 80, 18] Operation: 71-53=18
Moving to Node #0,2
Current State: 48:[14, 80, 18], Operations: ['71-53=18']
Exploring Operation: 80-18=62, Resulting Numbers: [14, 62]
Generated Node #0,2,3: 48:[14, 62] Operation: 80-18=62
Moving to Node #0,2,3
Current State: 48:[14, 62], Operations: ['71-53=18', '80-18=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
36,
53,
96,
58
] | 84 | [
"58-53=5",
"36*5=180",
"180-96=84"
] | Current State: 84:[36, 53, 96, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [36, 96, 5]
Generated Node #2: [36, 96, 5] from Operation: 58-53=5
Current State: 84:[36, 96, 5], Operations: ['58-53=5']
Exploring Operation: 36*5=180, Resulting Numbers: [96, 180]
Generated Node #3: [96, 180] from Operation: 36*5=180
Current State: 84:[96, 180], Operations: ['58-53=5', '36*5=180']
Exploring Operation: 180-96=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[36, 53, 96, 58], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [36, 58, 43]
Generated Node #0,0: 84:[36, 58, 43] Operation: 96-53=43
Exploring Operation: 58-53=5, Resulting Numbers: [36, 96, 5]
Generated Node #0,1: 84:[36, 96, 5] Operation: 58-53=5
Exploring Operation: 96-58=38, Resulting Numbers: [36, 53, 38]
Generated Node #0,2: 84:[36, 53, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[36, 96, 5], Operations: ['58-53=5']
Exploring Operation: 36+5=41, Resulting Numbers: [96, 41]
Generated Node #0,1,0: 84:[96, 41] Operation: 36+5=41
Exploring Operation: 36-5=31, Resulting Numbers: [96, 31]
Generated Node #0,1,1: 84:[96, 31] Operation: 36-5=31
Exploring Operation: 96-5=91, Resulting Numbers: [36, 91]
Generated Node #0,1,2: 84:[36, 91] Operation: 96-5=91
Moving to Node #0,1,0
Current State: 84:[96, 41], Operations: ['58-53=5', '36+5=41']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,84 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[36, 91], Operations: ['58-53=5', '96-5=91']
Exploring Operation: 36+91=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 36*91=3276, Resulting Numbers: [3276]
3276,84 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[96, 31], Operations: ['58-53=5', '36-5=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,84 unequal: No Solution
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,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,2
Current State: 84:[36, 53, 38], Operations: ['96-58=38']
Exploring Operation: 36+53=89, Resulting Numbers: [38, 89]
Generated Node #0,2,0: 84:[38, 89] Operation: 36+53=89
Exploring Operation: 53-38=15, Resulting Numbers: [36, 15]
Generated Node #0,2,1: 84:[36, 15] Operation: 53-38=15
Exploring Operation: 53-36=17, Resulting Numbers: [38, 17]
Generated Node #0,2,2: 84:[38, 17] Operation: 53-36=17
Moving to Node #0,2,1
Current State: 84:[36, 15], Operations: ['96-58=38', '53-38=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,84 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[38, 17], Operations: ['96-58=38', '53-36=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[38, 89], Operations: ['96-58=38', '36+53=89']
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,84 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,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,0
Current State: 84:[36, 58, 43], Operations: ['96-53=43']
Exploring Operation: 58-43=15, Resulting Numbers: [36, 15]
Generated Node #0,0,0: 84:[36, 15] Operation: 58-43=15
Exploring Operation: 58-36=22, Resulting Numbers: [43, 22]
Generated Node #0,0,1: 84:[43, 22] Operation: 58-36=22
Exploring Operation: 36+58=94, Resulting Numbers: [43, 94]
Generated Node #0,0,2: 84:[43, 94] Operation: 36+58=94
Moving to Node #0,0,1
Current State: 84:[43, 22], Operations: ['96-53=43', '58-36=22']
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,84 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[36, 15], Operations: ['96-53=43', '58-43=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,84 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[43, 94], Operations: ['96-53=43', '36+58=94']
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 43*94=4042, Resulting Numbers: [4042]
4042,84 unequal: No Solution
Exploring Operation: 43+94=137, Resulting Numbers: [137]
137,84 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 |
[
22,
97,
68,
1
] | 50 | [
"22+97=119",
"68+1=69",
"119-69=50"
] | Current State: 50:[22, 97, 68, 1], Operations: []
Exploring Operation: 22+97=119, Resulting Numbers: [68, 1, 119]
Generated Node #2: [68, 1, 119] from Operation: 22+97=119
Current State: 50:[68, 1, 119], Operations: ['22+97=119']
Exploring Operation: 68+1=69, Resulting Numbers: [119, 69]
Generated Node #3: [119, 69] from Operation: 68+1=69
Current State: 50:[119, 69], Operations: ['22+97=119', '68+1=69']
Exploring Operation: 119-69=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[22, 97, 68, 1], Operations: []
Exploring Operation: 97-22=75, Resulting Numbers: [68, 1, 75]
Generated Node #0,0: 50:[68, 1, 75] Operation: 97-22=75
Exploring Operation: 97-68=29, Resulting Numbers: [22, 1, 29]
Generated Node #0,1: 50:[22, 1, 29] Operation: 97-68=29
Moving to Node #0,1
Current State: 50:[22, 1, 29], Operations: ['97-68=29']
Exploring Operation: 29-22=7, Resulting Numbers: [1, 7]
Generated Node #0,1,0: 50:[1, 7] Operation: 29-22=7
Exploring Operation: 22+29=51, Resulting Numbers: [1, 51]
Generated Node #0,1,1: 50:[1, 51] Operation: 22+29=51
Moving to Node #0,0
Current State: 50:[68, 1, 75], Operations: ['97-22=75']
Exploring Operation: 75-68=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 50:[1, 7] Operation: 75-68=7
Exploring Operation: 68-1=67, Resulting Numbers: [75, 67]
Generated Node #0,0,1: 50:[75, 67] Operation: 68-1=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[1, 7], Operations: ['97-22=75', '75-68=7']
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[75, 67], Operations: ['97-22=75', '68-1=67']
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,50 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: 50:[1, 51], Operations: ['97-68=29', '22+29=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[22, 97, 68, 1], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [22, 1, 29]
Generated Node #0,1: 50:[22, 1, 29] Operation: 97-68=29
Moving to Node #0,1
Current State: 50:[22, 1, 29], Operations: ['97-68=29']
Exploring Operation: 22+29=51, Resulting Numbers: [1, 51]
Generated Node #0,1,1: 50:[1, 51] Operation: 22+29=51
Moving to Node #0,1,1
Current State: 50:[1, 51], Operations: ['97-68=29', '22+29=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.