nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5
values | heuristic stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
[
28,
34,
57,
98
] | 21 | [
"28+34=62",
"98-57=41",
"62-41=21"
] | Current State: 21:[28, 34, 57, 98], Operations: []
Exploring Operation: 28+34=62, Resulting Numbers: [57, 98, 62]
Generated Node #2: [57, 98, 62] from Operation: 28+34=62
Current State: 21:[57, 98, 62], Operations: ['28+34=62']
Exploring Operation: 98-57=41, Resulting Numbers: [62, 41]
Generated Node #3: [62, 41] from Operation: 98-57=41
Current State: 21:[62, 41], Operations: ['28+34=62', '98-57=41']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[28, 34, 57, 98], Operations: []
Exploring Operation: 98-34=64, Resulting Numbers: [28, 57, 64]
Generated Node #0,0: 21:[28, 57, 64] Operation: 98-34=64
Exploring Operation: 98-57=41, Resulting Numbers: [28, 34, 41]
Generated Node #0,1: 21:[28, 34, 41] Operation: 98-57=41
Exploring Operation: 57-34=23, Resulting Numbers: [28, 98, 23]
Generated Node #0,2: 21:[28, 98, 23] Operation: 57-34=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[28, 34, 41], Operations: ['98-57=41']
Exploring Operation: 41-28=13, Resulting Numbers: [34, 13]
Generated Node #0,1,0: 21:[34, 13] Operation: 41-28=13
Exploring Operation: 34-28=6, Resulting Numbers: [41, 6]
Generated Node #0,1,1: 21:[41, 6] Operation: 34-28=6
Exploring Operation: 41-34=7, Resulting Numbers: [28, 7]
Generated Node #0,1,2: 21:[28, 7] Operation: 41-34=7
Moving to Node #0,1,2
Current State: 21:[28, 7], Operations: ['98-57=41', '41-34=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[28, 34, 57, 98], Operations: []
Exploring Operation: 98-57=41, Resulting Numbers: [28, 34, 41]
Generated Node #0,1: 21:[28, 34, 41] Operation: 98-57=41
Moving to Node #0,1
Current State: 21:[28, 34, 41], Operations: ['98-57=41']
Exploring Operation: 41-34=7, Resulting Numbers: [28, 7]
Generated Node #0,1,2: 21:[28, 7] Operation: 41-34=7
Moving to Node #0,1,2
Current State: 21:[28, 7], Operations: ['98-57=41', '41-34=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
19,
62,
24,
75
] | 18 | [
"19+62=81",
"24+75=99",
"99-81=18"
] | Current State: 18:[19, 62, 24, 75], Operations: []
Exploring Operation: 19+62=81, Resulting Numbers: [24, 75, 81]
Generated Node #2: [24, 75, 81] from Operation: 19+62=81
Current State: 18:[24, 75, 81], Operations: ['19+62=81']
Exploring Operation: 24+75=99, Resulting Numbers: [81, 99]
Generated Node #3: [81, 99] from Operation: 24+75=99
Current State: 18:[81, 99], Operations: ['19+62=81', '24+75=99']
Exploring Operation: 99-81=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[19, 62, 24, 75], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [19, 24, 13]
Generated Node #0,0: 18:[19, 24, 13] Operation: 75-62=13
Exploring Operation: 62-24=38, Resulting Numbers: [19, 75, 38]
Generated Node #0,1: 18:[19, 75, 38] Operation: 62-24=38
Exploring Operation: 75-24=51, Resulting Numbers: [19, 62, 51]
Generated Node #0,2: 18:[19, 62, 51] Operation: 75-24=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[19, 24, 13], Operations: ['75-62=13']
Exploring Operation: 24-19=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 18:[13, 5] Operation: 24-19=5
Exploring Operation: 24-13=11, Resulting Numbers: [19, 11]
Generated Node #0,0,1: 18:[19, 11] Operation: 24-13=11
Exploring Operation: 19-13=6, Resulting Numbers: [24, 6]
Generated Node #0,0,2: 18:[24, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[19, 11], Operations: ['75-62=13', '24-13=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,18 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,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,0
Current State: 18:[13, 5], Operations: ['75-62=13', '24-19=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[19, 62, 24, 75], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [19, 24, 13]
Generated Node #0,0: 18:[19, 24, 13] Operation: 75-62=13
Moving to Node #0,0
Current State: 18:[19, 24, 13], Operations: ['75-62=13']
Exploring Operation: 24-19=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 18:[13, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 18:[13, 5], Operations: ['75-62=13', '24-19=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
25,
77,
25,
32
] | 45 | [
"25+77=102",
"25+32=57",
"102-57=45"
] | Current State: 45:[25, 77, 25, 32], Operations: []
Exploring Operation: 25+77=102, Resulting Numbers: [32, 102]
Generated Node #2: [32, 102] from Operation: 25+77=102
Current State: 45:[32, 102], Operations: ['25+77=102']
Exploring Operation: 25+32=57, Resulting Numbers: [102, 57]
Generated Node #3: [102, 57] from Operation: 25+32=57
Current State: 45:[102, 57], Operations: ['25+77=102', '25+32=57']
Exploring Operation: 102-57=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 77, 25, 32], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [25, 25, 45]
Generated Node #0,0: 45:[25, 25, 45] Operation: 77-32=45
Exploring Operation: 32-25=7, Resulting Numbers: [77, 25, 7]
Generated Node #0,1: 45:[77, 25, 7] Operation: 32-25=7
Exploring Operation: 77-25=52, Resulting Numbers: [25, 32, 52]
Generated Node #0,2: 45:[25, 32, 52] Operation: 77-25=52
Exploring Operation: 77-25=52, Resulting Numbers: [25, 32, 52]
Generated Node #0,3: 45:[25, 32, 52] Operation: 77-25=52
Moving to Node #0,0
Current State: 45:[25, 25, 45], Operations: ['77-32=45']
Exploring Operation: 25+25=50, Resulting Numbers: [45, 50]
Generated Node #0,0,0: 45:[45, 50] Operation: 25+25=50
Exploring Operation: 25-25=0, Resulting Numbers: [45, 0]
Generated Node #0,0,1: 45:[45, 0] Operation: 25-25=0
Exploring Operation: 45-25=20, Resulting Numbers: [25, 20]
Generated Node #0,0,2: 45:[25, 20] Operation: 45-25=20
Exploring Operation: 25/25=1, Resulting Numbers: [45, 1]
Generated Node #0,0,3: 45:[45, 1] Operation: 25/25=1
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[45, 1], Operations: ['77-32=45', '25/25=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[25, 77, 25, 32], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [25, 25, 45]
Generated Node #0,0: 45:[25, 25, 45] Operation: 77-32=45
Moving to Node #0,0
Current State: 45:[25, 25, 45], Operations: ['77-32=45']
Exploring Operation: 25/25=1, Resulting Numbers: [45, 1]
Generated Node #0,0,3: 45:[45, 1] Operation: 25/25=1
Moving to Node #0,0,3
Current State: 45:[45, 1], Operations: ['77-32=45', '25/25=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
9,
79,
72,
23
] | 39 | [
"9+79=88",
"72-23=49",
"88-49=39"
] | Current State: 39:[9, 79, 72, 23], Operations: []
Exploring Operation: 9+79=88, Resulting Numbers: [72, 23, 88]
Generated Node #2: [72, 23, 88] from Operation: 9+79=88
Current State: 39:[72, 23, 88], Operations: ['9+79=88']
Exploring Operation: 72-23=49, Resulting Numbers: [88, 49]
Generated Node #3: [88, 49] from Operation: 72-23=49
Current State: 39:[88, 49], Operations: ['9+79=88', '72-23=49']
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 79, 72, 23], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [9, 23, 7]
Generated Node #0,0: 39:[9, 23, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 39:[9, 23, 7], Operations: ['79-72=7']
Exploring Operation: 23-9=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 39:[7, 14] Operation: 23-9=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[7, 14], Operations: ['79-72=7', '23-9=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
15,
36,
73
] | 54 | [
"87*36=3132",
"73-15=58",
"3132/58=54"
] | Current State: 54:[87, 15, 36, 73], Operations: []
Exploring Operation: 87*36=3132, Resulting Numbers: [15, 73, 3132]
Generated Node #2: [15, 73, 3132] from Operation: 87*36=3132
Current State: 54:[15, 73, 3132], Operations: ['87*36=3132']
Exploring Operation: 73-15=58, Resulting Numbers: [3132, 58]
Generated Node #3: [3132, 58] from Operation: 73-15=58
Current State: 54:[3132, 58], Operations: ['87*36=3132', '73-15=58']
Exploring Operation: 3132/58=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[87, 15, 36, 73], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [15, 36, 14]
Generated Node #0,0: 54:[15, 36, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[15, 36, 14], Operations: ['87-73=14']
Exploring Operation: 15+36=51, Resulting Numbers: [14, 51]
Generated Node #0,0,0: 54:[14, 51] Operation: 15+36=51
Moving to Node #0,0,0
Current State: 54:[14, 51], Operations: ['87-73=14', '15+36=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,54 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 |
[
25,
7,
22,
10
] | 97 | [
"10-7=3",
"25*3=75",
"22+75=97"
] | Current State: 97:[25, 7, 22, 10], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [25, 22, 3]
Generated Node #2: [25, 22, 3] from Operation: 10-7=3
Current State: 97:[25, 22, 3], Operations: ['10-7=3']
Exploring Operation: 25*3=75, Resulting Numbers: [22, 75]
Generated Node #3: [22, 75] from Operation: 25*3=75
Current State: 97:[22, 75], Operations: ['10-7=3', '25*3=75']
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[25, 7, 22, 10], Operations: []
Exploring Operation: 7*10=70, Resulting Numbers: [25, 22, 70]
Generated Node #0,0: 97:[25, 22, 70] Operation: 7*10=70
Moving to Node #0,0
Current State: 97:[25, 22, 70], Operations: ['7*10=70']
Exploring Operation: 25+22=47, Resulting Numbers: [70, 47]
Generated Node #0,0,0: 97:[70, 47] Operation: 25+22=47
Moving to Node #0,0,0
Current State: 97:[70, 47], Operations: ['7*10=70', '25+22=47']
Exploring Operation: 70+47=117, Resulting Numbers: [117]
117,97 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
20,
54,
56
] | 21 | [
"20-1=19",
"56-54=2",
"19+2=21"
] | Current State: 21:[1, 20, 54, 56], Operations: []
Exploring Operation: 20-1=19, Resulting Numbers: [54, 56, 19]
Generated Node #2: [54, 56, 19] from Operation: 20-1=19
Current State: 21:[54, 56, 19], Operations: ['20-1=19']
Exploring Operation: 56-54=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 56-54=2
Current State: 21:[19, 2], Operations: ['20-1=19', '56-54=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[1, 20, 54, 56], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [1, 20, 2]
Generated Node #0,0: 21:[1, 20, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[1, 20, 2], Operations: ['56-54=2']
Exploring Operation: 1+20=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 21:[2, 21] Operation: 1+20=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[2, 21], Operations: ['56-54=2', '1+20=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
65,
79,
75
] | 67 | [
"6+65=71",
"79-75=4",
"71-4=67"
] | Current State: 67:[6, 65, 79, 75], Operations: []
Exploring Operation: 6+65=71, Resulting Numbers: [79, 75, 71]
Generated Node #2: [79, 75, 71] from Operation: 6+65=71
Current State: 67:[79, 75, 71], Operations: ['6+65=71']
Exploring Operation: 79-75=4, Resulting Numbers: [71, 4]
Generated Node #3: [71, 4] from Operation: 79-75=4
Current State: 67:[71, 4], Operations: ['6+65=71', '79-75=4']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[6, 65, 79, 75], Operations: []
Exploring Operation: 6+65=71, Resulting Numbers: [79, 75, 71]
Generated Node #0,0: 67:[79, 75, 71] Operation: 6+65=71
Exploring Operation: 65-6=59, Resulting Numbers: [79, 75, 59]
Generated Node #0,1: 67:[79, 75, 59] Operation: 65-6=59
Exploring Operation: 75-6=69, Resulting Numbers: [65, 79, 69]
Generated Node #0,2: 67:[65, 79, 69] Operation: 75-6=69
Exploring Operation: 79-6=73, Resulting Numbers: [65, 75, 73]
Generated Node #0,3: 67:[65, 75, 73] Operation: 79-6=73
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[65, 79, 69], Operations: ['75-6=69']
Exploring Operation: 65+79=144, Resulting Numbers: [69, 144]
Generated Node #0,2,0: 67:[69, 144] Operation: 65+79=144
Exploring Operation: 69-65=4, Resulting Numbers: [79, 4]
Generated Node #0,2,1: 67:[79, 4] Operation: 69-65=4
Exploring Operation: 79-65=14, Resulting Numbers: [69, 14]
Generated Node #0,2,2: 67:[69, 14] Operation: 79-65=14
Exploring Operation: 79-69=10, Resulting Numbers: [65, 10]
Generated Node #0,2,3: 67:[65, 10] Operation: 79-69=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[69, 14], Operations: ['75-6=69', '79-65=14']
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,67 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[65, 10], Operations: ['75-6=69', '79-69=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[79, 4], Operations: ['75-6=69', '69-65=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,67 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[69, 144], Operations: ['75-6=69', '65+79=144']
Exploring Operation: 69*144=9936, Resulting Numbers: [9936]
9936,67 unequal: No Solution
Exploring Operation: 144-69=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 69+144=213, Resulting Numbers: [213]
213,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[65, 75, 73], Operations: ['79-6=73']
Exploring Operation: 65+75=140, Resulting Numbers: [73, 140]
Generated Node #0,3,0: 67:[73, 140] Operation: 65+75=140
Exploring Operation: 75-73=2, Resulting Numbers: [65, 2]
Generated Node #0,3,1: 67:[65, 2] Operation: 75-73=2
Exploring Operation: 75-65=10, Resulting Numbers: [73, 10]
Generated Node #0,3,2: 67:[73, 10] Operation: 75-65=10
Exploring Operation: 73-65=8, Resulting Numbers: [75, 8]
Generated Node #0,3,3: 67:[75, 8] Operation: 73-65=8
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[73, 10], Operations: ['79-6=73', '75-65=10']
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,67 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[65, 2], Operations: ['79-6=73', '75-73=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[6, 65, 79, 75], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [65, 75, 73]
Generated Node #0,3: 67:[65, 75, 73] Operation: 79-6=73
Moving to Node #0,3
Current State: 67:[65, 75, 73], Operations: ['79-6=73']
Exploring Operation: 75-73=2, Resulting Numbers: [65, 2]
Generated Node #0,3,1: 67:[65, 2] Operation: 75-73=2
Moving to Node #0,3,1
Current State: 67:[65, 2], Operations: ['79-6=73', '75-73=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
59,
25,
61,
71
] | 23 | [
"61-59=2",
"71-25=46",
"46/2=23"
] | Current State: 23:[59, 25, 61, 71], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [25, 71, 2]
Generated Node #2: [25, 71, 2] from Operation: 61-59=2
Current State: 23:[25, 71, 2], Operations: ['61-59=2']
Exploring Operation: 71-25=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 71-25=46
Current State: 23:[2, 46], Operations: ['61-59=2', '71-25=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[59, 25, 61, 71], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [25, 71, 2]
Generated Node #0,0: 23:[25, 71, 2] Operation: 61-59=2
Exploring Operation: 59-25=34, Resulting Numbers: [61, 71, 34]
Generated Node #0,1: 23:[61, 71, 34] Operation: 59-25=34
Exploring Operation: 71-59=12, Resulting Numbers: [25, 61, 12]
Generated Node #0,2: 23:[25, 61, 12] Operation: 71-59=12
Exploring Operation: 71-61=10, Resulting Numbers: [59, 25, 10]
Generated Node #0,3: 23:[59, 25, 10] Operation: 71-61=10
Moving to Node #0,2
Current State: 23:[25, 61, 12], Operations: ['71-59=12']
Exploring Operation: 61-12=49, Resulting Numbers: [25, 49]
Generated Node #0,2,0: 23:[25, 49] Operation: 61-12=49
Exploring Operation: 61-25=36, Resulting Numbers: [12, 36]
Generated Node #0,2,1: 23:[12, 36] Operation: 61-25=36
Exploring Operation: 25+12=37, Resulting Numbers: [61, 37]
Generated Node #0,2,2: 23:[61, 37] Operation: 25+12=37
Exploring Operation: 25-12=13, Resulting Numbers: [61, 13]
Generated Node #0,2,3: 23:[61, 13] Operation: 25-12=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[12, 36], Operations: ['71-59=12', '61-25=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,23 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,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,2,0
Current State: 23:[25, 49], Operations: ['71-59=12', '61-12=49']
Exploring Operation: 25*49=1225, Resulting Numbers: [1225]
1225,23 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,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,2,3
Current State: 23:[61, 13], Operations: ['71-59=12', '25-12=13']
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,23 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,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,2,2
Current State: 23:[61, 37], Operations: ['71-59=12', '25+12=37']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,23 unequal: No Solution
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,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:[59, 25, 10], Operations: ['71-61=10']
Exploring Operation: 59-25=34, Resulting Numbers: [10, 34]
Generated Node #0,3,0: 23:[10, 34] Operation: 59-25=34
Exploring Operation: 25-10=15, Resulting Numbers: [59, 15]
Generated Node #0,3,1: 23:[59, 15] Operation: 25-10=15
Exploring Operation: 59-10=49, Resulting Numbers: [25, 49]
Generated Node #0,3,2: 23:[25, 49] Operation: 59-10=49
Exploring Operation: 59+10=69, Resulting Numbers: [25, 69]
Generated Node #0,3,3: 23:[25, 69] Operation: 59+10=69
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[10, 34], Operations: ['71-61=10', '59-25=34']
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,23 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,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,3,2
Current State: 23:[25, 49], Operations: ['71-61=10', '59-10=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 25*49=1225, Resulting Numbers: [1225]
1225,23 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,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,3,1
Current State: 23:[59, 15], Operations: ['71-61=10', '25-10=15']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,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,3,3
Current State: 23:[25, 69], Operations: ['71-61=10', '59+10=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,23 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,23 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: 23:[25, 71, 2], Operations: ['61-59=2']
Exploring Operation: 71-25=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 23:[2, 46] Operation: 71-25=46
Exploring Operation: 25+2=27, Resulting Numbers: [71, 27]
Generated Node #0,0,1: 23:[71, 27] Operation: 25+2=27
Exploring Operation: 71-2=69, Resulting Numbers: [25, 69]
Generated Node #0,0,2: 23:[25, 69] Operation: 71-2=69
Exploring Operation: 25-2=23, Resulting Numbers: [71, 23]
Generated Node #0,0,3: 23:[71, 23] Operation: 25-2=23
Moving to Node #0,1
Current State: 23:[61, 71, 34], Operations: ['59-25=34']
Exploring Operation: 71-61=10, Resulting Numbers: [34, 10]
Generated Node #0,1,0: 23:[34, 10] Operation: 71-61=10
Exploring Operation: 71-34=37, Resulting Numbers: [61, 37]
Generated Node #0,1,1: 23:[61, 37] Operation: 71-34=37
Exploring Operation: 61-34=27, Resulting Numbers: [71, 27]
Generated Node #0,1,2: 23:[71, 27] Operation: 61-34=27
Exploring Operation: 61+71=132, Resulting Numbers: [34, 132]
Generated Node #0,1,3: 23:[34, 132] Operation: 61+71=132
Moving to Node #0,1,0
Current State: 23:[34, 10], Operations: ['59-25=34', '71-61=10']
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,23 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[2, 46], Operations: ['61-59=2', '71-25=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[59, 25, 61, 71], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [25, 71, 2]
Generated Node #0,0: 23:[25, 71, 2] Operation: 61-59=2
Moving to Node #0,0
Current State: 23:[25, 71, 2], Operations: ['61-59=2']
Exploring Operation: 71-25=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 23:[2, 46] Operation: 71-25=46
Moving to Node #0,0,0
Current State: 23:[2, 46], Operations: ['61-59=2', '71-25=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
1,
2,
66,
80
] | 42 | [
"1+2=3",
"80-66=14",
"3*14=42"
] | Current State: 42:[1, 2, 66, 80], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [66, 80, 3]
Generated Node #2: [66, 80, 3] from Operation: 1+2=3
Current State: 42:[66, 80, 3], Operations: ['1+2=3']
Exploring Operation: 80-66=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 80-66=14
Current State: 42:[3, 14], Operations: ['1+2=3', '80-66=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[1, 2, 66, 80], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [1, 2, 14]
Generated Node #0,0: 42:[1, 2, 14] Operation: 80-66=14
Exploring Operation: 66/2=33, Resulting Numbers: [1, 80, 33]
Generated Node #0,1: 42:[1, 80, 33] Operation: 66/2=33
Exploring Operation: 66-1=65, Resulting Numbers: [2, 80, 65]
Generated Node #0,2: 42:[2, 80, 65] Operation: 66-1=65
Exploring Operation: 80/2=40, Resulting Numbers: [1, 66, 40]
Generated Node #0,3: 42:[1, 66, 40] Operation: 80/2=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[1, 2, 14], Operations: ['80-66=14']
Exploring Operation: 1*2=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 42:[14, 2] Operation: 1*2=2
Exploring Operation: 1*14=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 42:[2, 14] Operation: 1*14=14
Exploring Operation: 2/1=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 42:[14, 2] Operation: 2/1=2
Exploring Operation: 1+2=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 42:[14, 3] Operation: 1+2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[14, 2], Operations: ['80-66=14', '1*2=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,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,0,1
Current State: 42:[2, 14], Operations: ['80-66=14', '1*14=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,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,0,2
Current State: 42:[14, 2], Operations: ['80-66=14', '2/1=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,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,0,3
Current State: 42:[14, 3], Operations: ['80-66=14', '1+2=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[1, 2, 66, 80], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [1, 2, 14]
Generated Node #0,0: 42:[1, 2, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 42:[1, 2, 14], Operations: ['80-66=14']
Exploring Operation: 1+2=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 42:[14, 3] Operation: 1+2=3
Moving to Node #0,0,3
Current State: 42:[14, 3], Operations: ['80-66=14', '1+2=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
71,
7,
64,
17
] | 17 | [
"71-7=64",
"64+17=81",
"81-64=17"
] | Current State: 17:[71, 7, 64, 17], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [64, 17, 64]
Generated Node #2: [64, 17, 64] from Operation: 71-7=64
Current State: 17:[64, 17, 64], Operations: ['71-7=64']
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,17 equal: Goal Reached
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[71, 7, 64, 17], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [64, 17, 64]
Generated Node #0,0: 17:[64, 17, 64] Operation: 71-7=64
Exploring Operation: 71-64=7, Resulting Numbers: [7, 17, 7]
Generated Node #0,1: 17:[7, 17, 7] Operation: 71-64=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[7, 17, 7], Operations: ['71-64=7']
Exploring Operation: 7/7=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 17:[17, 1] Operation: 7/7=1
Exploring Operation: 7+7=14, Resulting Numbers: [17, 14]
Generated Node #0,1,1: 17:[17, 14] Operation: 7+7=14
Moving to Node #0,1,1
Current State: 17:[17, 14], Operations: ['71-64=7', '7+7=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[17, 1], Operations: ['71-64=7', '7/7=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[71, 7, 64, 17], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [7, 17, 7]
Generated Node #0,1: 17:[7, 17, 7] Operation: 71-64=7
Moving to Node #0,1
Current State: 17:[7, 17, 7], Operations: ['71-64=7']
Exploring Operation: 7/7=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 17:[17, 1] Operation: 7/7=1
Moving to Node #0,1,0
Current State: 17:[17, 1], Operations: ['71-64=7', '7/7=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
5,
68,
45,
63
] | 61 | [
"45/5=9",
"63/9=7",
"68-7=61"
] | Current State: 61:[5, 68, 45, 63], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [68, 63, 9]
Generated Node #2: [68, 63, 9] from Operation: 45/5=9
Current State: 61:[68, 63, 9], Operations: ['45/5=9']
Exploring Operation: 63/9=7, Resulting Numbers: [68, 7]
Generated Node #3: [68, 7] from Operation: 63/9=7
Current State: 61:[68, 7], Operations: ['45/5=9', '63/9=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 68, 45, 63], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [45, 63, 63]
Generated Node #0,0: 61:[45, 63, 63] Operation: 68-5=63
Exploring Operation: 63-5=58, Resulting Numbers: [68, 45, 58]
Generated Node #0,1: 61:[68, 45, 58] Operation: 63-5=58
Exploring Operation: 5+45=50, Resulting Numbers: [68, 63, 50]
Generated Node #0,2: 61:[68, 63, 50] Operation: 5+45=50
Moving to Node #0,0
Current State: 61:[45, 63, 63], Operations: ['68-5=63']
Exploring Operation: 45+63=108, Resulting Numbers: [63, 108]
Generated Node #0,0,0: 61:[63, 108] Operation: 45+63=108
Exploring Operation: 63-45=18, Resulting Numbers: [63, 18]
Generated Node #0,0,1: 61:[63, 18] Operation: 63-45=18
Exploring Operation: 63-45=18, Resulting Numbers: [63, 18]
Generated Node #0,0,2: 61:[63, 18] Operation: 63-45=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[63, 18], Operations: ['68-5=63', '63-45=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,61 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[63, 18], Operations: ['68-5=63', '63-45=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[63, 108], Operations: ['68-5=63', '45+63=108']
Exploring Operation: 63+108=171, Resulting Numbers: [171]
171,61 unequal: No Solution
Exploring Operation: 108-63=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 63*108=6804, Resulting Numbers: [6804]
6804,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[68, 63, 50], Operations: ['5+45=50']
Exploring Operation: 68+50=118, Resulting Numbers: [63, 118]
Generated Node #0,2,0: 61:[63, 118] Operation: 68+50=118
Exploring Operation: 68-50=18, Resulting Numbers: [63, 18]
Generated Node #0,2,1: 61:[63, 18] Operation: 68-50=18
Exploring Operation: 63-50=13, Resulting Numbers: [68, 13]
Generated Node #0,2,2: 61:[68, 13] Operation: 63-50=13
Moving to Node #0,1
Current State: 61:[68, 45, 58], Operations: ['63-5=58']
Exploring Operation: 68-45=23, Resulting Numbers: [58, 23]
Generated Node #0,1,0: 61:[58, 23] Operation: 68-45=23
Exploring Operation: 45+58=103, Resulting Numbers: [68, 103]
Generated Node #0,1,1: 61:[68, 103] Operation: 45+58=103
Exploring Operation: 68+45=113, Resulting Numbers: [58, 113]
Generated Node #0,1,2: 61:[58, 113] Operation: 68+45=113
Moving to Node #0,1,0
Current State: 61:[58, 23], Operations: ['63-5=58', '68-45=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[63, 18], Operations: ['5+45=50', '68-50=18']
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,61 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[68, 103], Operations: ['63-5=58', '45+58=103']
Exploring Operation: 103-68=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 68*103=7004, Resulting Numbers: [7004]
7004,61 unequal: No Solution
Exploring Operation: 68+103=171, Resulting Numbers: [171]
171,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[58, 113], Operations: ['63-5=58', '68+45=113']
Exploring Operation: 58+113=171, Resulting Numbers: [171]
171,61 unequal: No Solution
Exploring Operation: 113-58=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 58*113=6554, Resulting Numbers: [6554]
6554,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[68, 13], Operations: ['5+45=50', '63-50=13']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[63, 118], Operations: ['5+45=50', '68+50=118']
Exploring Operation: 63*118=7434, Resulting Numbers: [7434]
7434,61 unequal: No Solution
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 63+118=181, Resulting Numbers: [181]
181,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
87,
24,
60,
75
] | 78 | [
"87-24=63",
"75-60=15",
"63+15=78"
] | Current State: 78:[87, 24, 60, 75], Operations: []
Exploring Operation: 87-24=63, Resulting Numbers: [60, 75, 63]
Generated Node #2: [60, 75, 63] from Operation: 87-24=63
Current State: 78:[60, 75, 63], Operations: ['87-24=63']
Exploring Operation: 75-60=15, Resulting Numbers: [63, 15]
Generated Node #3: [63, 15] from Operation: 75-60=15
Current State: 78:[63, 15], Operations: ['87-24=63', '75-60=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[87, 24, 60, 75], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [87, 24, 15]
Generated Node #0,0: 78:[87, 24, 15] Operation: 75-60=15
Exploring Operation: 87-60=27, Resulting Numbers: [24, 75, 27]
Generated Node #0,1: 78:[24, 75, 27] Operation: 87-60=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[24, 75, 27], Operations: ['87-60=27']
Exploring Operation: 27-24=3, Resulting Numbers: [75, 3]
Generated Node #0,1,0: 78:[75, 3] Operation: 27-24=3
Exploring Operation: 75-27=48, Resulting Numbers: [24, 48]
Generated Node #0,1,1: 78:[24, 48] Operation: 75-27=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[75, 3], Operations: ['87-60=27', '27-24=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[87, 24, 60, 75], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [24, 75, 27]
Generated Node #0,1: 78:[24, 75, 27] Operation: 87-60=27
Moving to Node #0,1
Current State: 78:[24, 75, 27], Operations: ['87-60=27']
Exploring Operation: 27-24=3, Resulting Numbers: [75, 3]
Generated Node #0,1,0: 78:[75, 3] Operation: 27-24=3
Moving to Node #0,1,0
Current State: 78:[75, 3], Operations: ['87-60=27', '27-24=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
40,
43,
37,
16
] | 15 | [
"43-37=6",
"40*6=240",
"240/16=15"
] | Current State: 15:[40, 43, 37, 16], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [40, 16, 6]
Generated Node #2: [40, 16, 6] from Operation: 43-37=6
Current State: 15:[40, 16, 6], Operations: ['43-37=6']
Exploring Operation: 40*6=240, Resulting Numbers: [16, 240]
Generated Node #3: [16, 240] from Operation: 40*6=240
Current State: 15:[16, 240], Operations: ['43-37=6', '40*6=240']
Exploring Operation: 240/16=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[40, 43, 37, 16], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [40, 37, 27]
Generated Node #0,0: 15:[40, 37, 27] Operation: 43-16=27
Exploring Operation: 40-37=3, Resulting Numbers: [43, 16, 3]
Generated Node #0,1: 15:[43, 16, 3] Operation: 40-37=3
Exploring Operation: 40-16=24, Resulting Numbers: [43, 37, 24]
Generated Node #0,2: 15:[43, 37, 24] Operation: 40-16=24
Exploring Operation: 43-40=3, Resulting Numbers: [37, 16, 3]
Generated Node #0,3: 15:[37, 16, 3] Operation: 43-40=3
Exploring Operation: 43-37=6, Resulting Numbers: [40, 16, 6]
Generated Node #0,4: 15:[40, 16, 6] Operation: 43-37=6
Moving to Node #0,3
Current State: 15:[37, 16, 3], Operations: ['43-40=3']
Exploring Operation: 37-16=21, Resulting Numbers: [3, 21]
Generated Node #0,3,0: 15:[3, 21] Operation: 37-16=21
Exploring Operation: 16+3=19, Resulting Numbers: [37, 19]
Generated Node #0,3,1: 15:[37, 19] Operation: 16+3=19
Exploring Operation: 37-3=34, Resulting Numbers: [16, 34]
Generated Node #0,3,2: 15:[16, 34] Operation: 37-3=34
Exploring Operation: 37+3=40, Resulting Numbers: [16, 40]
Generated Node #0,3,3: 15:[16, 40] Operation: 37+3=40
Exploring Operation: 16-3=13, Resulting Numbers: [37, 13]
Generated Node #0,3,4: 15:[37, 13] Operation: 16-3=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[3, 21], Operations: ['43-40=3', '37-16=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,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,3,2
Current State: 15:[16, 34], Operations: ['43-40=3', '37-3=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,15 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,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,3,4
Current State: 15:[37, 13], Operations: ['43-40=3', '16-3=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,15 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,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,3,1
Current State: 15:[37, 19], Operations: ['43-40=3', '16+3=19']
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,15 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,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,3,3
Current State: 15:[16, 40], Operations: ['43-40=3', '37+3=40']
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,15 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,15 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: 15:[40, 16, 6], Operations: ['43-37=6']
Exploring Operation: 16-6=10, Resulting Numbers: [40, 10]
Generated Node #0,4,0: 15:[40, 10] Operation: 16-6=10
Exploring Operation: 40-16=24, Resulting Numbers: [6, 24]
Generated Node #0,4,1: 15:[6, 24] Operation: 40-16=24
Exploring Operation: 16+6=22, Resulting Numbers: [40, 22]
Generated Node #0,4,2: 15:[40, 22] Operation: 16+6=22
Exploring Operation: 40-6=34, Resulting Numbers: [16, 34]
Generated Node #0,4,3: 15:[16, 34] Operation: 40-6=34
Exploring Operation: 40+6=46, Resulting Numbers: [16, 46]
Generated Node #0,4,4: 15:[16, 46] Operation: 40+6=46
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 15:[6, 24], Operations: ['43-37=6', '40-16=24']
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,15 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,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,4,3
Current State: 15:[16, 34], Operations: ['43-37=6', '40-6=34']
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,15 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,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,4,0
Current State: 15:[40, 10], Operations: ['43-37=6', '16-6=10']
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,15 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,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,4,2
Current State: 15:[40, 22], Operations: ['43-37=6', '16+6=22']
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,15 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,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,4,4
Current State: 15:[16, 46], Operations: ['43-37=6', '40+6=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,15 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,15 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: 15:[43, 16, 3], Operations: ['40-37=3']
Exploring Operation: 43+3=46, Resulting Numbers: [16, 46]
Generated Node #0,1,0: 15:[16, 46] Operation: 43+3=46
Exploring Operation: 43-16=27, Resulting Numbers: [3, 27]
Generated Node #0,1,1: 15:[3, 27] Operation: 43-16=27
Exploring Operation: 43-3=40, Resulting Numbers: [16, 40]
Generated Node #0,1,2: 15:[16, 40] Operation: 43-3=40
Exploring Operation: 16-3=13, Resulting Numbers: [43, 13]
Generated Node #0,1,3: 15:[43, 13] Operation: 16-3=13
Exploring Operation: 16+3=19, Resulting Numbers: [43, 19]
Generated Node #0,1,4: 15:[43, 19] Operation: 16+3=19
Moving to Node #0,0
Current State: 15:[40, 37, 27], Operations: ['43-16=27']
Exploring Operation: 40-37=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 15:[27, 3] Operation: 40-37=3
Exploring Operation: 37-27=10, Resulting Numbers: [40, 10]
Generated Node #0,0,1: 15:[40, 10] Operation: 37-27=10
Exploring Operation: 40+27=67, Resulting Numbers: [37, 67]
Generated Node #0,0,2: 15:[37, 67] Operation: 40+27=67
Exploring Operation: 40-27=13, Resulting Numbers: [37, 13]
Generated Node #0,0,3: 15:[37, 13] Operation: 40-27=13
Exploring Operation: 40+37=77, Resulting Numbers: [27, 77]
Generated Node #0,0,4: 15:[27, 77] Operation: 40+37=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[27, 3], Operations: ['43-16=27', '40-37=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,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,0,3
Current State: 15:[37, 13], Operations: ['43-16=27', '40-27=13']
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,15 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,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,0,1
Current State: 15:[40, 10], Operations: ['43-16=27', '37-27=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,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,0,2
Current State: 15:[37, 67], Operations: ['43-16=27', '40+27=67']
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,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,0,4
Current State: 15:[27, 77], Operations: ['43-16=27', '40+37=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,15 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,15 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: 15:[43, 37, 24], Operations: ['40-16=24']
Exploring Operation: 43-24=19, Resulting Numbers: [37, 19]
Generated Node #0,2,0: 15:[37, 19] Operation: 43-24=19
Exploring Operation: 43+37=80, Resulting Numbers: [24, 80]
Generated Node #0,2,1: 15:[24, 80] Operation: 43+37=80
Exploring Operation: 43-37=6, Resulting Numbers: [24, 6]
Generated Node #0,2,2: 15:[24, 6] Operation: 43-37=6
Exploring Operation: 37-24=13, Resulting Numbers: [43, 13]
Generated Node #0,2,3: 15:[43, 13] Operation: 37-24=13
Exploring Operation: 43+24=67, Resulting Numbers: [37, 67]
Generated Node #0,2,4: 15:[37, 67] Operation: 43+24=67
Moving to Node #0,2,2
Current State: 15:[24, 6], Operations: ['40-16=24', '43-37=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,15 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[3, 27], Operations: ['40-37=3', '43-16=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[37, 19], Operations: ['40-16=24', '43-24=19']
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,15 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[16, 40], Operations: ['40-37=3', '43-3=40']
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,15 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[43, 13], Operations: ['40-37=3', '16-3=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,15 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[43, 13], Operations: ['40-16=24', '37-24=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,15 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[43, 19], Operations: ['40-37=3', '16+3=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,15 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[16, 46], Operations: ['40-37=3', '43+3=46']
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,15 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Moving to Node #0,2,4
Current State: 15:[37, 67], Operations: ['40-16=24', '43+24=67']
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,15 unequal: No Solution
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[24, 80], Operations: ['40-16=24', '43+37=80']
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,15 unequal: No Solution
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
94,
3,
35,
32
] | 77 | [
"94+32=126",
"126/3=42",
"35+42=77"
] | Current State: 77:[94, 3, 35, 32], Operations: []
Exploring Operation: 94+32=126, Resulting Numbers: [3, 35, 126]
Generated Node #2: [3, 35, 126] from Operation: 94+32=126
Current State: 77:[3, 35, 126], Operations: ['94+32=126']
Exploring Operation: 126/3=42, Resulting Numbers: [35, 42]
Generated Node #3: [35, 42] from Operation: 126/3=42
Current State: 77:[35, 42], Operations: ['94+32=126', '126/3=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[94, 3, 35, 32], Operations: []
Exploring Operation: 94-32=62, Resulting Numbers: [3, 35, 62]
Generated Node #0,0: 77:[3, 35, 62] Operation: 94-32=62
Exploring Operation: 35-32=3, Resulting Numbers: [94, 3, 3]
Generated Node #0,1: 77:[94, 3, 3] Operation: 35-32=3
Exploring Operation: 35+32=67, Resulting Numbers: [94, 3, 67]
Generated Node #0,2: 77:[94, 3, 67] Operation: 35+32=67
Exploring Operation: 94-35=59, Resulting Numbers: [3, 32, 59]
Generated Node #0,3: 77:[3, 32, 59] Operation: 94-35=59
Exploring Operation: 94-3=91, Resulting Numbers: [35, 32, 91]
Generated Node #0,4: 77:[35, 32, 91] Operation: 94-3=91
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[94, 3, 3], Operations: ['35-32=3']
Exploring Operation: 94-3=91, Resulting Numbers: [3, 91]
Generated Node #0,1,0: 77:[3, 91] Operation: 94-3=91
Exploring Operation: 3+3=6, Resulting Numbers: [94, 6]
Generated Node #0,1,1: 77:[94, 6] Operation: 3+3=6
Exploring Operation: 94-3=91, Resulting Numbers: [3, 91]
Generated Node #0,1,2: 77:[3, 91] Operation: 94-3=91
Exploring Operation: 3/3=1, Resulting Numbers: [94, 1]
Generated Node #0,1,3: 77:[94, 1] Operation: 3/3=1
Exploring Operation: 3*3=9, Resulting Numbers: [94, 9]
Generated Node #0,1,4: 77:[94, 9] Operation: 3*3=9
Moving to Node #0,1,0
Current State: 77:[3, 91], Operations: ['35-32=3', '94-3=91']
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,77 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[3, 91], Operations: ['35-32=3', '94-3=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,77 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[94, 6], Operations: ['35-32=3', '3+3=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[94, 9], Operations: ['35-32=3', '3*3=9']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,77 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[94, 1], Operations: ['35-32=3', '3/3=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[94, 3, 67], Operations: ['35+32=67']
Exploring Operation: 67-3=64, Resulting Numbers: [94, 64]
Generated Node #0,2,0: 77:[94, 64] Operation: 67-3=64
Exploring Operation: 94-67=27, Resulting Numbers: [3, 27]
Generated Node #0,2,1: 77:[3, 27] Operation: 94-67=27
Exploring Operation: 94-3=91, Resulting Numbers: [67, 91]
Generated Node #0,2,2: 77:[67, 91] Operation: 94-3=91
Exploring Operation: 94+3=97, Resulting Numbers: [67, 97]
Generated Node #0,2,3: 77:[67, 97] Operation: 94+3=97
Exploring Operation: 3+67=70, Resulting Numbers: [94, 70]
Generated Node #0,2,4: 77:[94, 70] Operation: 3+67=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[3, 27], Operations: ['35+32=67', '94-67=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[67, 91], Operations: ['35+32=67', '94-3=91']
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 67+91=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Exploring Operation: 67*91=6097, Resulting Numbers: [6097]
6097,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 77:[94, 70], Operations: ['35+32=67', '3+67=70']
Exploring Operation: 94*70=6580, Resulting Numbers: [6580]
6580,77 unequal: No Solution
Exploring Operation: 94+70=164, Resulting Numbers: [164]
164,77 unequal: No Solution
Exploring Operation: 94-70=24, Resulting Numbers: [24]
24,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[94, 64], Operations: ['35+32=67', '67-3=64']
Exploring Operation: 94*64=6016, Resulting Numbers: [6016]
6016,77 unequal: No Solution
Exploring Operation: 94+64=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[67, 97], Operations: ['35+32=67', '94+3=97']
Exploring Operation: 67+97=164, Resulting Numbers: [164]
164,77 unequal: No Solution
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 67*97=6499, Resulting Numbers: [6499]
6499,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[3, 35, 62], Operations: ['94-32=62']
Exploring Operation: 3+62=65, Resulting Numbers: [35, 65]
Generated Node #0,0,0: 77:[35, 65] Operation: 3+62=65
Exploring Operation: 62-35=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 77:[3, 27] Operation: 62-35=27
Exploring Operation: 3+35=38, Resulting Numbers: [62, 38]
Generated Node #0,0,2: 77:[62, 38] Operation: 3+35=38
Exploring Operation: 35+62=97, Resulting Numbers: [3, 97]
Generated Node #0,0,3: 77:[3, 97] Operation: 35+62=97
Exploring Operation: 35-3=32, Resulting Numbers: [62, 32]
Generated Node #0,0,4: 77:[62, 32] Operation: 35-3=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[3, 27], Operations: ['94-32=62', '62-35=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[3, 97], Operations: ['94-32=62', '35+62=97']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 3*97=291, Resulting Numbers: [291]
291,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[35, 65], Operations: ['94-32=62', '3+62=65']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 77:[62, 32], Operations: ['94-32=62', '35-3=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,77 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[62, 38], Operations: ['94-32=62', '3+35=38']
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[3, 32, 59], Operations: ['94-35=59']
Exploring Operation: 3+59=62, Resulting Numbers: [32, 62]
Generated Node #0,3,0: 77:[32, 62] Operation: 3+59=62
Exploring Operation: 59-32=27, Resulting Numbers: [3, 27]
Generated Node #0,3,1: 77:[3, 27] Operation: 59-32=27
Exploring Operation: 32+59=91, Resulting Numbers: [3, 91]
Generated Node #0,3,2: 77:[3, 91] Operation: 32+59=91
Exploring Operation: 3*32=96, Resulting Numbers: [59, 96]
Generated Node #0,3,3: 77:[59, 96] Operation: 3*32=96
Exploring Operation: 32-3=29, Resulting Numbers: [59, 29]
Generated Node #0,3,4: 77:[59, 29] Operation: 32-3=29
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 77:[3, 91], Operations: ['94-35=59', '32+59=91']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 77:[3, 27], Operations: ['94-35=59', '59-32=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[32, 62], Operations: ['94-35=59', '3+59=62']
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 77:[59, 29], Operations: ['94-35=59', '32-3=29']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[59, 96], Operations: ['94-35=59', '3*32=96']
Exploring Operation: 59*96=5664, Resulting Numbers: [5664]
5664,77 unequal: No Solution
Exploring Operation: 59+96=155, Resulting Numbers: [155]
155,77 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[35, 32, 91], Operations: ['94-3=91']
Exploring Operation: 35+32=67, Resulting Numbers: [91, 67]
Generated Node #0,4,0: 77:[91, 67] Operation: 35+32=67
Exploring Operation: 35+91=126, Resulting Numbers: [32, 126]
Generated Node #0,4,1: 77:[32, 126] Operation: 35+91=126
Exploring Operation: 91-32=59, Resulting Numbers: [35, 59]
Generated Node #0,4,2: 77:[35, 59] Operation: 91-32=59
Exploring Operation: 91-35=56, Resulting Numbers: [32, 56]
Generated Node #0,4,3: 77:[32, 56] Operation: 91-35=56
Exploring Operation: 35-32=3, Resulting Numbers: [91, 3]
Generated Node #0,4,4: 77:[91, 3] Operation: 35-32=3
Moving to Node #0,4,4
Current State: 77:[91, 3], Operations: ['94-3=91', '35-32=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,77 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[91, 67], Operations: ['94-3=91', '35+32=67']
Exploring Operation: 91*67=6097, Resulting Numbers: [6097]
6097,77 unequal: No Solution
Exploring Operation: 91+67=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[35, 59], Operations: ['94-3=91', '91-32=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,77 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[32, 56], Operations: ['94-3=91', '91-35=56']
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[32, 126], Operations: ['94-3=91', '35+91=126']
Exploring Operation: 126-32=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 32*126=4032, Resulting Numbers: [4032]
4032,77 unequal: No Solution
Exploring Operation: 32+126=158, Resulting Numbers: [158]
158,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
52,
4,
48,
36
] | 26 | [
"52+36=88",
"88/4=22",
"48-22=26"
] | Current State: 26:[52, 4, 48, 36], Operations: []
Exploring Operation: 52+36=88, Resulting Numbers: [4, 48, 88]
Generated Node #2: [4, 48, 88] from Operation: 52+36=88
Current State: 26:[4, 48, 88], Operations: ['52+36=88']
Exploring Operation: 88/4=22, Resulting Numbers: [48, 22]
Generated Node #3: [48, 22] from Operation: 88/4=22
Current State: 26:[48, 22], Operations: ['52+36=88', '88/4=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[52, 4, 48, 36], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [4, 48, 16]
Generated Node #0,0: 26:[4, 48, 16] Operation: 52-36=16
Exploring Operation: 48-36=12, Resulting Numbers: [52, 4, 12]
Generated Node #0,1: 26:[52, 4, 12] Operation: 48-36=12
Exploring Operation: 52-48=4, Resulting Numbers: [4, 36, 4]
Generated Node #0,2: 26:[4, 36, 4] Operation: 52-48=4
Exploring Operation: 52/4=13, Resulting Numbers: [48, 36, 13]
Generated Node #0,3: 26:[48, 36, 13] Operation: 52/4=13
Exploring Operation: 48/4=12, Resulting Numbers: [52, 36, 12]
Generated Node #0,4: 26:[52, 36, 12] Operation: 48/4=12
Moving to Node #0,2
Current State: 26:[4, 36, 4], Operations: ['52-48=4']
Exploring Operation: 36/4=9, Resulting Numbers: [4, 9]
Generated Node #0,2,0: 26:[4, 9] Operation: 36/4=9
Exploring Operation: 36/4=9, Resulting Numbers: [4, 9]
Generated Node #0,2,1: 26:[4, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [4, 32]
Generated Node #0,2,2: 26:[4, 32] Operation: 36-4=32
Exploring Operation: 36-4=32, Resulting Numbers: [4, 32]
Generated Node #0,2,3: 26:[4, 32] Operation: 36-4=32
Exploring Operation: 4/4=1, Resulting Numbers: [36, 1]
Generated Node #0,2,4: 26:[36, 1] Operation: 4/4=1
Moving to Node #0,0
Current State: 26:[4, 48, 16], Operations: ['52-36=16']
Exploring Operation: 48/4=12, Resulting Numbers: [16, 12]
Generated Node #0,0,0: 26:[16, 12] Operation: 48/4=12
Exploring Operation: 16-4=12, Resulting Numbers: [48, 12]
Generated Node #0,0,1: 26:[48, 12] Operation: 16-4=12
Exploring Operation: 48-16=32, Resulting Numbers: [4, 32]
Generated Node #0,0,2: 26:[4, 32] Operation: 48-16=32
Exploring Operation: 48-4=44, Resulting Numbers: [16, 44]
Generated Node #0,0,3: 26:[16, 44] Operation: 48-4=44
Exploring Operation: 48/16=3, Resulting Numbers: [4, 3]
Generated Node #0,0,4: 26:[4, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[4, 3], Operations: ['52-36=16', '48/16=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[16, 12], Operations: ['52-36=16', '48/4=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[4, 32], Operations: ['52-36=16', '48-16=32']
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,26 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[16, 44], Operations: ['52-36=16', '48-4=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,26 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[48, 12], Operations: ['52-36=16', '16-4=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,26 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,26 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: 26:[52, 4, 12], Operations: ['48-36=12']
Exploring Operation: 52-4=48, Resulting Numbers: [12, 48]
Generated Node #0,1,0: 26:[12, 48] Operation: 52-4=48
Exploring Operation: 52-12=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 26:[4, 40] Operation: 52-12=40
Exploring Operation: 52/4=13, Resulting Numbers: [12, 13]
Generated Node #0,1,2: 26:[12, 13] Operation: 52/4=13
Exploring Operation: 12/4=3, Resulting Numbers: [52, 3]
Generated Node #0,1,3: 26:[52, 3] Operation: 12/4=3
Exploring Operation: 4+12=16, Resulting Numbers: [52, 16]
Generated Node #0,1,4: 26:[52, 16] Operation: 4+12=16
Moving to Node #0,3
Current State: 26:[48, 36, 13], Operations: ['52/4=13']
Exploring Operation: 36+13=49, Resulting Numbers: [48, 49]
Generated Node #0,3,0: 26:[48, 49] Operation: 36+13=49
Exploring Operation: 48-13=35, Resulting Numbers: [36, 35]
Generated Node #0,3,1: 26:[36, 35] Operation: 48-13=35
Exploring Operation: 48-36=12, Resulting Numbers: [13, 12]
Generated Node #0,3,2: 26:[13, 12] Operation: 48-36=12
Exploring Operation: 48+13=61, Resulting Numbers: [36, 61]
Generated Node #0,3,3: 26:[36, 61] Operation: 48+13=61
Exploring Operation: 36-13=23, Resulting Numbers: [48, 23]
Generated Node #0,3,4: 26:[48, 23] Operation: 36-13=23
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[13, 12], Operations: ['52/4=13', '48-36=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[36, 35], Operations: ['52/4=13', '48-13=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[48, 23], Operations: ['52/4=13', '36-13=23']
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[48, 49], Operations: ['52/4=13', '36+13=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[36, 61], Operations: ['52/4=13', '48+13=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,26 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,26 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: 26:[52, 36, 12], Operations: ['48/4=12']
Exploring Operation: 36-12=24, Resulting Numbers: [52, 24]
Generated Node #0,4,0: 26:[52, 24] Operation: 36-12=24
Exploring Operation: 52+12=64, Resulting Numbers: [36, 64]
Generated Node #0,4,1: 26:[36, 64] Operation: 52+12=64
Exploring Operation: 52-36=16, Resulting Numbers: [12, 16]
Generated Node #0,4,2: 26:[12, 16] Operation: 52-36=16
Exploring Operation: 52-12=40, Resulting Numbers: [36, 40]
Generated Node #0,4,3: 26:[36, 40] Operation: 52-12=40
Exploring Operation: 36/12=3, Resulting Numbers: [52, 3]
Generated Node #0,4,4: 26:[52, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 26:[12, 16], Operations: ['48/4=12', '52-36=16']
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,26 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 26:[36, 40], Operations: ['48/4=12', '52-12=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,26 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 26:[52, 3], Operations: ['48/4=12', '36/12=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 26:[52, 24], Operations: ['48/4=12', '36-12=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,26 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 26:[36, 64], Operations: ['48/4=12', '52+12=64']
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 26:[12, 13], Operations: ['48-36=12', '52/4=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[4, 9], Operations: ['52-48=4', '36/4=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[4, 9], Operations: ['52-48=4', '36/4=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[4, 32], Operations: ['52-48=4', '36-4=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[4, 32], Operations: ['52-48=4', '36-4=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[36, 1], Operations: ['52-48=4', '4/4=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[4, 40], Operations: ['48-36=12', '52-12=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,26 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[12, 48], Operations: ['48-36=12', '52-4=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[52, 3], Operations: ['48-36=12', '12/4=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[52, 16], Operations: ['48-36=12', '4+12=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,26 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
97,
18,
92,
61
] | 94 | [
"97-61=36",
"36/18=2",
"92+2=94"
] | Current State: 94:[97, 18, 92, 61], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [18, 92, 36]
Generated Node #2: [18, 92, 36] from Operation: 97-61=36
Current State: 94:[18, 92, 36], Operations: ['97-61=36']
Exploring Operation: 36/18=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 36/18=2
Current State: 94:[92, 2], Operations: ['97-61=36', '36/18=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[97, 18, 92, 61], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [97, 92, 43]
Generated Node #0,0: 94:[97, 92, 43] Operation: 61-18=43
Exploring Operation: 18+61=79, Resulting Numbers: [97, 92, 79]
Generated Node #0,1: 94:[97, 92, 79] Operation: 18+61=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[97, 92, 43], Operations: ['61-18=43']
Exploring Operation: 92-43=49, Resulting Numbers: [97, 49]
Generated Node #0,0,0: 94:[97, 49] Operation: 92-43=49
Exploring Operation: 97-92=5, Resulting Numbers: [43, 5]
Generated Node #0,0,1: 94:[43, 5] Operation: 97-92=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[97, 49], Operations: ['61-18=43', '92-43=49']
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,94 unequal: No Solution
No 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: 94:[43, 5], Operations: ['61-18=43', '97-92=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[97, 92, 79], Operations: ['18+61=79']
Exploring Operation: 92-79=13, Resulting Numbers: [97, 13]
Generated Node #0,1,0: 94:[97, 13] Operation: 92-79=13
Exploring Operation: 97-92=5, Resulting Numbers: [79, 5]
Generated Node #0,1,1: 94:[79, 5] Operation: 97-92=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[97, 13], Operations: ['18+61=79', '92-79=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,94 unequal: No Solution
No 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: 94:[79, 5], Operations: ['18+61=79', '97-92=5']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
45,
19,
52
] | 60 | [
"45-34=11",
"19+52=71",
"71-11=60"
] | Current State: 60:[34, 45, 19, 52], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [19, 52, 11]
Generated Node #2: [19, 52, 11] from Operation: 45-34=11
Current State: 60:[19, 52, 11], Operations: ['45-34=11']
Exploring Operation: 19+52=71, Resulting Numbers: [11, 71]
Generated Node #3: [11, 71] from Operation: 19+52=71
Current State: 60:[11, 71], Operations: ['45-34=11', '19+52=71']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[34, 45, 19, 52], Operations: []
Exploring Operation: 45+19=64, Resulting Numbers: [34, 52, 64]
Generated Node #0,0: 60:[34, 52, 64] Operation: 45+19=64
Exploring Operation: 52-45=7, Resulting Numbers: [34, 19, 7]
Generated Node #0,1: 60:[34, 19, 7] Operation: 52-45=7
Exploring Operation: 45-34=11, Resulting Numbers: [19, 52, 11]
Generated Node #0,2: 60:[19, 52, 11] Operation: 45-34=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[34, 19, 7], Operations: ['52-45=7']
Exploring Operation: 34-7=27, Resulting Numbers: [19, 27]
Generated Node #0,1,0: 60:[19, 27] Operation: 34-7=27
Exploring Operation: 34-19=15, Resulting Numbers: [7, 15]
Generated Node #0,1,1: 60:[7, 15] Operation: 34-19=15
Exploring Operation: 19-7=12, Resulting Numbers: [34, 12]
Generated Node #0,1,2: 60:[34, 12] Operation: 19-7=12
Moving to Node #0,1,1
Current State: 60:[7, 15], Operations: ['52-45=7', '34-19=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[19, 27], Operations: ['52-45=7', '34-7=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,60 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[34, 12], Operations: ['52-45=7', '19-7=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,60 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[19, 52, 11], Operations: ['45-34=11']
Exploring Operation: 19+11=30, Resulting Numbers: [52, 30]
Generated Node #0,2,0: 60:[52, 30] Operation: 19+11=30
Exploring Operation: 52-19=33, Resulting Numbers: [11, 33]
Generated Node #0,2,1: 60:[11, 33] Operation: 52-19=33
Exploring Operation: 52+11=63, Resulting Numbers: [19, 63]
Generated Node #0,2,2: 60:[19, 63] Operation: 52+11=63
Moving to Node #0,2,1
Current State: 60:[11, 33], Operations: ['45-34=11', '52-19=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[19, 63], Operations: ['45-34=11', '52+11=63']
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,60 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[52, 30], Operations: ['45-34=11', '19+11=30']
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,60 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[34, 52, 64], Operations: ['45+19=64']
Exploring Operation: 64-34=30, Resulting Numbers: [52, 30]
Generated Node #0,0,0: 60:[52, 30] Operation: 64-34=30
Exploring Operation: 52-34=18, Resulting Numbers: [64, 18]
Generated Node #0,0,1: 60:[64, 18] Operation: 52-34=18
Exploring Operation: 64-52=12, Resulting Numbers: [34, 12]
Generated Node #0,0,2: 60:[34, 12] Operation: 64-52=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[34, 12], Operations: ['45+19=64', '64-52=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,60 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[64, 18], Operations: ['45+19=64', '52-34=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,60 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[52, 30], Operations: ['45+19=64', '64-34=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,60 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
29,
37,
34
] | 45 | [
"44-29=15",
"37-34=3",
"15*3=45"
] | Current State: 45:[44, 29, 37, 34], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [37, 34, 15]
Generated Node #2: [37, 34, 15] from Operation: 44-29=15
Current State: 45:[37, 34, 15], Operations: ['44-29=15']
Exploring Operation: 37-34=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 37-34=3
Current State: 45:[15, 3], Operations: ['44-29=15', '37-34=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[44, 29, 37, 34], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [37, 34, 15]
Generated Node #0,0: 45:[37, 34, 15] Operation: 44-29=15
Exploring Operation: 37-29=8, Resulting Numbers: [44, 34, 8]
Generated Node #0,1: 45:[44, 34, 8] Operation: 37-29=8
Exploring Operation: 44-34=10, Resulting Numbers: [29, 37, 10]
Generated Node #0,2: 45:[29, 37, 10] Operation: 44-34=10
Exploring Operation: 34-29=5, Resulting Numbers: [44, 37, 5]
Generated Node #0,3: 45:[44, 37, 5] Operation: 34-29=5
Exploring Operation: 37-34=3, Resulting Numbers: [44, 29, 3]
Generated Node #0,4: 45:[44, 29, 3] Operation: 37-34=3
Moving to Node #0,3
Current State: 45:[44, 37, 5], Operations: ['34-29=5']
Exploring Operation: 44-37=7, Resulting Numbers: [5, 7]
Generated Node #0,3,0: 45:[5, 7] Operation: 44-37=7
Exploring Operation: 44-5=39, Resulting Numbers: [37, 39]
Generated Node #0,3,1: 45:[37, 39] Operation: 44-5=39
Exploring Operation: 37+5=42, Resulting Numbers: [44, 42]
Generated Node #0,3,2: 45:[44, 42] Operation: 37+5=42
Exploring Operation: 37-5=32, Resulting Numbers: [44, 32]
Generated Node #0,3,3: 45:[44, 32] Operation: 37-5=32
Exploring Operation: 44+5=49, Resulting Numbers: [37, 49]
Generated Node #0,3,4: 45:[37, 49] Operation: 44+5=49
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[5, 7], Operations: ['34-29=5', '44-37=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,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:[44, 42], Operations: ['34-29=5', '37+5=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,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:[37, 49], Operations: ['34-29=5', '44+5=49']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,45 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,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:[37, 39], Operations: ['34-29=5', '44-5=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,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,3
Current State: 45:[44, 32], Operations: ['34-29=5', '37-5=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,45 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,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:[44, 34, 8], Operations: ['37-29=8']
Exploring Operation: 34-8=26, Resulting Numbers: [44, 26]
Generated Node #0,1,0: 45:[44, 26] Operation: 34-8=26
Exploring Operation: 34+8=42, Resulting Numbers: [44, 42]
Generated Node #0,1,1: 45:[44, 42] Operation: 34+8=42
Exploring Operation: 44+8=52, Resulting Numbers: [34, 52]
Generated Node #0,1,2: 45:[34, 52] Operation: 44+8=52
Exploring Operation: 44-34=10, Resulting Numbers: [8, 10]
Generated Node #0,1,3: 45:[8, 10] Operation: 44-34=10
Exploring Operation: 44-8=36, Resulting Numbers: [34, 36]
Generated Node #0,1,4: 45:[34, 36] Operation: 44-8=36
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[8, 10], Operations: ['37-29=8', '44-34=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,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,1,1
Current State: 45:[44, 42], Operations: ['37-29=8', '34+8=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,45 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,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,1,0
Current State: 45:[44, 26], Operations: ['37-29=8', '34-8=26']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,45 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,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,1,2
Current State: 45:[34, 52], Operations: ['37-29=8', '44+8=52']
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,45 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,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,1,4
Current State: 45:[34, 36], Operations: ['37-29=8', '44-8=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,45 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,45 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: 45:[44, 29, 3], Operations: ['37-34=3']
Exploring Operation: 29-3=26, Resulting Numbers: [44, 26]
Generated Node #0,4,0: 45:[44, 26] Operation: 29-3=26
Exploring Operation: 44+3=47, Resulting Numbers: [29, 47]
Generated Node #0,4,1: 45:[29, 47] Operation: 44+3=47
Exploring Operation: 44-29=15, Resulting Numbers: [3, 15]
Generated Node #0,4,2: 45:[3, 15] Operation: 44-29=15
Exploring Operation: 29+3=32, Resulting Numbers: [44, 32]
Generated Node #0,4,3: 45:[44, 32] Operation: 29+3=32
Exploring Operation: 44-3=41, Resulting Numbers: [29, 41]
Generated Node #0,4,4: 45:[29, 41] Operation: 44-3=41
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 45:[3, 15], Operations: ['37-34=3', '44-29=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[44, 29, 37, 34], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [44, 29, 3]
Generated Node #0,4: 45:[44, 29, 3] Operation: 37-34=3
Moving to Node #0,4
Current State: 45:[44, 29, 3], Operations: ['37-34=3']
Exploring Operation: 44-29=15, Resulting Numbers: [3, 15]
Generated Node #0,4,2: 45:[3, 15] Operation: 44-29=15
Moving to Node #0,4,2
Current State: 45:[3, 15], Operations: ['37-34=3', '44-29=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | mult_heuristic |
[
23,
39,
57,
18
] | 55 | [
"39-23=16",
"57-18=39",
"16+39=55"
] | Current State: 55:[23, 39, 57, 18], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [57, 18, 16]
Generated Node #2: [57, 18, 16] from Operation: 39-23=16
Current State: 55:[57, 18, 16], Operations: ['39-23=16']
Exploring Operation: 57-18=39, Resulting Numbers: [16, 39]
Generated Node #3: [16, 39] from Operation: 57-18=39
Current State: 55:[16, 39], Operations: ['39-23=16', '57-18=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[23, 39, 57, 18], Operations: []
Exploring Operation: 23-18=5, Resulting Numbers: [39, 57, 5]
Generated Node #0,0: 55:[39, 57, 5] Operation: 23-18=5
Exploring Operation: 39-18=21, Resulting Numbers: [23, 57, 21]
Generated Node #0,1: 55:[23, 57, 21] Operation: 39-18=21
Exploring Operation: 23+39=62, Resulting Numbers: [57, 18, 62]
Generated Node #0,2: 55:[57, 18, 62] Operation: 23+39=62
Exploring Operation: 39-23=16, Resulting Numbers: [57, 18, 16]
Generated Node #0,3: 55:[57, 18, 16] Operation: 39-23=16
Exploring Operation: 39+18=57, Resulting Numbers: [23, 57, 57]
Generated Node #0,4: 55:[23, 57, 57] Operation: 39+18=57
Moving to Node #0,3
Current State: 55:[57, 18, 16], Operations: ['39-23=16']
Exploring Operation: 57+18=75, Resulting Numbers: [16, 75]
Generated Node #0,3,0: 55:[16, 75] Operation: 57+18=75
Exploring Operation: 18+16=34, Resulting Numbers: [57, 34]
Generated Node #0,3,1: 55:[57, 34] Operation: 18+16=34
Exploring Operation: 18-16=2, Resulting Numbers: [57, 2]
Generated Node #0,3,2: 55:[57, 2] Operation: 18-16=2
Exploring Operation: 57-18=39, Resulting Numbers: [16, 39]
Generated Node #0,3,3: 55:[16, 39] Operation: 57-18=39
Exploring Operation: 57-16=41, Resulting Numbers: [18, 41]
Generated Node #0,3,4: 55:[18, 41] Operation: 57-16=41
Moving to Node #0,4
Current State: 55:[23, 57, 57], Operations: ['39+18=57']
Exploring Operation: 57-23=34, Resulting Numbers: [57, 34]
Generated Node #0,4,0: 55:[57, 34] Operation: 57-23=34
Exploring Operation: 57-57=0, Resulting Numbers: [23, 0]
Generated Node #0,4,1: 55:[23, 0] Operation: 57-57=0
Exploring Operation: 23+57=80, Resulting Numbers: [57, 80]
Generated Node #0,4,2: 55:[57, 80] Operation: 23+57=80
Exploring Operation: 57-23=34, Resulting Numbers: [57, 34]
Generated Node #0,4,3: 55:[57, 34] Operation: 57-23=34
Exploring Operation: 57/57=1, Resulting Numbers: [23, 1]
Generated Node #0,4,4: 55:[23, 1] Operation: 57/57=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 55:[23, 1], Operations: ['39+18=57', '57/57=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 55:[23, 0], Operations: ['39+18=57', '57-57=0']
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 55:[57, 34], Operations: ['39+18=57', '57-23=34']
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,55 unequal: No Solution
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,55 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 55:[57, 34], Operations: ['39+18=57', '57-23=34']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,55 unequal: No Solution
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 55:[57, 80], Operations: ['39+18=57', '23+57=80']
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,55 unequal: No Solution
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,55 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,55 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: 55:[57, 18, 62], Operations: ['23+39=62']
Exploring Operation: 62-18=44, Resulting Numbers: [57, 44]
Generated Node #0,2,0: 55:[57, 44] Operation: 62-18=44
Exploring Operation: 57-18=39, Resulting Numbers: [62, 39]
Generated Node #0,2,1: 55:[62, 39] Operation: 57-18=39
Exploring Operation: 57+18=75, Resulting Numbers: [62, 75]
Generated Node #0,2,2: 55:[62, 75] Operation: 57+18=75
Exploring Operation: 62-57=5, Resulting Numbers: [18, 5]
Generated Node #0,2,3: 55:[18, 5] Operation: 62-57=5
Exploring Operation: 18+62=80, Resulting Numbers: [57, 80]
Generated Node #0,2,4: 55:[57, 80] Operation: 18+62=80
Moving to Node #0,0
Current State: 55:[39, 57, 5], Operations: ['23-18=5']
Exploring Operation: 39+5=44, Resulting Numbers: [57, 44]
Generated Node #0,0,0: 55:[57, 44] Operation: 39+5=44
Exploring Operation: 57-39=18, Resulting Numbers: [5, 18]
Generated Node #0,0,1: 55:[5, 18] Operation: 57-39=18
Exploring Operation: 57-5=52, Resulting Numbers: [39, 52]
Generated Node #0,0,2: 55:[39, 52] Operation: 57-5=52
Exploring Operation: 39-5=34, Resulting Numbers: [57, 34]
Generated Node #0,0,3: 55:[57, 34] Operation: 39-5=34
Exploring Operation: 57+5=62, Resulting Numbers: [39, 62]
Generated Node #0,0,4: 55:[39, 62] Operation: 57+5=62
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[5, 18], Operations: ['23-18=5', '57-39=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[57, 44], Operations: ['23-18=5', '39+5=44']
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,55 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[39, 52], Operations: ['23-18=5', '57-5=52']
Exploring Operation: 39+52=91, Resulting Numbers: [91]
91,55 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 39*52=2028, Resulting Numbers: [2028]
2028,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[57, 34], Operations: ['23-18=5', '39-5=34']
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,55 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 55:[39, 62], Operations: ['23-18=5', '57+5=62']
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,55 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 55:[23, 57, 21], Operations: ['39-18=21']
Exploring Operation: 23-21=2, Resulting Numbers: [57, 2]
Generated Node #0,1,0: 55:[57, 2] Operation: 23-21=2
Exploring Operation: 23+57=80, Resulting Numbers: [21, 80]
Generated Node #0,1,1: 55:[21, 80] Operation: 23+57=80
Exploring Operation: 23+21=44, Resulting Numbers: [57, 44]
Generated Node #0,1,2: 55:[57, 44] Operation: 23+21=44
Exploring Operation: 57-21=36, Resulting Numbers: [23, 36]
Generated Node #0,1,3: 55:[23, 36] Operation: 57-21=36
Exploring Operation: 57-23=34, Resulting Numbers: [21, 34]
Generated Node #0,1,4: 55:[21, 34] Operation: 57-23=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[57, 2], Operations: ['39-18=21', '23-21=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[23, 39, 57, 18], Operations: []
Exploring Operation: 39-18=21, Resulting Numbers: [23, 57, 21]
Generated Node #0,1: 55:[23, 57, 21] Operation: 39-18=21
Moving to Node #0,1
Current State: 55:[23, 57, 21], Operations: ['39-18=21']
Exploring Operation: 23-21=2, Resulting Numbers: [57, 2]
Generated Node #0,1,0: 55:[57, 2] Operation: 23-21=2
Moving to Node #0,1,0
Current State: 55:[57, 2], Operations: ['39-18=21', '23-21=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | mult_heuristic |
[
84,
49,
53,
10
] | 70 | [
"84+49=133",
"53+10=63",
"133-63=70"
] | Current State: 70:[84, 49, 53, 10], Operations: []
Exploring Operation: 84+49=133, Resulting Numbers: [53, 10, 133]
Generated Node #2: [53, 10, 133] from Operation: 84+49=133
Current State: 70:[53, 10, 133], Operations: ['84+49=133']
Exploring Operation: 53+10=63, Resulting Numbers: [133, 63]
Generated Node #3: [133, 63] from Operation: 53+10=63
Current State: 70:[133, 63], Operations: ['84+49=133', '53+10=63']
Exploring Operation: 133-63=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[84, 49, 53, 10], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [84, 10, 4]
Generated Node #0,0: 70:[84, 10, 4] Operation: 53-49=4
Moving to Node #0,0
Current State: 70:[84, 10, 4], Operations: ['53-49=4']
Exploring Operation: 84-10=74, Resulting Numbers: [4, 74]
Generated Node #0,0,0: 70:[4, 74] Operation: 84-10=74
Moving to Node #0,0,0
Current State: 70:[4, 74], Operations: ['53-49=4', '84-10=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[84, 49, 53, 10], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [84, 10, 4]
Generated Node #0,0: 70:[84, 10, 4] Operation: 53-49=4
Moving to Node #0,0
Current State: 70:[84, 10, 4], Operations: ['53-49=4']
Exploring Operation: 84-10=74, Resulting Numbers: [4, 74]
Generated Node #0,0,0: 70:[4, 74] Operation: 84-10=74
Moving to Node #0,0,0
Current State: 70:[4, 74], Operations: ['53-49=4', '84-10=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
26,
41,
4,
96
] | 82 | [
"96/4=24",
"26-24=2",
"41*2=82"
] | Current State: 82:[26, 41, 4, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [26, 41, 24]
Generated Node #2: [26, 41, 24] from Operation: 96/4=24
Current State: 82:[26, 41, 24], Operations: ['96/4=24']
Exploring Operation: 26-24=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 26-24=2
Current State: 82:[41, 2], Operations: ['96/4=24', '26-24=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[26, 41, 4, 96], Operations: []
Exploring Operation: 96-26=70, Resulting Numbers: [41, 4, 70]
Generated Node #0,0: 82:[41, 4, 70] Operation: 96-26=70
Moving to Node #0,0
Current State: 82:[41, 4, 70], Operations: ['96-26=70']
Exploring Operation: 4+70=74, Resulting Numbers: [41, 74]
Generated Node #0,0,0: 82:[41, 74] Operation: 4+70=74
Moving to Node #0,0,0
Current State: 82:[41, 74], Operations: ['96-26=70', '4+70=74']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,82 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
82,
91,
37
] | 40 | [
"96-82=14",
"91-37=54",
"54-14=40"
] | Current State: 40:[96, 82, 91, 37], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [91, 37, 14]
Generated Node #2: [91, 37, 14] from Operation: 96-82=14
Current State: 40:[91, 37, 14], Operations: ['96-82=14']
Exploring Operation: 91-37=54, Resulting Numbers: [14, 54]
Generated Node #3: [14, 54] from Operation: 91-37=54
Current State: 40:[14, 54], Operations: ['96-82=14', '91-37=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[96, 82, 91, 37], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [96, 37, 9]
Generated Node #0,0: 40:[96, 37, 9] Operation: 91-82=9
Exploring Operation: 96-91=5, Resulting Numbers: [82, 37, 5]
Generated Node #0,1: 40:[82, 37, 5] Operation: 96-91=5
Exploring Operation: 96-82=14, Resulting Numbers: [91, 37, 14]
Generated Node #0,2: 40:[91, 37, 14] Operation: 96-82=14
Moving to Node #0,1
Current State: 40:[82, 37, 5], Operations: ['96-91=5']
Exploring Operation: 37+5=42, Resulting Numbers: [82, 42]
Generated Node #0,1,0: 40:[82, 42] Operation: 37+5=42
Exploring Operation: 82-5=77, Resulting Numbers: [37, 77]
Generated Node #0,1,1: 40:[37, 77] Operation: 82-5=77
Exploring Operation: 82-37=45, Resulting Numbers: [5, 45]
Generated Node #0,1,2: 40:[5, 45] Operation: 82-37=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[5, 45], Operations: ['96-91=5', '82-37=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[96, 82, 91, 37], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [82, 37, 5]
Generated Node #0,1: 40:[82, 37, 5] Operation: 96-91=5
Moving to Node #0,1
Current State: 40:[82, 37, 5], Operations: ['96-91=5']
Exploring Operation: 82-37=45, Resulting Numbers: [5, 45]
Generated Node #0,1,2: 40:[5, 45] Operation: 82-37=45
Moving to Node #0,1,2
Current State: 40:[5, 45], Operations: ['96-91=5', '82-37=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
4,
93,
43,
80
] | 46 | [
"93+43=136",
"136/4=34",
"80-34=46"
] | Current State: 46:[4, 93, 43, 80], Operations: []
Exploring Operation: 93+43=136, Resulting Numbers: [4, 80, 136]
Generated Node #2: [4, 80, 136] from Operation: 93+43=136
Current State: 46:[4, 80, 136], Operations: ['93+43=136']
Exploring Operation: 136/4=34, Resulting Numbers: [80, 34]
Generated Node #3: [80, 34] from Operation: 136/4=34
Current State: 46:[80, 34], Operations: ['93+43=136', '136/4=34']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[4, 93, 43, 80], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [4, 43, 13]
Generated Node #0,0: 46:[4, 43, 13] Operation: 93-80=13
Moving to Node #0,0
Current State: 46:[4, 43, 13], Operations: ['93-80=13']
Exploring Operation: 4+13=17, Resulting Numbers: [43, 17]
Generated Node #0,0,0: 46:[43, 17] Operation: 4+13=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[43, 17], Operations: ['93-80=13', '4+13=17']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,46 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 |
[
89,
26,
13,
59
] | 32 | [
"89-59=30",
"26/13=2",
"30+2=32"
] | Current State: 32:[89, 26, 13, 59], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [26, 13, 30]
Generated Node #2: [26, 13, 30] from Operation: 89-59=30
Current State: 32:[26, 13, 30], Operations: ['89-59=30']
Exploring Operation: 26/13=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 26/13=2
Current State: 32:[30, 2], Operations: ['89-59=30', '26/13=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[89, 26, 13, 59], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [26, 13, 30]
Generated Node #0,0: 32:[26, 13, 30] Operation: 89-59=30
Exploring Operation: 89-26=63, Resulting Numbers: [13, 59, 63]
Generated Node #0,1: 32:[13, 59, 63] Operation: 89-26=63
Moving to Node #0,0
Current State: 32:[26, 13, 30], Operations: ['89-59=30']
Exploring Operation: 26/13=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 26/13=2
Exploring Operation: 30-26=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 32:[13, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['89-59=30', '26/13=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[89, 26, 13, 59], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [26, 13, 30]
Generated Node #0,0: 32:[26, 13, 30] Operation: 89-59=30
Moving to Node #0,0
Current State: 32:[26, 13, 30], Operations: ['89-59=30']
Exploring Operation: 26/13=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 26/13=2
Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['89-59=30', '26/13=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
42,
96,
48,
2
] | 18 | [
"48-42=6",
"96/6=16",
"2+16=18"
] | Current State: 18:[42, 96, 48, 2], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [96, 2, 6]
Generated Node #2: [96, 2, 6] from Operation: 48-42=6
Current State: 18:[96, 2, 6], Operations: ['48-42=6']
Exploring Operation: 96/6=16, Resulting Numbers: [2, 16]
Generated Node #3: [2, 16] from Operation: 96/6=16
Current State: 18:[2, 16], Operations: ['48-42=6', '96/6=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[42, 96, 48, 2], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [42, 2, 48]
Generated Node #0,0: 18:[42, 2, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [42, 2, 2]
Generated Node #0,1: 18:[42, 2, 2] Operation: 96/48=2
Moving to Node #0,1
Current State: 18:[42, 2, 2], Operations: ['96/48=2']
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 18:[2, 21] Operation: 42/2=21
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 18:[2, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[2, 21], Operations: ['96/48=2', '42/2=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,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:[2, 21], Operations: ['96/48=2', '42/2=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,18 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: 18:[42, 2, 48], Operations: ['96-48=48']
Exploring Operation: 48/2=24, Resulting Numbers: [42, 24]
Generated Node #0,0,0: 18:[42, 24] Operation: 48/2=24
Exploring Operation: 48-42=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 18:[2, 6] Operation: 48-42=6
Moving to Node #0,0,1
Current State: 18:[2, 6], Operations: ['96-48=48', '48-42=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[42, 24], Operations: ['96-48=48', '48/2=24']
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[42, 96, 48, 2], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [42, 2, 48]
Generated Node #0,0: 18:[42, 2, 48] Operation: 96-48=48
Moving to Node #0,0
Current State: 18:[42, 2, 48], Operations: ['96-48=48']
Exploring Operation: 48/2=24, Resulting Numbers: [42, 24]
Generated Node #0,0,0: 18:[42, 24] Operation: 48/2=24
Moving to Node #0,0,0
Current State: 18:[42, 24], Operations: ['96-48=48', '48/2=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
98,
43,
42,
65
] | 52 | [
"98-43=55",
"42+65=107",
"107-55=52"
] | Current State: 52:[98, 43, 42, 65], Operations: []
Exploring Operation: 98-43=55, Resulting Numbers: [42, 65, 55]
Generated Node #2: [42, 65, 55] from Operation: 98-43=55
Current State: 52:[42, 65, 55], Operations: ['98-43=55']
Exploring Operation: 42+65=107, Resulting Numbers: [55, 107]
Generated Node #3: [55, 107] from Operation: 42+65=107
Current State: 52:[55, 107], Operations: ['98-43=55', '42+65=107']
Exploring Operation: 107-55=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[98, 43, 42, 65], Operations: []
Exploring Operation: 98-43=55, Resulting Numbers: [42, 65, 55]
Generated Node #0,0: 52:[42, 65, 55] Operation: 98-43=55
Moving to Node #0,0
Current State: 52:[42, 65, 55], Operations: ['98-43=55']
Exploring Operation: 65-42=23, Resulting Numbers: [55, 23]
Generated Node #0,0,0: 52:[55, 23] Operation: 65-42=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[55, 23], Operations: ['98-43=55', '65-42=23']
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
80,
53,
82
] | 40 | [
"80-11=69",
"82-53=29",
"69-29=40"
] | Current State: 40:[11, 80, 53, 82], Operations: []
Exploring Operation: 80-11=69, Resulting Numbers: [53, 82, 69]
Generated Node #2: [53, 82, 69] from Operation: 80-11=69
Current State: 40:[53, 82, 69], Operations: ['80-11=69']
Exploring Operation: 82-53=29, Resulting Numbers: [69, 29]
Generated Node #3: [69, 29] from Operation: 82-53=29
Current State: 40:[69, 29], Operations: ['80-11=69', '82-53=29']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[11, 80, 53, 82], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [11, 82, 27]
Generated Node #0,0: 40:[11, 82, 27] Operation: 80-53=27
Exploring Operation: 82-53=29, Resulting Numbers: [11, 80, 29]
Generated Node #0,1: 40:[11, 80, 29] Operation: 82-53=29
Exploring Operation: 82-80=2, Resulting Numbers: [11, 53, 2]
Generated Node #0,2: 40:[11, 53, 2] Operation: 82-80=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[11, 53, 2], Operations: ['82-80=2']
Exploring Operation: 53-2=51, Resulting Numbers: [11, 51]
Generated Node #0,2,0: 40:[11, 51] Operation: 53-2=51
Exploring Operation: 53-11=42, Resulting Numbers: [2, 42]
Generated Node #0,2,1: 40:[2, 42] Operation: 53-11=42
Exploring Operation: 11-2=9, Resulting Numbers: [53, 9]
Generated Node #0,2,2: 40:[53, 9] Operation: 11-2=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[2, 42], Operations: ['82-80=2', '53-11=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[11, 80, 53, 82], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [11, 53, 2]
Generated Node #0,2: 40:[11, 53, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 40:[11, 53, 2], Operations: ['82-80=2']
Exploring Operation: 53-11=42, Resulting Numbers: [2, 42]
Generated Node #0,2,1: 40:[2, 42] Operation: 53-11=42
Moving to Node #0,2,1
Current State: 40:[2, 42], Operations: ['82-80=2', '53-11=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
98,
12,
18,
33
] | 100 | [
"18-12=6",
"33*6=198",
"198-98=100"
] | Current State: 100:[98, 12, 18, 33], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [98, 33, 6]
Generated Node #2: [98, 33, 6] from Operation: 18-12=6
Current State: 100:[98, 33, 6], Operations: ['18-12=6']
Exploring Operation: 33*6=198, Resulting Numbers: [98, 198]
Generated Node #3: [98, 198] from Operation: 33*6=198
Current State: 100:[98, 198], Operations: ['18-12=6', '33*6=198']
Exploring Operation: 198-98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[98, 12, 18, 33], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [98, 18, 21]
Generated Node #0,0: 100:[98, 18, 21] Operation: 33-12=21
Exploring Operation: 18+33=51, Resulting Numbers: [98, 12, 51]
Generated Node #0,1: 100:[98, 12, 51] Operation: 18+33=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[98, 18, 21], Operations: ['33-12=21']
Exploring Operation: 18+21=39, Resulting Numbers: [98, 39]
Generated Node #0,0,0: 100:[98, 39] Operation: 18+21=39
Exploring Operation: 21-18=3, Resulting Numbers: [98, 3]
Generated Node #0,0,1: 100:[98, 3] Operation: 21-18=3
Moving to Node #0,0,1
Current State: 100:[98, 3], Operations: ['33-12=21', '21-18=3']
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[98, 39], Operations: ['33-12=21', '18+21=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[98, 12, 51], Operations: ['18+33=51']
Exploring Operation: 98-51=47, Resulting Numbers: [12, 47]
Generated Node #0,1,0: 100:[12, 47] Operation: 98-51=47
Exploring Operation: 98+12=110, Resulting Numbers: [51, 110]
Generated Node #0,1,1: 100:[51, 110] Operation: 98+12=110
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[12, 47], Operations: ['18+33=51', '98-51=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,100 unequal: No Solution
No 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: 100:[51, 110], Operations: ['18+33=51', '98+12=110']
Exploring Operation: 51+110=161, Resulting Numbers: [161]
161,100 unequal: No Solution
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
93,
33,
44,
22
] | 18 | [
"93*22=2046",
"2046/33=62",
"62-44=18"
] | Current State: 18:[93, 33, 44, 22], Operations: []
Exploring Operation: 93*22=2046, Resulting Numbers: [33, 44, 2046]
Generated Node #2: [33, 44, 2046] from Operation: 93*22=2046
Current State: 18:[33, 44, 2046], Operations: ['93*22=2046']
Exploring Operation: 2046/33=62, Resulting Numbers: [44, 62]
Generated Node #3: [44, 62] from Operation: 2046/33=62
Current State: 18:[44, 62], Operations: ['93*22=2046', '2046/33=62']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[93, 33, 44, 22], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [33, 22, 49]
Generated Node #0,0: 18:[33, 22, 49] Operation: 93-44=49
Exploring Operation: 93-33=60, Resulting Numbers: [44, 22, 60]
Generated Node #0,1: 18:[44, 22, 60] Operation: 93-33=60
Moving to Node #0,0
Current State: 18:[33, 22, 49], Operations: ['93-44=49']
Exploring Operation: 49-33=16, Resulting Numbers: [22, 16]
Generated Node #0,0,0: 18:[22, 16] Operation: 49-33=16
Exploring Operation: 49-22=27, Resulting Numbers: [33, 27]
Generated Node #0,0,1: 18:[33, 27] Operation: 49-22=27
Moving to Node #0,1
Current State: 18:[44, 22, 60], Operations: ['93-33=60']
Exploring Operation: 60-44=16, Resulting Numbers: [22, 16]
Generated Node #0,1,0: 18:[22, 16] Operation: 60-44=16
Exploring Operation: 44/22=2, Resulting Numbers: [60, 2]
Generated Node #0,1,1: 18:[60, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[22, 16], Operations: ['93-33=60', '60-44=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 22-16=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,1,1
Current State: 18:[60, 2], Operations: ['93-33=60', '44/22=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,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:[22, 16], Operations: ['93-44=49', '49-33=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[33, 27], Operations: ['93-44=49', '49-22=27']
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,18 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
15,
72,
51
] | 89 | [
"95+15=110",
"72-51=21",
"110-21=89"
] | Current State: 89:[95, 15, 72, 51], Operations: []
Exploring Operation: 95+15=110, Resulting Numbers: [72, 51, 110]
Generated Node #2: [72, 51, 110] from Operation: 95+15=110
Current State: 89:[72, 51, 110], Operations: ['95+15=110']
Exploring Operation: 72-51=21, Resulting Numbers: [110, 21]
Generated Node #3: [110, 21] from Operation: 72-51=21
Current State: 89:[110, 21], Operations: ['95+15=110', '72-51=21']
Exploring Operation: 110-21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[95, 15, 72, 51], Operations: []
Exploring Operation: 15+51=66, Resulting Numbers: [95, 72, 66]
Generated Node #0,0: 89:[95, 72, 66] Operation: 15+51=66
Exploring Operation: 15+72=87, Resulting Numbers: [95, 51, 87]
Generated Node #0,1: 89:[95, 51, 87] Operation: 15+72=87
Exploring Operation: 95-15=80, Resulting Numbers: [72, 51, 80]
Generated Node #0,2: 89:[72, 51, 80] Operation: 95-15=80
Exploring Operation: 95+15=110, Resulting Numbers: [72, 51, 110]
Generated Node #0,3: 89:[72, 51, 110] Operation: 95+15=110
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[95, 72, 66], Operations: ['15+51=66']
Exploring Operation: 95-72=23, Resulting Numbers: [66, 23]
Generated Node #0,0,0: 89:[66, 23] Operation: 95-72=23
Exploring Operation: 95+66=161, Resulting Numbers: [72, 161]
Generated Node #0,0,1: 89:[72, 161] Operation: 95+66=161
Exploring Operation: 95-66=29, Resulting Numbers: [72, 29]
Generated Node #0,0,2: 89:[72, 29] Operation: 95-66=29
Exploring Operation: 72+66=138, Resulting Numbers: [95, 138]
Generated Node #0,0,3: 89:[95, 138] Operation: 72+66=138
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[95, 138], Operations: ['15+51=66', '72+66=138']
Exploring Operation: 95+138=233, Resulting Numbers: [233]
233,89 unequal: No Solution
Exploring Operation: 95*138=13110, Resulting Numbers: [13110]
13110,89 unequal: No Solution
Exploring Operation: 138-95=43, Resulting Numbers: [43]
43,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[72, 29], Operations: ['15+51=66', '95-66=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,89 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[66, 23], Operations: ['15+51=66', '95-72=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[95, 15, 72, 51], Operations: []
Exploring Operation: 15+51=66, Resulting Numbers: [95, 72, 66]
Generated Node #0,0: 89:[95, 72, 66] Operation: 15+51=66
Moving to Node #0,0
Current State: 89:[95, 72, 66], Operations: ['15+51=66']
Exploring Operation: 95-72=23, Resulting Numbers: [66, 23]
Generated Node #0,0,0: 89:[66, 23] Operation: 95-72=23
Moving to Node #0,0,0
Current State: 89:[66, 23], Operations: ['15+51=66', '95-72=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
13,
16,
36,
41
] | 48 | [
"13+16=29",
"36+41=77",
"77-29=48"
] | Current State: 48:[13, 16, 36, 41], Operations: []
Exploring Operation: 13+16=29, Resulting Numbers: [36, 41, 29]
Generated Node #2: [36, 41, 29] from Operation: 13+16=29
Current State: 48:[36, 41, 29], Operations: ['13+16=29']
Exploring Operation: 36+41=77, Resulting Numbers: [29, 77]
Generated Node #3: [29, 77] from Operation: 36+41=77
Current State: 48:[29, 77], Operations: ['13+16=29', '36+41=77']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[13, 16, 36, 41], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [13, 16, 5]
Generated Node #0,0: 48:[13, 16, 5] Operation: 41-36=5
Moving to Node #0,0
Current State: 48:[13, 16, 5], Operations: ['41-36=5']
Exploring Operation: 13-5=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 48:[16, 8] Operation: 13-5=8
Moving to Node #0,0,0
Current State: 48:[16, 8], Operations: ['41-36=5', '13-5=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
58,
56,
56
] | 86 | [
"27+58=85",
"56/56=1",
"85+1=86"
] | Current State: 86:[27, 58, 56, 56], Operations: []
Exploring Operation: 27+58=85, Resulting Numbers: [56, 56, 85]
Generated Node #2: [56, 56, 85] from Operation: 27+58=85
Current State: 86:[56, 56, 85], Operations: ['27+58=85']
Exploring Operation: 56/56=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 56/56=1
Current State: 86:[85, 1], Operations: ['27+58=85', '56/56=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[27, 58, 56, 56], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [27, 56, 2]
Generated Node #0,0: 86:[27, 56, 2] Operation: 58-56=2
Exploring Operation: 27+58=85, Resulting Numbers: [56, 56, 85]
Generated Node #0,1: 86:[56, 56, 85] Operation: 27+58=85
Moving to Node #0,1
Current State: 86:[56, 56, 85], Operations: ['27+58=85']
Exploring Operation: 56/56=1, Resulting Numbers: [85, 1]
Generated Node #0,1,0: 86:[85, 1] Operation: 56/56=1
Exploring Operation: 56-56=0, Resulting Numbers: [85, 0]
Generated Node #0,1,1: 86:[85, 0] Operation: 56-56=0
Moving to Node #0,0
Current State: 86:[27, 56, 2], Operations: ['58-56=2']
Exploring Operation: 27+56=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 86:[2, 83] Operation: 27+56=83
Exploring Operation: 56-27=29, Resulting Numbers: [2, 29]
Generated Node #0,0,1: 86:[2, 29] Operation: 56-27=29
Moving to Node #0,1,0
Current State: 86:[85, 1], Operations: ['27+58=85', '56/56=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[27, 58, 56, 56], Operations: []
Exploring Operation: 27+58=85, Resulting Numbers: [56, 56, 85]
Generated Node #0,1: 86:[56, 56, 85] Operation: 27+58=85
Moving to Node #0,1
Current State: 86:[56, 56, 85], Operations: ['27+58=85']
Exploring Operation: 56/56=1, Resulting Numbers: [85, 1]
Generated Node #0,1,0: 86:[85, 1] Operation: 56/56=1
Moving to Node #0,1,0
Current State: 86:[85, 1], Operations: ['27+58=85', '56/56=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
58,
20,
14,
33
] | 19 | [
"58-20=38",
"33-14=19",
"38-19=19"
] | Current State: 19:[58, 20, 14, 33], Operations: []
Exploring Operation: 58-20=38, Resulting Numbers: [14, 33, 38]
Generated Node #2: [14, 33, 38] from Operation: 58-20=38
Current State: 19:[14, 33, 38], Operations: ['58-20=38']
Exploring Operation: 33-14=19, Resulting Numbers: [38, 19]
Generated Node #3: [38, 19] from Operation: 33-14=19
Current State: 19:[38, 19], Operations: ['58-20=38', '33-14=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[58, 20, 14, 33], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [20, 14, 25]
Generated Node #0,0: 19:[20, 14, 25] Operation: 58-33=25
Moving to Node #0,0
Current State: 19:[20, 14, 25], Operations: ['58-33=25']
Exploring Operation: 25-14=11, Resulting Numbers: [20, 11]
Generated Node #0,0,0: 19:[20, 11] Operation: 25-14=11
Moving to Node #0,0,0
Current State: 19:[20, 11], Operations: ['58-33=25', '25-14=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
5,
99,
15
] | 45 | [
"30*15=450",
"5*99=495",
"495-450=45"
] | Current State: 45:[30, 5, 99, 15], Operations: []
Exploring Operation: 30*15=450, Resulting Numbers: [5, 99, 450]
Generated Node #2: [5, 99, 450] from Operation: 30*15=450
Current State: 45:[5, 99, 450], Operations: ['30*15=450']
Exploring Operation: 5*99=495, Resulting Numbers: [450, 495]
Generated Node #3: [450, 495] from Operation: 5*99=495
Current State: 45:[450, 495], Operations: ['30*15=450', '5*99=495']
Exploring Operation: 495-450=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[30, 5, 99, 15], Operations: []
Exploring Operation: 30-15=15, Resulting Numbers: [5, 99, 15]
Generated Node #0,0: 45:[5, 99, 15] Operation: 30-15=15
Exploring Operation: 99-30=69, Resulting Numbers: [5, 15, 69]
Generated Node #0,1: 45:[5, 15, 69] Operation: 99-30=69
Exploring Operation: 30+15=45, Resulting Numbers: [5, 99, 45]
Generated Node #0,2: 45:[5, 99, 45] Operation: 30+15=45
Moving to Node #0,1
Current State: 45:[5, 15, 69], Operations: ['99-30=69']
Exploring Operation: 15/5=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 45:[69, 3] Operation: 15/5=3
Exploring Operation: 69-5=64, Resulting Numbers: [15, 64]
Generated Node #0,1,1: 45:[15, 64] Operation: 69-5=64
Exploring Operation: 69-15=54, Resulting Numbers: [5, 54]
Generated Node #0,1,2: 45:[5, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[5, 54], Operations: ['99-30=69', '69-15=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,45 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,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,1,1
Current State: 45:[15, 64], Operations: ['99-30=69', '69-5=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,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,1,0
Current State: 45:[69, 3], Operations: ['99-30=69', '15/5=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,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:[5, 99, 15], Operations: ['30-15=15']
Exploring Operation: 15/5=3, Resulting Numbers: [99, 3]
Generated Node #0,0,0: 45:[99, 3] Operation: 15/5=3
Exploring Operation: 99-15=84, Resulting Numbers: [5, 84]
Generated Node #0,0,1: 45:[5, 84] Operation: 99-15=84
Exploring Operation: 99-5=94, Resulting Numbers: [15, 94]
Generated Node #0,0,2: 45:[15, 94] Operation: 99-5=94
Moving to Node #0,2
Current State: 45:[5, 99, 45], Operations: ['30+15=45']
Exploring Operation: 99-5=94, Resulting Numbers: [45, 94]
Generated Node #0,2,0: 45:[45, 94] Operation: 99-5=94
Exploring Operation: 45/5=9, Resulting Numbers: [99, 9]
Generated Node #0,2,1: 45:[99, 9] Operation: 45/5=9
Exploring Operation: 99-45=54, Resulting Numbers: [5, 54]
Generated Node #0,2,2: 45:[5, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[5, 54], Operations: ['30+15=45', '99-45=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,45 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,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,2,0
Current State: 45:[45, 94], Operations: ['30+15=45', '99-5=94']
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 45+94=139, Resulting Numbers: [139]
139,45 unequal: No Solution
Exploring Operation: 45*94=4230, Resulting Numbers: [4230]
4230,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,2,1
Current State: 45:[99, 9], Operations: ['30+15=45', '45/5=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,45 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,45 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: 45:[5, 84], Operations: ['30-15=15', '99-15=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,45 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[15, 94], Operations: ['30-15=15', '99-5=94']
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,45 unequal: No Solution
Exploring Operation: 15*94=1410, Resulting Numbers: [1410]
1410,45 unequal: No Solution
Exploring Operation: 15+94=109, Resulting Numbers: [109]
109,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[99, 3], Operations: ['30-15=15', '15/5=3']
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,45 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,45 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
45,
11,
35
] | 95 | [
"74+45=119",
"35-11=24",
"119-24=95"
] | Current State: 95:[74, 45, 11, 35], Operations: []
Exploring Operation: 74+45=119, Resulting Numbers: [11, 35, 119]
Generated Node #2: [11, 35, 119] from Operation: 74+45=119
Current State: 95:[11, 35, 119], Operations: ['74+45=119']
Exploring Operation: 35-11=24, Resulting Numbers: [119, 24]
Generated Node #3: [119, 24] from Operation: 35-11=24
Current State: 95:[119, 24], Operations: ['74+45=119', '35-11=24']
Exploring Operation: 119-24=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[74, 45, 11, 35], Operations: []
Exploring Operation: 45+35=80, Resulting Numbers: [74, 11, 80]
Generated Node #0,0: 95:[74, 11, 80] Operation: 45+35=80
Exploring Operation: 45-35=10, Resulting Numbers: [74, 11, 10]
Generated Node #0,1: 95:[74, 11, 10] Operation: 45-35=10
Exploring Operation: 74-45=29, Resulting Numbers: [11, 35, 29]
Generated Node #0,2: 95:[11, 35, 29] Operation: 74-45=29
Moving to Node #0,1
Current State: 95:[74, 11, 10], Operations: ['45-35=10']
Exploring Operation: 11+10=21, Resulting Numbers: [74, 21]
Generated Node #0,1,0: 95:[74, 21] Operation: 11+10=21
Exploring Operation: 74+11=85, Resulting Numbers: [10, 85]
Generated Node #0,1,1: 95:[10, 85] Operation: 74+11=85
Exploring Operation: 74+10=84, Resulting Numbers: [11, 84]
Generated Node #0,1,2: 95:[11, 84] Operation: 74+10=84
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[10, 85], Operations: ['45-35=10', '74+11=85']
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,95 unequal: No Solution
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[74, 45, 11, 35], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [74, 11, 10]
Generated Node #0,1: 95:[74, 11, 10] Operation: 45-35=10
Moving to Node #0,1
Current State: 95:[74, 11, 10], Operations: ['45-35=10']
Exploring Operation: 74+11=85, Resulting Numbers: [10, 85]
Generated Node #0,1,1: 95:[10, 85] Operation: 74+11=85
Moving to Node #0,1,1
Current State: 95:[10, 85], Operations: ['45-35=10', '74+11=85']
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
96,
44,
88,
28
] | 83 | [
"96+44=140",
"140/28=5",
"88-5=83"
] | Current State: 83:[96, 44, 88, 28], Operations: []
Exploring Operation: 96+44=140, Resulting Numbers: [88, 28, 140]
Generated Node #2: [88, 28, 140] from Operation: 96+44=140
Current State: 83:[88, 28, 140], Operations: ['96+44=140']
Exploring Operation: 140/28=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 140/28=5
Current State: 83:[88, 5], Operations: ['96+44=140', '140/28=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 44, 88, 28], Operations: []
Exploring Operation: 44+28=72, Resulting Numbers: [96, 88, 72]
Generated Node #0,0: 83:[96, 88, 72] Operation: 44+28=72
Moving to Node #0,0
Current State: 83:[96, 88, 72], Operations: ['44+28=72']
Exploring Operation: 96-72=24, Resulting Numbers: [88, 24]
Generated Node #0,0,0: 83:[88, 24] Operation: 96-72=24
Moving to Node #0,0,0
Current State: 83:[88, 24], Operations: ['44+28=72', '96-72=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
39,
83,
28
] | 85 | [
"65-39=26",
"83+28=111",
"111-26=85"
] | Current State: 85:[65, 39, 83, 28], Operations: []
Exploring Operation: 65-39=26, Resulting Numbers: [83, 28, 26]
Generated Node #2: [83, 28, 26] from Operation: 65-39=26
Current State: 85:[83, 28, 26], Operations: ['65-39=26']
Exploring Operation: 83+28=111, Resulting Numbers: [26, 111]
Generated Node #3: [26, 111] from Operation: 83+28=111
Current State: 85:[26, 111], Operations: ['65-39=26', '83+28=111']
Exploring Operation: 111-26=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[65, 39, 83, 28], Operations: []
Exploring Operation: 39-28=11, Resulting Numbers: [65, 83, 11]
Generated Node #0,0: 85:[65, 83, 11] Operation: 39-28=11
Exploring Operation: 65-39=26, Resulting Numbers: [83, 28, 26]
Generated Node #0,1: 85:[83, 28, 26] Operation: 65-39=26
Exploring Operation: 65+39=104, Resulting Numbers: [83, 28, 104]
Generated Node #0,2: 85:[83, 28, 104] Operation: 65+39=104
Moving to Node #0,1
Current State: 85:[83, 28, 26], Operations: ['65-39=26']
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: 28+26=54, Resulting Numbers: [83, 54]
Generated Node #0,1,2: 85:[83, 54] Operation: 28+26=54
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[83, 2], Operations: ['65-39=26', '28-26=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[65, 39, 83, 28], Operations: []
Exploring Operation: 65-39=26, Resulting Numbers: [83, 28, 26]
Generated Node #0,1: 85:[83, 28, 26] Operation: 65-39=26
Moving to Node #0,1
Current State: 85:[83, 28, 26], Operations: ['65-39=26']
Exploring Operation: 28-26=2, Resulting Numbers: [83, 2]
Generated Node #0,1,0: 85:[83, 2] Operation: 28-26=2
Moving to Node #0,1,0
Current State: 85:[83, 2], Operations: ['65-39=26', '28-26=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
56,
19,
49,
12
] | 95 | [
"56-49=7",
"12-7=5",
"19*5=95"
] | Current State: 95:[56, 19, 49, 12], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [19, 12, 7]
Generated Node #2: [19, 12, 7] from Operation: 56-49=7
Current State: 95:[19, 12, 7], Operations: ['56-49=7']
Exploring Operation: 12-7=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 12-7=5
Current State: 95:[19, 5], Operations: ['56-49=7', '12-7=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[56, 19, 49, 12], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [49, 12, 37]
Generated Node #0,0: 95:[49, 12, 37] Operation: 56-19=37
Exploring Operation: 49-19=30, Resulting Numbers: [56, 12, 30]
Generated Node #0,1: 95:[56, 12, 30] Operation: 49-19=30
Exploring Operation: 56-49=7, Resulting Numbers: [19, 12, 7]
Generated Node #0,2: 95:[19, 12, 7] Operation: 56-49=7
Exploring Operation: 56-12=44, Resulting Numbers: [19, 49, 44]
Generated Node #0,3: 95:[19, 49, 44] Operation: 56-12=44
Exploring Operation: 56+49=105, Resulting Numbers: [19, 12, 105]
Generated Node #0,4: 95:[19, 12, 105] Operation: 56+49=105
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[19, 12, 7], Operations: ['56-49=7']
Exploring Operation: 12*7=84, Resulting Numbers: [19, 84]
Generated Node #0,2,0: 95:[19, 84] Operation: 12*7=84
Exploring Operation: 12+7=19, Resulting Numbers: [19, 19]
Generated Node #0,2,1: 95:[19, 19] Operation: 12+7=19
Exploring Operation: 19+12=31, Resulting Numbers: [7, 31]
Generated Node #0,2,2: 95:[7, 31] Operation: 19+12=31
Exploring Operation: 12-7=5, Resulting Numbers: [19, 5]
Generated Node #0,2,3: 95:[19, 5] Operation: 12-7=5
Exploring Operation: 19-12=7, Resulting Numbers: [7, 7]
Generated Node #0,2,4: 95:[7, 7] Operation: 19-12=7
Moving to Node #0,2,1
Current State: 95:[19, 19], Operations: ['56-49=7', '12+7=19']
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,95 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[19, 5], Operations: ['56-49=7', '12-7=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[56, 19, 49, 12], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [19, 12, 7]
Generated Node #0,2: 95:[19, 12, 7] Operation: 56-49=7
Moving to Node #0,2
Current State: 95:[19, 12, 7], Operations: ['56-49=7']
Exploring Operation: 12-7=5, Resulting Numbers: [19, 5]
Generated Node #0,2,3: 95:[19, 5] Operation: 12-7=5
Moving to Node #0,2,3
Current State: 95:[19, 5], Operations: ['56-49=7', '12-7=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
27,
35,
19,
58
] | 15 | [
"27+35=62",
"19+58=77",
"77-62=15"
] | Current State: 15:[27, 35, 19, 58], Operations: []
Exploring Operation: 27+35=62, Resulting Numbers: [19, 58, 62]
Generated Node #2: [19, 58, 62] from Operation: 27+35=62
Current State: 15:[19, 58, 62], Operations: ['27+35=62']
Exploring Operation: 19+58=77, Resulting Numbers: [62, 77]
Generated Node #3: [62, 77] from Operation: 19+58=77
Current State: 15:[62, 77], Operations: ['27+35=62', '19+58=77']
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[27, 35, 19, 58], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [27, 19, 23]
Generated Node #0,0: 15:[27, 19, 23] Operation: 58-35=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[27, 19, 23], Operations: ['58-35=23']
Exploring Operation: 27-23=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 15:[19, 4] Operation: 27-23=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[19, 4], Operations: ['58-35=23', '27-23=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[27, 35, 19, 58], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [27, 19, 23]
Generated Node #0,0: 15:[27, 19, 23] Operation: 58-35=23
Moving to Node #0,0
Current State: 15:[27, 19, 23], Operations: ['58-35=23']
Exploring Operation: 27-23=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 15:[19, 4] Operation: 27-23=4
Moving to Node #0,0,0
Current State: 15:[19, 4], Operations: ['58-35=23', '27-23=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
36,
5,
65,
30
] | 76 | [
"36+5=41",
"65-30=35",
"41+35=76"
] | Current State: 76:[36, 5, 65, 30], Operations: []
Exploring Operation: 36+5=41, Resulting Numbers: [65, 30, 41]
Generated Node #2: [65, 30, 41] from Operation: 36+5=41
Current State: 76:[65, 30, 41], Operations: ['36+5=41']
Exploring Operation: 65-30=35, Resulting Numbers: [41, 35]
Generated Node #3: [41, 35] from Operation: 65-30=35
Current State: 76:[41, 35], Operations: ['36+5=41', '65-30=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[36, 5, 65, 30], Operations: []
Exploring Operation: 30/5=6, Resulting Numbers: [36, 65, 6]
Generated Node #0,0: 76:[36, 65, 6] Operation: 30/5=6
Exploring Operation: 5+65=70, Resulting Numbers: [36, 30, 70]
Generated Node #0,1: 76:[36, 30, 70] Operation: 5+65=70
Exploring Operation: 65/5=13, Resulting Numbers: [36, 30, 13]
Generated Node #0,2: 76:[36, 30, 13] Operation: 65/5=13
Exploring Operation: 65-30=35, Resulting Numbers: [36, 5, 35]
Generated Node #0,3: 76:[36, 5, 35] Operation: 65-30=35
Exploring Operation: 36-30=6, Resulting Numbers: [5, 65, 6]
Generated Node #0,4: 76:[5, 65, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[36, 5, 35], Operations: ['65-30=35']
Exploring Operation: 36+5=41, Resulting Numbers: [35, 41]
Generated Node #0,3,0: 76:[35, 41] Operation: 36+5=41
Exploring Operation: 35/5=7, Resulting Numbers: [36, 7]
Generated Node #0,3,1: 76:[36, 7] Operation: 35/5=7
Exploring Operation: 36-35=1, Resulting Numbers: [5, 1]
Generated Node #0,3,2: 76:[5, 1] Operation: 36-35=1
Exploring Operation: 36+35=71, Resulting Numbers: [5, 71]
Generated Node #0,3,3: 76:[5, 71] Operation: 36+35=71
Exploring Operation: 5+35=40, Resulting Numbers: [36, 40]
Generated Node #0,3,4: 76:[36, 40] Operation: 5+35=40
Moving to Node #0,3,2
Current State: 76:[5, 1], Operations: ['65-30=35', '36-35=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[36, 40], Operations: ['65-30=35', '5+35=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[36, 5, 65, 30], Operations: []
Exploring Operation: 65-30=35, Resulting Numbers: [36, 5, 35]
Generated Node #0,3: 76:[36, 5, 35] Operation: 65-30=35
Moving to Node #0,3
Current State: 76:[36, 5, 35], Operations: ['65-30=35']
Exploring Operation: 5+35=40, Resulting Numbers: [36, 40]
Generated Node #0,3,4: 76:[36, 40] Operation: 5+35=40
Moving to Node #0,3,4
Current State: 76:[36, 40], Operations: ['65-30=35', '5+35=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
5,
99,
33,
44
] | 46 | [
"5+44=49",
"99/33=3",
"49-3=46"
] | Current State: 46:[5, 99, 33, 44], Operations: []
Exploring Operation: 5+44=49, Resulting Numbers: [99, 33, 49]
Generated Node #2: [99, 33, 49] from Operation: 5+44=49
Current State: 46:[99, 33, 49], Operations: ['5+44=49']
Exploring Operation: 99/33=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 99/33=3
Current State: 46:[49, 3], Operations: ['5+44=49', '99/33=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 99, 33, 44], Operations: []
Exploring Operation: 99-44=55, Resulting Numbers: [5, 33, 55]
Generated Node #0,0: 46:[5, 33, 55] Operation: 99-44=55
Exploring Operation: 99/33=3, Resulting Numbers: [5, 44, 3]
Generated Node #0,1: 46:[5, 44, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [5, 44, 66]
Generated Node #0,2: 46:[5, 44, 66] Operation: 99-33=66
Moving to Node #0,1
Current State: 46:[5, 44, 3], Operations: ['99/33=3']
Exploring Operation: 44+3=47, Resulting Numbers: [5, 47]
Generated Node #0,1,0: 46:[5, 47] Operation: 44+3=47
Exploring Operation: 5+44=49, Resulting Numbers: [3, 49]
Generated Node #0,1,1: 46:[3, 49] Operation: 5+44=49
Exploring Operation: 5-3=2, Resulting Numbers: [44, 2]
Generated Node #0,1,2: 46:[44, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[44, 2], Operations: ['99/33=3', '5-3=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[5, 99, 33, 44], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [5, 44, 3]
Generated Node #0,1: 46:[5, 44, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 46:[5, 44, 3], Operations: ['99/33=3']
Exploring Operation: 5-3=2, Resulting Numbers: [44, 2]
Generated Node #0,1,2: 46:[44, 2] Operation: 5-3=2
Moving to Node #0,1,2
Current State: 46:[44, 2], Operations: ['99/33=3', '5-3=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
74,
86,
63,
3
] | 53 | [
"74-63=11",
"3*11=33",
"86-33=53"
] | Current State: 53:[74, 86, 63, 3], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [86, 3, 11]
Generated Node #2: [86, 3, 11] from Operation: 74-63=11
Current State: 53:[86, 3, 11], Operations: ['74-63=11']
Exploring Operation: 3*11=33, Resulting Numbers: [86, 33]
Generated Node #3: [86, 33] from Operation: 3*11=33
Current State: 53:[86, 33], Operations: ['74-63=11', '3*11=33']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[74, 86, 63, 3], Operations: []
Exploring Operation: 74-3=71, Resulting Numbers: [86, 63, 71]
Generated Node #0,0: 53:[86, 63, 71] Operation: 74-3=71
Exploring Operation: 86-3=83, Resulting Numbers: [74, 63, 83]
Generated Node #0,1: 53:[74, 63, 83] Operation: 86-3=83
Exploring Operation: 63-3=60, Resulting Numbers: [74, 86, 60]
Generated Node #0,2: 53:[74, 86, 60] Operation: 63-3=60
Moving to Node #0,0
Current State: 53:[86, 63, 71], Operations: ['74-3=71']
Exploring Operation: 86-63=23, Resulting Numbers: [71, 23]
Generated Node #0,0,0: 53:[71, 23] Operation: 86-63=23
Exploring Operation: 71-63=8, Resulting Numbers: [86, 8]
Generated Node #0,0,1: 53:[86, 8] Operation: 71-63=8
Exploring Operation: 86-71=15, Resulting Numbers: [63, 15]
Generated Node #0,0,2: 53:[63, 15] Operation: 86-71=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[71, 23], Operations: ['74-3=71', '86-63=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,53 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[63, 15], Operations: ['74-3=71', '86-71=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[86, 8], Operations: ['74-3=71', '71-63=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,53 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: 53:[74, 63, 83], Operations: ['86-3=83']
Exploring Operation: 83-74=9, Resulting Numbers: [63, 9]
Generated Node #0,1,0: 53:[63, 9] Operation: 83-74=9
Exploring Operation: 83-63=20, Resulting Numbers: [74, 20]
Generated Node #0,1,1: 53:[74, 20] Operation: 83-63=20
Exploring Operation: 74-63=11, Resulting Numbers: [83, 11]
Generated Node #0,1,2: 53:[83, 11] Operation: 74-63=11
Moving to Node #0,2
Current State: 53:[74, 86, 60], Operations: ['63-3=60']
Exploring Operation: 86-74=12, Resulting Numbers: [60, 12]
Generated Node #0,2,0: 53:[60, 12] Operation: 86-74=12
Exploring Operation: 86-60=26, Resulting Numbers: [74, 26]
Generated Node #0,2,1: 53:[74, 26] Operation: 86-60=26
Exploring Operation: 74-60=14, Resulting Numbers: [86, 14]
Generated Node #0,2,2: 53:[86, 14] Operation: 74-60=14
Moving to Node #0,2,0
Current State: 53:[60, 12], Operations: ['63-3=60', '86-74=12']
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[74, 26], Operations: ['63-3=60', '86-60=26']
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,53 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[63, 9], Operations: ['86-3=83', '83-74=9']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[74, 20], Operations: ['86-3=83', '83-63=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,53 unequal: No Solution
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[86, 14], Operations: ['63-3=60', '74-60=14']
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,53 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[83, 11], Operations: ['86-3=83', '74-63=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,53 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,53 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
24,
29,
56
] | 24 | [
"24-21=3",
"56-29=27",
"27-3=24"
] | Current State: 24:[21, 24, 29, 56], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [29, 56, 3]
Generated Node #2: [29, 56, 3] from Operation: 24-21=3
Current State: 24:[29, 56, 3], Operations: ['24-21=3']
Exploring Operation: 56-29=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 56-29=27
Current State: 24:[3, 27], Operations: ['24-21=3', '56-29=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[21, 24, 29, 56], Operations: []
Exploring Operation: 56-21=35, Resulting Numbers: [24, 29, 35]
Generated Node #0,0: 24:[24, 29, 35] Operation: 56-21=35
Exploring Operation: 29-21=8, Resulting Numbers: [24, 56, 8]
Generated Node #0,1: 24:[24, 56, 8] Operation: 29-21=8
Exploring Operation: 56-24=32, Resulting Numbers: [21, 29, 32]
Generated Node #0,2: 24:[21, 29, 32] Operation: 56-24=32
Exploring Operation: 56-29=27, Resulting Numbers: [21, 24, 27]
Generated Node #0,3: 24:[21, 24, 27] Operation: 56-29=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[21, 24, 27], Operations: ['56-29=27']
Exploring Operation: 24-21=3, Resulting Numbers: [27, 3]
Generated Node #0,3,0: 24:[27, 3] Operation: 24-21=3
Exploring Operation: 21+24=45, Resulting Numbers: [27, 45]
Generated Node #0,3,1: 24:[27, 45] Operation: 21+24=45
Exploring Operation: 27-24=3, Resulting Numbers: [21, 3]
Generated Node #0,3,2: 24:[21, 3] Operation: 27-24=3
Exploring Operation: 27-21=6, Resulting Numbers: [24, 6]
Generated Node #0,3,3: 24:[24, 6] Operation: 27-21=6
Moving to Node #0,3,3
Current State: 24:[24, 6], Operations: ['56-29=27', '27-21=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,24 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[21, 3], Operations: ['56-29=27', '27-24=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[21, 24, 29, 56], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [21, 24, 27]
Generated Node #0,3: 24:[21, 24, 27] Operation: 56-29=27
Moving to Node #0,3
Current State: 24:[21, 24, 27], Operations: ['56-29=27']
Exploring Operation: 27-24=3, Resulting Numbers: [21, 3]
Generated Node #0,3,2: 24:[21, 3] Operation: 27-24=3
Moving to Node #0,3,2
Current State: 24:[21, 3], Operations: ['56-29=27', '27-24=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
29,
97,
5,
1
] | 19 | [
"5-1=4",
"29*4=116",
"116-97=19"
] | Current State: 19:[29, 97, 5, 1], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [29, 97, 4]
Generated Node #2: [29, 97, 4] from Operation: 5-1=4
Current State: 19:[29, 97, 4], Operations: ['5-1=4']
Exploring Operation: 29*4=116, Resulting Numbers: [97, 116]
Generated Node #3: [97, 116] from Operation: 29*4=116
Current State: 19:[97, 116], Operations: ['5-1=4', '29*4=116']
Exploring Operation: 116-97=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[29, 97, 5, 1], Operations: []
Exploring Operation: 97-29=68, Resulting Numbers: [5, 1, 68]
Generated Node #0,0: 19:[5, 1, 68] Operation: 97-29=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[5, 1, 68], Operations: ['97-29=68']
Exploring Operation: 5+1=6, Resulting Numbers: [68, 6]
Generated Node #0,0,0: 19:[68, 6] Operation: 5+1=6
Moving to Node #0,0,0
Current State: 19:[68, 6], Operations: ['97-29=68', '5+1=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,19 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 |
[
15,
93,
54,
3
] | 100 | [
"15+54=69",
"93/3=31",
"69+31=100"
] | Current State: 100:[15, 93, 54, 3], Operations: []
Exploring Operation: 15+54=69, Resulting Numbers: [93, 3, 69]
Generated Node #2: [93, 3, 69] from Operation: 15+54=69
Current State: 100:[93, 3, 69], Operations: ['15+54=69']
Exploring Operation: 93/3=31, Resulting Numbers: [69, 31]
Generated Node #3: [69, 31] from Operation: 93/3=31
Current State: 100:[69, 31], Operations: ['15+54=69', '93/3=31']
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[15, 93, 54, 3], Operations: []
Exploring Operation: 15-3=12, Resulting Numbers: [93, 54, 12]
Generated Node #0,0: 100:[93, 54, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [93, 54, 5]
Generated Node #0,1: 100:[93, 54, 5] Operation: 15/3=5
Exploring Operation: 15+3=18, Resulting Numbers: [93, 54, 18]
Generated Node #0,2: 100:[93, 54, 18] Operation: 15+3=18
Exploring Operation: 15+93=108, Resulting Numbers: [54, 3, 108]
Generated Node #0,3: 100:[54, 3, 108] Operation: 15+93=108
Moving to Node #0,1
Current State: 100:[93, 54, 5], Operations: ['15/3=5']
Exploring Operation: 93-5=88, Resulting Numbers: [54, 88]
Generated Node #0,1,0: 100:[54, 88] Operation: 93-5=88
Exploring Operation: 93-54=39, Resulting Numbers: [5, 39]
Generated Node #0,1,1: 100:[5, 39] Operation: 93-54=39
Exploring Operation: 54-5=49, Resulting Numbers: [93, 49]
Generated Node #0,1,2: 100:[93, 49] Operation: 54-5=49
Exploring Operation: 93+5=98, Resulting Numbers: [54, 98]
Generated Node #0,1,3: 100:[54, 98] Operation: 93+5=98
Moving to Node #0,2
Current State: 100:[93, 54, 18], Operations: ['15+3=18']
Exploring Operation: 54-18=36, Resulting Numbers: [93, 36]
Generated Node #0,2,0: 100:[93, 36] Operation: 54-18=36
Exploring Operation: 93+18=111, Resulting Numbers: [54, 111]
Generated Node #0,2,1: 100:[54, 111] Operation: 93+18=111
Exploring Operation: 54/18=3, Resulting Numbers: [93, 3]
Generated Node #0,2,2: 100:[93, 3] Operation: 54/18=3
Exploring Operation: 93-54=39, Resulting Numbers: [18, 39]
Generated Node #0,2,3: 100:[18, 39] Operation: 93-54=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[93, 3], Operations: ['15+3=18', '54/18=3']
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,100 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[18, 39], Operations: ['15+3=18', '93-54=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,100 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[54, 111], Operations: ['15+3=18', '93+18=111']
Exploring Operation: 111-54=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 54+111=165, Resulting Numbers: [165]
165,100 unequal: No Solution
Exploring Operation: 54*111=5994, Resulting Numbers: [5994]
5994,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[93, 36], Operations: ['15+3=18', '54-18=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,100 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 100:[93, 54, 12], Operations: ['15-3=12']
Exploring Operation: 93-12=81, Resulting Numbers: [54, 81]
Generated Node #0,0,0: 100:[54, 81] Operation: 93-12=81
Exploring Operation: 93+12=105, Resulting Numbers: [54, 105]
Generated Node #0,0,1: 100:[54, 105] Operation: 93+12=105
Exploring Operation: 93-54=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 100:[12, 39] Operation: 93-54=39
Exploring Operation: 54-12=42, Resulting Numbers: [93, 42]
Generated Node #0,0,3: 100:[93, 42] Operation: 54-12=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[54, 105], Operations: ['15-3=12', '93+12=105']
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,100 unequal: No Solution
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[12, 39], Operations: ['15-3=12', '93-54=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,100 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[93, 42], Operations: ['15-3=12', '54-12=42']
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,100 unequal: No Solution
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,100 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[54, 81], Operations: ['15-3=12', '93-12=81']
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,100 unequal: No Solution
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,100 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,100 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: 100:[54, 3, 108], Operations: ['15+93=108']
Exploring Operation: 108-3=105, Resulting Numbers: [54, 105]
Generated Node #0,3,0: 100:[54, 105] Operation: 108-3=105
Exploring Operation: 54-3=51, Resulting Numbers: [108, 51]
Generated Node #0,3,1: 100:[108, 51] Operation: 54-3=51
Exploring Operation: 108/54=2, Resulting Numbers: [3, 2]
Generated Node #0,3,2: 100:[3, 2] Operation: 108/54=2
Exploring Operation: 108-54=54, Resulting Numbers: [3, 54]
Generated Node #0,3,3: 100:[3, 54] Operation: 108-54=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[3, 2], Operations: ['15+93=108', '108/54=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[3, 54], Operations: ['15+93=108', '108-54=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[54, 105], Operations: ['15+93=108', '108-3=105']
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,100 unequal: No Solution
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[108, 51], Operations: ['15+93=108', '54-3=51']
Exploring Operation: 108+51=159, Resulting Numbers: [159]
159,100 unequal: No Solution
Exploring Operation: 108-51=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 108*51=5508, Resulting Numbers: [5508]
5508,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 100:[54, 98], Operations: ['15/3=5', '93+5=98']
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,100 unequal: No Solution
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,100 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[93, 49], Operations: ['15/3=5', '54-5=49']
Exploring Operation: 93+49=142, Resulting Numbers: [142]
142,100 unequal: No Solution
Exploring Operation: 93*49=4557, Resulting Numbers: [4557]
4557,100 unequal: No Solution
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[5, 39], Operations: ['15/3=5', '93-54=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,100 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[54, 88], Operations: ['15/3=5', '93-5=88']
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,100 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,100 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
79,
34,
4
] | 82 | [
"79-34=45",
"45-4=41",
"2*41=82"
] | Current State: 82:[2, 79, 34, 4], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [2, 4, 45]
Generated Node #2: [2, 4, 45] from Operation: 79-34=45
Current State: 82:[2, 4, 45], Operations: ['79-34=45']
Exploring Operation: 45-4=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 45-4=41
Current State: 82:[2, 41], Operations: ['79-34=45', '45-4=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[2, 79, 34, 4], Operations: []
Exploring Operation: 79+4=83, Resulting Numbers: [2, 34, 83]
Generated Node #0,0: 82:[2, 34, 83] Operation: 79+4=83
Exploring Operation: 2+79=81, Resulting Numbers: [34, 4, 81]
Generated Node #0,1: 82:[34, 4, 81] Operation: 2+79=81
Exploring Operation: 34+4=38, Resulting Numbers: [2, 79, 38]
Generated Node #0,2: 82:[2, 79, 38] Operation: 34+4=38
Exploring Operation: 79-34=45, Resulting Numbers: [2, 4, 45]
Generated Node #0,3: 82:[2, 4, 45] Operation: 79-34=45
Moving to Node #0,2
Current State: 82:[2, 79, 38], Operations: ['34+4=38']
Exploring Operation: 2+79=81, Resulting Numbers: [38, 81]
Generated Node #0,2,0: 82:[38, 81] Operation: 2+79=81
Exploring Operation: 2+38=40, Resulting Numbers: [79, 40]
Generated Node #0,2,1: 82:[79, 40] Operation: 2+38=40
Exploring Operation: 79-38=41, Resulting Numbers: [2, 41]
Generated Node #0,2,2: 82:[2, 41] Operation: 79-38=41
Exploring Operation: 79-2=77, Resulting Numbers: [38, 77]
Generated Node #0,2,3: 82:[38, 77] Operation: 79-2=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[2, 41], Operations: ['34+4=38', '79-38=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[2, 79, 34, 4], Operations: []
Exploring Operation: 34+4=38, Resulting Numbers: [2, 79, 38]
Generated Node #0,2: 82:[2, 79, 38] Operation: 34+4=38
Moving to Node #0,2
Current State: 82:[2, 79, 38], Operations: ['34+4=38']
Exploring Operation: 79-38=41, Resulting Numbers: [2, 41]
Generated Node #0,2,2: 82:[2, 41] Operation: 79-38=41
Moving to Node #0,2,2
Current State: 82:[2, 41], Operations: ['34+4=38', '79-38=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
39,
69,
63,
69
] | 23 | [
"63-39=24",
"69/69=1",
"24-1=23"
] | Current State: 23:[39, 69, 63, 69], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [69, 69, 24]
Generated Node #2: [69, 69, 24] from Operation: 63-39=24
Current State: 23:[69, 69, 24], Operations: ['63-39=24']
Exploring Operation: 69/69=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 69/69=1
Current State: 23:[24, 1], Operations: ['63-39=24', '69/69=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[39, 69, 63, 69], Operations: []
Exploring Operation: 69-69=0, Resulting Numbers: [39, 63, 0]
Generated Node #0,0: 23:[39, 63, 0] Operation: 69-69=0
Exploring Operation: 69-63=6, Resulting Numbers: [39, 69, 6]
Generated Node #0,1: 23:[39, 69, 6] Operation: 69-63=6
Exploring Operation: 69/69=1, Resulting Numbers: [39, 63, 1]
Generated Node #0,2: 23:[39, 63, 1] Operation: 69/69=1
Moving to Node #0,2
Current State: 23:[39, 63, 1], Operations: ['69/69=1']
Exploring Operation: 63-1=62, Resulting Numbers: [39, 62]
Generated Node #0,2,0: 23:[39, 62] Operation: 63-1=62
Exploring Operation: 39-1=38, Resulting Numbers: [63, 38]
Generated Node #0,2,1: 23:[63, 38] Operation: 39-1=38
Exploring Operation: 63-39=24, Resulting Numbers: [1, 24]
Generated Node #0,2,2: 23:[1, 24] Operation: 63-39=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[1, 24], Operations: ['69/69=1', '63-39=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[39, 69, 63, 69], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [39, 63, 1]
Generated Node #0,2: 23:[39, 63, 1] Operation: 69/69=1
Moving to Node #0,2
Current State: 23:[39, 63, 1], Operations: ['69/69=1']
Exploring Operation: 63-39=24, Resulting Numbers: [1, 24]
Generated Node #0,2,2: 23:[1, 24] Operation: 63-39=24
Moving to Node #0,2,2
Current State: 23:[1, 24], Operations: ['69/69=1', '63-39=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
27,
32,
81,
28
] | 27 | [
"27+81=108",
"32-28=4",
"108/4=27"
] | Current State: 27:[27, 32, 81, 28], Operations: []
Exploring Operation: 27+81=108, Resulting Numbers: [32, 28, 108]
Generated Node #2: [32, 28, 108] from Operation: 27+81=108
Current State: 27:[32, 28, 108], Operations: ['27+81=108']
Exploring Operation: 32-28=4, Resulting Numbers: [108, 4]
Generated Node #3: [108, 4] from Operation: 32-28=4
Current State: 27:[108, 4], Operations: ['27+81=108', '32-28=4']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[27, 32, 81, 28], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [27, 28, 49]
Generated Node #0,0: 27:[27, 28, 49] Operation: 81-32=49
Exploring Operation: 81/27=3, Resulting Numbers: [32, 28, 3]
Generated Node #0,1: 27:[32, 28, 3] Operation: 81/27=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[32, 28, 3], Operations: ['81/27=3']
Exploring Operation: 32-3=29, Resulting Numbers: [28, 29]
Generated Node #0,1,0: 27:[28, 29] Operation: 32-3=29
Exploring Operation: 32-28=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 27:[3, 4] Operation: 32-28=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[3, 4], Operations: ['81/27=3', '32-28=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[28, 29], Operations: ['81/27=3', '32-3=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[27, 28, 49], Operations: ['81-32=49']
Exploring Operation: 49-27=22, Resulting Numbers: [28, 22]
Generated Node #0,0,0: 27:[28, 22] Operation: 49-27=22
Exploring Operation: 49-28=21, Resulting Numbers: [27, 21]
Generated Node #0,0,1: 27:[27, 21] Operation: 49-28=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[28, 22], Operations: ['81-32=49', '49-27=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 28-22=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,1
Current State: 27:[27, 21], Operations: ['81-32=49', '49-28=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,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_2 | mult_heuristic |
[
23,
2,
19,
80
] | 78 | [
"23-2=21",
"19+80=99",
"99-21=78"
] | Current State: 78:[23, 2, 19, 80], Operations: []
Exploring Operation: 23-2=21, Resulting Numbers: [19, 80, 21]
Generated Node #2: [19, 80, 21] from Operation: 23-2=21
Current State: 78:[19, 80, 21], Operations: ['23-2=21']
Exploring Operation: 19+80=99, Resulting Numbers: [21, 99]
Generated Node #3: [21, 99] from Operation: 19+80=99
Current State: 78:[21, 99], Operations: ['23-2=21', '19+80=99']
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[23, 2, 19, 80], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [2, 80, 4]
Generated Node #0,0: 78:[2, 80, 4] Operation: 23-19=4
Exploring Operation: 23+19=42, Resulting Numbers: [2, 80, 42]
Generated Node #0,1: 78:[2, 80, 42] Operation: 23+19=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[2, 80, 4], Operations: ['23-19=4']
Exploring Operation: 80/2=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 78:[4, 40] Operation: 80/2=40
Exploring Operation: 80-2=78, Resulting Numbers: [4, 78]
Generated Node #0,0,1: 78:[4, 78] Operation: 80-2=78
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[4, 78], Operations: ['23-19=4', '80-2=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[4, 40], Operations: ['23-19=4', '80/2=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[2, 80, 42], Operations: ['23+19=42']
Exploring Operation: 80-42=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 78:[2, 38] Operation: 80-42=38
Exploring Operation: 80-2=78, Resulting Numbers: [42, 78]
Generated Node #0,1,1: 78:[42, 78] Operation: 80-2=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[2, 38], Operations: ['23+19=42', '80-42=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[42, 78], Operations: ['23+19=42', '80-2=78']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
37,
20,
15
] | 44 | [
"37-20=17",
"17-15=2",
"88/2=44"
] | Current State: 44:[88, 37, 20, 15], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [88, 15, 17]
Generated Node #2: [88, 15, 17] from Operation: 37-20=17
Current State: 44:[88, 15, 17], Operations: ['37-20=17']
Exploring Operation: 17-15=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 17-15=2
Current State: 44:[88, 2], Operations: ['37-20=17', '17-15=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[88, 37, 20, 15], Operations: []
Exploring Operation: 88-20=68, Resulting Numbers: [37, 15, 68]
Generated Node #0,0: 44:[37, 15, 68] Operation: 88-20=68
Exploring Operation: 37-15=22, Resulting Numbers: [88, 20, 22]
Generated Node #0,1: 44:[88, 20, 22] Operation: 37-15=22
Exploring Operation: 88-15=73, Resulting Numbers: [37, 20, 73]
Generated Node #0,2: 44:[37, 20, 73] Operation: 88-15=73
Exploring Operation: 88-37=51, Resulting Numbers: [20, 15, 51]
Generated Node #0,3: 44:[20, 15, 51] Operation: 88-37=51
Moving to Node #0,3
Current State: 44:[20, 15, 51], Operations: ['88-37=51']
Exploring Operation: 51-15=36, Resulting Numbers: [20, 36]
Generated Node #0,3,0: 44:[20, 36] Operation: 51-15=36
Exploring Operation: 20+15=35, Resulting Numbers: [51, 35]
Generated Node #0,3,1: 44:[51, 35] Operation: 20+15=35
Exploring Operation: 20-15=5, Resulting Numbers: [51, 5]
Generated Node #0,3,2: 44:[51, 5] Operation: 20-15=5
Exploring Operation: 51-20=31, Resulting Numbers: [15, 31]
Generated Node #0,3,3: 44:[15, 31] Operation: 51-20=31
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[51, 5], Operations: ['88-37=51', '20-15=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[20, 36], Operations: ['88-37=51', '51-15=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[15, 31], Operations: ['88-37=51', '51-20=31']
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,44 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[51, 35], Operations: ['88-37=51', '20+15=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,44 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,44 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: 44:[37, 15, 68], Operations: ['88-20=68']
Exploring Operation: 37+15=52, Resulting Numbers: [68, 52]
Generated Node #0,0,0: 44:[68, 52] Operation: 37+15=52
Exploring Operation: 37-15=22, Resulting Numbers: [68, 22]
Generated Node #0,0,1: 44:[68, 22] Operation: 37-15=22
Exploring Operation: 68-37=31, Resulting Numbers: [15, 31]
Generated Node #0,0,2: 44:[15, 31] Operation: 68-37=31
Exploring Operation: 68-15=53, Resulting Numbers: [37, 53]
Generated Node #0,0,3: 44:[37, 53] Operation: 68-15=53
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[15, 31], Operations: ['88-20=68', '68-37=31']
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,44 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 44:[37, 53], Operations: ['88-20=68', '68-15=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,44 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[68, 22], Operations: ['88-20=68', '37-15=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,44 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[68, 52], Operations: ['88-20=68', '37+15=52']
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,44 unequal: No Solution
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 44:[37, 20, 73], Operations: ['88-15=73']
Exploring Operation: 37+20=57, Resulting Numbers: [73, 57]
Generated Node #0,2,0: 44:[73, 57] Operation: 37+20=57
Exploring Operation: 73-20=53, Resulting Numbers: [37, 53]
Generated Node #0,2,1: 44:[37, 53] Operation: 73-20=53
Exploring Operation: 37-20=17, Resulting Numbers: [73, 17]
Generated Node #0,2,2: 44:[73, 17] Operation: 37-20=17
Exploring Operation: 73-37=36, Resulting Numbers: [20, 36]
Generated Node #0,2,3: 44:[20, 36] Operation: 73-37=36
Moving to Node #0,1
Current State: 44:[88, 20, 22], Operations: ['37-15=22']
Exploring Operation: 22-20=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 44:[88, 2] Operation: 22-20=2
Exploring Operation: 88-22=66, Resulting Numbers: [20, 66]
Generated Node #0,1,1: 44:[20, 66] Operation: 88-22=66
Exploring Operation: 88-20=68, Resulting Numbers: [22, 68]
Generated Node #0,1,2: 44:[22, 68] Operation: 88-20=68
Exploring Operation: 88/22=4, Resulting Numbers: [20, 4]
Generated Node #0,1,3: 44:[20, 4] Operation: 88/22=4
Moving to Node #0,1,3
Current State: 44:[20, 4], Operations: ['37-15=22', '88/22=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[20, 36], Operations: ['88-15=73', '73-37=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[37, 53], Operations: ['88-15=73', '73-20=53']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[20, 66], Operations: ['37-15=22', '88-22=66']
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,44 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[22, 68], Operations: ['37-15=22', '88-20=68']
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,44 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[73, 17], Operations: ['88-15=73', '37-20=17']
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,44 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[73, 57], Operations: ['88-15=73', '37+20=57']
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,44 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[88, 2], Operations: ['37-15=22', '22-20=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[88, 37, 20, 15], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [88, 20, 22]
Generated Node #0,1: 44:[88, 20, 22] Operation: 37-15=22
Moving to Node #0,1
Current State: 44:[88, 20, 22], Operations: ['37-15=22']
Exploring Operation: 22-20=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 44:[88, 2] Operation: 22-20=2
Moving to Node #0,1,0
Current State: 44:[88, 2], Operations: ['37-15=22', '22-20=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.936632 | hs_4 | mult_heuristic |
[
16,
70,
30,
99
] | 15 | [
"70-16=54",
"99-30=69",
"69-54=15"
] | Current State: 15:[16, 70, 30, 99], Operations: []
Exploring Operation: 70-16=54, Resulting Numbers: [30, 99, 54]
Generated Node #2: [30, 99, 54] from Operation: 70-16=54
Current State: 15:[30, 99, 54], Operations: ['70-16=54']
Exploring Operation: 99-30=69, Resulting Numbers: [54, 69]
Generated Node #3: [54, 69] from Operation: 99-30=69
Current State: 15:[54, 69], Operations: ['70-16=54', '99-30=69']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[16, 70, 30, 99], Operations: []
Exploring Operation: 99-70=29, Resulting Numbers: [16, 30, 29]
Generated Node #0,0: 15:[16, 30, 29] Operation: 99-70=29
Exploring Operation: 99-30=69, Resulting Numbers: [16, 70, 69]
Generated Node #0,1: 15:[16, 70, 69] Operation: 99-30=69
Exploring Operation: 70-30=40, Resulting Numbers: [16, 99, 40]
Generated Node #0,2: 15:[16, 99, 40] Operation: 70-30=40
Moving to Node #0,0
Current State: 15:[16, 30, 29], Operations: ['99-70=29']
Exploring Operation: 30-16=14, Resulting Numbers: [29, 14]
Generated Node #0,0,0: 15:[29, 14] Operation: 30-16=14
Exploring Operation: 29-16=13, Resulting Numbers: [30, 13]
Generated Node #0,0,1: 15:[30, 13] Operation: 29-16=13
Exploring Operation: 30-29=1, Resulting Numbers: [16, 1]
Generated Node #0,0,2: 15:[16, 1] Operation: 30-29=1
Moving to Node #0,1
Current State: 15:[16, 70, 69], Operations: ['99-30=69']
Exploring Operation: 70-16=54, Resulting Numbers: [69, 54]
Generated Node #0,1,0: 15:[69, 54] Operation: 70-16=54
Exploring Operation: 70-69=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 15:[16, 1] Operation: 70-69=1
Exploring Operation: 69-16=53, Resulting Numbers: [70, 53]
Generated Node #0,1,2: 15:[70, 53] Operation: 69-16=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[16, 1], Operations: ['99-30=69', '70-69=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[16, 70, 30, 99], Operations: []
Exploring Operation: 99-30=69, Resulting Numbers: [16, 70, 69]
Generated Node #0,1: 15:[16, 70, 69] Operation: 99-30=69
Moving to Node #0,1
Current State: 15:[16, 70, 69], Operations: ['99-30=69']
Exploring Operation: 70-69=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 15:[16, 1] Operation: 70-69=1
Moving to Node #0,1,1
Current State: 15:[16, 1], Operations: ['99-30=69', '70-69=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
42,
50,
73,
33
] | 52 | [
"42+50=92",
"73-33=40",
"92-40=52"
] | Current State: 52:[42, 50, 73, 33], Operations: []
Exploring Operation: 42+50=92, Resulting Numbers: [73, 33, 92]
Generated Node #2: [73, 33, 92] from Operation: 42+50=92
Current State: 52:[73, 33, 92], Operations: ['42+50=92']
Exploring Operation: 73-33=40, Resulting Numbers: [92, 40]
Generated Node #3: [92, 40] from Operation: 73-33=40
Current State: 52:[92, 40], Operations: ['42+50=92', '73-33=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[42, 50, 73, 33], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [50, 33, 31]
Generated Node #0,0: 52:[50, 33, 31] Operation: 73-42=31
Exploring Operation: 73-50=23, Resulting Numbers: [42, 33, 23]
Generated Node #0,1: 52:[42, 33, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[50, 33, 31], Operations: ['73-42=31']
Exploring Operation: 33-31=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 52:[50, 2] Operation: 33-31=2
Exploring Operation: 50-33=17, Resulting Numbers: [31, 17]
Generated Node #0,0,1: 52:[31, 17] Operation: 50-33=17
Moving to Node #0,0,0
Current State: 52:[50, 2], Operations: ['73-42=31', '33-31=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[42, 50, 73, 33], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [50, 33, 31]
Generated Node #0,0: 52:[50, 33, 31] Operation: 73-42=31
Moving to Node #0,0
Current State: 52:[50, 33, 31], Operations: ['73-42=31']
Exploring Operation: 33-31=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 52:[50, 2] Operation: 33-31=2
Moving to Node #0,0,0
Current State: 52:[50, 2], Operations: ['73-42=31', '33-31=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
12,
7,
15,
21
] | 24 | [
"12-7=5",
"15/5=3",
"21+3=24"
] | Current State: 24:[12, 7, 15, 21], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [15, 21, 5]
Generated Node #2: [15, 21, 5] from Operation: 12-7=5
Current State: 24:[15, 21, 5], Operations: ['12-7=5']
Exploring Operation: 15/5=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 15/5=3
Current State: 24:[21, 3], Operations: ['12-7=5', '15/5=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[12, 7, 15, 21], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [12, 7, 6]
Generated Node #0,0: 24:[12, 7, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[12, 7, 6], Operations: ['21-15=6']
Exploring Operation: 12-7=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 24:[6, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 24:[6, 5], Operations: ['21-15=6', '12-7=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
30,
11,
67
] | 55 | [
"32+30=62",
"67-62=5",
"11*5=55"
] | Current State: 55:[32, 30, 11, 67], Operations: []
Exploring Operation: 32+30=62, Resulting Numbers: [11, 67, 62]
Generated Node #2: [11, 67, 62] from Operation: 32+30=62
Current State: 55:[11, 67, 62], Operations: ['32+30=62']
Exploring Operation: 67-62=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 67-62=5
Current State: 55:[11, 5], Operations: ['32+30=62', '67-62=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[32, 30, 11, 67], Operations: []
Exploring Operation: 67-30=37, Resulting Numbers: [32, 11, 37]
Generated Node #0,0: 55:[32, 11, 37] Operation: 67-30=37
Exploring Operation: 67-32=35, Resulting Numbers: [30, 11, 35]
Generated Node #0,1: 55:[30, 11, 35] Operation: 67-32=35
Exploring Operation: 32+30=62, Resulting Numbers: [11, 67, 62]
Generated Node #0,2: 55:[11, 67, 62] Operation: 32+30=62
Exploring Operation: 32-30=2, Resulting Numbers: [11, 67, 2]
Generated Node #0,3: 55:[11, 67, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[11, 67, 2], Operations: ['32-30=2']
Exploring Operation: 11-2=9, Resulting Numbers: [67, 9]
Generated Node #0,3,0: 55:[67, 9] Operation: 11-2=9
Exploring Operation: 67-2=65, Resulting Numbers: [11, 65]
Generated Node #0,3,1: 55:[11, 65] Operation: 67-2=65
Exploring Operation: 67-11=56, Resulting Numbers: [2, 56]
Generated Node #0,3,2: 55:[2, 56] Operation: 67-11=56
Exploring Operation: 11+2=13, Resulting Numbers: [67, 13]
Generated Node #0,3,3: 55:[67, 13] Operation: 11+2=13
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[2, 56], Operations: ['32-30=2', '67-11=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,55 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,55 unequal: No Solution
No 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: 55:[11, 65], Operations: ['32-30=2', '67-2=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,55 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 55:[67, 9], Operations: ['32-30=2', '11-2=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,55 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,55 unequal: No Solution
No 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: 55:[67, 13], Operations: ['32-30=2', '11+2=13']
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,55 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[11, 67, 62], Operations: ['32+30=62']
Exploring Operation: 62-11=51, Resulting Numbers: [67, 51]
Generated Node #0,2,0: 55:[67, 51] Operation: 62-11=51
Exploring Operation: 67-11=56, Resulting Numbers: [62, 56]
Generated Node #0,2,1: 55:[62, 56] Operation: 67-11=56
Exploring Operation: 11+67=78, Resulting Numbers: [62, 78]
Generated Node #0,2,2: 55:[62, 78] Operation: 11+67=78
Exploring Operation: 67-62=5, Resulting Numbers: [11, 5]
Generated Node #0,2,3: 55:[11, 5] Operation: 67-62=5
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 55:[11, 5], Operations: ['32+30=62', '67-62=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[32, 30, 11, 67], Operations: []
Exploring Operation: 32+30=62, Resulting Numbers: [11, 67, 62]
Generated Node #0,2: 55:[11, 67, 62] Operation: 32+30=62
Moving to Node #0,2
Current State: 55:[11, 67, 62], Operations: ['32+30=62']
Exploring Operation: 67-62=5, Resulting Numbers: [11, 5]
Generated Node #0,2,3: 55:[11, 5] Operation: 67-62=5
Moving to Node #0,2,3
Current State: 55:[11, 5], Operations: ['32+30=62', '67-62=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
94,
8,
24,
2
] | 100 | [
"94-2=92",
"8*24=192",
"192-92=100"
] | Current State: 100:[94, 8, 24, 2], Operations: []
Exploring Operation: 94-2=92, Resulting Numbers: [8, 24, 92]
Generated Node #2: [8, 24, 92] from Operation: 94-2=92
Current State: 100:[8, 24, 92], Operations: ['94-2=92']
Exploring Operation: 8*24=192, Resulting Numbers: [92, 192]
Generated Node #3: [92, 192] from Operation: 8*24=192
Current State: 100:[92, 192], Operations: ['94-2=92', '8*24=192']
Exploring Operation: 192-92=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[94, 8, 24, 2], Operations: []
Exploring Operation: 94+8=102, Resulting Numbers: [24, 2, 102]
Generated Node #0,0: 100:[24, 2, 102] Operation: 94+8=102
Moving to Node #0,0
Current State: 100:[24, 2, 102], Operations: ['94+8=102']
Exploring Operation: 102-2=100, Resulting Numbers: [24, 100]
Generated Node #0,0,0: 100:[24, 100] Operation: 102-2=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[24, 100], Operations: ['94+8=102', '102-2=100']
Exploring Operation: 24+100=124, Resulting Numbers: [124]
124,100 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 |
[
97,
5,
35,
63
] | 88 | [
"35/5=7",
"63/7=9",
"97-9=88"
] | Current State: 88:[97, 5, 35, 63], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [97, 63, 7]
Generated Node #2: [97, 63, 7] from Operation: 35/5=7
Current State: 88:[97, 63, 7], Operations: ['35/5=7']
Exploring Operation: 63/7=9, Resulting Numbers: [97, 9]
Generated Node #3: [97, 9] from Operation: 63/7=9
Current State: 88:[97, 9], Operations: ['35/5=7', '63/7=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[97, 5, 35, 63], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [97, 63, 7]
Generated Node #0,0: 88:[97, 63, 7] Operation: 35/5=7
Exploring Operation: 35+63=98, Resulting Numbers: [97, 5, 98]
Generated Node #0,1: 88:[97, 5, 98] Operation: 35+63=98
Exploring Operation: 97-63=34, Resulting Numbers: [5, 35, 34]
Generated Node #0,2: 88:[5, 35, 34] Operation: 97-63=34
Exploring Operation: 63-35=28, Resulting Numbers: [97, 5, 28]
Generated Node #0,3: 88:[97, 5, 28] Operation: 63-35=28
Moving to Node #0,3
Current State: 88:[97, 5, 28], Operations: ['63-35=28']
Exploring Operation: 97-28=69, Resulting Numbers: [5, 69]
Generated Node #0,3,0: 88:[5, 69] Operation: 97-28=69
Exploring Operation: 97+5=102, Resulting Numbers: [28, 102]
Generated Node #0,3,1: 88:[28, 102] Operation: 97+5=102
Exploring Operation: 28-5=23, Resulting Numbers: [97, 23]
Generated Node #0,3,2: 88:[97, 23] Operation: 28-5=23
Exploring Operation: 97-5=92, Resulting Numbers: [28, 92]
Generated Node #0,3,3: 88:[28, 92] Operation: 97-5=92
Moving to Node #0,2
Current State: 88:[5, 35, 34], Operations: ['97-63=34']
Exploring Operation: 5+35=40, Resulting Numbers: [34, 40]
Generated Node #0,2,0: 88:[34, 40] Operation: 5+35=40
Exploring Operation: 5+34=39, Resulting Numbers: [35, 39]
Generated Node #0,2,1: 88:[35, 39] Operation: 5+34=39
Exploring Operation: 35-34=1, Resulting Numbers: [5, 1]
Generated Node #0,2,2: 88:[5, 1] Operation: 35-34=1
Exploring Operation: 35/5=7, Resulting Numbers: [34, 7]
Generated Node #0,2,3: 88:[34, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[5, 1], Operations: ['97-63=34', '35-34=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,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,2,3
Current State: 88:[34, 7], Operations: ['97-63=34', '35/5=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,88 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,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,2,0
Current State: 88:[34, 40], Operations: ['97-63=34', '5+35=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,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,2,1
Current State: 88:[35, 39], Operations: ['97-63=34', '5+34=39']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,88 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,88 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: 88:[97, 5, 98], Operations: ['35+63=98']
Exploring Operation: 97-5=92, Resulting Numbers: [98, 92]
Generated Node #0,1,0: 88:[98, 92] Operation: 97-5=92
Exploring Operation: 97+5=102, Resulting Numbers: [98, 102]
Generated Node #0,1,1: 88:[98, 102] Operation: 97+5=102
Exploring Operation: 98-5=93, Resulting Numbers: [97, 93]
Generated Node #0,1,2: 88:[97, 93] Operation: 98-5=93
Exploring Operation: 98-97=1, Resulting Numbers: [5, 1]
Generated Node #0,1,3: 88:[5, 1] Operation: 98-97=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[5, 1], Operations: ['35+63=98', '98-97=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,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,1,0
Current State: 88:[98, 92], Operations: ['35+63=98', '97-5=92']
Exploring Operation: 98+92=190, Resulting Numbers: [190]
190,88 unequal: No Solution
Exploring Operation: 98*92=9016, Resulting Numbers: [9016]
9016,88 unequal: No Solution
Exploring Operation: 98-92=6, Resulting Numbers: [6]
6,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,1,2
Current State: 88:[97, 93], Operations: ['35+63=98', '98-5=93']
Exploring Operation: 97*93=9021, Resulting Numbers: [9021]
9021,88 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 97+93=190, Resulting Numbers: [190]
190,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,1,1
Current State: 88:[98, 102], Operations: ['35+63=98', '97+5=102']
Exploring Operation: 98+102=200, Resulting Numbers: [200]
200,88 unequal: No Solution
Exploring Operation: 102-98=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 98*102=9996, Resulting Numbers: [9996]
9996,88 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: 88:[97, 63, 7], Operations: ['35/5=7']
Exploring Operation: 97-7=90, Resulting Numbers: [63, 90]
Generated Node #0,0,0: 88:[63, 90] Operation: 97-7=90
Exploring Operation: 97-63=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 88:[7, 34] Operation: 97-63=34
Exploring Operation: 63-7=56, Resulting Numbers: [97, 56]
Generated Node #0,0,2: 88:[97, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [97, 9]
Generated Node #0,0,3: 88:[97, 9] Operation: 63/7=9
Moving to Node #0,3,2
Current State: 88:[97, 23], Operations: ['63-35=28', '28-5=23']
Exploring Operation: 97*23=2231, Resulting Numbers: [2231]
2231,88 unequal: No Solution
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[28, 92], Operations: ['63-35=28', '97-5=92']
Exploring Operation: 28+92=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,88 unequal: No Solution
Exploring Operation: 28*92=2576, Resulting Numbers: [2576]
2576,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[97, 9], Operations: ['35/5=7', '63/7=9']
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[97, 5, 35, 63], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [97, 63, 7]
Generated Node #0,0: 88:[97, 63, 7] Operation: 35/5=7
Moving to Node #0,0
Current State: 88:[97, 63, 7], Operations: ['35/5=7']
Exploring Operation: 63/7=9, Resulting Numbers: [97, 9]
Generated Node #0,0,3: 88:[97, 9] Operation: 63/7=9
Moving to Node #0,0,3
Current State: 88:[97, 9], Operations: ['35/5=7', '63/7=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.949653 | hs_4 | sum_heuristic |
[
88,
52,
66,
55
] | 44 | [
"66-55=11",
"88/11=8",
"52-8=44"
] | Current State: 44:[88, 52, 66, 55], Operations: []
Exploring Operation: 66-55=11, Resulting Numbers: [88, 52, 11]
Generated Node #2: [88, 52, 11] from Operation: 66-55=11
Current State: 44:[88, 52, 11], Operations: ['66-55=11']
Exploring Operation: 88/11=8, Resulting Numbers: [52, 8]
Generated Node #3: [52, 8] from Operation: 88/11=8
Current State: 44:[52, 8], Operations: ['66-55=11', '88/11=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[88, 52, 66, 55], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [66, 55, 36]
Generated Node #0,0: 44:[66, 55, 36] Operation: 88-52=36
Exploring Operation: 88-66=22, Resulting Numbers: [52, 55, 22]
Generated Node #0,1: 44:[52, 55, 22] Operation: 88-66=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[52, 55, 22], Operations: ['88-66=22']
Exploring Operation: 52-22=30, Resulting Numbers: [55, 30]
Generated Node #0,1,0: 44:[55, 30] Operation: 52-22=30
Exploring Operation: 55-52=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 44:[22, 3] Operation: 55-52=3
Moving to Node #0,1,1
Current State: 44:[22, 3], Operations: ['88-66=22', '55-52=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[55, 30], Operations: ['88-66=22', '52-22=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[66, 55, 36], Operations: ['88-52=36']
Exploring Operation: 66-55=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 44:[36, 11] Operation: 66-55=11
Exploring Operation: 66-36=30, Resulting Numbers: [55, 30]
Generated Node #0,0,1: 44:[55, 30] Operation: 66-36=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[36, 11], Operations: ['88-52=36', '66-55=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,44 unequal: No Solution
No 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: 44:[55, 30], Operations: ['88-52=36', '66-36=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,44 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 |
[
15,
91,
49,
81
] | 24 | [
"15+91=106",
"49+81=130",
"130-106=24"
] | Current State: 24:[15, 91, 49, 81], Operations: []
Exploring Operation: 15+91=106, Resulting Numbers: [49, 81, 106]
Generated Node #2: [49, 81, 106] from Operation: 15+91=106
Current State: 24:[49, 81, 106], Operations: ['15+91=106']
Exploring Operation: 49+81=130, Resulting Numbers: [106, 130]
Generated Node #3: [106, 130] from Operation: 49+81=130
Current State: 24:[106, 130], Operations: ['15+91=106', '49+81=130']
Exploring Operation: 130-106=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[15, 91, 49, 81], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [15, 49, 10]
Generated Node #0,0: 24:[15, 49, 10] Operation: 91-81=10
Exploring Operation: 91-49=42, Resulting Numbers: [15, 81, 42]
Generated Node #0,1: 24:[15, 81, 42] Operation: 91-49=42
Moving to Node #0,0
Current State: 24:[15, 49, 10], Operations: ['91-81=10']
Exploring Operation: 49-15=34, Resulting Numbers: [10, 34]
Generated Node #0,0,0: 24:[10, 34] Operation: 49-15=34
Exploring Operation: 49-10=39, Resulting Numbers: [15, 39]
Generated Node #0,0,1: 24:[15, 39] Operation: 49-10=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[10, 34], Operations: ['91-81=10', '49-15=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[15, 91, 49, 81], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [15, 49, 10]
Generated Node #0,0: 24:[15, 49, 10] Operation: 91-81=10
Moving to Node #0,0
Current State: 24:[15, 49, 10], Operations: ['91-81=10']
Exploring Operation: 49-15=34, Resulting Numbers: [10, 34]
Generated Node #0,0,0: 24:[10, 34] Operation: 49-15=34
Moving to Node #0,0,0
Current State: 24:[10, 34], Operations: ['91-81=10', '49-15=34']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
93,
51,
25,
4
] | 86 | [
"93+25=118",
"51*4=204",
"204-118=86"
] | Current State: 86:[93, 51, 25, 4], Operations: []
Exploring Operation: 93+25=118, Resulting Numbers: [51, 4, 118]
Generated Node #2: [51, 4, 118] from Operation: 93+25=118
Current State: 86:[51, 4, 118], Operations: ['93+25=118']
Exploring Operation: 51*4=204, Resulting Numbers: [118, 204]
Generated Node #3: [118, 204] from Operation: 51*4=204
Current State: 86:[118, 204], Operations: ['93+25=118', '51*4=204']
Exploring Operation: 204-118=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[93, 51, 25, 4], Operations: []
Exploring Operation: 51+25=76, Resulting Numbers: [93, 4, 76]
Generated Node #0,0: 86:[93, 4, 76] Operation: 51+25=76
Exploring Operation: 93-4=89, Resulting Numbers: [51, 25, 89]
Generated Node #0,1: 86:[51, 25, 89] Operation: 93-4=89
Exploring Operation: 93-51=42, Resulting Numbers: [25, 4, 42]
Generated Node #0,2: 86:[25, 4, 42] Operation: 93-51=42
Exploring Operation: 93-25=68, Resulting Numbers: [51, 4, 68]
Generated Node #0,3: 86:[51, 4, 68] Operation: 93-25=68
Exploring Operation: 51-25=26, Resulting Numbers: [93, 4, 26]
Generated Node #0,4: 86:[93, 4, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[93, 4, 76], Operations: ['51+25=76']
Exploring Operation: 76-4=72, Resulting Numbers: [93, 72]
Generated Node #0,0,0: 86:[93, 72] Operation: 76-4=72
Exploring Operation: 93+4=97, Resulting Numbers: [76, 97]
Generated Node #0,0,1: 86:[76, 97] Operation: 93+4=97
Exploring Operation: 93-4=89, Resulting Numbers: [76, 89]
Generated Node #0,0,2: 86:[76, 89] Operation: 93-4=89
Exploring Operation: 4+76=80, Resulting Numbers: [93, 80]
Generated Node #0,0,3: 86:[93, 80] Operation: 4+76=80
Exploring Operation: 93-76=17, Resulting Numbers: [4, 17]
Generated Node #0,0,4: 86:[4, 17] Operation: 93-76=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[76, 89], Operations: ['51+25=76', '93-4=89']
Exploring Operation: 76*89=6764, Resulting Numbers: [6764]
6764,86 unequal: No Solution
Exploring Operation: 76+89=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[93, 80], Operations: ['51+25=76', '4+76=80']
Exploring Operation: 93+80=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 93*80=7440, Resulting Numbers: [7440]
7440,86 unequal: No Solution
Exploring Operation: 93-80=13, Resulting Numbers: [13]
13,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[4, 17], Operations: ['51+25=76', '93-76=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[93, 72], Operations: ['51+25=76', '76-4=72']
Exploring Operation: 93+72=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 93*72=6696, Resulting Numbers: [6696]
6696,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[76, 97], Operations: ['51+25=76', '93+4=97']
Exploring Operation: 76*97=7372, Resulting Numbers: [7372]
7372,86 unequal: No Solution
Exploring Operation: 76+97=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[25, 4, 42], Operations: ['93-51=42']
Exploring Operation: 25+4=29, Resulting Numbers: [42, 29]
Generated Node #0,2,0: 86:[42, 29] Operation: 25+4=29
Exploring Operation: 25*4=100, Resulting Numbers: [42, 100]
Generated Node #0,2,1: 86:[42, 100] Operation: 25*4=100
Exploring Operation: 25+42=67, Resulting Numbers: [4, 67]
Generated Node #0,2,2: 86:[4, 67] Operation: 25+42=67
Exploring Operation: 25-4=21, Resulting Numbers: [42, 21]
Generated Node #0,2,3: 86:[42, 21] Operation: 25-4=21
Exploring Operation: 42-25=17, Resulting Numbers: [4, 17]
Generated Node #0,2,4: 86:[4, 17] Operation: 42-25=17
Moving to Node #0,2,0
Current State: 86:[42, 29], Operations: ['93-51=42', '25+4=29']
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,86 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[42, 100], Operations: ['93-51=42', '25*4=100']
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,86 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,86 unequal: No Solution
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[4, 17], Operations: ['93-51=42', '42-25=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[42, 21], Operations: ['93-51=42', '25-4=21']
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,86 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[4, 67], Operations: ['93-51=42', '25+42=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,86 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[93, 4, 26], Operations: ['51-25=26']
Exploring Operation: 26-4=22, Resulting Numbers: [93, 22]
Generated Node #0,4,0: 86:[93, 22] Operation: 26-4=22
Exploring Operation: 93-4=89, Resulting Numbers: [26, 89]
Generated Node #0,4,1: 86:[26, 89] Operation: 93-4=89
Exploring Operation: 4+26=30, Resulting Numbers: [93, 30]
Generated Node #0,4,2: 86:[93, 30] Operation: 4+26=30
Exploring Operation: 93-26=67, Resulting Numbers: [4, 67]
Generated Node #0,4,3: 86:[4, 67] Operation: 93-26=67
Exploring Operation: 4*26=104, Resulting Numbers: [93, 104]
Generated Node #0,4,4: 86:[93, 104] Operation: 4*26=104
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 86:[26, 89], Operations: ['51-25=26', '93-4=89']
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,86 unequal: No Solution
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[93, 30], Operations: ['51-25=26', '4+26=30']
Exploring Operation: 93*30=2790, Resulting Numbers: [2790]
2790,86 unequal: No Solution
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 93+30=123, Resulting Numbers: [123]
123,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[4, 67], Operations: ['51-25=26', '93-26=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,86 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[93, 104], Operations: ['51-25=26', '4*26=104']
Exploring Operation: 104-93=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 93*104=9672, Resulting Numbers: [9672]
9672,86 unequal: No Solution
Exploring Operation: 93+104=197, Resulting Numbers: [197]
197,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 86:[93, 22], Operations: ['51-25=26', '26-4=22']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[51, 4, 68], Operations: ['93-25=68']
Exploring Operation: 68/4=17, Resulting Numbers: [51, 17]
Generated Node #0,3,0: 86:[51, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [51, 64]
Generated Node #0,3,1: 86:[51, 64] Operation: 68-4=64
Exploring Operation: 68-51=17, Resulting Numbers: [4, 17]
Generated Node #0,3,2: 86:[4, 17] Operation: 68-51=17
Exploring Operation: 51-4=47, Resulting Numbers: [68, 47]
Generated Node #0,3,3: 86:[68, 47] Operation: 51-4=47
Exploring Operation: 4+68=72, Resulting Numbers: [51, 72]
Generated Node #0,3,4: 86:[51, 72] Operation: 4+68=72
Moving to Node #0,3,2
Current State: 86:[4, 17], Operations: ['93-25=68', '68-51=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[51, 72], Operations: ['93-25=68', '4+68=72']
Exploring Operation: 51+72=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 51*72=3672, Resulting Numbers: [3672]
3672,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[68, 47], Operations: ['93-25=68', '51-4=47']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[51, 17], Operations: ['93-25=68', '68/4=17']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[51, 64], Operations: ['93-25=68', '68-4=64']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 51*64=3264, Resulting Numbers: [3264]
3264,86 unequal: No Solution
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[51, 25, 89], Operations: ['93-4=89']
Exploring Operation: 89-25=64, Resulting Numbers: [51, 64]
Generated Node #0,1,0: 86:[51, 64] Operation: 89-25=64
Exploring Operation: 51+25=76, Resulting Numbers: [89, 76]
Generated Node #0,1,1: 86:[89, 76] Operation: 51+25=76
Exploring Operation: 89-51=38, Resulting Numbers: [25, 38]
Generated Node #0,1,2: 86:[25, 38] Operation: 89-51=38
Exploring Operation: 25+89=114, Resulting Numbers: [51, 114]
Generated Node #0,1,3: 86:[51, 114] Operation: 25+89=114
Exploring Operation: 51-25=26, Resulting Numbers: [89, 26]
Generated Node #0,1,4: 86:[89, 26] Operation: 51-25=26
Moving to Node #0,1,1
Current State: 86:[89, 76], Operations: ['93-4=89', '51+25=76']
Exploring Operation: 89*76=6764, Resulting Numbers: [6764]
6764,86 unequal: No Solution
Exploring Operation: 89+76=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[89, 26], Operations: ['93-4=89', '51-25=26']
Exploring Operation: 89+26=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 89*26=2314, Resulting Numbers: [2314]
2314,86 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[25, 38], Operations: ['93-4=89', '89-51=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[51, 64], Operations: ['93-4=89', '89-25=64']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 51*64=3264, Resulting Numbers: [3264]
3264,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[51, 114], Operations: ['93-4=89', '25+89=114']
Exploring Operation: 51+114=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Exploring Operation: 51*114=5814, Resulting Numbers: [5814]
5814,86 unequal: No Solution
Exploring Operation: 114-51=63, Resulting Numbers: [63]
63,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
39,
22,
81,
34
] | 30 | [
"39-22=17",
"81-34=47",
"47-17=30"
] | Current State: 30:[39, 22, 81, 34], Operations: []
Exploring Operation: 39-22=17, Resulting Numbers: [81, 34, 17]
Generated Node #2: [81, 34, 17] from Operation: 39-22=17
Current State: 30:[81, 34, 17], Operations: ['39-22=17']
Exploring Operation: 81-34=47, Resulting Numbers: [17, 47]
Generated Node #3: [17, 47] from Operation: 81-34=47
Current State: 30:[17, 47], Operations: ['39-22=17', '81-34=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[39, 22, 81, 34], Operations: []
Exploring Operation: 81-22=59, Resulting Numbers: [39, 34, 59]
Generated Node #0,0: 30:[39, 34, 59] Operation: 81-22=59
Exploring Operation: 81-34=47, Resulting Numbers: [39, 22, 47]
Generated Node #0,1: 30:[39, 22, 47] Operation: 81-34=47
Exploring Operation: 39-22=17, Resulting Numbers: [81, 34, 17]
Generated Node #0,2: 30:[81, 34, 17] Operation: 39-22=17
Exploring Operation: 81-39=42, Resulting Numbers: [22, 34, 42]
Generated Node #0,3: 30:[22, 34, 42] Operation: 81-39=42
Exploring Operation: 39-34=5, Resulting Numbers: [22, 81, 5]
Generated Node #0,4: 30:[22, 81, 5] Operation: 39-34=5
Moving to Node #0,3
Current State: 30:[22, 34, 42], Operations: ['81-39=42']
Exploring Operation: 22+42=64, Resulting Numbers: [34, 64]
Generated Node #0,3,0: 30:[34, 64] Operation: 22+42=64
Exploring Operation: 34-22=12, Resulting Numbers: [42, 12]
Generated Node #0,3,1: 30:[42, 12] Operation: 34-22=12
Exploring Operation: 42-22=20, Resulting Numbers: [34, 20]
Generated Node #0,3,2: 30:[34, 20] Operation: 42-22=20
Exploring Operation: 42-34=8, Resulting Numbers: [22, 8]
Generated Node #0,3,3: 30:[22, 8] Operation: 42-34=8
Exploring Operation: 22+34=56, Resulting Numbers: [42, 56]
Generated Node #0,3,4: 30:[42, 56] Operation: 22+34=56
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[34, 20], Operations: ['81-39=42', '42-22=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,30 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[22, 8], Operations: ['81-39=42', '42-34=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[39, 22, 81, 34], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [22, 34, 42]
Generated Node #0,3: 30:[22, 34, 42] Operation: 81-39=42
Moving to Node #0,3
Current State: 30:[22, 34, 42], Operations: ['81-39=42']
Exploring Operation: 42-34=8, Resulting Numbers: [22, 8]
Generated Node #0,3,3: 30:[22, 8] Operation: 42-34=8
Moving to Node #0,3,3
Current State: 30:[22, 8], Operations: ['81-39=42', '42-34=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
43,
17,
21,
95
] | 100 | [
"43-17=26",
"95-21=74",
"26+74=100"
] | Current State: 100:[43, 17, 21, 95], Operations: []
Exploring Operation: 43-17=26, Resulting Numbers: [21, 95, 26]
Generated Node #2: [21, 95, 26] from Operation: 43-17=26
Current State: 100:[21, 95, 26], Operations: ['43-17=26']
Exploring Operation: 95-21=74, Resulting Numbers: [26, 74]
Generated Node #3: [26, 74] from Operation: 95-21=74
Current State: 100:[26, 74], Operations: ['43-17=26', '95-21=74']
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[43, 17, 21, 95], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [17, 21, 52]
Generated Node #0,0: 100:[17, 21, 52] Operation: 95-43=52
Exploring Operation: 43-21=22, Resulting Numbers: [17, 95, 22]
Generated Node #0,1: 100:[17, 95, 22] Operation: 43-21=22
Exploring Operation: 43-17=26, Resulting Numbers: [21, 95, 26]
Generated Node #0,2: 100:[21, 95, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[17, 21, 52], Operations: ['95-43=52']
Exploring Operation: 52-21=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 100:[17, 31] Operation: 52-21=31
Exploring Operation: 52-17=35, Resulting Numbers: [21, 35]
Generated Node #0,0,1: 100:[21, 35] Operation: 52-17=35
Exploring Operation: 21-17=4, Resulting Numbers: [52, 4]
Generated Node #0,0,2: 100:[52, 4] Operation: 21-17=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[52, 4], Operations: ['95-43=52', '21-17=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[17, 31], Operations: ['95-43=52', '52-21=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,100 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[21, 35], Operations: ['95-43=52', '52-17=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,100 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[21, 95, 26], Operations: ['43-17=26']
Exploring Operation: 21+26=47, Resulting Numbers: [95, 47]
Generated Node #0,2,0: 100:[95, 47] Operation: 21+26=47
Exploring Operation: 21+95=116, Resulting Numbers: [26, 116]
Generated Node #0,2,1: 100:[26, 116] Operation: 21+95=116
Exploring Operation: 26-21=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 100:[95, 5] Operation: 26-21=5
Moving to Node #0,2,2
Current State: 100:[95, 5], Operations: ['43-17=26', '26-21=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[43, 17, 21, 95], Operations: []
Exploring Operation: 43-17=26, Resulting Numbers: [21, 95, 26]
Generated Node #0,2: 100:[21, 95, 26] Operation: 43-17=26
Moving to Node #0,2
Current State: 100:[21, 95, 26], Operations: ['43-17=26']
Exploring Operation: 26-21=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 100:[95, 5] Operation: 26-21=5
Moving to Node #0,2,2
Current State: 100:[95, 5], Operations: ['43-17=26', '26-21=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
19,
16,
65,
6
] | 68 | [
"19-16=3",
"65+6=71",
"71-3=68"
] | Current State: 68:[19, 16, 65, 6], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [65, 6, 3]
Generated Node #2: [65, 6, 3] from Operation: 19-16=3
Current State: 68:[65, 6, 3], Operations: ['19-16=3']
Exploring Operation: 65+6=71, Resulting Numbers: [3, 71]
Generated Node #3: [3, 71] from Operation: 65+6=71
Current State: 68:[3, 71], Operations: ['19-16=3', '65+6=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[19, 16, 65, 6], Operations: []
Exploring Operation: 19+16=35, Resulting Numbers: [65, 6, 35]
Generated Node #0,0: 68:[65, 6, 35] Operation: 19+16=35
Exploring Operation: 65+6=71, Resulting Numbers: [19, 16, 71]
Generated Node #0,1: 68:[19, 16, 71] Operation: 65+6=71
Exploring Operation: 19-16=3, Resulting Numbers: [65, 6, 3]
Generated Node #0,2: 68:[65, 6, 3] Operation: 19-16=3
Exploring Operation: 19-6=13, Resulting Numbers: [16, 65, 13]
Generated Node #0,3: 68:[16, 65, 13] Operation: 19-6=13
Moving to Node #0,0
Current State: 68:[65, 6, 35], Operations: ['19+16=35']
Exploring Operation: 65+6=71, Resulting Numbers: [35, 71]
Generated Node #0,0,0: 68:[35, 71] Operation: 65+6=71
Exploring Operation: 65-35=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 68:[6, 30] Operation: 65-35=30
Exploring Operation: 35-6=29, Resulting Numbers: [65, 29]
Generated Node #0,0,2: 68:[65, 29] Operation: 35-6=29
Exploring Operation: 65-6=59, Resulting Numbers: [35, 59]
Generated Node #0,0,3: 68:[35, 59] Operation: 65-6=59
Moving to Node #0,2
Current State: 68:[65, 6, 3], Operations: ['19-16=3']
Exploring Operation: 6/3=2, Resulting Numbers: [65, 2]
Generated Node #0,2,0: 68:[65, 2] Operation: 6/3=2
Exploring Operation: 65+3=68, Resulting Numbers: [6, 68]
Generated Node #0,2,1: 68:[6, 68] Operation: 65+3=68
Exploring Operation: 65+6=71, Resulting Numbers: [3, 71]
Generated Node #0,2,2: 68:[3, 71] Operation: 65+6=71
Exploring Operation: 6*3=18, Resulting Numbers: [65, 18]
Generated Node #0,2,3: 68:[65, 18] Operation: 6*3=18
Moving to Node #0,1
Current State: 68:[19, 16, 71], Operations: ['65+6=71']
Exploring Operation: 19+16=35, Resulting Numbers: [71, 35]
Generated Node #0,1,0: 68:[71, 35] Operation: 19+16=35
Exploring Operation: 71-16=55, Resulting Numbers: [19, 55]
Generated Node #0,1,1: 68:[19, 55] Operation: 71-16=55
Exploring Operation: 71-19=52, Resulting Numbers: [16, 52]
Generated Node #0,1,2: 68:[16, 52] Operation: 71-19=52
Exploring Operation: 19-16=3, Resulting Numbers: [71, 3]
Generated Node #0,1,3: 68:[71, 3] Operation: 19-16=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[71, 35], Operations: ['65+6=71', '19+16=35']
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,68 unequal: No Solution
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[71, 3], Operations: ['65+6=71', '19-16=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[19, 16, 65, 6], Operations: []
Exploring Operation: 65+6=71, Resulting Numbers: [19, 16, 71]
Generated Node #0,1: 68:[19, 16, 71] Operation: 65+6=71
Moving to Node #0,1
Current State: 68:[19, 16, 71], Operations: ['65+6=71']
Exploring Operation: 19-16=3, Resulting Numbers: [71, 3]
Generated Node #0,1,3: 68:[71, 3] Operation: 19-16=3
Moving to Node #0,1,3
Current State: 68:[71, 3], Operations: ['65+6=71', '19-16=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
7,
47,
28,
76
] | 57 | [
"47-28=19",
"7*19=133",
"133-76=57"
] | Current State: 57:[7, 47, 28, 76], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [7, 76, 19]
Generated Node #2: [7, 76, 19] from Operation: 47-28=19
Current State: 57:[7, 76, 19], Operations: ['47-28=19']
Exploring Operation: 7*19=133, Resulting Numbers: [76, 133]
Generated Node #3: [76, 133] from Operation: 7*19=133
Current State: 57:[76, 133], Operations: ['47-28=19', '7*19=133']
Exploring Operation: 133-76=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[7, 47, 28, 76], Operations: []
Exploring Operation: 76-47=29, Resulting Numbers: [7, 28, 29]
Generated Node #0,0: 57:[7, 28, 29] Operation: 76-47=29
Exploring Operation: 76-28=48, Resulting Numbers: [7, 47, 48]
Generated Node #0,1: 57:[7, 47, 48] Operation: 76-28=48
Exploring Operation: 47-28=19, Resulting Numbers: [7, 76, 19]
Generated Node #0,2: 57:[7, 76, 19] Operation: 47-28=19
Exploring Operation: 28/7=4, Resulting Numbers: [47, 76, 4]
Generated Node #0,3: 57:[47, 76, 4] Operation: 28/7=4
Moving to Node #0,0
Current State: 57:[7, 28, 29], Operations: ['76-47=29']
Exploring Operation: 28+29=57, Resulting Numbers: [7, 57]
Generated Node #0,0,0: 57:[7, 57] Operation: 28+29=57
Exploring Operation: 29-28=1, Resulting Numbers: [7, 1]
Generated Node #0,0,1: 57:[7, 1] Operation: 29-28=1
Exploring Operation: 28/7=4, Resulting Numbers: [29, 4]
Generated Node #0,0,2: 57:[29, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [29, 21]
Generated Node #0,0,3: 57:[29, 21] Operation: 28-7=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[7, 57], Operations: ['76-47=29', '28+29=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,57 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[7, 1], Operations: ['76-47=29', '29-28=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,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,0,2
Current State: 57:[29, 4], Operations: ['76-47=29', '28/7=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,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,0,3
Current State: 57:[29, 21], Operations: ['76-47=29', '28-7=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,57 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: 57:[7, 76, 19], Operations: ['47-28=19']
Exploring Operation: 76-19=57, Resulting Numbers: [7, 57]
Generated Node #0,2,0: 57:[7, 57] Operation: 76-19=57
Exploring Operation: 76-7=69, Resulting Numbers: [19, 69]
Generated Node #0,2,1: 57:[19, 69] Operation: 76-7=69
Exploring Operation: 76/19=4, Resulting Numbers: [7, 4]
Generated Node #0,2,2: 57:[7, 4] Operation: 76/19=4
Exploring Operation: 7+76=83, Resulting Numbers: [19, 83]
Generated Node #0,2,3: 57:[19, 83] Operation: 7+76=83
Moving to Node #0,1
Current State: 57:[7, 47, 48], Operations: ['76-28=48']
Exploring Operation: 48-47=1, Resulting Numbers: [7, 1]
Generated Node #0,1,0: 57:[7, 1] Operation: 48-47=1
Exploring Operation: 7+48=55, Resulting Numbers: [47, 55]
Generated Node #0,1,1: 57:[47, 55] Operation: 7+48=55
Exploring Operation: 7+47=54, Resulting Numbers: [48, 54]
Generated Node #0,1,2: 57:[48, 54] Operation: 7+47=54
Exploring Operation: 47-7=40, Resulting Numbers: [48, 40]
Generated Node #0,1,3: 57:[48, 40] Operation: 47-7=40
Moving to Node #0,3
Current State: 57:[47, 76, 4], Operations: ['28/7=4']
Exploring Operation: 76-4=72, Resulting Numbers: [47, 72]
Generated Node #0,3,0: 57:[47, 72] Operation: 76-4=72
Exploring Operation: 47+4=51, Resulting Numbers: [76, 51]
Generated Node #0,3,1: 57:[76, 51] Operation: 47+4=51
Exploring Operation: 76-47=29, Resulting Numbers: [4, 29]
Generated Node #0,3,2: 57:[4, 29] Operation: 76-47=29
Exploring Operation: 76/4=19, Resulting Numbers: [47, 19]
Generated Node #0,3,3: 57:[47, 19] Operation: 76/4=19
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[47, 19], Operations: ['28/7=4', '76/4=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,57 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[4, 29], Operations: ['28/7=4', '76-47=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[47, 72], Operations: ['28/7=4', '76-4=72']
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[76, 51], Operations: ['28/7=4', '47+4=51']
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 76*51=3876, Resulting Numbers: [3876]
3876,57 unequal: No Solution
Exploring Operation: 76+51=127, Resulting Numbers: [127]
127,57 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: 57:[7, 57], Operations: ['47-28=19', '76-19=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,57 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[7, 4], Operations: ['47-28=19', '76/19=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[7, 1], Operations: ['76-28=48', '48-47=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[19, 69], Operations: ['47-28=19', '76-7=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,57 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[47, 55], Operations: ['76-28=48', '7+48=55']
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,57 unequal: No Solution
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[48, 54], Operations: ['76-28=48', '7+47=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,57 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[19, 83], Operations: ['47-28=19', '7+76=83']
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[48, 40], Operations: ['76-28=48', '47-7=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,57 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
76,
35,
35,
96
] | 16 | [
"76-35=41",
"41-35=6",
"96/6=16"
] | Current State: 16:[76, 35, 35, 96], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [96, 41]
Generated Node #2: [96, 41] from Operation: 76-35=41
Current State: 16:[96, 41], Operations: ['76-35=41']
Exploring Operation: 41-35=6, Resulting Numbers: [96, 6]
Generated Node #3: [96, 6] from Operation: 41-35=6
Current State: 16:[96, 6], Operations: ['76-35=41', '41-35=6']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[76, 35, 35, 96], Operations: []
Exploring Operation: 96-35=61, Resulting Numbers: [76, 35, 61]
Generated Node #0,0: 16:[76, 35, 61] Operation: 96-35=61
Exploring Operation: 76-35=41, Resulting Numbers: [35, 96, 41]
Generated Node #0,1: 16:[35, 96, 41] Operation: 76-35=41
Exploring Operation: 96-76=20, Resulting Numbers: [35, 35, 20]
Generated Node #0,2: 16:[35, 35, 20] Operation: 96-76=20
Exploring Operation: 96-35=61, Resulting Numbers: [76, 35, 61]
Generated Node #0,3: 16:[76, 35, 61] Operation: 96-35=61
Exploring Operation: 76-35=41, Resulting Numbers: [35, 96, 41]
Generated Node #0,4: 16:[35, 96, 41] Operation: 76-35=41
Moving to Node #0,2
Current State: 16:[35, 35, 20], Operations: ['96-76=20']
Exploring Operation: 35-20=15, Resulting Numbers: [35, 15]
Generated Node #0,2,0: 16:[35, 15] Operation: 35-20=15
Exploring Operation: 35/35=1, Resulting Numbers: [20, 1]
Generated Node #0,2,1: 16:[20, 1] Operation: 35/35=1
Exploring Operation: 35-35=0, Resulting Numbers: [20, 0]
Generated Node #0,2,2: 16:[20, 0] Operation: 35-35=0
Exploring Operation: 35-20=15, Resulting Numbers: [35, 15]
Generated Node #0,2,3: 16:[35, 15] Operation: 35-20=15
Exploring Operation: 35+35=70, Resulting Numbers: [20, 70]
Generated Node #0,2,4: 16:[20, 70] Operation: 35+35=70
Moving to Node #0,1
Current State: 16:[35, 96, 41], Operations: ['76-35=41']
Exploring Operation: 96-41=55, Resulting Numbers: [35, 55]
Generated Node #0,1,0: 16:[35, 55] Operation: 96-41=55
Exploring Operation: 96-35=61, Resulting Numbers: [41, 61]
Generated Node #0,1,1: 16:[41, 61] Operation: 96-35=61
Exploring Operation: 35+41=76, Resulting Numbers: [96, 76]
Generated Node #0,1,2: 16:[96, 76] Operation: 35+41=76
Exploring Operation: 41-35=6, Resulting Numbers: [96, 6]
Generated Node #0,1,3: 16:[96, 6] Operation: 41-35=6
Exploring Operation: 35+96=131, Resulting Numbers: [41, 131]
Generated Node #0,1,4: 16:[41, 131] Operation: 35+96=131
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[35, 55], Operations: ['76-35=41', '96-41=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,16 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[41, 61], Operations: ['76-35=41', '96-35=61']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[96, 6], Operations: ['76-35=41', '41-35=6']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,16 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[76, 35, 35, 96], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [35, 96, 41]
Generated Node #0,1: 16:[35, 96, 41] Operation: 76-35=41
Moving to Node #0,1
Current State: 16:[35, 96, 41], Operations: ['76-35=41']
Exploring Operation: 41-35=6, Resulting Numbers: [96, 6]
Generated Node #0,1,3: 16:[96, 6] Operation: 41-35=6
Moving to Node #0,1,3
Current State: 16:[96, 6], Operations: ['76-35=41', '41-35=6']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | mult_heuristic |
[
39,
30,
23,
90
] | 58 | [
"39-30=9",
"90-23=67",
"67-9=58"
] | Current State: 58:[39, 30, 23, 90], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [23, 90, 9]
Generated Node #2: [23, 90, 9] from Operation: 39-30=9
Current State: 58:[23, 90, 9], Operations: ['39-30=9']
Exploring Operation: 90-23=67, Resulting Numbers: [9, 67]
Generated Node #3: [9, 67] from Operation: 90-23=67
Current State: 58:[9, 67], Operations: ['39-30=9', '90-23=67']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[39, 30, 23, 90], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [39, 23, 60]
Generated Node #0,0: 58:[39, 23, 60] Operation: 90-30=60
Exploring Operation: 90-39=51, Resulting Numbers: [30, 23, 51]
Generated Node #0,1: 58:[30, 23, 51] Operation: 90-39=51
Exploring Operation: 90/30=3, Resulting Numbers: [39, 23, 3]
Generated Node #0,2: 58:[39, 23, 3] Operation: 90/30=3
Moving to Node #0,1
Current State: 58:[30, 23, 51], Operations: ['90-39=51']
Exploring Operation: 51-23=28, Resulting Numbers: [30, 28]
Generated Node #0,1,0: 58:[30, 28] Operation: 51-23=28
Exploring Operation: 30+23=53, Resulting Numbers: [51, 53]
Generated Node #0,1,1: 58:[51, 53] Operation: 30+23=53
Exploring Operation: 30-23=7, Resulting Numbers: [51, 7]
Generated Node #0,1,2: 58:[51, 7] Operation: 30-23=7
Moving to Node #0,2
Current State: 58:[39, 23, 3], Operations: ['90/30=3']
Exploring Operation: 23+3=26, Resulting Numbers: [39, 26]
Generated Node #0,2,0: 58:[39, 26] Operation: 23+3=26
Exploring Operation: 39-3=36, Resulting Numbers: [23, 36]
Generated Node #0,2,1: 58:[23, 36] Operation: 39-3=36
Exploring Operation: 39+23=62, Resulting Numbers: [3, 62]
Generated Node #0,2,2: 58:[3, 62] Operation: 39+23=62
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[3, 62], Operations: ['90/30=3', '39+23=62']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[39, 26], Operations: ['90/30=3', '23+3=26']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[23, 36], Operations: ['90/30=3', '39-3=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,58 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 58:[39, 23, 60], Operations: ['90-30=60']
Exploring Operation: 60-39=21, Resulting Numbers: [23, 21]
Generated Node #0,0,0: 58:[23, 21] Operation: 60-39=21
Exploring Operation: 39+23=62, Resulting Numbers: [60, 62]
Generated Node #0,0,1: 58:[60, 62] Operation: 39+23=62
Exploring Operation: 39-23=16, Resulting Numbers: [60, 16]
Generated Node #0,0,2: 58:[60, 16] Operation: 39-23=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[60, 62], Operations: ['90-30=60', '39+23=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,58 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[23, 21], Operations: ['90-30=60', '60-39=21']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[60, 16], Operations: ['90-30=60', '39-23=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,58 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 58:[30, 28], Operations: ['90-39=51', '51-23=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,58 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[39, 30, 23, 90], Operations: []
Exploring Operation: 90-39=51, Resulting Numbers: [30, 23, 51]
Generated Node #0,1: 58:[30, 23, 51] Operation: 90-39=51
Moving to Node #0,1
Current State: 58:[30, 23, 51], Operations: ['90-39=51']
Exploring Operation: 51-23=28, Resulting Numbers: [30, 28]
Generated Node #0,1,0: 58:[30, 28] Operation: 51-23=28
Moving to Node #0,1,0
Current State: 58:[30, 28], Operations: ['90-39=51', '51-23=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
5,
77,
63,
18
] | 88 | [
"77-63=14",
"5*14=70",
"18+70=88"
] | Current State: 88:[5, 77, 63, 18], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [5, 18, 14]
Generated Node #2: [5, 18, 14] from Operation: 77-63=14
Current State: 88:[5, 18, 14], Operations: ['77-63=14']
Exploring Operation: 5*14=70, Resulting Numbers: [18, 70]
Generated Node #3: [18, 70] from Operation: 5*14=70
Current State: 88:[18, 70], Operations: ['77-63=14', '5*14=70']
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[5, 77, 63, 18], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [5, 18, 14]
Generated Node #0,0: 88:[5, 18, 14] Operation: 77-63=14
Exploring Operation: 77+18=95, Resulting Numbers: [5, 63, 95]
Generated Node #0,1: 88:[5, 63, 95] Operation: 77+18=95
Exploring Operation: 63-18=45, Resulting Numbers: [5, 77, 45]
Generated Node #0,2: 88:[5, 77, 45] Operation: 63-18=45
Exploring Operation: 63+18=81, Resulting Numbers: [5, 77, 81]
Generated Node #0,3: 88:[5, 77, 81] Operation: 63+18=81
Exploring Operation: 5+77=82, Resulting Numbers: [63, 18, 82]
Generated Node #0,4: 88:[63, 18, 82] Operation: 5+77=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[5, 18, 14], Operations: ['77-63=14']
Exploring Operation: 18-14=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 88:[5, 4] Operation: 18-14=4
Exploring Operation: 14-5=9, Resulting Numbers: [18, 9]
Generated Node #0,0,1: 88:[18, 9] Operation: 14-5=9
Exploring Operation: 5+18=23, Resulting Numbers: [14, 23]
Generated Node #0,0,2: 88:[14, 23] Operation: 5+18=23
Exploring Operation: 18-5=13, Resulting Numbers: [14, 13]
Generated Node #0,0,3: 88:[14, 13] Operation: 18-5=13
Exploring Operation: 5*18=90, Resulting Numbers: [14, 90]
Generated Node #0,0,4: 88:[14, 90] Operation: 5*18=90
Moving to Node #0,0,0
Current State: 88:[5, 4], Operations: ['77-63=14', '18-14=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[14, 23], Operations: ['77-63=14', '5+18=23']
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,88 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[18, 9], Operations: ['77-63=14', '14-5=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,88 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[14, 13], Operations: ['77-63=14', '18-5=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[14, 90], Operations: ['77-63=14', '5*18=90']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,88 unequal: No Solution
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,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,2
Current State: 88:[5, 77, 45], Operations: ['63-18=45']
Exploring Operation: 77-5=72, Resulting Numbers: [45, 72]
Generated Node #0,2,0: 88:[45, 72] Operation: 77-5=72
Exploring Operation: 45-5=40, Resulting Numbers: [77, 40]
Generated Node #0,2,1: 88:[77, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [77, 9]
Generated Node #0,2,2: 88:[77, 9] Operation: 45/5=9
Exploring Operation: 5+77=82, Resulting Numbers: [45, 82]
Generated Node #0,2,3: 88:[45, 82] Operation: 5+77=82
Exploring Operation: 77-45=32, Resulting Numbers: [5, 32]
Generated Node #0,2,4: 88:[5, 32] Operation: 77-45=32
Moving to Node #0,2,3
Current State: 88:[45, 82], Operations: ['63-18=45', '5+77=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,88 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[5, 32], Operations: ['63-18=45', '77-45=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,88 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[77, 9], Operations: ['63-18=45', '45/5=9']
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,88 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[77, 40], Operations: ['63-18=45', '45-5=40']
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,88 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[45, 72], Operations: ['63-18=45', '77-5=72']
Exploring Operation: 45+72=117, Resulting Numbers: [117]
117,88 unequal: No Solution
Exploring Operation: 45*72=3240, Resulting Numbers: [3240]
3240,88 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,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:[5, 77, 81], Operations: ['63+18=81']
Exploring Operation: 5+77=82, Resulting Numbers: [81, 82]
Generated Node #0,3,0: 88:[81, 82] Operation: 5+77=82
Exploring Operation: 77-5=72, Resulting Numbers: [81, 72]
Generated Node #0,3,1: 88:[81, 72] Operation: 77-5=72
Exploring Operation: 5+81=86, Resulting Numbers: [77, 86]
Generated Node #0,3,2: 88:[77, 86] Operation: 5+81=86
Exploring Operation: 81-5=76, Resulting Numbers: [77, 76]
Generated Node #0,3,3: 88:[77, 76] Operation: 81-5=76
Exploring Operation: 81-77=4, Resulting Numbers: [5, 4]
Generated Node #0,3,4: 88:[5, 4] Operation: 81-77=4
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 88:[5, 4], Operations: ['63+18=81', '81-77=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[81, 82], Operations: ['63+18=81', '5+77=82']
Exploring Operation: 81+82=163, Resulting Numbers: [163]
163,88 unequal: No Solution
Exploring Operation: 81*82=6642, Resulting Numbers: [6642]
6642,88 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[77, 86], Operations: ['63+18=81', '5+81=86']
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,88 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[81, 72], Operations: ['63+18=81', '77-5=72']
Exploring Operation: 81+72=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 81*72=5832, Resulting Numbers: [5832]
5832,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[77, 76], Operations: ['63+18=81', '81-5=76']
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[5, 63, 95], Operations: ['77+18=95']
Exploring Operation: 5+63=68, Resulting Numbers: [95, 68]
Generated Node #0,1,0: 88:[95, 68] Operation: 5+63=68
Exploring Operation: 95-5=90, Resulting Numbers: [63, 90]
Generated Node #0,1,1: 88:[63, 90] Operation: 95-5=90
Exploring Operation: 95-63=32, Resulting Numbers: [5, 32]
Generated Node #0,1,2: 88:[5, 32] Operation: 95-63=32
Exploring Operation: 63-5=58, Resulting Numbers: [95, 58]
Generated Node #0,1,3: 88:[95, 58] Operation: 63-5=58
Exploring Operation: 95/5=19, Resulting Numbers: [63, 19]
Generated Node #0,1,4: 88:[63, 19] Operation: 95/5=19
Moving to Node #0,1,2
Current State: 88:[5, 32], Operations: ['77+18=95', '95-63=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,88 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[95, 58], Operations: ['77+18=95', '63-5=58']
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
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[63, 90], Operations: ['77+18=95', '95-5=90']
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 63+90=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 63*90=5670, Resulting Numbers: [5670]
5670,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[63, 19], Operations: ['77+18=95', '95/5=19']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[95, 68], Operations: ['77+18=95', '5+63=68']
Exploring Operation: 95*68=6460, Resulting Numbers: [6460]
6460,88 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 95+68=163, Resulting Numbers: [163]
163,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:[63, 18, 82], Operations: ['5+77=82']
Exploring Operation: 63+18=81, Resulting Numbers: [82, 81]
Generated Node #0,4,0: 88:[82, 81] Operation: 63+18=81
Exploring Operation: 82-63=19, Resulting Numbers: [18, 19]
Generated Node #0,4,1: 88:[18, 19] Operation: 82-63=19
Exploring Operation: 63-18=45, Resulting Numbers: [82, 45]
Generated Node #0,4,2: 88:[82, 45] Operation: 63-18=45
Exploring Operation: 82-18=64, Resulting Numbers: [63, 64]
Generated Node #0,4,3: 88:[63, 64] Operation: 82-18=64
Exploring Operation: 18+82=100, Resulting Numbers: [63, 100]
Generated Node #0,4,4: 88:[63, 100] Operation: 18+82=100
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[18, 19], Operations: ['5+77=82', '82-63=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,88 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,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:[82, 45], Operations: ['5+77=82', '63-18=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,88 unequal: No Solution
Exploring Operation: 82-45=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,4,0
Current State: 88:[82, 81], Operations: ['5+77=82', '63+18=81']
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 82+81=163, Resulting Numbers: [163]
163,88 unequal: No Solution
Exploring Operation: 82*81=6642, Resulting Numbers: [6642]
6642,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,4
Current State: 88:[63, 100], Operations: ['5+77=82', '18+82=100']
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,88 unequal: No Solution
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,88 unequal: No Solution
Exploring Operation: 100-63=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,4,3
Current State: 88:[63, 64], Operations: ['5+77=82', '82-18=64']
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,88 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
1,
65,
41,
43
] | 32 | [
"65-1=64",
"43-41=2",
"64/2=32"
] | Current State: 32:[1, 65, 41, 43], Operations: []
Exploring Operation: 65-1=64, Resulting Numbers: [41, 43, 64]
Generated Node #2: [41, 43, 64] from Operation: 65-1=64
Current State: 32:[41, 43, 64], Operations: ['65-1=64']
Exploring Operation: 43-41=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 43-41=2
Current State: 32:[64, 2], Operations: ['65-1=64', '43-41=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[1, 65, 41, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [1, 65, 2]
Generated Node #0,0: 32:[1, 65, 2] Operation: 43-41=2
Exploring Operation: 65-43=22, Resulting Numbers: [1, 41, 22]
Generated Node #0,1: 32:[1, 41, 22] Operation: 65-43=22
Exploring Operation: 65-1=64, Resulting Numbers: [41, 43, 64]
Generated Node #0,2: 32:[41, 43, 64] Operation: 65-1=64
Exploring Operation: 65-41=24, Resulting Numbers: [1, 43, 24]
Generated Node #0,3: 32:[1, 43, 24] Operation: 65-41=24
Moving to Node #0,1
Current State: 32:[1, 41, 22], Operations: ['65-43=22']
Exploring Operation: 1*41=41, Resulting Numbers: [22, 41]
Generated Node #0,1,0: 32:[22, 41] Operation: 1*41=41
Exploring Operation: 41-1=40, Resulting Numbers: [22, 40]
Generated Node #0,1,1: 32:[22, 40] Operation: 41-1=40
Exploring Operation: 22-1=21, Resulting Numbers: [41, 21]
Generated Node #0,1,2: 32:[41, 21] Operation: 22-1=21
Exploring Operation: 41-22=19, Resulting Numbers: [1, 19]
Generated Node #0,1,3: 32:[1, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[1, 19], Operations: ['65-43=22', '41-22=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No 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: 32:[22, 40], Operations: ['65-43=22', '41-1=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,32 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No 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: 32:[41, 21], Operations: ['65-43=22', '22-1=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,32 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,32 unequal: No Solution
No 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: 32:[22, 41], Operations: ['65-43=22', '1*41=41']
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,32 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: 32:[1, 43, 24], Operations: ['65-41=24']
Exploring Operation: 43-24=19, Resulting Numbers: [1, 19]
Generated Node #0,3,0: 32:[1, 19] Operation: 43-24=19
Exploring Operation: 43-1=42, Resulting Numbers: [24, 42]
Generated Node #0,3,1: 32:[24, 42] Operation: 43-1=42
Exploring Operation: 1+24=25, Resulting Numbers: [43, 25]
Generated Node #0,3,2: 32:[43, 25] Operation: 1+24=25
Exploring Operation: 24-1=23, Resulting Numbers: [43, 23]
Generated Node #0,3,3: 32:[43, 23] Operation: 24-1=23
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[1, 19], Operations: ['65-41=24', '43-24=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No 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: 32:[24, 42], Operations: ['65-41=24', '43-1=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,32 unequal: No Solution
No 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: 32:[43, 25], Operations: ['65-41=24', '1+24=25']
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,32 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No 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: 32:[43, 23], Operations: ['65-41=24', '24-1=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,32 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: 32:[1, 65, 2], Operations: ['43-41=2']
Exploring Operation: 1*65=65, Resulting Numbers: [2, 65]
Generated Node #0,0,0: 32:[2, 65] Operation: 1*65=65
Exploring Operation: 65/1=65, Resulting Numbers: [2, 65]
Generated Node #0,0,1: 32:[2, 65] Operation: 65/1=65
Exploring Operation: 65-1=64, Resulting Numbers: [2, 64]
Generated Node #0,0,2: 32:[2, 64] Operation: 65-1=64
Exploring Operation: 65-2=63, Resulting Numbers: [1, 63]
Generated Node #0,0,3: 32:[1, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[2, 64], Operations: ['43-41=2', '65-1=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,32 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[1, 65, 41, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [1, 65, 2]
Generated Node #0,0: 32:[1, 65, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 32:[1, 65, 2], Operations: ['43-41=2']
Exploring Operation: 65-1=64, Resulting Numbers: [2, 64]
Generated Node #0,0,2: 32:[2, 64] Operation: 65-1=64
Moving to Node #0,0,2
Current State: 32:[2, 64], Operations: ['43-41=2', '65-1=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
15,
6,
57,
61
] | 97 | [
"15+6=21",
"57+61=118",
"118-21=97"
] | Current State: 97:[15, 6, 57, 61], Operations: []
Exploring Operation: 15+6=21, Resulting Numbers: [57, 61, 21]
Generated Node #2: [57, 61, 21] from Operation: 15+6=21
Current State: 97:[57, 61, 21], Operations: ['15+6=21']
Exploring Operation: 57+61=118, Resulting Numbers: [21, 118]
Generated Node #3: [21, 118] from Operation: 57+61=118
Current State: 97:[21, 118], Operations: ['15+6=21', '57+61=118']
Exploring Operation: 118-21=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[15, 6, 57, 61], Operations: []
Exploring Operation: 15*6=90, Resulting Numbers: [57, 61, 90]
Generated Node #0,0: 97:[57, 61, 90] Operation: 15*6=90
Exploring Operation: 15+6=21, Resulting Numbers: [57, 61, 21]
Generated Node #0,1: 97:[57, 61, 21] Operation: 15+6=21
Moving to Node #0,0
Current State: 97:[57, 61, 90], Operations: ['15*6=90']
Exploring Operation: 57+90=147, Resulting Numbers: [61, 147]
Generated Node #0,0,0: 97:[61, 147] Operation: 57+90=147
Exploring Operation: 57+61=118, Resulting Numbers: [90, 118]
Generated Node #0,0,1: 97:[90, 118] Operation: 57+61=118
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[90, 118], Operations: ['15*6=90', '57+61=118']
Exploring Operation: 90+118=208, Resulting Numbers: [208]
208,97 unequal: No Solution
Exploring Operation: 118-90=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[61, 147], Operations: ['15*6=90', '57+90=147']
Exploring Operation: 147-61=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 61+147=208, Resulting Numbers: [208]
208,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[57, 61, 21], Operations: ['15+6=21']
Exploring Operation: 61+21=82, Resulting Numbers: [57, 82]
Generated Node #0,1,0: 97:[57, 82] Operation: 61+21=82
Exploring Operation: 57+21=78, Resulting Numbers: [61, 78]
Generated Node #0,1,1: 97:[61, 78] Operation: 57+21=78
Moving to Node #0,1,0
Current State: 97:[57, 82], Operations: ['15+6=21', '61+21=82']
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 57+82=139, Resulting Numbers: [139]
139,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[61, 78], Operations: ['15+6=21', '57+21=78']
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,97 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
59,
6,
51
] | 35 | [
"33+59=92",
"6+51=57",
"92-57=35"
] | Current State: 35:[33, 59, 6, 51], Operations: []
Exploring Operation: 33+59=92, Resulting Numbers: [6, 51, 92]
Generated Node #2: [6, 51, 92] from Operation: 33+59=92
Current State: 35:[6, 51, 92], Operations: ['33+59=92']
Exploring Operation: 6+51=57, Resulting Numbers: [92, 57]
Generated Node #3: [92, 57] from Operation: 6+51=57
Current State: 35:[92, 57], Operations: ['33+59=92', '6+51=57']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[33, 59, 6, 51], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [33, 6, 8]
Generated Node #0,0: 35:[33, 6, 8] Operation: 59-51=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[33, 6, 8], Operations: ['59-51=8']
Exploring Operation: 33+6=39, Resulting Numbers: [8, 39]
Generated Node #0,0,0: 35:[8, 39] Operation: 33+6=39
Moving to Node #0,0,0
Current State: 35:[8, 39], Operations: ['59-51=8', '33+6=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,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 |
[
47,
5,
89,
26
] | 13 | [
"47*26=1222",
"5+89=94",
"1222/94=13"
] | Current State: 13:[47, 5, 89, 26], Operations: []
Exploring Operation: 47*26=1222, Resulting Numbers: [5, 89, 1222]
Generated Node #2: [5, 89, 1222] from Operation: 47*26=1222
Current State: 13:[5, 89, 1222], Operations: ['47*26=1222']
Exploring Operation: 5+89=94, Resulting Numbers: [1222, 94]
Generated Node #3: [1222, 94] from Operation: 5+89=94
Current State: 13:[1222, 94], Operations: ['47*26=1222', '5+89=94']
Exploring Operation: 1222/94=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[47, 5, 89, 26], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [5, 89, 21]
Generated Node #0,0: 13:[5, 89, 21] Operation: 47-26=21
Exploring Operation: 89-47=42, Resulting Numbers: [5, 26, 42]
Generated Node #0,1: 13:[5, 26, 42] Operation: 89-47=42
Exploring Operation: 89-26=63, Resulting Numbers: [47, 5, 63]
Generated Node #0,2: 13:[47, 5, 63] Operation: 89-26=63
Exploring Operation: 47-5=42, Resulting Numbers: [89, 26, 42]
Generated Node #0,3: 13:[89, 26, 42] Operation: 47-5=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[5, 26, 42], Operations: ['89-47=42']
Exploring Operation: 5+26=31, Resulting Numbers: [42, 31]
Generated Node #0,1,0: 13:[42, 31] Operation: 5+26=31
Exploring Operation: 26-5=21, Resulting Numbers: [42, 21]
Generated Node #0,1,1: 13:[42, 21] Operation: 26-5=21
Exploring Operation: 42-26=16, Resulting Numbers: [5, 16]
Generated Node #0,1,2: 13:[5, 16] Operation: 42-26=16
Exploring Operation: 42-5=37, Resulting Numbers: [26, 37]
Generated Node #0,1,3: 13:[26, 37] Operation: 42-5=37
Moving to Node #0,1,2
Current State: 13:[5, 16], Operations: ['89-47=42', '42-26=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[26, 37], Operations: ['89-47=42', '42-5=37']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[42, 21], Operations: ['89-47=42', '26-5=21']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,13 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[42, 31], Operations: ['89-47=42', '5+26=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,13 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[5, 89, 21], Operations: ['47-26=21']
Exploring Operation: 89-21=68, Resulting Numbers: [5, 68]
Generated Node #0,0,0: 13:[5, 68] Operation: 89-21=68
Exploring Operation: 21-5=16, Resulting Numbers: [89, 16]
Generated Node #0,0,1: 13:[89, 16] Operation: 21-5=16
Exploring Operation: 89-5=84, Resulting Numbers: [21, 84]
Generated Node #0,0,2: 13:[21, 84] Operation: 89-5=84
Exploring Operation: 5+89=94, Resulting Numbers: [21, 94]
Generated Node #0,0,3: 13:[21, 94] Operation: 5+89=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[5, 68], Operations: ['47-26=21', '89-21=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,13 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[89, 16], Operations: ['47-26=21', '21-5=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,13 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[21, 84], Operations: ['47-26=21', '89-5=84']
Exploring Operation: 21*84=1764, Resulting Numbers: [1764]
1764,13 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 21+84=105, Resulting Numbers: [105]
105,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[21, 94], Operations: ['47-26=21', '5+89=94']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,13 unequal: No Solution
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[47, 5, 63], Operations: ['89-26=63']
Exploring Operation: 63-5=58, Resulting Numbers: [47, 58]
Generated Node #0,2,0: 13:[47, 58] Operation: 63-5=58
Exploring Operation: 63-47=16, Resulting Numbers: [5, 16]
Generated Node #0,2,1: 13:[5, 16] Operation: 63-47=16
Exploring Operation: 47+5=52, Resulting Numbers: [63, 52]
Generated Node #0,2,2: 13:[63, 52] Operation: 47+5=52
Exploring Operation: 47-5=42, Resulting Numbers: [63, 42]
Generated Node #0,2,3: 13:[63, 42] Operation: 47-5=42
Moving to Node #0,2,1
Current State: 13:[5, 16], Operations: ['89-26=63', '63-47=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[63, 42], Operations: ['89-26=63', '47-5=42']
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[47, 58], Operations: ['89-26=63', '63-5=58']
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[63, 52], Operations: ['89-26=63', '47+5=52']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,13 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[89, 26, 42], Operations: ['47-5=42']
Exploring Operation: 42-26=16, Resulting Numbers: [89, 16]
Generated Node #0,3,0: 13:[89, 16] Operation: 42-26=16
Exploring Operation: 89-26=63, Resulting Numbers: [42, 63]
Generated Node #0,3,1: 13:[42, 63] Operation: 89-26=63
Exploring Operation: 89+26=115, Resulting Numbers: [42, 115]
Generated Node #0,3,2: 13:[42, 115] Operation: 89+26=115
Exploring Operation: 89-42=47, Resulting Numbers: [26, 47]
Generated Node #0,3,3: 13:[26, 47] Operation: 89-42=47
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[26, 47], Operations: ['47-5=42', '89-42=47']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,13 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[89, 16], Operations: ['47-5=42', '42-26=16']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[42, 63], Operations: ['47-5=42', '89-26=63']
Exploring Operation: 42*63=2646, Resulting Numbers: [2646]
2646,13 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[42, 115], Operations: ['47-5=42', '89+26=115']
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,13 unequal: No Solution
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
12,
15,
92
] | 74 | [
"14+92=106",
"12*15=180",
"180-106=74"
] | Current State: 74:[14, 12, 15, 92], Operations: []
Exploring Operation: 14+92=106, Resulting Numbers: [12, 15, 106]
Generated Node #2: [12, 15, 106] from Operation: 14+92=106
Current State: 74:[12, 15, 106], Operations: ['14+92=106']
Exploring Operation: 12*15=180, Resulting Numbers: [106, 180]
Generated Node #3: [106, 180] from Operation: 12*15=180
Current State: 74:[106, 180], Operations: ['14+92=106', '12*15=180']
Exploring Operation: 180-106=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[14, 12, 15, 92], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [15, 92, 2]
Generated Node #0,0: 74:[15, 92, 2] Operation: 14-12=2
Exploring Operation: 92-14=78, Resulting Numbers: [12, 15, 78]
Generated Node #0,1: 74:[12, 15, 78] Operation: 92-14=78
Exploring Operation: 92-15=77, Resulting Numbers: [14, 12, 77]
Generated Node #0,2: 74:[14, 12, 77] Operation: 92-15=77
Exploring Operation: 15-14=1, Resulting Numbers: [12, 92, 1]
Generated Node #0,3: 74:[12, 92, 1] Operation: 15-14=1
Exploring Operation: 15-12=3, Resulting Numbers: [14, 92, 3]
Generated Node #0,4: 74:[14, 92, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[14, 12, 77], Operations: ['92-15=77']
Exploring Operation: 14+77=91, Resulting Numbers: [12, 91]
Generated Node #0,2,0: 74:[12, 91] Operation: 14+77=91
Exploring Operation: 14-12=2, Resulting Numbers: [77, 2]
Generated Node #0,2,1: 74:[77, 2] Operation: 14-12=2
Exploring Operation: 77-12=65, Resulting Numbers: [14, 65]
Generated Node #0,2,2: 74:[14, 65] Operation: 77-12=65
Exploring Operation: 14+12=26, Resulting Numbers: [77, 26]
Generated Node #0,2,3: 74:[77, 26] Operation: 14+12=26
Exploring Operation: 77-14=63, Resulting Numbers: [12, 63]
Generated Node #0,2,4: 74:[12, 63] Operation: 77-14=63
Moving to Node #0,2,1
Current State: 74:[77, 2], Operations: ['92-15=77', '14-12=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,74 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[77, 26], Operations: ['92-15=77', '14+12=26']
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,74 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[14, 65], Operations: ['92-15=77', '77-12=65']
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,74 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[12, 63], Operations: ['92-15=77', '77-14=63']
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[12, 91], Operations: ['92-15=77', '14+77=91']
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,74 unequal: No Solution
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,74 unequal: No Solution
No 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: 74:[12, 15, 78], Operations: ['92-14=78']
Exploring Operation: 12+15=27, Resulting Numbers: [78, 27]
Generated Node #0,1,0: 74:[78, 27] Operation: 12+15=27
Exploring Operation: 12+78=90, Resulting Numbers: [15, 90]
Generated Node #0,1,1: 74:[15, 90] Operation: 12+78=90
Exploring Operation: 15-12=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 74:[78, 3] Operation: 15-12=3
Exploring Operation: 78-15=63, Resulting Numbers: [12, 63]
Generated Node #0,1,3: 74:[12, 63] Operation: 78-15=63
Exploring Operation: 78-12=66, Resulting Numbers: [15, 66]
Generated Node #0,1,4: 74:[15, 66] Operation: 78-12=66
Moving to Node #0,1,2
Current State: 74:[78, 3], Operations: ['92-14=78', '15-12=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,74 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[78, 27], Operations: ['92-14=78', '12+15=27']
Exploring Operation: 78*27=2106, Resulting Numbers: [2106]
2106,74 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Exploring Operation: 78+27=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[12, 63], Operations: ['92-14=78', '78-15=63']
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,74 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Moving to Node #0,1,4
Current State: 74:[15, 66], Operations: ['92-14=78', '78-12=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,74 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[15, 90], Operations: ['92-14=78', '12+78=90']
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,74 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,74 unequal: No Solution
No 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: 74:[12, 92, 1], Operations: ['15-14=1']
Exploring Operation: 92-12=80, Resulting Numbers: [1, 80]
Generated Node #0,3,0: 74:[1, 80] Operation: 92-12=80
Exploring Operation: 12-1=11, Resulting Numbers: [92, 11]
Generated Node #0,3,1: 74:[92, 11] Operation: 12-1=11
Exploring Operation: 92-1=91, Resulting Numbers: [12, 91]
Generated Node #0,3,2: 74:[12, 91] Operation: 92-1=91
Exploring Operation: 12*1=12, Resulting Numbers: [92, 12]
Generated Node #0,3,3: 74:[92, 12] Operation: 12*1=12
Exploring Operation: 12/1=12, Resulting Numbers: [92, 12]
Generated Node #0,3,4: 74:[92, 12] Operation: 12/1=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[1, 80], Operations: ['15-14=1', '92-12=80']
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,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,3,1
Current State: 74:[92, 11], Operations: ['15-14=1', '12-1=11']
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,74 unequal: No Solution
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,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,3,2
Current State: 74:[12, 91], Operations: ['15-14=1', '92-1=91']
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,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,3,3
Current State: 74:[92, 12], Operations: ['15-14=1', '12*1=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,74 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,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,3,4
Current State: 74:[92, 12], Operations: ['15-14=1', '12/1=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[15, 92, 2], Operations: ['14-12=2']
Exploring Operation: 92-2=90, Resulting Numbers: [15, 90]
Generated Node #0,0,0: 74:[15, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [15, 46]
Generated Node #0,0,1: 74:[15, 46] Operation: 92/2=46
Exploring Operation: 92-15=77, Resulting Numbers: [2, 77]
Generated Node #0,0,2: 74:[2, 77] Operation: 92-15=77
Exploring Operation: 15*2=30, Resulting Numbers: [92, 30]
Generated Node #0,0,3: 74:[92, 30] Operation: 15*2=30
Exploring Operation: 15-2=13, Resulting Numbers: [92, 13]
Generated Node #0,0,4: 74:[92, 13] Operation: 15-2=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[2, 77], Operations: ['14-12=2', '92-15=77']
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,74 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[15, 46], Operations: ['14-12=2', '92/2=46']
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,74 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,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:[92, 30], Operations: ['14-12=2', '15*2=30']
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,74 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,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,0
Current State: 74:[15, 90], Operations: ['14-12=2', '92-2=90']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,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,4
Current State: 74:[92, 13], Operations: ['14-12=2', '15-2=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,74 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[14, 92, 3], Operations: ['15-12=3']
Exploring Operation: 14+92=106, Resulting Numbers: [3, 106]
Generated Node #0,4,0: 74:[3, 106] Operation: 14+92=106
Exploring Operation: 92-3=89, Resulting Numbers: [14, 89]
Generated Node #0,4,1: 74:[14, 89] Operation: 92-3=89
Exploring Operation: 14*3=42, Resulting Numbers: [92, 42]
Generated Node #0,4,2: 74:[92, 42] Operation: 14*3=42
Exploring Operation: 14-3=11, Resulting Numbers: [92, 11]
Generated Node #0,4,3: 74:[92, 11] Operation: 14-3=11
Exploring Operation: 92-14=78, Resulting Numbers: [3, 78]
Generated Node #0,4,4: 74:[3, 78] Operation: 92-14=78
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 74:[3, 78], Operations: ['15-12=3', '92-14=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,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,4,2
Current State: 74:[92, 42], Operations: ['15-12=3', '14*3=42']
Exploring Operation: 92*42=3864, Resulting Numbers: [3864]
3864,74 unequal: No Solution
Exploring Operation: 92+42=134, Resulting Numbers: [134]
134,74 unequal: No Solution
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,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,4,1
Current State: 74:[14, 89], Operations: ['15-12=3', '92-3=89']
Exploring Operation: 14*89=1246, Resulting Numbers: [1246]
1246,74 unequal: No Solution
Exploring Operation: 14+89=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,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,4,3
Current State: 74:[92, 11], Operations: ['15-12=3', '14-3=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,74 unequal: No Solution
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,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,4,0
Current State: 74:[3, 106], Operations: ['15-12=3', '14+92=106']
Exploring Operation: 106-3=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 3+106=109, Resulting Numbers: [109]
109,74 unequal: No Solution
Exploring Operation: 3*106=318, Resulting Numbers: [318]
318,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
6,
35,
27,
87
] | 11 | [
"6*35=210",
"87+210=297",
"297/27=11"
] | Current State: 11:[6, 35, 27, 87], Operations: []
Exploring Operation: 6*35=210, Resulting Numbers: [27, 87, 210]
Generated Node #2: [27, 87, 210] from Operation: 6*35=210
Current State: 11:[27, 87, 210], Operations: ['6*35=210']
Exploring Operation: 87+210=297, Resulting Numbers: [27, 297]
Generated Node #3: [27, 297] from Operation: 87+210=297
Current State: 11:[27, 297], Operations: ['6*35=210', '87+210=297']
Exploring Operation: 297/27=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[6, 35, 27, 87], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [6, 35, 60]
Generated Node #0,0: 11:[6, 35, 60] Operation: 87-27=60
Exploring Operation: 35-27=8, Resulting Numbers: [6, 87, 8]
Generated Node #0,1: 11:[6, 87, 8] Operation: 35-27=8
Exploring Operation: 35-6=29, Resulting Numbers: [27, 87, 29]
Generated Node #0,2: 11:[27, 87, 29] Operation: 35-6=29
Exploring Operation: 87-35=52, Resulting Numbers: [6, 27, 52]
Generated Node #0,3: 11:[6, 27, 52] Operation: 87-35=52
Moving to Node #0,3
Current State: 11:[6, 27, 52], Operations: ['87-35=52']
Exploring Operation: 52-6=46, Resulting Numbers: [27, 46]
Generated Node #0,3,0: 11:[27, 46] Operation: 52-6=46
Exploring Operation: 27-6=21, Resulting Numbers: [52, 21]
Generated Node #0,3,1: 11:[52, 21] Operation: 27-6=21
Exploring Operation: 52-27=25, Resulting Numbers: [6, 25]
Generated Node #0,3,2: 11:[6, 25] Operation: 52-27=25
Exploring Operation: 6+27=33, Resulting Numbers: [52, 33]
Generated Node #0,3,3: 11:[52, 33] Operation: 6+27=33
Moving to Node #0,0
Current State: 11:[6, 35, 60], Operations: ['87-27=60']
Exploring Operation: 35-6=29, Resulting Numbers: [60, 29]
Generated Node #0,0,0: 11:[60, 29] Operation: 35-6=29
Exploring Operation: 60-6=54, Resulting Numbers: [35, 54]
Generated Node #0,0,1: 11:[35, 54] Operation: 60-6=54
Exploring Operation: 60-35=25, Resulting Numbers: [6, 25]
Generated Node #0,0,2: 11:[6, 25] Operation: 60-35=25
Exploring Operation: 60/6=10, Resulting Numbers: [35, 10]
Generated Node #0,0,3: 11:[35, 10] Operation: 60/6=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[6, 25], Operations: ['87-27=60', '60-35=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,11 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[35, 10], Operations: ['87-27=60', '60/6=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,11 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[60, 29], Operations: ['87-27=60', '35-6=29']
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,11 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[35, 54], Operations: ['87-27=60', '60-6=54']
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,11 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,11 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: 11:[6, 87, 8], Operations: ['35-27=8']
Exploring Operation: 6+87=93, Resulting Numbers: [8, 93]
Generated Node #0,1,0: 11:[8, 93] Operation: 6+87=93
Exploring Operation: 87-6=81, Resulting Numbers: [8, 81]
Generated Node #0,1,1: 11:[8, 81] Operation: 87-6=81
Exploring Operation: 6+8=14, Resulting Numbers: [87, 14]
Generated Node #0,1,2: 11:[87, 14] Operation: 6+8=14
Exploring Operation: 87-8=79, Resulting Numbers: [6, 79]
Generated Node #0,1,3: 11:[6, 79] Operation: 87-8=79
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[8, 81], Operations: ['35-27=8', '87-6=81']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[6, 79], Operations: ['35-27=8', '87-8=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,11 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[87, 14], Operations: ['35-27=8', '6+8=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,11 unequal: No Solution
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[8, 93], Operations: ['35-27=8', '6+87=93']
Exploring Operation: 8+93=101, Resulting Numbers: [101]
101,11 unequal: No Solution
Exploring Operation: 8*93=744, Resulting Numbers: [744]
744,11 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 11:[27, 87, 29], Operations: ['35-6=29']
Exploring Operation: 87-29=58, Resulting Numbers: [27, 58]
Generated Node #0,2,0: 11:[27, 58] Operation: 87-29=58
Exploring Operation: 87/29=3, Resulting Numbers: [27, 3]
Generated Node #0,2,1: 11:[27, 3] Operation: 87/29=3
Exploring Operation: 29-27=2, Resulting Numbers: [87, 2]
Generated Node #0,2,2: 11:[87, 2] Operation: 29-27=2
Exploring Operation: 87-27=60, Resulting Numbers: [29, 60]
Generated Node #0,2,3: 11:[29, 60] Operation: 87-27=60
Moving to Node #0,3,2
Current State: 11:[6, 25], Operations: ['87-35=52', '52-27=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,11 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[27, 3], Operations: ['35-6=29', '87/29=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,11 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[52, 21], Operations: ['87-35=52', '27-6=21']
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,11 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[27, 46], Operations: ['87-35=52', '52-6=46']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[27, 58], Operations: ['35-6=29', '87-29=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,11 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,11 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[52, 33], Operations: ['87-35=52', '6+27=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,11 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[29, 60], Operations: ['35-6=29', '87-27=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,11 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[87, 2], Operations: ['35-6=29', '29-27=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,11 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,11 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,11 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
30,
4,
70,
82
] | 38 | [
"30-4=26",
"82-70=12",
"26+12=38"
] | Current State: 38:[30, 4, 70, 82], Operations: []
Exploring Operation: 30-4=26, Resulting Numbers: [70, 82, 26]
Generated Node #2: [70, 82, 26] from Operation: 30-4=26
Current State: 38:[70, 82, 26], Operations: ['30-4=26']
Exploring Operation: 82-70=12, Resulting Numbers: [26, 12]
Generated Node #3: [26, 12] from Operation: 82-70=12
Current State: 38:[26, 12], Operations: ['30-4=26', '82-70=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[30, 4, 70, 82], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [30, 4, 12]
Generated Node #0,0: 38:[30, 4, 12] Operation: 82-70=12
Moving to Node #0,0
Current State: 38:[30, 4, 12], Operations: ['82-70=12']
Exploring Operation: 30-12=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 38:[4, 18] Operation: 30-12=18
Moving to Node #0,0,0
Current State: 38:[4, 18], Operations: ['82-70=12', '30-12=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
34,
42,
13
] | 13 | [
"91+13=104",
"42-34=8",
"104/8=13"
] | Current State: 13:[91, 34, 42, 13], Operations: []
Exploring Operation: 91+13=104, Resulting Numbers: [34, 42, 104]
Generated Node #2: [34, 42, 104] from Operation: 91+13=104
Current State: 13:[34, 42, 104], Operations: ['91+13=104']
Exploring Operation: 42-34=8, Resulting Numbers: [104, 8]
Generated Node #3: [104, 8] from Operation: 42-34=8
Current State: 13:[104, 8], Operations: ['91+13=104', '42-34=8']
Exploring Operation: 104/8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[91, 34, 42, 13], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [34, 42, 7]
Generated Node #0,0: 13:[34, 42, 7] Operation: 91/13=7
Exploring Operation: 91-42=49, Resulting Numbers: [34, 13, 49]
Generated Node #0,1: 13:[34, 13, 49] Operation: 91-42=49
Moving to Node #0,0
Current State: 13:[34, 42, 7], Operations: ['91/13=7']
Exploring Operation: 42-34=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 13:[7, 8] Operation: 42-34=8
Exploring Operation: 42/7=6, Resulting Numbers: [34, 6]
Generated Node #0,0,1: 13:[34, 6] Operation: 42/7=6
Moving to Node #0,1
Current State: 13:[34, 13, 49], Operations: ['91-42=49']
Exploring Operation: 34-13=21, Resulting Numbers: [49, 21]
Generated Node #0,1,0: 13:[49, 21] Operation: 34-13=21
Exploring Operation: 49-34=15, Resulting Numbers: [13, 15]
Generated Node #0,1,1: 13:[13, 15] Operation: 49-34=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[13, 15], Operations: ['91-42=49', '49-34=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[49, 21], Operations: ['91-42=49', '34-13=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,13 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: 13:[7, 8], Operations: ['91/13=7', '42-34=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[34, 6], Operations: ['91/13=7', '42/7=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
86,
24,
74
] | 72 | [
"86-74=12",
"24/12=2",
"74-2=72"
] | Current State: 72:[74, 86, 24, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [24, 12]
Generated Node #2: [24, 12] from Operation: 86-74=12
Current State: 72:[24, 12], Operations: ['86-74=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,72 equal: Goal Reached
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[74, 86, 24, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [24, 74, 12]
Generated Node #0,0: 72:[24, 74, 12] Operation: 86-74=12
Exploring Operation: 86-74=12, Resulting Numbers: [74, 24, 12]
Generated Node #0,1: 72:[74, 24, 12] Operation: 86-74=12
Exploring Operation: 86-24=62, Resulting Numbers: [74, 74, 62]
Generated Node #0,2: 72:[74, 74, 62] Operation: 86-24=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[24, 74, 12], Operations: ['86-74=12']
Exploring Operation: 24/12=2, Resulting Numbers: [74, 2]
Generated Node #0,0,0: 72:[74, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [74, 12]
Generated Node #0,0,1: 72:[74, 12] Operation: 24-12=12
Exploring Operation: 24+12=36, Resulting Numbers: [74, 36]
Generated Node #0,0,2: 72:[74, 36] Operation: 24+12=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[74, 2], Operations: ['86-74=12', '24/12=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[74, 86, 24, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [24, 74, 12]
Generated Node #0,0: 72:[24, 74, 12] Operation: 86-74=12
Moving to Node #0,0
Current State: 72:[24, 74, 12], Operations: ['86-74=12']
Exploring Operation: 24/12=2, Resulting Numbers: [74, 2]
Generated Node #0,0,0: 72:[74, 2] Operation: 24/12=2
Moving to Node #0,0,0
Current State: 72:[74, 2], Operations: ['86-74=12', '24/12=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
11,
20,
16,
80
] | 20 | [
"16-11=5",
"20+80=100",
"100/5=20"
] | Current State: 20:[11, 20, 16, 80], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [20, 80, 5]
Generated Node #2: [20, 80, 5] from Operation: 16-11=5
Current State: 20:[20, 80, 5], Operations: ['16-11=5']
Exploring Operation: 20+80=100, Resulting Numbers: [5, 100]
Generated Node #3: [5, 100] from Operation: 20+80=100
Current State: 20:[5, 100], Operations: ['16-11=5', '20+80=100']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[11, 20, 16, 80], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [11, 20, 5]
Generated Node #0,0: 20:[11, 20, 5] Operation: 80/16=5
Exploring Operation: 80/20=4, Resulting Numbers: [11, 16, 4]
Generated Node #0,1: 20:[11, 16, 4] Operation: 80/20=4
Exploring Operation: 80-20=60, Resulting Numbers: [11, 16, 60]
Generated Node #0,2: 20:[11, 16, 60] Operation: 80-20=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[11, 20, 5], Operations: ['80/16=5']
Exploring Operation: 20-11=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 20:[5, 9] Operation: 20-11=9
Exploring Operation: 11-5=6, Resulting Numbers: [20, 6]
Generated Node #0,0,1: 20:[20, 6] Operation: 11-5=6
Exploring Operation: 20/5=4, Resulting Numbers: [11, 4]
Generated Node #0,0,2: 20:[11, 4] Operation: 20/5=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[5, 9], Operations: ['80/16=5', '20-11=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,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:[20, 6], Operations: ['80/16=5', '11-5=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,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,2
Current State: 20:[11, 4], Operations: ['80/16=5', '20/5=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,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,1
Current State: 20:[11, 16, 4], Operations: ['80/20=4']
Exploring Operation: 16+4=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 20:[11, 20] Operation: 16+4=20
Exploring Operation: 16-11=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 20:[4, 5] Operation: 16-11=5
Exploring Operation: 16/4=4, Resulting Numbers: [11, 4]
Generated Node #0,1,2: 20:[11, 4] Operation: 16/4=4
Moving to Node #0,1,1
Current State: 20:[4, 5], Operations: ['80/20=4', '16-11=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[11, 20, 16, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [11, 16, 4]
Generated Node #0,1: 20:[11, 16, 4] Operation: 80/20=4
Moving to Node #0,1
Current State: 20:[11, 16, 4], Operations: ['80/20=4']
Exploring Operation: 16-11=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 20:[4, 5] Operation: 16-11=5
Moving to Node #0,1,1
Current State: 20:[4, 5], Operations: ['80/20=4', '16-11=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
83,
2,
66,
52
] | 71 | [
"83+2=85",
"66-52=14",
"85-14=71"
] | Current State: 71:[83, 2, 66, 52], Operations: []
Exploring Operation: 83+2=85, Resulting Numbers: [66, 52, 85]
Generated Node #2: [66, 52, 85] from Operation: 83+2=85
Current State: 71:[66, 52, 85], Operations: ['83+2=85']
Exploring Operation: 66-52=14, Resulting Numbers: [85, 14]
Generated Node #3: [85, 14] from Operation: 66-52=14
Current State: 71:[85, 14], Operations: ['83+2=85', '66-52=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[83, 2, 66, 52], Operations: []
Exploring Operation: 83-2=81, Resulting Numbers: [66, 52, 81]
Generated Node #0,0: 71:[66, 52, 81] Operation: 83-2=81
Exploring Operation: 2+66=68, Resulting Numbers: [83, 52, 68]
Generated Node #0,1: 71:[83, 52, 68] Operation: 2+66=68
Exploring Operation: 2+52=54, Resulting Numbers: [83, 66, 54]
Generated Node #0,2: 71:[83, 66, 54] Operation: 2+52=54
Exploring Operation: 83+2=85, Resulting Numbers: [66, 52, 85]
Generated Node #0,3: 71:[66, 52, 85] Operation: 83+2=85
Moving to Node #0,0
Current State: 71:[66, 52, 81], Operations: ['83-2=81']
Exploring Operation: 52+81=133, Resulting Numbers: [66, 133]
Generated Node #0,0,0: 71:[66, 133] Operation: 52+81=133
Exploring Operation: 81-52=29, Resulting Numbers: [66, 29]
Generated Node #0,0,1: 71:[66, 29] Operation: 81-52=29
Exploring Operation: 66+52=118, Resulting Numbers: [81, 118]
Generated Node #0,0,2: 71:[81, 118] Operation: 66+52=118
Exploring Operation: 66-52=14, Resulting Numbers: [81, 14]
Generated Node #0,0,3: 71:[81, 14] Operation: 66-52=14
Moving to Node #0,2
Current State: 71:[83, 66, 54], Operations: ['2+52=54']
Exploring Operation: 83-66=17, Resulting Numbers: [54, 17]
Generated Node #0,2,0: 71:[54, 17] Operation: 83-66=17
Exploring Operation: 83-54=29, Resulting Numbers: [66, 29]
Generated Node #0,2,1: 71:[66, 29] Operation: 83-54=29
Exploring Operation: 83+54=137, Resulting Numbers: [66, 137]
Generated Node #0,2,2: 71:[66, 137] Operation: 83+54=137
Exploring Operation: 66+54=120, Resulting Numbers: [83, 120]
Generated Node #0,2,3: 71:[83, 120] Operation: 66+54=120
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[66, 29], Operations: ['2+52=54', '83-54=29']
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[83, 120], Operations: ['2+52=54', '66+54=120']
Exploring Operation: 83*120=9960, Resulting Numbers: [9960]
9960,71 unequal: No Solution
Exploring Operation: 83+120=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Exploring Operation: 120-83=37, Resulting Numbers: [37]
37,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[54, 17], Operations: ['2+52=54', '83-66=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,71 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[83, 2, 66, 52], Operations: []
Exploring Operation: 2+52=54, Resulting Numbers: [83, 66, 54]
Generated Node #0,2: 71:[83, 66, 54] Operation: 2+52=54
Moving to Node #0,2
Current State: 71:[83, 66, 54], Operations: ['2+52=54']
Exploring Operation: 83-66=17, Resulting Numbers: [54, 17]
Generated Node #0,2,0: 71:[54, 17] Operation: 83-66=17
Moving to Node #0,2,0
Current State: 71:[54, 17], Operations: ['2+52=54', '83-66=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
21,
52,
41,
58
] | 90 | [
"21+52=73",
"58-41=17",
"73+17=90"
] | Current State: 90:[21, 52, 41, 58], Operations: []
Exploring Operation: 21+52=73, Resulting Numbers: [41, 58, 73]
Generated Node #2: [41, 58, 73] from Operation: 21+52=73
Current State: 90:[41, 58, 73], Operations: ['21+52=73']
Exploring Operation: 58-41=17, Resulting Numbers: [73, 17]
Generated Node #3: [73, 17] from Operation: 58-41=17
Current State: 90:[73, 17], Operations: ['21+52=73', '58-41=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[21, 52, 41, 58], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [21, 41, 6]
Generated Node #0,0: 90:[21, 41, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[21, 41, 6], Operations: ['58-52=6']
Exploring Operation: 41-21=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 90:[6, 20] Operation: 41-21=20
Moving to Node #0,0,0
Current State: 90:[6, 20], Operations: ['58-52=6', '41-21=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
20,
61,
66
] | 57 | [
"66-61=5",
"20/5=4",
"61-4=57"
] | Current State: 57:[61, 20, 61, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [20, 5]
Generated Node #2: [20, 5] from Operation: 66-61=5
Current State: 57:[20, 5], Operations: ['66-61=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,57 equal: Goal Reached
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[61, 20, 61, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [61, 20, 5]
Generated Node #0,0: 57:[61, 20, 5] Operation: 66-61=5
Exploring Operation: 66-61=5, Resulting Numbers: [20, 61, 5]
Generated Node #0,1: 57:[20, 61, 5] Operation: 66-61=5
Exploring Operation: 61/61=1, Resulting Numbers: [20, 66, 1]
Generated Node #0,2: 57:[20, 66, 1] Operation: 61/61=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[61, 20, 5], Operations: ['66-61=5']
Exploring Operation: 61-5=56, Resulting Numbers: [20, 56]
Generated Node #0,0,0: 57:[20, 56] Operation: 61-5=56
Exploring Operation: 20-5=15, Resulting Numbers: [61, 15]
Generated Node #0,0,1: 57:[61, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [61, 4]
Generated Node #0,0,2: 57:[61, 4] Operation: 20/5=4
Moving to Node #0,0,0
Current State: 57:[20, 56], Operations: ['66-61=5', '61-5=56']
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,57 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[61, 4], Operations: ['66-61=5', '20/5=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[61, 20, 61, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [61, 20, 5]
Generated Node #0,0: 57:[61, 20, 5] Operation: 66-61=5
Moving to Node #0,0
Current State: 57:[61, 20, 5], Operations: ['66-61=5']
Exploring Operation: 20/5=4, Resulting Numbers: [61, 4]
Generated Node #0,0,2: 57:[61, 4] Operation: 20/5=4
Moving to Node #0,0,2
Current State: 57:[61, 4], Operations: ['66-61=5', '20/5=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
87,
91,
13,
11
] | 99 | [
"91-87=4",
"13-4=9",
"11*9=99"
] | Current State: 99:[87, 91, 13, 11], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [13, 11, 4]
Generated Node #2: [13, 11, 4] from Operation: 91-87=4
Current State: 99:[13, 11, 4], Operations: ['91-87=4']
Exploring Operation: 13-4=9, Resulting Numbers: [11, 9]
Generated Node #3: [11, 9] from Operation: 13-4=9
Current State: 99:[11, 9], Operations: ['91-87=4', '13-4=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[87, 91, 13, 11], Operations: []
Exploring Operation: 87+11=98, Resulting Numbers: [91, 13, 98]
Generated Node #0,0: 99:[91, 13, 98] Operation: 87+11=98
Exploring Operation: 91-87=4, Resulting Numbers: [13, 11, 4]
Generated Node #0,1: 99:[13, 11, 4] Operation: 91-87=4
Exploring Operation: 87+13=100, Resulting Numbers: [91, 11, 100]
Generated Node #0,2: 99:[91, 11, 100] Operation: 87+13=100
Moving to Node #0,1
Current State: 99:[13, 11, 4], Operations: ['91-87=4']
Exploring Operation: 13-4=9, Resulting Numbers: [11, 9]
Generated Node #0,1,0: 99:[11, 9] Operation: 13-4=9
Exploring Operation: 11-4=7, Resulting Numbers: [13, 7]
Generated Node #0,1,1: 99:[13, 7] Operation: 11-4=7
Exploring Operation: 13-11=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 99:[4, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[11, 9], Operations: ['91-87=4', '13-4=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[87, 91, 13, 11], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [13, 11, 4]
Generated Node #0,1: 99:[13, 11, 4] Operation: 91-87=4
Moving to Node #0,1
Current State: 99:[13, 11, 4], Operations: ['91-87=4']
Exploring Operation: 13-4=9, Resulting Numbers: [11, 9]
Generated Node #0,1,0: 99:[11, 9] Operation: 13-4=9
Moving to Node #0,1,0
Current State: 99:[11, 9], Operations: ['91-87=4', '13-4=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
32,
27,
4,
41
] | 99 | [
"41-32=9",
"27*4=108",
"108-9=99"
] | Current State: 99:[32, 27, 4, 41], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [27, 4, 9]
Generated Node #2: [27, 4, 9] from Operation: 41-32=9
Current State: 99:[27, 4, 9], Operations: ['41-32=9']
Exploring Operation: 27*4=108, Resulting Numbers: [9, 108]
Generated Node #3: [9, 108] from Operation: 27*4=108
Current State: 99:[9, 108], Operations: ['41-32=9', '27*4=108']
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[32, 27, 4, 41], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [32, 4, 14]
Generated Node #0,0: 99:[32, 4, 14] Operation: 41-27=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[32, 4, 14], Operations: ['41-27=14']
Exploring Operation: 14-4=10, Resulting Numbers: [32, 10]
Generated Node #0,0,0: 99:[32, 10] Operation: 14-4=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[32, 10], Operations: ['41-27=14', '14-4=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
62,
13,
49
] | 82 | [
"82+62=144",
"13+49=62",
"144-62=82"
] | Current State: 82:[82, 62, 13, 49], Operations: []
Exploring Operation: 82+62=144, Resulting Numbers: [13, 49, 144]
Generated Node #2: [13, 49, 144] from Operation: 82+62=144
Current State: 82:[13, 49, 144], Operations: ['82+62=144']
Exploring Operation: 13+49=62, Resulting Numbers: [144, 62]
Generated Node #3: [144, 62] from Operation: 13+49=62
Current State: 82:[144, 62], Operations: ['82+62=144', '13+49=62']
Exploring Operation: 144-62=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[82, 62, 13, 49], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [82, 49, 49]
Generated Node #0,0: 82:[82, 49, 49] Operation: 62-13=49
Exploring Operation: 62+13=75, Resulting Numbers: [82, 49, 75]
Generated Node #0,1: 82:[82, 49, 75] Operation: 62+13=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[82, 49, 75], Operations: ['62+13=75']
Exploring Operation: 82-49=33, Resulting Numbers: [75, 33]
Generated Node #0,1,0: 82:[75, 33] Operation: 82-49=33
Exploring Operation: 82-75=7, Resulting Numbers: [49, 7]
Generated Node #0,1,1: 82:[49, 7] Operation: 82-75=7
Moving to Node #0,1,1
Current State: 82:[49, 7], Operations: ['62+13=75', '82-75=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[75, 33], Operations: ['62+13=75', '82-49=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[82, 49, 49], Operations: ['62-13=49']
Exploring Operation: 49/49=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 82:[82, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [82, 0]
Generated Node #0,0,1: 82:[82, 0] Operation: 49-49=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[82, 1], Operations: ['62-13=49', '49/49=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[82, 62, 13, 49], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [82, 49, 49]
Generated Node #0,0: 82:[82, 49, 49] Operation: 62-13=49
Moving to Node #0,0
Current State: 82:[82, 49, 49], Operations: ['62-13=49']
Exploring Operation: 49/49=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 82:[82, 1] Operation: 49/49=1
Moving to Node #0,0,0
Current State: 82:[82, 1], Operations: ['62-13=49', '49/49=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
79,
98,
96,
30
] | 19 | [
"98-96=2",
"30*2=60",
"79-60=19"
] | Current State: 19:[79, 98, 96, 30], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [79, 30, 2]
Generated Node #2: [79, 30, 2] from Operation: 98-96=2
Current State: 19:[79, 30, 2], Operations: ['98-96=2']
Exploring Operation: 30*2=60, Resulting Numbers: [79, 60]
Generated Node #3: [79, 60] from Operation: 30*2=60
Current State: 19:[79, 60], Operations: ['98-96=2', '30*2=60']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[79, 98, 96, 30], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [98, 30, 17]
Generated Node #0,0: 19:[98, 30, 17] Operation: 96-79=17
Exploring Operation: 98-96=2, Resulting Numbers: [79, 30, 2]
Generated Node #0,1: 19:[79, 30, 2] Operation: 98-96=2
Exploring Operation: 79-30=49, Resulting Numbers: [98, 96, 49]
Generated Node #0,2: 19:[98, 96, 49] Operation: 79-30=49
Exploring Operation: 98-79=19, Resulting Numbers: [96, 30, 19]
Generated Node #0,3: 19:[96, 30, 19] Operation: 98-79=19
Exploring Operation: 98-30=68, Resulting Numbers: [79, 96, 68]
Generated Node #0,4: 19:[79, 96, 68] Operation: 98-30=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[79, 30, 2], Operations: ['98-96=2']
Exploring Operation: 30/2=15, Resulting Numbers: [79, 15]
Generated Node #0,1,0: 19:[79, 15] Operation: 30/2=15
Exploring Operation: 79-2=77, Resulting Numbers: [30, 77]
Generated Node #0,1,1: 19:[30, 77] Operation: 79-2=77
Exploring Operation: 79+2=81, Resulting Numbers: [30, 81]
Generated Node #0,1,2: 19:[30, 81] Operation: 79+2=81
Exploring Operation: 79-30=49, Resulting Numbers: [2, 49]
Generated Node #0,1,3: 19:[2, 49] Operation: 79-30=49
Exploring Operation: 30-2=28, Resulting Numbers: [79, 28]
Generated Node #0,1,4: 19:[79, 28] Operation: 30-2=28
Moving to Node #0,1,3
Current State: 19:[2, 49], Operations: ['98-96=2', '79-30=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[79, 15], Operations: ['98-96=2', '30/2=15']
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,19 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[30, 77], Operations: ['98-96=2', '79-2=77']
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,19 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[79, 28], Operations: ['98-96=2', '30-2=28']
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,19 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[30, 81], Operations: ['98-96=2', '79+2=81']
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,19 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[96, 30, 19], Operations: ['98-79=19']
Exploring Operation: 96-19=77, Resulting Numbers: [30, 77]
Generated Node #0,3,0: 19:[30, 77] Operation: 96-19=77
Exploring Operation: 96+30=126, Resulting Numbers: [19, 126]
Generated Node #0,3,1: 19:[19, 126] Operation: 96+30=126
Exploring Operation: 30-19=11, Resulting Numbers: [96, 11]
Generated Node #0,3,2: 19:[96, 11] Operation: 30-19=11
Exploring Operation: 96-30=66, Resulting Numbers: [19, 66]
Generated Node #0,3,3: 19:[19, 66] Operation: 96-30=66
Exploring Operation: 96+19=115, Resulting Numbers: [30, 115]
Generated Node #0,3,4: 19:[30, 115] Operation: 96+19=115
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[19, 66], Operations: ['98-79=19', '96-30=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,19 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[30, 77], Operations: ['98-79=19', '96-19=77']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[96, 11], Operations: ['98-79=19', '30-19=11']
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[19, 126], Operations: ['98-79=19', '96+30=126']
Exploring Operation: 19+126=145, Resulting Numbers: [145]
145,19 unequal: No Solution
Exploring Operation: 19*126=2394, Resulting Numbers: [2394]
2394,19 unequal: No Solution
Exploring Operation: 126-19=107, Resulting Numbers: [107]
107,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 19:[30, 115], Operations: ['98-79=19', '96+19=115']
Exploring Operation: 30*115=3450, Resulting Numbers: [3450]
3450,19 unequal: No Solution
Exploring Operation: 115-30=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 30+115=145, Resulting Numbers: [145]
145,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[98, 30, 17], Operations: ['96-79=17']
Exploring Operation: 98-30=68, Resulting Numbers: [17, 68]
Generated Node #0,0,0: 19:[17, 68] Operation: 98-30=68
Exploring Operation: 30-17=13, Resulting Numbers: [98, 13]
Generated Node #0,0,1: 19:[98, 13] Operation: 30-17=13
Exploring Operation: 98+17=115, Resulting Numbers: [30, 115]
Generated Node #0,0,2: 19:[30, 115] Operation: 98+17=115
Exploring Operation: 98-17=81, Resulting Numbers: [30, 81]
Generated Node #0,0,3: 19:[30, 81] Operation: 98-17=81
Exploring Operation: 30+17=47, Resulting Numbers: [98, 47]
Generated Node #0,0,4: 19:[98, 47] Operation: 30+17=47
Moving to Node #0,0,0
Current State: 19:[17, 68], Operations: ['96-79=17', '98-30=68']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,19 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[30, 81], Operations: ['96-79=17', '98-17=81']
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,19 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[98, 13], Operations: ['96-79=17', '30-17=13']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 98*13=1274, Resulting Numbers: [1274]
1274,19 unequal: No Solution
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[30, 115], Operations: ['96-79=17', '98+17=115']
Exploring Operation: 30*115=3450, Resulting Numbers: [3450]
3450,19 unequal: No Solution
Exploring Operation: 30+115=145, Resulting Numbers: [145]
145,19 unequal: No Solution
Exploring Operation: 115-30=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Moving to Node #0,0,4
Current State: 19:[98, 47], Operations: ['96-79=17', '30+17=47']
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,19 unequal: No Solution
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[98, 96, 49], Operations: ['79-30=49']
Exploring Operation: 98-49=49, Resulting Numbers: [96, 49]
Generated Node #0,2,0: 19:[96, 49] Operation: 98-49=49
Exploring Operation: 98+96=194, Resulting Numbers: [49, 194]
Generated Node #0,2,1: 19:[49, 194] Operation: 98+96=194
Exploring Operation: 98-96=2, Resulting Numbers: [49, 2]
Generated Node #0,2,2: 19:[49, 2] Operation: 98-96=2
Exploring Operation: 96-49=47, Resulting Numbers: [98, 47]
Generated Node #0,2,3: 19:[98, 47] Operation: 96-49=47
Exploring Operation: 98/49=2, Resulting Numbers: [96, 2]
Generated Node #0,2,4: 19:[96, 2] Operation: 98/49=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[49, 2], Operations: ['79-30=49', '98-96=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 19:[96, 2], Operations: ['79-30=49', '98/49=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,19 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,19 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[96, 49], Operations: ['79-30=49', '98-49=49']
Exploring Operation: 96+49=145, Resulting Numbers: [145]
145,19 unequal: No Solution
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 96*49=4704, Resulting Numbers: [4704]
4704,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[98, 47], Operations: ['79-30=49', '96-49=47']
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,19 unequal: No Solution
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[49, 194], Operations: ['79-30=49', '98+96=194']
Exploring Operation: 49*194=9506, Resulting Numbers: [9506]
9506,19 unequal: No Solution
Exploring Operation: 49+194=243, Resulting Numbers: [243]
243,19 unequal: No Solution
Exploring Operation: 194-49=145, Resulting Numbers: [145]
145,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[79, 96, 68], Operations: ['98-30=68']
Exploring Operation: 79-68=11, Resulting Numbers: [96, 11]
Generated Node #0,4,0: 19:[96, 11] Operation: 79-68=11
Exploring Operation: 79+96=175, Resulting Numbers: [68, 175]
Generated Node #0,4,1: 19:[68, 175] Operation: 79+96=175
Exploring Operation: 96-68=28, Resulting Numbers: [79, 28]
Generated Node #0,4,2: 19:[79, 28] Operation: 96-68=28
Exploring Operation: 79+68=147, Resulting Numbers: [96, 147]
Generated Node #0,4,3: 19:[96, 147] Operation: 79+68=147
Exploring Operation: 96-79=17, Resulting Numbers: [68, 17]
Generated Node #0,4,4: 19:[68, 17] Operation: 96-79=17
Moving to Node #0,4,4
Current State: 19:[68, 17], Operations: ['98-30=68', '96-79=17']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,19 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[79, 28], Operations: ['98-30=68', '96-68=28']
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[96, 11], Operations: ['98-30=68', '79-68=11']
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,19 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[68, 175], Operations: ['98-30=68', '79+96=175']
Exploring Operation: 68*175=11900, Resulting Numbers: [11900]
11900,19 unequal: No Solution
Exploring Operation: 175-68=107, Resulting Numbers: [107]
107,19 unequal: No Solution
Exploring Operation: 68+175=243, Resulting Numbers: [243]
243,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[96, 147], Operations: ['98-30=68', '79+68=147']
Exploring Operation: 96*147=14112, Resulting Numbers: [14112]
14112,19 unequal: No Solution
Exploring Operation: 96+147=243, Resulting Numbers: [243]
243,19 unequal: No Solution
Exploring Operation: 147-96=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
24,
25,
46
] | 97 | [
"3*25=75",
"46-24=22",
"75+22=97"
] | Current State: 97:[3, 24, 25, 46], Operations: []
Exploring Operation: 3*25=75, Resulting Numbers: [24, 46, 75]
Generated Node #2: [24, 46, 75] from Operation: 3*25=75
Current State: 97:[24, 46, 75], Operations: ['3*25=75']
Exploring Operation: 46-24=22, Resulting Numbers: [75, 22]
Generated Node #3: [75, 22] from Operation: 46-24=22
Current State: 97:[75, 22], Operations: ['3*25=75', '46-24=22']
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[3, 24, 25, 46], Operations: []
Exploring Operation: 3+24=27, Resulting Numbers: [25, 46, 27]
Generated Node #0,0: 97:[25, 46, 27] Operation: 3+24=27
Exploring Operation: 3*46=138, Resulting Numbers: [24, 25, 138]
Generated Node #0,1: 97:[24, 25, 138] Operation: 3*46=138
Exploring Operation: 3*24=72, Resulting Numbers: [25, 46, 72]
Generated Node #0,2: 97:[25, 46, 72] Operation: 3*24=72
Exploring Operation: 3*25=75, Resulting Numbers: [24, 46, 75]
Generated Node #0,3: 97:[24, 46, 75] Operation: 3*25=75
Exploring Operation: 3+25=28, Resulting Numbers: [24, 46, 28]
Generated Node #0,4: 97:[24, 46, 28] Operation: 3+25=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[24, 46, 75], Operations: ['3*25=75']
Exploring Operation: 75-24=51, Resulting Numbers: [46, 51]
Generated Node #0,3,0: 97:[46, 51] Operation: 75-24=51
Exploring Operation: 24+46=70, Resulting Numbers: [75, 70]
Generated Node #0,3,1: 97:[75, 70] Operation: 24+46=70
Exploring Operation: 46+75=121, Resulting Numbers: [24, 121]
Generated Node #0,3,2: 97:[24, 121] Operation: 46+75=121
Exploring Operation: 46-24=22, Resulting Numbers: [75, 22]
Generated Node #0,3,3: 97:[75, 22] Operation: 46-24=22
Exploring Operation: 24+75=99, Resulting Numbers: [46, 99]
Generated Node #0,3,4: 97:[46, 99] Operation: 24+75=99
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[75, 70], Operations: ['3*25=75', '24+46=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,97 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 97:[46, 99], Operations: ['3*25=75', '24+75=99']
Exploring Operation: 46+99=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 46*99=4554, Resulting Numbers: [4554]
4554,97 unequal: No Solution
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[46, 51], Operations: ['3*25=75', '75-24=51']
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,97 unequal: No Solution
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[3, 24, 25, 46], Operations: []
Exploring Operation: 3*25=75, Resulting Numbers: [24, 46, 75]
Generated Node #0,3: 97:[24, 46, 75] Operation: 3*25=75
Moving to Node #0,3
Current State: 97:[24, 46, 75], Operations: ['3*25=75']
Exploring Operation: 75-24=51, Resulting Numbers: [46, 51]
Generated Node #0,3,0: 97:[46, 51] Operation: 75-24=51
Moving to Node #0,3,0
Current State: 97:[46, 51], Operations: ['3*25=75', '75-24=51']
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
86,
45,
89,
81
] | 98 | [
"86-81=5",
"45/5=9",
"89+9=98"
] | Current State: 98:[86, 45, 89, 81], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [45, 89, 5]
Generated Node #2: [45, 89, 5] from Operation: 86-81=5
Current State: 98:[45, 89, 5], Operations: ['86-81=5']
Exploring Operation: 45/5=9, Resulting Numbers: [89, 9]
Generated Node #3: [89, 9] from Operation: 45/5=9
Current State: 98:[89, 9], Operations: ['86-81=5', '45/5=9']
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[86, 45, 89, 81], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [45, 81, 3]
Generated Node #0,0: 98:[45, 81, 3] Operation: 89-86=3
Exploring Operation: 86-45=41, Resulting Numbers: [89, 81, 41]
Generated Node #0,1: 98:[89, 81, 41] Operation: 86-45=41
Exploring Operation: 86-81=5, Resulting Numbers: [45, 89, 5]
Generated Node #0,2: 98:[45, 89, 5] Operation: 86-81=5
Exploring Operation: 89-81=8, Resulting Numbers: [86, 45, 8]
Generated Node #0,3: 98:[86, 45, 8] Operation: 89-81=8
Exploring Operation: 89-45=44, Resulting Numbers: [86, 81, 44]
Generated Node #0,4: 98:[86, 81, 44] Operation: 89-45=44
Moving to Node #0,2
Current State: 98:[45, 89, 5], Operations: ['86-81=5']
Exploring Operation: 89-45=44, Resulting Numbers: [5, 44]
Generated Node #0,2,0: 98:[5, 44] Operation: 89-45=44
Exploring Operation: 45+5=50, Resulting Numbers: [89, 50]
Generated Node #0,2,1: 98:[89, 50] Operation: 45+5=50
Exploring Operation: 45/5=9, Resulting Numbers: [89, 9]
Generated Node #0,2,2: 98:[89, 9] Operation: 45/5=9
Exploring Operation: 89+5=94, Resulting Numbers: [45, 94]
Generated Node #0,2,3: 98:[45, 94] Operation: 89+5=94
Exploring Operation: 45-5=40, Resulting Numbers: [89, 40]
Generated Node #0,2,4: 98:[89, 40] Operation: 45-5=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[5, 44], Operations: ['86-81=5', '89-45=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,98 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,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,3
Current State: 98:[45, 94], Operations: ['86-81=5', '89+5=94']
Exploring Operation: 45+94=139, Resulting Numbers: [139]
139,98 unequal: No Solution
Exploring Operation: 45*94=4230, Resulting Numbers: [4230]
4230,98 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,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:[89, 50], Operations: ['86-81=5', '45+5=50']
Exploring Operation: 89*50=4450, Resulting Numbers: [4450]
4450,98 unequal: No Solution
Exploring Operation: 89+50=139, Resulting Numbers: [139]
139,98 unequal: No Solution
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,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, 9], Operations: ['86-81=5', '45/5=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,98 unequal: No Solution
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,98 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[86, 45, 89, 81], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [45, 89, 5]
Generated Node #0,2: 98:[45, 89, 5] Operation: 86-81=5
Moving to Node #0,2
Current State: 98:[45, 89, 5], Operations: ['86-81=5']
Exploring Operation: 45/5=9, Resulting Numbers: [89, 9]
Generated Node #0,2,2: 98:[89, 9] Operation: 45/5=9
Moving to Node #0,2,2
Current State: 98:[89, 9], Operations: ['86-81=5', '45/5=9']
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
70,
42,
23,
93
] | 43 | [
"70+23=93",
"93/93=1",
"42+1=43"
] | Current State: 43:[70, 42, 23, 93], Operations: []
Exploring Operation: 70+23=93, Resulting Numbers: [42, 93, 93]
Generated Node #2: [42, 93, 93] from Operation: 70+23=93
Current State: 43:[42, 93, 93], Operations: ['70+23=93']
Exploring Operation: 93/93=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 93/93=1
Current State: 43:[42, 1], Operations: ['70+23=93', '93/93=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[70, 42, 23, 93], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [70, 23, 51]
Generated Node #0,0: 43:[70, 23, 51] Operation: 93-42=51
Exploring Operation: 70-23=47, Resulting Numbers: [42, 93, 47]
Generated Node #0,1: 43:[42, 93, 47] Operation: 70-23=47
Exploring Operation: 93-70=23, Resulting Numbers: [42, 23, 23]
Generated Node #0,2: 43:[42, 23, 23] Operation: 93-70=23
Moving to Node #0,2
Current State: 43:[42, 23, 23], Operations: ['93-70=23']
Exploring Operation: 42+23=65, Resulting Numbers: [23, 65]
Generated Node #0,2,0: 43:[23, 65] Operation: 42+23=65
Exploring Operation: 23+23=46, Resulting Numbers: [42, 46]
Generated Node #0,2,1: 43:[42, 46] Operation: 23+23=46
Exploring Operation: 42+23=65, Resulting Numbers: [23, 65]
Generated Node #0,2,2: 43:[23, 65] Operation: 42+23=65
Moving to Node #0,0
Current State: 43:[70, 23, 51], Operations: ['93-42=51']
Exploring Operation: 70-51=19, Resulting Numbers: [23, 19]
Generated Node #0,0,0: 43:[23, 19] Operation: 70-51=19
Exploring Operation: 51-23=28, Resulting Numbers: [70, 28]
Generated Node #0,0,1: 43:[70, 28] Operation: 51-23=28
Exploring Operation: 70-23=47, Resulting Numbers: [51, 47]
Generated Node #0,0,2: 43:[51, 47] Operation: 70-23=47
Moving to Node #0,1
Current State: 43:[42, 93, 47], Operations: ['70-23=47']
Exploring Operation: 93-42=51, Resulting Numbers: [47, 51]
Generated Node #0,1,0: 43:[47, 51] Operation: 93-42=51
Exploring Operation: 93-47=46, Resulting Numbers: [42, 46]
Generated Node #0,1,1: 43:[42, 46] Operation: 93-47=46
Exploring Operation: 47-42=5, Resulting Numbers: [93, 5]
Generated Node #0,1,2: 43:[93, 5] Operation: 47-42=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[42, 46], Operations: ['70-23=47', '93-47=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,43 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,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,0
Current State: 43:[47, 51], Operations: ['70-23=47', '93-42=51']
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,43 unequal: No Solution
Exploring Operation: 51-47=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,2
Current State: 43:[93, 5], Operations: ['70-23=47', '47-42=5']
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,43 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 43:[42, 46], Operations: ['93-70=23', '23+23=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,43 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[51, 47], Operations: ['93-42=51', '70-23=47']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[23, 65], Operations: ['93-70=23', '42+23=65']
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,43 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[70, 28], Operations: ['93-42=51', '51-23=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,43 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[23, 65], Operations: ['93-70=23', '42+23=65']
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[23, 19], Operations: ['93-42=51', '70-51=19']
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,43 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
77,
76,
55,
6
] | 22 | [
"77*6=462",
"76-55=21",
"462/21=22"
] | Current State: 22:[77, 76, 55, 6], Operations: []
Exploring Operation: 77*6=462, Resulting Numbers: [76, 55, 462]
Generated Node #2: [76, 55, 462] from Operation: 77*6=462
Current State: 22:[76, 55, 462], Operations: ['77*6=462']
Exploring Operation: 76-55=21, Resulting Numbers: [462, 21]
Generated Node #3: [462, 21] from Operation: 76-55=21
Current State: 22:[462, 21], Operations: ['77*6=462', '76-55=21']
Exploring Operation: 462/21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[77, 76, 55, 6], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [55, 6, 1]
Generated Node #0,0: 22:[55, 6, 1] Operation: 77-76=1
Moving to Node #0,0
Current State: 22:[55, 6, 1], Operations: ['77-76=1']
Exploring Operation: 55-6=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 22:[1, 49] Operation: 55-6=49
Moving to Node #0,0,0
Current State: 22:[1, 49], Operations: ['77-76=1', '55-6=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
83,
86,
84
] | 57 | [
"86-84=2",
"52/2=26",
"83-26=57"
] | Current State: 57:[52, 83, 86, 84], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [52, 83, 2]
Generated Node #2: [52, 83, 2] from Operation: 86-84=2
Current State: 57:[52, 83, 2], Operations: ['86-84=2']
Exploring Operation: 52/2=26, Resulting Numbers: [83, 26]
Generated Node #3: [83, 26] from Operation: 52/2=26
Current State: 57:[83, 26], Operations: ['86-84=2', '52/2=26']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[52, 83, 86, 84], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [52, 84, 3]
Generated Node #0,0: 57:[52, 84, 3] Operation: 86-83=3
Exploring Operation: 84-83=1, Resulting Numbers: [52, 86, 1]
Generated Node #0,1: 57:[52, 86, 1] Operation: 84-83=1
Exploring Operation: 86-84=2, Resulting Numbers: [52, 83, 2]
Generated Node #0,2: 57:[52, 83, 2] Operation: 86-84=2
Moving to Node #0,0
Current State: 57:[52, 84, 3], Operations: ['86-83=3']
Exploring Operation: 52+3=55, Resulting Numbers: [84, 55]
Generated Node #0,0,0: 57:[84, 55] Operation: 52+3=55
Exploring Operation: 84/3=28, Resulting Numbers: [52, 28]
Generated Node #0,0,1: 57:[52, 28] Operation: 84/3=28
Exploring Operation: 84-52=32, Resulting Numbers: [3, 32]
Generated Node #0,0,2: 57:[3, 32] Operation: 84-52=32
Moving to Node #0,2
Current State: 57:[52, 83, 2], Operations: ['86-84=2']
Exploring Operation: 83-52=31, Resulting Numbers: [2, 31]
Generated Node #0,2,0: 57:[2, 31] Operation: 83-52=31
Exploring Operation: 83-2=81, Resulting Numbers: [52, 81]
Generated Node #0,2,1: 57:[52, 81] Operation: 83-2=81
Exploring Operation: 52+2=54, Resulting Numbers: [83, 54]
Generated Node #0,2,2: 57:[83, 54] Operation: 52+2=54
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[2, 31], Operations: ['86-84=2', '83-52=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,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,1
Current State: 57:[52, 81], Operations: ['86-84=2', '83-2=81']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,57 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[83, 54], Operations: ['86-84=2', '52+2=54']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,57 unequal: No Solution
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[52, 86, 1], Operations: ['84-83=1']
Exploring Operation: 52+1=53, Resulting Numbers: [86, 53]
Generated Node #0,1,0: 57:[86, 53] Operation: 52+1=53
Exploring Operation: 86-52=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 57:[1, 34] Operation: 86-52=34
Exploring Operation: 86-1=85, Resulting Numbers: [52, 85]
Generated Node #0,1,2: 57:[52, 85] Operation: 86-1=85
Moving to Node #0,0,2
Current State: 57:[3, 32], Operations: ['86-83=3', '84-52=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[52, 28], Operations: ['86-83=3', '84/3=28']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[1, 34], Operations: ['84-83=1', '86-52=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[84, 55], Operations: ['86-83=3', '52+3=55']
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,57 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[52, 85], Operations: ['84-83=1', '86-1=85']
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,57 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[86, 53], Operations: ['84-83=1', '52+1=53']
Exploring Operation: 86*53=4558, Resulting Numbers: [4558]
4558,57 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,57 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
88,
66,
16
] | 61 | [
"60*66=3960",
"3960/88=45",
"16+45=61"
] | Current State: 61:[60, 88, 66, 16], Operations: []
Exploring Operation: 60*66=3960, Resulting Numbers: [88, 16, 3960]
Generated Node #2: [88, 16, 3960] from Operation: 60*66=3960
Current State: 61:[88, 16, 3960], Operations: ['60*66=3960']
Exploring Operation: 3960/88=45, Resulting Numbers: [16, 45]
Generated Node #3: [16, 45] from Operation: 3960/88=45
Current State: 61:[16, 45], Operations: ['60*66=3960', '3960/88=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[60, 88, 66, 16], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [60, 88, 50]
Generated Node #0,0: 61:[60, 88, 50] Operation: 66-16=50
Exploring Operation: 60-16=44, Resulting Numbers: [88, 66, 44]
Generated Node #0,1: 61:[88, 66, 44] Operation: 60-16=44
Exploring Operation: 60+16=76, Resulting Numbers: [88, 66, 76]
Generated Node #0,2: 61:[88, 66, 76] Operation: 60+16=76
Exploring Operation: 88-16=72, Resulting Numbers: [60, 66, 72]
Generated Node #0,3: 61:[60, 66, 72] Operation: 88-16=72
Moving to Node #0,3
Current State: 61:[60, 66, 72], Operations: ['88-16=72']
Exploring Operation: 60+66=126, Resulting Numbers: [72, 126]
Generated Node #0,3,0: 61:[72, 126] Operation: 60+66=126
Exploring Operation: 72-60=12, Resulting Numbers: [66, 12]
Generated Node #0,3,1: 61:[66, 12] Operation: 72-60=12
Exploring Operation: 72-66=6, Resulting Numbers: [60, 6]
Generated Node #0,3,2: 61:[60, 6] Operation: 72-66=6
Exploring Operation: 66-60=6, Resulting Numbers: [72, 6]
Generated Node #0,3,3: 61:[72, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[66, 12], Operations: ['88-16=72', '72-60=12']
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,61 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[60, 6], Operations: ['88-16=72', '72-66=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,61 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[72, 6], Operations: ['88-16=72', '66-60=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[72, 126], Operations: ['88-16=72', '60+66=126']
Exploring Operation: 126-72=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 72*126=9072, Resulting Numbers: [9072]
9072,61 unequal: No Solution
Exploring Operation: 72+126=198, Resulting Numbers: [198]
198,61 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: 61:[60, 88, 50], Operations: ['66-16=50']
Exploring Operation: 60+50=110, Resulting Numbers: [88, 110]
Generated Node #0,0,0: 61:[88, 110] Operation: 60+50=110
Exploring Operation: 88-50=38, Resulting Numbers: [60, 38]
Generated Node #0,0,1: 61:[60, 38] Operation: 88-50=38
Exploring Operation: 60-50=10, Resulting Numbers: [88, 10]
Generated Node #0,0,2: 61:[88, 10] Operation: 60-50=10
Exploring Operation: 88-60=28, Resulting Numbers: [50, 28]
Generated Node #0,0,3: 61:[50, 28] Operation: 88-60=28
Moving to Node #0,2
Current State: 61:[88, 66, 76], Operations: ['60+16=76']
Exploring Operation: 88-76=12, Resulting Numbers: [66, 12]
Generated Node #0,2,0: 61:[66, 12] Operation: 88-76=12
Exploring Operation: 76-66=10, Resulting Numbers: [88, 10]
Generated Node #0,2,1: 61:[88, 10] Operation: 76-66=10
Exploring Operation: 88-66=22, Resulting Numbers: [76, 22]
Generated Node #0,2,2: 61:[76, 22] Operation: 88-66=22
Exploring Operation: 88+66=154, Resulting Numbers: [76, 154]
Generated Node #0,2,3: 61:[76, 154] Operation: 88+66=154
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[66, 12], Operations: ['60+16=76', '88-76=12']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[76, 22], Operations: ['60+16=76', '88-66=22']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[88, 10], Operations: ['60+16=76', '76-66=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,61 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[76, 154], Operations: ['60+16=76', '88+66=154']
Exploring Operation: 154-76=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 76*154=11704, Resulting Numbers: [11704]
11704,61 unequal: No Solution
Exploring Operation: 76+154=230, Resulting Numbers: [230]
230,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[88, 66, 44], Operations: ['60-16=44']
Exploring Operation: 66-44=22, Resulting Numbers: [88, 22]
Generated Node #0,1,0: 61:[88, 22] Operation: 66-44=22
Exploring Operation: 88/44=2, Resulting Numbers: [66, 2]
Generated Node #0,1,1: 61:[66, 2] Operation: 88/44=2
Exploring Operation: 88-44=44, Resulting Numbers: [66, 44]
Generated Node #0,1,2: 61:[66, 44] Operation: 88-44=44
Exploring Operation: 88-66=22, Resulting Numbers: [44, 22]
Generated Node #0,1,3: 61:[44, 22] Operation: 88-66=22
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[66, 44], Operations: ['60-16=44', '88-44=44']
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,61 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[44, 22], Operations: ['60-16=44', '88-66=22']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,61 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[66, 2], Operations: ['60-16=44', '88/44=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[88, 22], Operations: ['60-16=44', '66-44=22']
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,61 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,61 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: 61:[60, 38], Operations: ['66-16=50', '88-50=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,61 unequal: No Solution
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[50, 28], Operations: ['66-16=50', '88-60=28']
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,61 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[88, 110], Operations: ['66-16=50', '60+50=110']
Exploring Operation: 88*110=9680, Resulting Numbers: [9680]
9680,61 unequal: No Solution
Exploring Operation: 88+110=198, Resulting Numbers: [198]
198,61 unequal: No Solution
Exploring Operation: 110-88=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[88, 10], Operations: ['66-16=50', '60-50=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,61 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
94,
86,
53
] | 96 | [
"53-10=43",
"86/43=2",
"94+2=96"
] | Current State: 96:[10, 94, 86, 53], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [94, 86, 43]
Generated Node #2: [94, 86, 43] from Operation: 53-10=43
Current State: 96:[94, 86, 43], Operations: ['53-10=43']
Exploring Operation: 86/43=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 86/43=2
Current State: 96:[94, 2], Operations: ['53-10=43', '86/43=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[10, 94, 86, 53], Operations: []
Exploring Operation: 86-53=33, Resulting Numbers: [10, 94, 33]
Generated Node #0,0: 96:[10, 94, 33] Operation: 86-53=33
Exploring Operation: 94-86=8, Resulting Numbers: [10, 53, 8]
Generated Node #0,1: 96:[10, 53, 8] Operation: 94-86=8
Exploring Operation: 53-10=43, Resulting Numbers: [94, 86, 43]
Generated Node #0,2: 96:[94, 86, 43] Operation: 53-10=43
Exploring Operation: 10+86=96, Resulting Numbers: [94, 53, 96]
Generated Node #0,3: 96:[94, 53, 96] Operation: 10+86=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[10, 94, 33], Operations: ['86-53=33']
Exploring Operation: 10+94=104, Resulting Numbers: [33, 104]
Generated Node #0,0,0: 96:[33, 104] Operation: 10+94=104
Exploring Operation: 33-10=23, Resulting Numbers: [94, 23]
Generated Node #0,0,1: 96:[94, 23] Operation: 33-10=23
Exploring Operation: 94-10=84, Resulting Numbers: [33, 84]
Generated Node #0,0,2: 96:[33, 84] Operation: 94-10=84
Exploring Operation: 10+33=43, Resulting Numbers: [94, 43]
Generated Node #0,0,3: 96:[94, 43] Operation: 10+33=43
Moving to Node #0,0,1
Current State: 96:[94, 23], Operations: ['86-53=33', '33-10=23']
Exploring Operation: 94+23=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 94*23=2162, Resulting Numbers: [2162]
2162,96 unequal: No Solution
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[94, 43], Operations: ['86-53=33', '10+33=43']
Exploring Operation: 94*43=4042, Resulting Numbers: [4042]
4042,96 unequal: No Solution
Exploring Operation: 94+43=137, Resulting Numbers: [137]
137,96 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[33, 104], Operations: ['86-53=33', '10+94=104']
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Exploring Operation: 33*104=3432, Resulting Numbers: [3432]
3432,96 unequal: No Solution
Exploring Operation: 33+104=137, Resulting Numbers: [137]
137,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[33, 84], Operations: ['86-53=33', '94-10=84']
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[10, 53, 8], Operations: ['94-86=8']
Exploring Operation: 10+8=18, Resulting Numbers: [53, 18]
Generated Node #0,1,0: 96:[53, 18] Operation: 10+8=18
Exploring Operation: 10-8=2, Resulting Numbers: [53, 2]
Generated Node #0,1,1: 96:[53, 2] Operation: 10-8=2
Exploring Operation: 53-8=45, Resulting Numbers: [10, 45]
Generated Node #0,1,2: 96:[10, 45] Operation: 53-8=45
Exploring Operation: 53-10=43, Resulting Numbers: [8, 43]
Generated Node #0,1,3: 96:[8, 43] Operation: 53-10=43
Moving to Node #0,1,1
Current State: 96:[53, 2], Operations: ['94-86=8', '10-8=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[8, 43], Operations: ['94-86=8', '53-10=43']
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,96 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[10, 45], Operations: ['94-86=8', '53-8=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,96 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[53, 18], Operations: ['94-86=8', '10+8=18']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 53*18=954, Resulting Numbers: [954]
954,96 unequal: No Solution
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[94, 53, 96], Operations: ['10+86=96']
Exploring Operation: 94-53=41, Resulting Numbers: [96, 41]
Generated Node #0,3,0: 96:[96, 41] Operation: 94-53=41
Exploring Operation: 96-94=2, Resulting Numbers: [53, 2]
Generated Node #0,3,1: 96:[53, 2] Operation: 96-94=2
Exploring Operation: 96-53=43, Resulting Numbers: [94, 43]
Generated Node #0,3,2: 96:[94, 43] Operation: 96-53=43
Exploring Operation: 94+53=147, Resulting Numbers: [96, 147]
Generated Node #0,3,3: 96:[96, 147] Operation: 94+53=147
Moving to Node #0,3,1
Current State: 96:[53, 2], Operations: ['10+86=96', '96-94=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[94, 43], Operations: ['10+86=96', '96-53=43']
Exploring Operation: 94*43=4042, Resulting Numbers: [4042]
4042,96 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 94+43=137, Resulting Numbers: [137]
137,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[96, 41], Operations: ['10+86=96', '94-53=41']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,96 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[96, 147], Operations: ['10+86=96', '94+53=147']
Exploring Operation: 96*147=14112, Resulting Numbers: [14112]
14112,96 unequal: No Solution
Exploring Operation: 96+147=243, Resulting Numbers: [243]
243,96 unequal: No Solution
Exploring Operation: 147-96=51, Resulting Numbers: [51]
51,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[94, 86, 43], Operations: ['53-10=43']
Exploring Operation: 86-43=43, Resulting Numbers: [94, 43]
Generated Node #0,2,0: 96:[94, 43] Operation: 86-43=43
Exploring Operation: 94-43=51, Resulting Numbers: [86, 51]
Generated Node #0,2,1: 96:[86, 51] Operation: 94-43=51
Exploring Operation: 94-86=8, Resulting Numbers: [43, 8]
Generated Node #0,2,2: 96:[43, 8] Operation: 94-86=8
Exploring Operation: 86/43=2, Resulting Numbers: [94, 2]
Generated Node #0,2,3: 96:[94, 2] Operation: 86/43=2
Moving to Node #0,2,3
Current State: 96:[94, 2], Operations: ['53-10=43', '86/43=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[10, 94, 86, 53], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [94, 86, 43]
Generated Node #0,2: 96:[94, 86, 43] Operation: 53-10=43
Moving to Node #0,2
Current State: 96:[94, 86, 43], Operations: ['53-10=43']
Exploring Operation: 86/43=2, Resulting Numbers: [94, 2]
Generated Node #0,2,3: 96:[94, 2] Operation: 86/43=2
Moving to Node #0,2,3
Current State: 96:[94, 2], Operations: ['53-10=43', '86/43=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_4 | mult_heuristic |
[
15,
17,
7,
13
] | 21 | [
"15+13=28",
"28/7=4",
"17+4=21"
] | Current State: 21:[15, 17, 7, 13], Operations: []
Exploring Operation: 15+13=28, Resulting Numbers: [17, 7, 28]
Generated Node #2: [17, 7, 28] from Operation: 15+13=28
Current State: 21:[17, 7, 28], Operations: ['15+13=28']
Exploring Operation: 28/7=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 28/7=4
Current State: 21:[17, 4], Operations: ['15+13=28', '28/7=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[15, 17, 7, 13], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [7, 13, 2]
Generated Node #0,0: 21:[7, 13, 2] Operation: 17-15=2
Exploring Operation: 15+7=22, Resulting Numbers: [17, 13, 22]
Generated Node #0,1: 21:[17, 13, 22] Operation: 15+7=22
Exploring Operation: 17-13=4, Resulting Numbers: [15, 7, 4]
Generated Node #0,2: 21:[15, 7, 4] Operation: 17-13=4
Exploring Operation: 15-7=8, Resulting Numbers: [17, 13, 8]
Generated Node #0,3: 21:[17, 13, 8] Operation: 15-7=8
Exploring Operation: 15-13=2, Resulting Numbers: [17, 7, 2]
Generated Node #0,4: 21:[17, 7, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[17, 7, 2], Operations: ['15-13=2']
Exploring Operation: 17-2=15, Resulting Numbers: [7, 15]
Generated Node #0,4,0: 21:[7, 15] Operation: 17-2=15
Exploring Operation: 17+7=24, Resulting Numbers: [2, 24]
Generated Node #0,4,1: 21:[2, 24] Operation: 17+7=24
Exploring Operation: 17+2=19, Resulting Numbers: [7, 19]
Generated Node #0,4,2: 21:[7, 19] Operation: 17+2=19
Exploring Operation: 7+2=9, Resulting Numbers: [17, 9]
Generated Node #0,4,3: 21:[17, 9] Operation: 7+2=9
Exploring Operation: 17-7=10, Resulting Numbers: [2, 10]
Generated Node #0,4,4: 21:[2, 10] Operation: 17-7=10
Moving to Node #0,4,2
Current State: 21:[7, 19], Operations: ['15-13=2', '17+2=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,21 unequal: No Solution
Moving to Node #0,4,4
Current State: 21:[2, 10], Operations: ['15-13=2', '17-7=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[2, 24], Operations: ['15-13=2', '17+7=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Moving to Node #0,4,0
Current State: 21:[7, 15], Operations: ['15-13=2', '17-2=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Moving to Node #0,4,3
Current State: 21:[17, 9], Operations: ['15-13=2', '7+2=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[7, 13, 2], Operations: ['17-15=2']
Exploring Operation: 13+2=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 21:[7, 15] Operation: 13+2=15
Exploring Operation: 13*2=26, Resulting Numbers: [7, 26]
Generated Node #0,0,1: 21:[7, 26] Operation: 13*2=26
Exploring Operation: 13-7=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 21:[2, 6] Operation: 13-7=6
Exploring Operation: 13-2=11, Resulting Numbers: [7, 11]
Generated Node #0,0,3: 21:[7, 11] Operation: 13-2=11
Exploring Operation: 7+13=20, Resulting Numbers: [2, 20]
Generated Node #0,0,4: 21:[2, 20] Operation: 7+13=20
Moving to Node #0,0,2
Current State: 21:[2, 6], Operations: ['17-15=2', '13-7=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Moving to Node #0,0,4
Current State: 21:[2, 20], Operations: ['17-15=2', '7+13=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[7, 11], Operations: ['17-15=2', '13-2=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[7, 26], Operations: ['17-15=2', '13*2=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,21 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[7, 15], Operations: ['17-15=2', '13+2=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[15, 7, 4], Operations: ['17-13=4']
Exploring Operation: 15-4=11, Resulting Numbers: [7, 11]
Generated Node #0,2,0: 21:[7, 11] Operation: 15-4=11
Exploring Operation: 15+7=22, Resulting Numbers: [4, 22]
Generated Node #0,2,1: 21:[4, 22] Operation: 15+7=22
Exploring Operation: 15-7=8, Resulting Numbers: [4, 8]
Generated Node #0,2,2: 21:[4, 8] Operation: 15-7=8
Exploring Operation: 15+4=19, Resulting Numbers: [7, 19]
Generated Node #0,2,3: 21:[7, 19] Operation: 15+4=19
Exploring Operation: 7-4=3, Resulting Numbers: [15, 3]
Generated Node #0,2,4: 21:[15, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 21:[4, 22], Operations: ['17-13=4', '15+7=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[4, 8], Operations: ['17-13=4', '15-7=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 21:[7, 19], Operations: ['17-13=4', '15+4=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[7, 11], Operations: ['17-13=4', '15-4=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 21:[15, 3], Operations: ['17-13=4', '7-4=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[17, 13, 22], Operations: ['15+7=22']
Exploring Operation: 22-13=9, Resulting Numbers: [17, 9]
Generated Node #0,1,0: 21:[17, 9] Operation: 22-13=9
Exploring Operation: 17+13=30, Resulting Numbers: [22, 30]
Generated Node #0,1,1: 21:[22, 30] Operation: 17+13=30
Exploring Operation: 22-17=5, Resulting Numbers: [13, 5]
Generated Node #0,1,2: 21:[13, 5] Operation: 22-17=5
Exploring Operation: 17-13=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 21:[22, 4] Operation: 17-13=4
Exploring Operation: 13+22=35, Resulting Numbers: [17, 35]
Generated Node #0,1,4: 21:[17, 35] Operation: 13+22=35
Moving to Node #0,1,3
Current State: 21:[22, 4], Operations: ['15+7=22', '17-13=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[17, 9], Operations: ['15+7=22', '22-13=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,21 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[13, 5], Operations: ['15+7=22', '22-17=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,21 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[22, 30], Operations: ['15+7=22', '17+13=30']
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,21 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,21 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Moving to Node #0,1,4
Current State: 21:[17, 35], Operations: ['15+7=22', '13+22=35']
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,21 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[17, 13, 8], Operations: ['15-7=8']
Exploring Operation: 13-8=5, Resulting Numbers: [17, 5]
Generated Node #0,3,0: 21:[17, 5] Operation: 13-8=5
Exploring Operation: 13+8=21, Resulting Numbers: [17, 21]
Generated Node #0,3,1: 21:[17, 21] Operation: 13+8=21
Exploring Operation: 17-8=9, Resulting Numbers: [13, 9]
Generated Node #0,3,2: 21:[13, 9] Operation: 17-8=9
Exploring Operation: 17+13=30, Resulting Numbers: [8, 30]
Generated Node #0,3,3: 21:[8, 30] Operation: 17+13=30
Exploring Operation: 17-13=4, Resulting Numbers: [8, 4]
Generated Node #0,3,4: 21:[8, 4] Operation: 17-13=4
Moving to Node #0,3,4
Current State: 21:[8, 4], Operations: ['15-7=8', '17-13=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[17, 21], Operations: ['15-7=8', '13+8=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,21 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[17, 5], Operations: ['15-7=8', '13-8=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[13, 9], Operations: ['15-7=8', '17-8=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[8, 30], Operations: ['15-7=8', '17+13=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,21 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 |
[
68,
62,
52,
70
] | 83 | [
"70-68=2",
"62/2=31",
"52+31=83"
] | Current State: 83:[68, 62, 52, 70], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [62, 52, 2]
Generated Node #2: [62, 52, 2] from Operation: 70-68=2
Current State: 83:[62, 52, 2], Operations: ['70-68=2']
Exploring Operation: 62/2=31, Resulting Numbers: [52, 31]
Generated Node #3: [52, 31] from Operation: 62/2=31
Current State: 83:[52, 31], Operations: ['70-68=2', '62/2=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[68, 62, 52, 70], Operations: []
Exploring Operation: 52+70=122, Resulting Numbers: [68, 62, 122]
Generated Node #0,0: 83:[68, 62, 122] Operation: 52+70=122
Exploring Operation: 68+52=120, Resulting Numbers: [62, 70, 120]
Generated Node #0,1: 83:[62, 70, 120] Operation: 68+52=120
Exploring Operation: 68+62=130, Resulting Numbers: [52, 70, 130]
Generated Node #0,2: 83:[52, 70, 130] Operation: 68+62=130
Exploring Operation: 62+52=114, Resulting Numbers: [68, 70, 114]
Generated Node #0,3: 83:[68, 70, 114] Operation: 62+52=114
Moving to Node #0,3
Current State: 83:[68, 70, 114], Operations: ['62+52=114']
Exploring Operation: 70-68=2, Resulting Numbers: [114, 2]
Generated Node #0,3,0: 83:[114, 2] Operation: 70-68=2
Exploring Operation: 114-70=44, Resulting Numbers: [68, 44]
Generated Node #0,3,1: 83:[68, 44] Operation: 114-70=44
Exploring Operation: 114-68=46, Resulting Numbers: [70, 46]
Generated Node #0,3,2: 83:[70, 46] Operation: 114-68=46
Exploring Operation: 68+70=138, Resulting Numbers: [114, 138]
Generated Node #0,3,3: 83:[114, 138] Operation: 68+70=138
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[70, 46], Operations: ['62+52=114', '114-68=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,83 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,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,3,1
Current State: 83:[68, 44], Operations: ['62+52=114', '114-70=44']
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,83 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,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,3,3
Current State: 83:[114, 138], Operations: ['62+52=114', '68+70=138']
Exploring Operation: 114+138=252, Resulting Numbers: [252]
252,83 unequal: No Solution
Exploring Operation: 138-114=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 114*138=15732, Resulting Numbers: [15732]
15732,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,3,0
Current State: 83:[114, 2], Operations: ['62+52=114', '70-68=2']
Exploring Operation: 114*2=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 114/2=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 114+2=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 114-2=112, Resulting Numbers: [112]
112,83 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: 83:[62, 70, 120], Operations: ['68+52=120']
Exploring Operation: 120-62=58, Resulting Numbers: [70, 58]
Generated Node #0,1,0: 83:[70, 58] Operation: 120-62=58
Exploring Operation: 70-62=8, Resulting Numbers: [120, 8]
Generated Node #0,1,1: 83:[120, 8] Operation: 70-62=8
Exploring Operation: 62+70=132, Resulting Numbers: [120, 132]
Generated Node #0,1,2: 83:[120, 132] Operation: 62+70=132
Exploring Operation: 120-70=50, Resulting Numbers: [62, 50]
Generated Node #0,1,3: 83:[62, 50] Operation: 120-70=50
Moving to Node #0,0
Current State: 83:[68, 62, 122], Operations: ['52+70=122']
Exploring Operation: 68-62=6, Resulting Numbers: [122, 6]
Generated Node #0,0,0: 83:[122, 6] Operation: 68-62=6
Exploring Operation: 122-68=54, Resulting Numbers: [62, 54]
Generated Node #0,0,1: 83:[62, 54] Operation: 122-68=54
Exploring Operation: 68+62=130, Resulting Numbers: [122, 130]
Generated Node #0,0,2: 83:[122, 130] Operation: 68+62=130
Exploring Operation: 122-62=60, Resulting Numbers: [68, 60]
Generated Node #0,0,3: 83:[68, 60] Operation: 122-62=60
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[68, 60], Operations: ['52+70=122', '122-62=60']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 68+60=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 68*60=4080, Resulting Numbers: [4080]
4080,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,0,1
Current State: 83:[62, 54], Operations: ['52+70=122', '122-68=54']
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,83 unequal: No Solution
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,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,0,2
Current State: 83:[122, 130], Operations: ['52+70=122', '68+62=130']
Exploring Operation: 122*130=15860, Resulting Numbers: [15860]
15860,83 unequal: No Solution
Exploring Operation: 122+130=252, Resulting Numbers: [252]
252,83 unequal: No Solution
Exploring Operation: 130-122=8, Resulting Numbers: [8]
8,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,0,0
Current State: 83:[122, 6], Operations: ['52+70=122', '68-62=6']
Exploring Operation: 122+6=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 122-6=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 122*6=732, Resulting Numbers: [732]
732,83 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: 83:[52, 70, 130], Operations: ['68+62=130']
Exploring Operation: 52+70=122, Resulting Numbers: [130, 122]
Generated Node #0,2,0: 83:[130, 122] Operation: 52+70=122
Exploring Operation: 70-52=18, Resulting Numbers: [130, 18]
Generated Node #0,2,1: 83:[130, 18] Operation: 70-52=18
Exploring Operation: 130-70=60, Resulting Numbers: [52, 60]
Generated Node #0,2,2: 83:[52, 60] Operation: 130-70=60
Exploring Operation: 130-52=78, Resulting Numbers: [70, 78]
Generated Node #0,2,3: 83:[70, 78] Operation: 130-52=78
Moving to Node #0,2,3
Current State: 83:[70, 78], Operations: ['68+62=130', '130-52=78']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 70+78=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 70*78=5460, Resulting Numbers: [5460]
5460,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[70, 58], Operations: ['68+52=120', '120-62=58']
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,83 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[52, 60], Operations: ['68+62=130', '130-70=60']
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 52*60=3120, Resulting Numbers: [3120]
3120,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[62, 50], Operations: ['68+52=120', '120-70=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[120, 132], Operations: ['68+52=120', '62+70=132']
Exploring Operation: 132-120=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 120+132=252, Resulting Numbers: [252]
252,83 unequal: No Solution
Exploring Operation: 120*132=15840, Resulting Numbers: [15840]
15840,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[130, 122], Operations: ['68+62=130', '52+70=122']
Exploring Operation: 130*122=15860, Resulting Numbers: [15860]
15860,83 unequal: No Solution
Exploring Operation: 130-122=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 130+122=252, Resulting Numbers: [252]
252,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[120, 8], Operations: ['68+52=120', '70-62=8']
Exploring Operation: 120-8=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 120*8=960, Resulting Numbers: [960]
960,83 unequal: No Solution
Exploring Operation: 120+8=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 120/8=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[130, 18], Operations: ['68+62=130', '70-52=18']
Exploring Operation: 130*18=2340, Resulting Numbers: [2340]
2340,83 unequal: No Solution
Exploring Operation: 130+18=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 130-18=112, Resulting Numbers: [112]
112,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
54,
57,
19
] | 60 | [
"21-19=2",
"57*2=114",
"114-54=60"
] | Current State: 60:[21, 54, 57, 19], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [54, 57, 2]
Generated Node #2: [54, 57, 2] from Operation: 21-19=2
Current State: 60:[54, 57, 2], Operations: ['21-19=2']
Exploring Operation: 57*2=114, Resulting Numbers: [54, 114]
Generated Node #3: [54, 114] from Operation: 57*2=114
Current State: 60:[54, 114], Operations: ['21-19=2', '57*2=114']
Exploring Operation: 114-54=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[21, 54, 57, 19], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [21, 19, 3]
Generated Node #0,0: 60:[21, 19, 3] Operation: 57-54=3
Exploring Operation: 54-21=33, Resulting Numbers: [57, 19, 33]
Generated Node #0,1: 60:[57, 19, 33] Operation: 54-21=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[21, 19, 3], Operations: ['57-54=3']
Exploring Operation: 21-19=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 60:[3, 2] Operation: 21-19=2
Exploring Operation: 21/3=7, Resulting Numbers: [19, 7]
Generated Node #0,0,1: 60:[19, 7] Operation: 21/3=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[3, 2], Operations: ['57-54=3', '21-19=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[19, 7], Operations: ['57-54=3', '21/3=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[57, 19, 33], Operations: ['54-21=33']
Exploring Operation: 33-19=14, Resulting Numbers: [57, 14]
Generated Node #0,1,0: 60:[57, 14] Operation: 33-19=14
Exploring Operation: 57/19=3, Resulting Numbers: [33, 3]
Generated Node #0,1,1: 60:[33, 3] Operation: 57/19=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[33, 3], Operations: ['54-21=33', '57/19=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[57, 14], Operations: ['54-21=33', '33-19=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
66,
34,
49
] | 82 | [
"36-34=2",
"66/2=33",
"49+33=82"
] | Current State: 82:[36, 66, 34, 49], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [66, 49, 2]
Generated Node #2: [66, 49, 2] from Operation: 36-34=2
Current State: 82:[66, 49, 2], Operations: ['36-34=2']
Exploring Operation: 66/2=33, Resulting Numbers: [49, 33]
Generated Node #3: [49, 33] from Operation: 66/2=33
Current State: 82:[49, 33], Operations: ['36-34=2', '66/2=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[36, 66, 34, 49], Operations: []
Exploring Operation: 34+49=83, Resulting Numbers: [36, 66, 83]
Generated Node #0,0: 82:[36, 66, 83] Operation: 34+49=83
Exploring Operation: 66-36=30, Resulting Numbers: [34, 49, 30]
Generated Node #0,1: 82:[34, 49, 30] Operation: 66-36=30
Exploring Operation: 66-34=32, Resulting Numbers: [36, 49, 32]
Generated Node #0,2: 82:[36, 49, 32] Operation: 66-34=32
Exploring Operation: 36-34=2, Resulting Numbers: [66, 49, 2]
Generated Node #0,3: 82:[66, 49, 2] Operation: 36-34=2
Moving to Node #0,0
Current State: 82:[36, 66, 83], Operations: ['34+49=83']
Exploring Operation: 83-66=17, Resulting Numbers: [36, 17]
Generated Node #0,0,0: 82:[36, 17] Operation: 83-66=17
Exploring Operation: 36+66=102, Resulting Numbers: [83, 102]
Generated Node #0,0,1: 82:[83, 102] Operation: 36+66=102
Exploring Operation: 66-36=30, Resulting Numbers: [83, 30]
Generated Node #0,0,2: 82:[83, 30] Operation: 66-36=30
Exploring Operation: 83-36=47, Resulting Numbers: [66, 47]
Generated Node #0,0,3: 82:[66, 47] Operation: 83-36=47
Moving to Node #0,2
Current State: 82:[36, 49, 32], Operations: ['66-34=32']
Exploring Operation: 36-32=4, Resulting Numbers: [49, 4]
Generated Node #0,2,0: 82:[49, 4] Operation: 36-32=4
Exploring Operation: 36+49=85, Resulting Numbers: [32, 85]
Generated Node #0,2,1: 82:[32, 85] Operation: 36+49=85
Exploring Operation: 49+32=81, Resulting Numbers: [36, 81]
Generated Node #0,2,2: 82:[36, 81] Operation: 49+32=81
Exploring Operation: 49-36=13, Resulting Numbers: [32, 13]
Generated Node #0,2,3: 82:[32, 13] Operation: 49-36=13
Moving to Node #0,3
Current State: 82:[66, 49, 2], Operations: ['36-34=2']
Exploring Operation: 49-2=47, Resulting Numbers: [66, 47]
Generated Node #0,3,0: 82:[66, 47] Operation: 49-2=47
Exploring Operation: 66-49=17, Resulting Numbers: [2, 17]
Generated Node #0,3,1: 82:[2, 17] Operation: 66-49=17
Exploring Operation: 66+2=68, Resulting Numbers: [49, 68]
Generated Node #0,3,2: 82:[49, 68] Operation: 66+2=68
Exploring Operation: 66/2=33, Resulting Numbers: [49, 33]
Generated Node #0,3,3: 82:[49, 33] Operation: 66/2=33
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[2, 17], Operations: ['36-34=2', '66-49=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[49, 33], Operations: ['36-34=2', '66/2=33']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[36, 66, 34, 49], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [66, 49, 2]
Generated Node #0,3: 82:[66, 49, 2] Operation: 36-34=2
Moving to Node #0,3
Current State: 82:[66, 49, 2], Operations: ['36-34=2']
Exploring Operation: 66/2=33, Resulting Numbers: [49, 33]
Generated Node #0,3,3: 82:[49, 33] Operation: 66/2=33
Moving to Node #0,3,3
Current State: 82:[49, 33], Operations: ['36-34=2', '66/2=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
54,
2,
54,
98
] | 95 | [
"54/54=1",
"98-2=96",
"96-1=95"
] | Current State: 95:[54, 2, 54, 98], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [2, 98, 1]
Generated Node #2: [2, 98, 1] from Operation: 54/54=1
Current State: 95:[2, 98, 1], Operations: ['54/54=1']
Exploring Operation: 98-2=96, Resulting Numbers: [1, 96]
Generated Node #3: [1, 96] from Operation: 98-2=96
Current State: 95:[1, 96], Operations: ['54/54=1', '98-2=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[54, 2, 54, 98], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [54, 98, 27]
Generated Node #0,0: 95:[54, 98, 27] Operation: 54/2=27
Exploring Operation: 54+54=108, Resulting Numbers: [2, 98, 108]
Generated Node #0,1: 95:[2, 98, 108] Operation: 54+54=108
Exploring Operation: 54/54=1, Resulting Numbers: [2, 98, 1]
Generated Node #0,2: 95:[2, 98, 1] Operation: 54/54=1
Exploring Operation: 54-54=0, Resulting Numbers: [2, 98, 0]
Generated Node #0,3: 95:[2, 98, 0] Operation: 54-54=0
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[2, 98, 1], Operations: ['54/54=1']
Exploring Operation: 2*1=2, Resulting Numbers: [98, 2]
Generated Node #0,2,0: 95:[98, 2] Operation: 2*1=2
Exploring Operation: 98-2=96, Resulting Numbers: [1, 96]
Generated Node #0,2,1: 95:[1, 96] Operation: 98-2=96
Exploring Operation: 2+1=3, Resulting Numbers: [98, 3]
Generated Node #0,2,2: 95:[98, 3] Operation: 2+1=3
Exploring Operation: 98-1=97, Resulting Numbers: [2, 97]
Generated Node #0,2,3: 95:[2, 97] Operation: 98-1=97
Moving to Node #0,2,1
Current State: 95:[1, 96], Operations: ['54/54=1', '98-2=96']
Exploring Operation: 1*96=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[54, 2, 54, 98], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [2, 98, 1]
Generated Node #0,2: 95:[2, 98, 1] Operation: 54/54=1
Moving to Node #0,2
Current State: 95:[2, 98, 1], Operations: ['54/54=1']
Exploring Operation: 98-2=96, Resulting Numbers: [1, 96]
Generated Node #0,2,1: 95:[1, 96] Operation: 98-2=96
Moving to Node #0,2,1
Current State: 95:[1, 96], Operations: ['54/54=1', '98-2=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
28,
89,
86,
56
] | 28 | [
"28+56=84",
"89-86=3",
"84/3=28"
] | Current State: 28:[28, 89, 86, 56], Operations: []
Exploring Operation: 28+56=84, Resulting Numbers: [89, 86, 84]
Generated Node #2: [89, 86, 84] from Operation: 28+56=84
Current State: 28:[89, 86, 84], Operations: ['28+56=84']
Exploring Operation: 89-86=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 89-86=3
Current State: 28:[84, 3], Operations: ['28+56=84', '89-86=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[28, 89, 86, 56], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [28, 56, 3]
Generated Node #0,0: 28:[28, 56, 3] Operation: 89-86=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[28, 56, 3], Operations: ['89-86=3']
Exploring Operation: 56-28=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 28:[3, 28] Operation: 56-28=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[3, 28], Operations: ['89-86=3', '56-28=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,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_1 | mult_heuristic |
[
87,
2,
30,
35
] | 76 | [
"87+30=117",
"35+117=152",
"152/2=76"
] | Current State: 76:[87, 2, 30, 35], Operations: []
Exploring Operation: 87+30=117, Resulting Numbers: [2, 35, 117]
Generated Node #2: [2, 35, 117] from Operation: 87+30=117
Current State: 76:[2, 35, 117], Operations: ['87+30=117']
Exploring Operation: 35+117=152, Resulting Numbers: [2, 152]
Generated Node #3: [2, 152] from Operation: 35+117=152
Current State: 76:[2, 152], Operations: ['87+30=117', '35+117=152']
Exploring Operation: 152/2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[87, 2, 30, 35], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [30, 35, 85]
Generated Node #0,0: 76:[30, 35, 85] Operation: 87-2=85
Exploring Operation: 30/2=15, Resulting Numbers: [87, 35, 15]
Generated Node #0,1: 76:[87, 35, 15] Operation: 30/2=15
Exploring Operation: 2+30=32, Resulting Numbers: [87, 35, 32]
Generated Node #0,2: 76:[87, 35, 32] Operation: 2+30=32
Exploring Operation: 2+35=37, Resulting Numbers: [87, 30, 37]
Generated Node #0,3: 76:[87, 30, 37] Operation: 2+35=37
Exploring Operation: 35-30=5, Resulting Numbers: [87, 2, 5]
Generated Node #0,4: 76:[87, 2, 5] Operation: 35-30=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[87, 2, 5], Operations: ['35-30=5']
Exploring Operation: 87-2=85, Resulting Numbers: [5, 85]
Generated Node #0,4,0: 76:[5, 85] Operation: 87-2=85
Exploring Operation: 2+5=7, Resulting Numbers: [87, 7]
Generated Node #0,4,1: 76:[87, 7] Operation: 2+5=7
Exploring Operation: 5-2=3, Resulting Numbers: [87, 3]
Generated Node #0,4,2: 76:[87, 3] Operation: 5-2=3
Exploring Operation: 87+2=89, Resulting Numbers: [5, 89]
Generated Node #0,4,3: 76:[5, 89] Operation: 87+2=89
Exploring Operation: 87-5=82, Resulting Numbers: [2, 82]
Generated Node #0,4,4: 76:[2, 82] Operation: 87-5=82
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[2, 82], Operations: ['35-30=5', '87-5=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,76 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No 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: 76:[5, 85], Operations: ['35-30=5', '87-2=85']
Exploring Operation: 5*85=425, Resulting Numbers: [425]
425,76 unequal: No Solution
Exploring Operation: 5+85=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,76 unequal: No Solution
No 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: 76:[87, 3], Operations: ['35-30=5', '5-2=3']
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,76 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,76 unequal: No Solution
No 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: 76:[87, 7], Operations: ['35-30=5', '2+5=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,76 unequal: No Solution
No 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: 76:[5, 89], Operations: ['35-30=5', '87+2=89']
Exploring Operation: 5*89=445, Resulting Numbers: [445]
445,76 unequal: No Solution
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,76 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: 76:[87, 35, 15], Operations: ['30/2=15']
Exploring Operation: 87-15=72, Resulting Numbers: [35, 72]
Generated Node #0,1,0: 76:[35, 72] Operation: 87-15=72
Exploring Operation: 35+15=50, Resulting Numbers: [87, 50]
Generated Node #0,1,1: 76:[87, 50] Operation: 35+15=50
Exploring Operation: 35-15=20, Resulting Numbers: [87, 20]
Generated Node #0,1,2: 76:[87, 20] Operation: 35-15=20
Exploring Operation: 87+15=102, Resulting Numbers: [35, 102]
Generated Node #0,1,3: 76:[35, 102] Operation: 87+15=102
Exploring Operation: 87-35=52, Resulting Numbers: [15, 52]
Generated Node #0,1,4: 76:[15, 52] Operation: 87-35=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[35, 72], Operations: ['30/2=15', '87-15=72']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,76 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,76 unequal: No Solution
No 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: 76:[87, 20], Operations: ['30/2=15', '35-15=20']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,76 unequal: No Solution
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[15, 52], Operations: ['30/2=15', '87-35=52']
Exploring Operation: 15*52=780, Resulting Numbers: [780]
780,76 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,76 unequal: No Solution
No 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: 76:[87, 50], Operations: ['30/2=15', '35+15=50']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,76 unequal: No Solution
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,76 unequal: No Solution
No 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: 76:[35, 102], Operations: ['30/2=15', '87+15=102']
Exploring Operation: 35*102=3570, Resulting Numbers: [3570]
3570,76 unequal: No Solution
Exploring Operation: 35+102=137, Resulting Numbers: [137]
137,76 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,76 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: 76:[30, 35, 85], Operations: ['87-2=85']
Exploring Operation: 85-35=50, Resulting Numbers: [30, 50]
Generated Node #0,0,0: 76:[30, 50] Operation: 85-35=50
Exploring Operation: 30+35=65, Resulting Numbers: [85, 65]
Generated Node #0,0,1: 76:[85, 65] Operation: 30+35=65
Exploring Operation: 85-30=55, Resulting Numbers: [35, 55]
Generated Node #0,0,2: 76:[35, 55] Operation: 85-30=55
Exploring Operation: 30+85=115, Resulting Numbers: [35, 115]
Generated Node #0,0,3: 76:[35, 115] Operation: 30+85=115
Exploring Operation: 35-30=5, Resulting Numbers: [85, 5]
Generated Node #0,0,4: 76:[85, 5] Operation: 35-30=5
Moving to Node #0,0,4
Current State: 76:[85, 5], Operations: ['87-2=85', '35-30=5']
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 85*5=425, Resulting Numbers: [425]
425,76 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[85, 65], Operations: ['87-2=85', '30+35=65']
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,76 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[30, 50], Operations: ['87-2=85', '85-35=50']
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,76 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[35, 55], Operations: ['87-2=85', '85-30=55']
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[35, 115], Operations: ['87-2=85', '30+85=115']
Exploring Operation: 35+115=150, Resulting Numbers: [150]
150,76 unequal: No Solution
Exploring Operation: 115-35=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 35*115=4025, Resulting Numbers: [4025]
4025,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,2
Current State: 76:[87, 35, 32], Operations: ['2+30=32']
Exploring Operation: 87-32=55, Resulting Numbers: [35, 55]
Generated Node #0,2,0: 76:[35, 55] Operation: 87-32=55
Exploring Operation: 35-32=3, Resulting Numbers: [87, 3]
Generated Node #0,2,1: 76:[87, 3] Operation: 35-32=3
Exploring Operation: 87-35=52, Resulting Numbers: [32, 52]
Generated Node #0,2,2: 76:[32, 52] Operation: 87-35=52
Exploring Operation: 35+32=67, Resulting Numbers: [87, 67]
Generated Node #0,2,3: 76:[87, 67] Operation: 35+32=67
Exploring Operation: 87+32=119, Resulting Numbers: [35, 119]
Generated Node #0,2,4: 76:[35, 119] Operation: 87+32=119
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[87, 3], Operations: ['2+30=32', '35-32=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,76 unequal: No Solution
No 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: 76:[35, 55], Operations: ['2+30=32', '87-32=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,76 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No 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: 76:[32, 52], Operations: ['2+30=32', '87-35=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,76 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No 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: 76:[87, 67], Operations: ['2+30=32', '35+32=67']
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,76 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,76 unequal: No Solution
No 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: 76:[35, 119], Operations: ['2+30=32', '87+32=119']
Exploring Operation: 35*119=4165, Resulting Numbers: [4165]
4165,76 unequal: No Solution
Exploring Operation: 35+119=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 119-35=84, Resulting Numbers: [84]
84,76 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: 76:[87, 30, 37], Operations: ['2+35=37']
Exploring Operation: 30+37=67, Resulting Numbers: [87, 67]
Generated Node #0,3,0: 76:[87, 67] Operation: 30+37=67
Exploring Operation: 87-37=50, Resulting Numbers: [30, 50]
Generated Node #0,3,1: 76:[30, 50] Operation: 87-37=50
Exploring Operation: 87+30=117, Resulting Numbers: [37, 117]
Generated Node #0,3,2: 76:[37, 117] Operation: 87+30=117
Exploring Operation: 37-30=7, Resulting Numbers: [87, 7]
Generated Node #0,3,3: 76:[87, 7] Operation: 37-30=7
Exploring Operation: 87-30=57, Resulting Numbers: [37, 57]
Generated Node #0,3,4: 76:[37, 57] Operation: 87-30=57
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[87, 7], Operations: ['2+35=37', '37-30=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,76 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[87, 67], Operations: ['2+35=37', '30+37=67']
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,76 unequal: No Solution
No 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: 76:[30, 50], Operations: ['2+35=37', '87-37=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,76 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 76:[37, 57], Operations: ['2+35=37', '87-30=57']
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,76 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No 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: 76:[37, 117], Operations: ['2+35=37', '87+30=117']
Exploring Operation: 37+117=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 37*117=4329, Resulting Numbers: [4329]
4329,76 unequal: No Solution
Exploring Operation: 117-37=80, Resulting Numbers: [80]
80,76 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 |
[
79,
99,
21,
33
] | 34 | [
"99-79=20",
"21+33=54",
"54-20=34"
] | Current State: 34:[79, 99, 21, 33], Operations: []
Exploring Operation: 99-79=20, Resulting Numbers: [21, 33, 20]
Generated Node #2: [21, 33, 20] from Operation: 99-79=20
Current State: 34:[21, 33, 20], Operations: ['99-79=20']
Exploring Operation: 21+33=54, Resulting Numbers: [20, 54]
Generated Node #3: [20, 54] from Operation: 21+33=54
Current State: 34:[20, 54], Operations: ['99-79=20', '21+33=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[79, 99, 21, 33], Operations: []
Exploring Operation: 79-33=46, Resulting Numbers: [99, 21, 46]
Generated Node #0,0: 34:[99, 21, 46] Operation: 79-33=46
Exploring Operation: 99/33=3, Resulting Numbers: [79, 21, 3]
Generated Node #0,1: 34:[79, 21, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [79, 21, 66]
Generated Node #0,2: 34:[79, 21, 66] Operation: 99-33=66
Exploring Operation: 99-79=20, Resulting Numbers: [21, 33, 20]
Generated Node #0,3: 34:[21, 33, 20] Operation: 99-79=20
Moving to Node #0,3
Current State: 34:[21, 33, 20], Operations: ['99-79=20']
Exploring Operation: 33-20=13, Resulting Numbers: [21, 13]
Generated Node #0,3,0: 34:[21, 13] Operation: 33-20=13
Exploring Operation: 33-21=12, Resulting Numbers: [20, 12]
Generated Node #0,3,1: 34:[20, 12] Operation: 33-21=12
Exploring Operation: 21+20=41, Resulting Numbers: [33, 41]
Generated Node #0,3,2: 34:[33, 41] Operation: 21+20=41
Exploring Operation: 21-20=1, Resulting Numbers: [33, 1]
Generated Node #0,3,3: 34:[33, 1] Operation: 21-20=1
Moving to Node #0,1
Current State: 34:[79, 21, 3], Operations: ['99/33=3']
Exploring Operation: 79-3=76, Resulting Numbers: [21, 76]
Generated Node #0,1,0: 34:[21, 76] Operation: 79-3=76
Exploring Operation: 79-21=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 34:[3, 58] Operation: 79-21=58
Exploring Operation: 21/3=7, Resulting Numbers: [79, 7]
Generated Node #0,1,2: 34:[79, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [79, 18]
Generated Node #0,1,3: 34:[79, 18] Operation: 21-3=18
Moving to Node #0,2
Current State: 34:[79, 21, 66], Operations: ['99-33=66']
Exploring Operation: 79+21=100, Resulting Numbers: [66, 100]
Generated Node #0,2,0: 34:[66, 100] Operation: 79+21=100
Exploring Operation: 79-66=13, Resulting Numbers: [21, 13]
Generated Node #0,2,1: 34:[21, 13] Operation: 79-66=13
Exploring Operation: 79-21=58, Resulting Numbers: [66, 58]
Generated Node #0,2,2: 34:[66, 58] Operation: 79-21=58
Exploring Operation: 66-21=45, Resulting Numbers: [79, 45]
Generated Node #0,2,3: 34:[79, 45] Operation: 66-21=45
Moving to Node #0,0
Current State: 34:[99, 21, 46], Operations: ['79-33=46']
Exploring Operation: 46-21=25, Resulting Numbers: [99, 25]
Generated Node #0,0,0: 34:[99, 25] Operation: 46-21=25
Exploring Operation: 99-21=78, Resulting Numbers: [46, 78]
Generated Node #0,0,1: 34:[46, 78] Operation: 99-21=78
Exploring Operation: 99-46=53, Resulting Numbers: [21, 53]
Generated Node #0,0,2: 34:[21, 53] Operation: 99-46=53
Exploring Operation: 99+21=120, Resulting Numbers: [46, 120]
Generated Node #0,0,3: 34:[46, 120] Operation: 99+21=120
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[21, 53], Operations: ['79-33=46', '99-46=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,34 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[46, 78], Operations: ['79-33=46', '99-21=78']
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 46+78=124, Resulting Numbers: [124]
124,34 unequal: No Solution
Exploring Operation: 46*78=3588, Resulting Numbers: [3588]
3588,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[99, 25], Operations: ['79-33=46', '46-21=25']
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,34 unequal: No Solution
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,34 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[46, 120], Operations: ['79-33=46', '99+21=120']
Exploring Operation: 120-46=74, Resulting Numbers: [74]
74,34 unequal: No Solution
Exploring Operation: 46*120=5520, Resulting Numbers: [5520]
5520,34 unequal: No Solution
Exploring Operation: 46+120=166, Resulting Numbers: [166]
166,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 34:[33, 1], Operations: ['99-79=20', '21-20=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[79, 99, 21, 33], Operations: []
Exploring Operation: 99-79=20, Resulting Numbers: [21, 33, 20]
Generated Node #0,3: 34:[21, 33, 20] Operation: 99-79=20
Moving to Node #0,3
Current State: 34:[21, 33, 20], Operations: ['99-79=20']
Exploring Operation: 21-20=1, Resulting Numbers: [33, 1]
Generated Node #0,3,3: 34:[33, 1] Operation: 21-20=1
Moving to Node #0,3,3
Current State: 34:[33, 1], Operations: ['99-79=20', '21-20=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
47,
32,
51,
61
] | 88 | [
"47*61=2867",
"2867-51=2816",
"2816/32=88"
] | Current State: 88:[47, 32, 51, 61], Operations: []
Exploring Operation: 47*61=2867, Resulting Numbers: [32, 51, 2867]
Generated Node #2: [32, 51, 2867] from Operation: 47*61=2867
Current State: 88:[32, 51, 2867], Operations: ['47*61=2867']
Exploring Operation: 2867-51=2816, Resulting Numbers: [32, 2816]
Generated Node #3: [32, 2816] from Operation: 2867-51=2816
Current State: 88:[32, 2816], Operations: ['47*61=2867', '2867-51=2816']
Exploring Operation: 2816/32=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[47, 32, 51, 61], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [47, 32, 10]
Generated Node #0,0: 88:[47, 32, 10] Operation: 61-51=10
Exploring Operation: 61-47=14, Resulting Numbers: [32, 51, 14]
Generated Node #0,1: 88:[32, 51, 14] Operation: 61-47=14
Exploring Operation: 51-32=19, Resulting Numbers: [47, 61, 19]
Generated Node #0,2: 88:[47, 61, 19] Operation: 51-32=19
Exploring Operation: 61-32=29, Resulting Numbers: [47, 51, 29]
Generated Node #0,3: 88:[47, 51, 29] Operation: 61-32=29
Exploring Operation: 32+61=93, Resulting Numbers: [47, 51, 93]
Generated Node #0,4: 88:[47, 51, 93] Operation: 32+61=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[47, 32, 10], Operations: ['61-51=10']
Exploring Operation: 47+32=79, Resulting Numbers: [10, 79]
Generated Node #0,0,0: 88:[10, 79] Operation: 47+32=79
Exploring Operation: 32-10=22, Resulting Numbers: [47, 22]
Generated Node #0,0,1: 88:[47, 22] Operation: 32-10=22
Exploring Operation: 32+10=42, Resulting Numbers: [47, 42]
Generated Node #0,0,2: 88:[47, 42] Operation: 32+10=42
Exploring Operation: 47-10=37, Resulting Numbers: [32, 37]
Generated Node #0,0,3: 88:[32, 37] Operation: 47-10=37
Exploring Operation: 47-32=15, Resulting Numbers: [10, 15]
Generated Node #0,0,4: 88:[10, 15] Operation: 47-32=15
Moving to Node #0,0,1
Current State: 88:[47, 22], Operations: ['61-51=10', '32-10=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[10, 15], Operations: ['61-51=10', '47-32=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,88 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[47, 42], Operations: ['61-51=10', '32+10=42']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[10, 79], Operations: ['61-51=10', '47+32=79']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[32, 37], Operations: ['61-51=10', '47-10=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,88 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,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:[47, 51, 93], Operations: ['32+61=93']
Exploring Operation: 93-47=46, Resulting Numbers: [51, 46]
Generated Node #0,4,0: 88:[51, 46] Operation: 93-47=46
Exploring Operation: 93-51=42, Resulting Numbers: [47, 42]
Generated Node #0,4,1: 88:[47, 42] Operation: 93-51=42
Exploring Operation: 51-47=4, Resulting Numbers: [93, 4]
Generated Node #0,4,2: 88:[93, 4] Operation: 51-47=4
Exploring Operation: 47+93=140, Resulting Numbers: [51, 140]
Generated Node #0,4,3: 88:[51, 140] Operation: 47+93=140
Exploring Operation: 47+51=98, Resulting Numbers: [93, 98]
Generated Node #0,4,4: 88:[93, 98] Operation: 47+51=98
Moving to Node #0,4,1
Current State: 88:[47, 42], Operations: ['32+61=93', '93-51=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,88 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[93, 4], Operations: ['32+61=93', '51-47=4']
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,88 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[51, 46], Operations: ['32+61=93', '93-47=46']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,88 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[93, 98], Operations: ['32+61=93', '47+51=98']
Exploring Operation: 93+98=191, Resulting Numbers: [191]
191,88 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 93*98=9114, Resulting Numbers: [9114]
9114,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[51, 140], Operations: ['32+61=93', '47+93=140']
Exploring Operation: 51*140=7140, Resulting Numbers: [7140]
7140,88 unequal: No Solution
Exploring Operation: 140-51=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 51+140=191, Resulting Numbers: [191]
191,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:[47, 51, 29], Operations: ['61-32=29']
Exploring Operation: 47+51=98, Resulting Numbers: [29, 98]
Generated Node #0,3,0: 88:[29, 98] Operation: 47+51=98
Exploring Operation: 51+29=80, Resulting Numbers: [47, 80]
Generated Node #0,3,1: 88:[47, 80] Operation: 51+29=80
Exploring Operation: 47-29=18, Resulting Numbers: [51, 18]
Generated Node #0,3,2: 88:[51, 18] Operation: 47-29=18
Exploring Operation: 51-29=22, Resulting Numbers: [47, 22]
Generated Node #0,3,3: 88:[47, 22] Operation: 51-29=22
Exploring Operation: 51-47=4, Resulting Numbers: [29, 4]
Generated Node #0,3,4: 88:[29, 4] Operation: 51-47=4
Moving to Node #0,3,3
Current State: 88:[47, 22], Operations: ['61-32=29', '51-29=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[29, 4], Operations: ['61-32=29', '51-47=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[47, 80], Operations: ['61-32=29', '51+29=80']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,88 unequal: No Solution
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[51, 18], Operations: ['61-32=29', '47-29=18']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,88 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[29, 98], Operations: ['61-32=29', '47+51=98']
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 29+98=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 29*98=2842, Resulting Numbers: [2842]
2842,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,1
Current State: 88:[32, 51, 14], Operations: ['61-47=14']
Exploring Operation: 32+14=46, Resulting Numbers: [51, 46]
Generated Node #0,1,0: 88:[51, 46] Operation: 32+14=46
Exploring Operation: 32+51=83, Resulting Numbers: [14, 83]
Generated Node #0,1,1: 88:[14, 83] Operation: 32+51=83
Exploring Operation: 51-14=37, Resulting Numbers: [32, 37]
Generated Node #0,1,2: 88:[32, 37] Operation: 51-14=37
Exploring Operation: 51-32=19, Resulting Numbers: [14, 19]
Generated Node #0,1,3: 88:[14, 19] Operation: 51-32=19
Exploring Operation: 32-14=18, Resulting Numbers: [51, 18]
Generated Node #0,1,4: 88:[51, 18] Operation: 32-14=18
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[14, 19], Operations: ['61-47=14', '51-32=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[14, 83], Operations: ['61-47=14', '32+51=83']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,88 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[51, 46], Operations: ['61-47=14', '32+14=46']
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,88 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 88:[51, 18], Operations: ['61-47=14', '32-14=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,88 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[32, 37], Operations: ['61-47=14', '51-14=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,88 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,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:[47, 61, 19], Operations: ['51-32=19']
Exploring Operation: 61+19=80, Resulting Numbers: [47, 80]
Generated Node #0,2,0: 88:[47, 80] Operation: 61+19=80
Exploring Operation: 61-19=42, Resulting Numbers: [47, 42]
Generated Node #0,2,1: 88:[47, 42] Operation: 61-19=42
Exploring Operation: 47-19=28, Resulting Numbers: [61, 28]
Generated Node #0,2,2: 88:[61, 28] Operation: 47-19=28
Exploring Operation: 47+61=108, Resulting Numbers: [19, 108]
Generated Node #0,2,3: 88:[19, 108] Operation: 47+61=108
Exploring Operation: 61-47=14, Resulting Numbers: [19, 14]
Generated Node #0,2,4: 88:[19, 14] Operation: 61-47=14
Moving to Node #0,2,1
Current State: 88:[47, 42], Operations: ['51-32=19', '61-19=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[19, 14], Operations: ['51-32=19', '61-47=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,88 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[47, 80], Operations: ['51-32=19', '61+19=80']
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,88 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[61, 28], Operations: ['51-32=19', '47-19=28']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[19, 108], Operations: ['51-32=19', '47+61=108']
Exploring Operation: 19*108=2052, Resulting Numbers: [2052]
2052,88 unequal: No Solution
Exploring Operation: 19+108=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 108-19=89, Resulting Numbers: [89]
89,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 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.