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 |
|---|---|---|---|---|---|---|---|---|
[
47,
65,
62,
1
] | 79 | [
"65-47=18",
"62-1=61",
"18+61=79"
] | Current State: 79:[47, 65, 62, 1], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [62, 1, 18]
Generated Node #2: [62, 1, 18] from Operation: 65-47=18
Current State: 79:[62, 1, 18], Operations: ['65-47=18']
Exploring Operation: 62-1=61, Resulting Numbers: [18, 61]
Generated Node #3: [18, 61] from Operation: 62-1=61
Current State: 79:[18, 61], Operations: ['65-47=18', '62-1=61']
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[47, 65, 62, 1], Operations: []
Exploring Operation: 47+1=48, Resulting Numbers: [65, 62, 48]
Generated Node #0,0: 79:[65, 62, 48] Operation: 47+1=48
Exploring Operation: 65+1=66, Resulting Numbers: [47, 62, 66]
Generated Node #0,1: 79:[47, 62, 66] Operation: 65+1=66
Exploring Operation: 62+1=63, Resulting Numbers: [47, 65, 63]
Generated Node #0,2: 79:[47, 65, 63] Operation: 62+1=63
Exploring Operation: 47*1=47, Resulting Numbers: [65, 62, 47]
Generated Node #0,3: 79:[65, 62, 47] Operation: 47*1=47
Moving to Node #0,0
Current State: 79:[65, 62, 48], Operations: ['47+1=48']
Exploring Operation: 65+62=127, Resulting Numbers: [48, 127]
Generated Node #0,0,0: 79:[48, 127] Operation: 65+62=127
Exploring Operation: 62+48=110, Resulting Numbers: [65, 110]
Generated Node #0,0,1: 79:[65, 110] Operation: 62+48=110
Exploring Operation: 65-48=17, Resulting Numbers: [62, 17]
Generated Node #0,0,2: 79:[62, 17] Operation: 65-48=17
Exploring Operation: 65+48=113, Resulting Numbers: [62, 113]
Generated Node #0,0,3: 79:[62, 113] Operation: 65+48=113
Moving to Node #0,2
Current State: 79:[47, 65, 63], Operations: ['62+1=63']
Exploring Operation: 65-47=18, Resulting Numbers: [63, 18]
Generated Node #0,2,0: 79:[63, 18] Operation: 65-47=18
Exploring Operation: 63-47=16, Resulting Numbers: [65, 16]
Generated Node #0,2,1: 79:[65, 16] Operation: 63-47=16
Exploring Operation: 47+63=110, Resulting Numbers: [65, 110]
Generated Node #0,2,2: 79:[65, 110] Operation: 47+63=110
Exploring Operation: 47+65=112, Resulting Numbers: [63, 112]
Generated Node #0,2,3: 79:[63, 112] Operation: 47+65=112
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[65, 110], Operations: ['62+1=63', '47+63=110']
Exploring Operation: 110-65=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 65+110=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 65*110=7150, Resulting Numbers: [7150]
7150,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[63, 112], Operations: ['62+1=63', '47+65=112']
Exploring Operation: 63+112=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 63*112=7056, Resulting Numbers: [7056]
7056,79 unequal: No Solution
Exploring Operation: 112-63=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[63, 18], Operations: ['62+1=63', '65-47=18']
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,79 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[65, 16], Operations: ['62+1=63', '63-47=16']
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,79 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 79:[47, 62, 66], Operations: ['65+1=66']
Exploring Operation: 47+62=109, Resulting Numbers: [66, 109]
Generated Node #0,1,0: 79:[66, 109] Operation: 47+62=109
Exploring Operation: 66-47=19, Resulting Numbers: [62, 19]
Generated Node #0,1,1: 79:[62, 19] Operation: 66-47=19
Exploring Operation: 47+66=113, Resulting Numbers: [62, 113]
Generated Node #0,1,2: 79:[62, 113] Operation: 47+66=113
Exploring Operation: 62-47=15, Resulting Numbers: [66, 15]
Generated Node #0,1,3: 79:[66, 15] Operation: 62-47=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[66, 109], Operations: ['65+1=66', '47+62=109']
Exploring Operation: 66*109=7194, Resulting Numbers: [7194]
7194,79 unequal: No Solution
Exploring Operation: 66+109=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 109-66=43, Resulting Numbers: [43]
43,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[62, 113], Operations: ['65+1=66', '47+66=113']
Exploring Operation: 113-62=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 62+113=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 62*113=7006, Resulting Numbers: [7006]
7006,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[62, 19], Operations: ['65+1=66', '66-47=19']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,79 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[66, 15], Operations: ['65+1=66', '62-47=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,79 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,79 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: 79:[65, 62, 47], Operations: ['47*1=47']
Exploring Operation: 65+47=112, Resulting Numbers: [62, 112]
Generated Node #0,3,0: 79:[62, 112] Operation: 65+47=112
Exploring Operation: 62+47=109, Resulting Numbers: [65, 109]
Generated Node #0,3,1: 79:[65, 109] Operation: 62+47=109
Exploring Operation: 62-47=15, Resulting Numbers: [65, 15]
Generated Node #0,3,2: 79:[65, 15] Operation: 62-47=15
Exploring Operation: 65-47=18, Resulting Numbers: [62, 18]
Generated Node #0,3,3: 79:[62, 18] Operation: 65-47=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[65, 109], Operations: ['47*1=47', '62+47=109']
Exploring Operation: 109-65=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 65*109=7085, Resulting Numbers: [7085]
7085,79 unequal: No Solution
Exploring Operation: 65+109=174, Resulting Numbers: [174]
174,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[62, 112], Operations: ['47*1=47', '65+47=112']
Exploring Operation: 62+112=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 62*112=6944, Resulting Numbers: [6944]
6944,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[65, 15], Operations: ['47*1=47', '62-47=15']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,79 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[62, 18], Operations: ['47*1=47', '65-47=18']
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,79 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,79 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: 79:[65, 110], Operations: ['47+1=48', '62+48=110']
Exploring Operation: 65*110=7150, Resulting Numbers: [7150]
7150,79 unequal: No Solution
Exploring Operation: 65+110=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 110-65=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[62, 113], Operations: ['47+1=48', '65+48=113']
Exploring Operation: 62*113=7006, Resulting Numbers: [7006]
7006,79 unequal: No Solution
Exploring Operation: 113-62=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 62+113=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[62, 17], Operations: ['47+1=48', '65-48=17']
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,79 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[47, 65, 62, 1], Operations: []
Exploring Operation: 47+1=48, Resulting Numbers: [65, 62, 48]
Generated Node #0,0: 79:[65, 62, 48] Operation: 47+1=48
Moving to Node #0,0
Current State: 79:[65, 62, 48], Operations: ['47+1=48']
Exploring Operation: 65-48=17, Resulting Numbers: [62, 17]
Generated Node #0,0,2: 79:[62, 17] Operation: 65-48=17
Moving to Node #0,0,2
Current State: 79:[62, 17], Operations: ['47+1=48', '65-48=17']
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
84,
95,
25,
10
] | 25 | [
"95-84=11",
"11-10=1",
"25*1=25"
] | Current State: 25:[84, 95, 25, 10], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [25, 10, 11]
Generated Node #2: [25, 10, 11] from Operation: 95-84=11
Current State: 25:[25, 10, 11], Operations: ['95-84=11']
Exploring Operation: 11-10=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 11-10=1
Current State: 25:[25, 1], Operations: ['95-84=11', '11-10=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[84, 95, 25, 10], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [95, 10, 59]
Generated Node #0,0: 25:[95, 10, 59] Operation: 84-25=59
Exploring Operation: 95-84=11, Resulting Numbers: [25, 10, 11]
Generated Node #0,1: 25:[25, 10, 11] Operation: 95-84=11
Exploring Operation: 95-25=70, Resulting Numbers: [84, 10, 70]
Generated Node #0,2: 25:[84, 10, 70] Operation: 95-25=70
Moving to Node #0,1
Current State: 25:[25, 10, 11], Operations: ['95-84=11']
Exploring Operation: 25-11=14, Resulting Numbers: [10, 14]
Generated Node #0,1,0: 25:[10, 14] Operation: 25-11=14
Exploring Operation: 11-10=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 25:[25, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [25, 21]
Generated Node #0,1,2: 25:[25, 21] Operation: 10+11=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[25, 1], Operations: ['95-84=11', '11-10=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[84, 95, 25, 10], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [25, 10, 11]
Generated Node #0,1: 25:[25, 10, 11] Operation: 95-84=11
Moving to Node #0,1
Current State: 25:[25, 10, 11], Operations: ['95-84=11']
Exploring Operation: 11-10=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 25:[25, 1] Operation: 11-10=1
Moving to Node #0,1,1
Current State: 25:[25, 1], Operations: ['95-84=11', '11-10=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
48,
49,
4,
15
] | 52 | [
"48/4=12",
"49+15=64",
"64-12=52"
] | Current State: 52:[48, 49, 4, 15], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [49, 15, 12]
Generated Node #2: [49, 15, 12] from Operation: 48/4=12
Current State: 52:[49, 15, 12], Operations: ['48/4=12']
Exploring Operation: 49+15=64, Resulting Numbers: [12, 64]
Generated Node #3: [12, 64] from Operation: 49+15=64
Current State: 52:[12, 64], Operations: ['48/4=12', '49+15=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[48, 49, 4, 15], Operations: []
Exploring Operation: 48+4=52, Resulting Numbers: [49, 15, 52]
Generated Node #0,0: 52:[49, 15, 52] Operation: 48+4=52
Exploring Operation: 49-48=1, Resulting Numbers: [4, 15, 1]
Generated Node #0,1: 52:[4, 15, 1] Operation: 49-48=1
Moving to Node #0,1
Current State: 52:[4, 15, 1], Operations: ['49-48=1']
Exploring Operation: 4*1=4, Resulting Numbers: [15, 4]
Generated Node #0,1,0: 52:[15, 4] Operation: 4*1=4
Exploring Operation: 15-1=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 52:[4, 14] Operation: 15-1=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[4, 14], Operations: ['49-48=1', '15-1=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No 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: 52:[15, 4], Operations: ['49-48=1', '4*1=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 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: 52:[49, 15, 52], Operations: ['48+4=52']
Exploring Operation: 52-49=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 52:[15, 3] Operation: 52-49=3
Exploring Operation: 49-15=34, Resulting Numbers: [52, 34]
Generated Node #0,0,1: 52:[52, 34] Operation: 49-15=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[15, 3], Operations: ['48+4=52', '52-49=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No 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: 52:[52, 34], Operations: ['48+4=52', '49-15=34']
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
14,
94,
24
] | 19 | [
"95*14=1330",
"94-24=70",
"1330/70=19"
] | Current State: 19:[95, 14, 94, 24], Operations: []
Exploring Operation: 95*14=1330, Resulting Numbers: [94, 24, 1330]
Generated Node #2: [94, 24, 1330] from Operation: 95*14=1330
Current State: 19:[94, 24, 1330], Operations: ['95*14=1330']
Exploring Operation: 94-24=70, Resulting Numbers: [1330, 70]
Generated Node #3: [1330, 70] from Operation: 94-24=70
Current State: 19:[1330, 70], Operations: ['95*14=1330', '94-24=70']
Exploring Operation: 1330/70=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[95, 14, 94, 24], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [14, 24, 1]
Generated Node #0,0: 19:[14, 24, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 19:[14, 24, 1], Operations: ['95-94=1']
Exploring Operation: 14+1=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 19:[24, 15] Operation: 14+1=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[24, 15], Operations: ['95-94=1', '14+1=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,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 | sum_heuristic |
[
28,
8,
4,
75
] | 68 | [
"8-4=4",
"28/4=7",
"75-7=68"
] | Current State: 68:[28, 8, 4, 75], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [28, 75, 4]
Generated Node #2: [28, 75, 4] from Operation: 8-4=4
Current State: 68:[28, 75, 4], Operations: ['8-4=4']
Exploring Operation: 28/4=7, Resulting Numbers: [75, 7]
Generated Node #3: [75, 7] from Operation: 28/4=7
Current State: 68:[75, 7], Operations: ['8-4=4', '28/4=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[28, 8, 4, 75], Operations: []
Exploring Operation: 28+8=36, Resulting Numbers: [4, 75, 36]
Generated Node #0,0: 68:[4, 75, 36] Operation: 28+8=36
Exploring Operation: 75-8=67, Resulting Numbers: [28, 4, 67]
Generated Node #0,1: 68:[28, 4, 67] Operation: 75-8=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[28, 4, 67], Operations: ['75-8=67']
Exploring Operation: 28/4=7, Resulting Numbers: [67, 7]
Generated Node #0,1,0: 68:[67, 7] Operation: 28/4=7
Exploring Operation: 28+4=32, Resulting Numbers: [67, 32]
Generated Node #0,1,1: 68:[67, 32] Operation: 28+4=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[67, 32], Operations: ['75-8=67', '28+4=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No 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: 68:[67, 7], Operations: ['75-8=67', '28/4=7']
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[4, 75, 36], Operations: ['28+8=36']
Exploring Operation: 75-4=71, Resulting Numbers: [36, 71]
Generated Node #0,0,0: 68:[36, 71] Operation: 75-4=71
Exploring Operation: 75-36=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 68:[4, 39] Operation: 75-36=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[36, 71], Operations: ['28+8=36', '75-4=71']
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,68 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No 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: 68:[4, 39], Operations: ['28+8=36', '75-36=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
35,
59,
83
] | 21 | [
"83-59=24",
"35*24=840",
"840/40=21"
] | Current State: 21:[40, 35, 59, 83], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [40, 35, 24]
Generated Node #2: [40, 35, 24] from Operation: 83-59=24
Current State: 21:[40, 35, 24], Operations: ['83-59=24']
Exploring Operation: 35*24=840, Resulting Numbers: [40, 840]
Generated Node #3: [40, 840] from Operation: 35*24=840
Current State: 21:[40, 840], Operations: ['83-59=24', '35*24=840']
Exploring Operation: 840/40=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[40, 35, 59, 83], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [40, 35, 24]
Generated Node #0,0: 21:[40, 35, 24] Operation: 83-59=24
Moving to Node #0,0
Current State: 21:[40, 35, 24], Operations: ['83-59=24']
Exploring Operation: 40-35=5, Resulting Numbers: [24, 5]
Generated Node #0,0,0: 21:[24, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[24, 5], Operations: ['83-59=24', '40-35=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,21 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 |
[
42,
50,
6,
12
] | 48 | [
"50-42=8",
"12-6=6",
"8*6=48"
] | Current State: 48:[42, 50, 6, 12], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [6, 12, 8]
Generated Node #2: [6, 12, 8] from Operation: 50-42=8
Current State: 48:[6, 12, 8], Operations: ['50-42=8']
Exploring Operation: 12-6=6, Resulting Numbers: [8, 6]
Generated Node #3: [8, 6] from Operation: 12-6=6
Current State: 48:[8, 6], Operations: ['50-42=8', '12-6=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[42, 50, 6, 12], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [6, 12, 8]
Generated Node #0,0: 48:[6, 12, 8] Operation: 50-42=8
Exploring Operation: 42+6=48, Resulting Numbers: [50, 12, 48]
Generated Node #0,1: 48:[50, 12, 48] Operation: 42+6=48
Exploring Operation: 42+12=54, Resulting Numbers: [50, 6, 54]
Generated Node #0,2: 48:[50, 6, 54] Operation: 42+12=54
Exploring Operation: 42/6=7, Resulting Numbers: [50, 12, 7]
Generated Node #0,3: 48:[50, 12, 7] Operation: 42/6=7
Moving to Node #0,0
Current State: 48:[6, 12, 8], Operations: ['50-42=8']
Exploring Operation: 8-6=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 48:[12, 2] Operation: 8-6=2
Exploring Operation: 6*8=48, Resulting Numbers: [12, 48]
Generated Node #0,0,1: 48:[12, 48] Operation: 6*8=48
Exploring Operation: 12-6=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 48:[8, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [8, 2]
Generated Node #0,0,3: 48:[8, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[12, 2], Operations: ['50-42=8', '8-6=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[12, 48], Operations: ['50-42=8', '6*8=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,48 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[8, 6], Operations: ['50-42=8', '12-6=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[42, 50, 6, 12], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [6, 12, 8]
Generated Node #0,0: 48:[6, 12, 8] Operation: 50-42=8
Moving to Node #0,0
Current State: 48:[6, 12, 8], Operations: ['50-42=8']
Exploring Operation: 12-6=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 48:[8, 6] Operation: 12-6=6
Moving to Node #0,0,2
Current State: 48:[8, 6], Operations: ['50-42=8', '12-6=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
40,
54,
19,
74
] | 38 | [
"40*19=760",
"74-54=20",
"760/20=38"
] | Current State: 38:[40, 54, 19, 74], Operations: []
Exploring Operation: 40*19=760, Resulting Numbers: [54, 74, 760]
Generated Node #2: [54, 74, 760] from Operation: 40*19=760
Current State: 38:[54, 74, 760], Operations: ['40*19=760']
Exploring Operation: 74-54=20, Resulting Numbers: [760, 20]
Generated Node #3: [760, 20] from Operation: 74-54=20
Current State: 38:[760, 20], Operations: ['40*19=760', '74-54=20']
Exploring Operation: 760/20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[40, 54, 19, 74], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [40, 19, 20]
Generated Node #0,0: 38:[40, 19, 20] Operation: 74-54=20
Exploring Operation: 74-40=34, Resulting Numbers: [54, 19, 34]
Generated Node #0,1: 38:[54, 19, 34] Operation: 74-40=34
Moving to Node #0,0
Current State: 38:[40, 19, 20], Operations: ['74-54=20']
Exploring Operation: 40-20=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 38:[19, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 38:[19, 2] Operation: 40/20=2
Moving to Node #0,1
Current State: 38:[54, 19, 34], Operations: ['74-40=34']
Exploring Operation: 54-34=20, Resulting Numbers: [19, 20]
Generated Node #0,1,0: 38:[19, 20] Operation: 54-34=20
Exploring Operation: 54-19=35, Resulting Numbers: [34, 35]
Generated Node #0,1,1: 38:[34, 35] Operation: 54-19=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[19, 20], Operations: ['74-40=34', '54-34=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[34, 35], Operations: ['74-40=34', '54-19=35']
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,38 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: 38:[19, 2], Operations: ['74-54=20', '40/20=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[40, 54, 19, 74], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [40, 19, 20]
Generated Node #0,0: 38:[40, 19, 20] Operation: 74-54=20
Moving to Node #0,0
Current State: 38:[40, 19, 20], Operations: ['74-54=20']
Exploring Operation: 40/20=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 38:[19, 2] Operation: 40/20=2
Moving to Node #0,0,1
Current State: 38:[19, 2], Operations: ['74-54=20', '40/20=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
35,
78,
61,
23
] | 20 | [
"61-35=26",
"78/26=3",
"23-3=20"
] | Current State: 20:[35, 78, 61, 23], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [78, 23, 26]
Generated Node #2: [78, 23, 26] from Operation: 61-35=26
Current State: 20:[78, 23, 26], Operations: ['61-35=26']
Exploring Operation: 78/26=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 78/26=3
Current State: 20:[23, 3], Operations: ['61-35=26', '78/26=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[35, 78, 61, 23], Operations: []
Exploring Operation: 78-61=17, Resulting Numbers: [35, 23, 17]
Generated Node #0,0: 20:[35, 23, 17] Operation: 78-61=17
Moving to Node #0,0
Current State: 20:[35, 23, 17], Operations: ['78-61=17']
Exploring Operation: 35-23=12, Resulting Numbers: [17, 12]
Generated Node #0,0,0: 20:[17, 12] Operation: 35-23=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[17, 12], Operations: ['78-61=17', '35-23=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
69,
83,
46
] | 52 | [
"69-54=15",
"83-46=37",
"15+37=52"
] | Current State: 52:[54, 69, 83, 46], Operations: []
Exploring Operation: 69-54=15, Resulting Numbers: [83, 46, 15]
Generated Node #2: [83, 46, 15] from Operation: 69-54=15
Current State: 52:[83, 46, 15], Operations: ['69-54=15']
Exploring Operation: 83-46=37, Resulting Numbers: [15, 37]
Generated Node #3: [15, 37] from Operation: 83-46=37
Current State: 52:[15, 37], Operations: ['69-54=15', '83-46=37']
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[54, 69, 83, 46], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [69, 46, 29]
Generated Node #0,0: 52:[69, 46, 29] Operation: 83-54=29
Exploring Operation: 83-69=14, Resulting Numbers: [54, 46, 14]
Generated Node #0,1: 52:[54, 46, 14] Operation: 83-69=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[54, 46, 14], Operations: ['83-69=14']
Exploring Operation: 54-46=8, Resulting Numbers: [14, 8]
Generated Node #0,1,0: 52:[14, 8] Operation: 54-46=8
Exploring Operation: 46-14=32, Resulting Numbers: [54, 32]
Generated Node #0,1,1: 52:[54, 32] Operation: 46-14=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[14, 8], Operations: ['83-69=14', '54-46=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[54, 32], Operations: ['83-69=14', '46-14=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,52 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: 52:[69, 46, 29], Operations: ['83-54=29']
Exploring Operation: 69-46=23, Resulting Numbers: [29, 23]
Generated Node #0,0,0: 52:[29, 23] Operation: 69-46=23
Exploring Operation: 69-29=40, Resulting Numbers: [46, 40]
Generated Node #0,0,1: 52:[46, 40] Operation: 69-29=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[29, 23], Operations: ['83-54=29', '69-46=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[54, 69, 83, 46], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [69, 46, 29]
Generated Node #0,0: 52:[69, 46, 29] Operation: 83-54=29
Moving to Node #0,0
Current State: 52:[69, 46, 29], Operations: ['83-54=29']
Exploring Operation: 69-46=23, Resulting Numbers: [29, 23]
Generated Node #0,0,0: 52:[29, 23] Operation: 69-46=23
Moving to Node #0,0,0
Current State: 52:[29, 23], Operations: ['83-54=29', '69-46=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
55,
40,
16,
42
] | 63 | [
"42-40=2",
"16/2=8",
"55+8=63"
] | Current State: 63:[55, 40, 16, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [55, 16, 2]
Generated Node #2: [55, 16, 2] from Operation: 42-40=2
Current State: 63:[55, 16, 2], Operations: ['42-40=2']
Exploring Operation: 16/2=8, Resulting Numbers: [55, 8]
Generated Node #3: [55, 8] from Operation: 16/2=8
Current State: 63:[55, 8], Operations: ['42-40=2', '16/2=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[55, 40, 16, 42], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [16, 42, 15]
Generated Node #0,0: 63:[16, 42, 15] Operation: 55-40=15
Exploring Operation: 55-42=13, Resulting Numbers: [40, 16, 13]
Generated Node #0,1: 63:[40, 16, 13] Operation: 55-42=13
Exploring Operation: 42-40=2, Resulting Numbers: [55, 16, 2]
Generated Node #0,2: 63:[55, 16, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[55, 16, 2], Operations: ['42-40=2']
Exploring Operation: 55+2=57, Resulting Numbers: [16, 57]
Generated Node #0,2,0: 63:[16, 57] Operation: 55+2=57
Exploring Operation: 16/2=8, Resulting Numbers: [55, 8]
Generated Node #0,2,1: 63:[55, 8] Operation: 16/2=8
Exploring Operation: 55+16=71, Resulting Numbers: [2, 71]
Generated Node #0,2,2: 63:[2, 71] Operation: 55+16=71
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[55, 8], Operations: ['42-40=2', '16/2=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,63 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[55, 40, 16, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [55, 16, 2]
Generated Node #0,2: 63:[55, 16, 2] Operation: 42-40=2
Moving to Node #0,2
Current State: 63:[55, 16, 2], Operations: ['42-40=2']
Exploring Operation: 16/2=8, Resulting Numbers: [55, 8]
Generated Node #0,2,1: 63:[55, 8] Operation: 16/2=8
Moving to Node #0,2,1
Current State: 63:[55, 8], Operations: ['42-40=2', '16/2=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
24,
3,
61,
32
] | 15 | [
"61-24=37",
"37-32=5",
"3*5=15"
] | Current State: 15:[24, 3, 61, 32], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [3, 32, 37]
Generated Node #2: [3, 32, 37] from Operation: 61-24=37
Current State: 15:[3, 32, 37], Operations: ['61-24=37']
Exploring Operation: 37-32=5, Resulting Numbers: [3, 5]
Generated Node #3: [3, 5] from Operation: 37-32=5
Current State: 15:[3, 5], Operations: ['61-24=37', '37-32=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[24, 3, 61, 32], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [3, 32, 37]
Generated Node #0,0: 15:[3, 32, 37] Operation: 61-24=37
Exploring Operation: 61-32=29, Resulting Numbers: [24, 3, 29]
Generated Node #0,1: 15:[24, 3, 29] Operation: 61-32=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[24, 3, 29], Operations: ['61-32=29']
Exploring Operation: 24/3=8, Resulting Numbers: [29, 8]
Generated Node #0,1,0: 15:[29, 8] Operation: 24/3=8
Exploring Operation: 29-24=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 15:[3, 5] Operation: 29-24=5
Moving to Node #0,1,1
Current State: 15:[3, 5], Operations: ['61-32=29', '29-24=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[24, 3, 61, 32], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [24, 3, 29]
Generated Node #0,1: 15:[24, 3, 29] Operation: 61-32=29
Moving to Node #0,1
Current State: 15:[24, 3, 29], Operations: ['61-32=29']
Exploring Operation: 29-24=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 15:[3, 5] Operation: 29-24=5
Moving to Node #0,1,1
Current State: 15:[3, 5], Operations: ['61-32=29', '29-24=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
26,
55,
93,
1
] | 64 | [
"55-26=29",
"93*1=93",
"93-29=64"
] | Current State: 64:[26, 55, 93, 1], Operations: []
Exploring Operation: 55-26=29, Resulting Numbers: [93, 1, 29]
Generated Node #2: [93, 1, 29] from Operation: 55-26=29
Current State: 64:[93, 1, 29], Operations: ['55-26=29']
Exploring Operation: 93*1=93, Resulting Numbers: [29, 93]
Generated Node #3: [29, 93] from Operation: 93*1=93
Current State: 64:[29, 93], Operations: ['55-26=29', '93*1=93']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[26, 55, 93, 1], Operations: []
Exploring Operation: 93-26=67, Resulting Numbers: [55, 1, 67]
Generated Node #0,0: 64:[55, 1, 67] Operation: 93-26=67
Exploring Operation: 93-55=38, Resulting Numbers: [26, 1, 38]
Generated Node #0,1: 64:[26, 1, 38] Operation: 93-55=38
Moving to Node #0,0
Current State: 64:[55, 1, 67], Operations: ['93-26=67']
Exploring Operation: 55+1=56, Resulting Numbers: [67, 56]
Generated Node #0,0,0: 64:[67, 56] Operation: 55+1=56
Exploring Operation: 67-55=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 64:[1, 12] Operation: 67-55=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[1, 12], Operations: ['93-26=67', '67-55=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[67, 56], Operations: ['93-26=67', '55+1=56']
Exploring Operation: 67-56=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 67+56=123, Resulting Numbers: [123]
123,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[26, 1, 38], Operations: ['93-55=38']
Exploring Operation: 26+38=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 64:[1, 64] Operation: 26+38=64
Exploring Operation: 38-26=12, Resulting Numbers: [1, 12]
Generated Node #0,1,1: 64:[1, 12] Operation: 38-26=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[1, 64], Operations: ['93-55=38', '26+38=64']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[26, 55, 93, 1], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [26, 1, 38]
Generated Node #0,1: 64:[26, 1, 38] Operation: 93-55=38
Moving to Node #0,1
Current State: 64:[26, 1, 38], Operations: ['93-55=38']
Exploring Operation: 26+38=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 64:[1, 64] Operation: 26+38=64
Moving to Node #0,1,0
Current State: 64:[1, 64], Operations: ['93-55=38', '26+38=64']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
44,
32,
40,
21
] | 29 | [
"44-40=4",
"32/4=8",
"21+8=29"
] | Current State: 29:[44, 32, 40, 21], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [32, 21, 4]
Generated Node #2: [32, 21, 4] from Operation: 44-40=4
Current State: 29:[32, 21, 4], Operations: ['44-40=4']
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 32/4=8
Current State: 29:[21, 8], Operations: ['44-40=4', '32/4=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[44, 32, 40, 21], Operations: []
Exploring Operation: 44-32=12, Resulting Numbers: [40, 21, 12]
Generated Node #0,0: 29:[40, 21, 12] Operation: 44-32=12
Exploring Operation: 40-32=8, Resulting Numbers: [44, 21, 8]
Generated Node #0,1: 29:[44, 21, 8] Operation: 40-32=8
Exploring Operation: 44-40=4, Resulting Numbers: [32, 21, 4]
Generated Node #0,2: 29:[32, 21, 4] Operation: 44-40=4
Exploring Operation: 44-21=23, Resulting Numbers: [32, 40, 23]
Generated Node #0,3: 29:[32, 40, 23] Operation: 44-21=23
Exploring Operation: 40-21=19, Resulting Numbers: [44, 32, 19]
Generated Node #0,4: 29:[44, 32, 19] Operation: 40-21=19
Moving to Node #0,3
Current State: 29:[32, 40, 23], Operations: ['44-21=23']
Exploring Operation: 32-23=9, Resulting Numbers: [40, 9]
Generated Node #0,3,0: 29:[40, 9] Operation: 32-23=9
Exploring Operation: 40+23=63, Resulting Numbers: [32, 63]
Generated Node #0,3,1: 29:[32, 63] Operation: 40+23=63
Exploring Operation: 40-32=8, Resulting Numbers: [23, 8]
Generated Node #0,3,2: 29:[23, 8] Operation: 40-32=8
Exploring Operation: 40-23=17, Resulting Numbers: [32, 17]
Generated Node #0,3,3: 29:[32, 17] Operation: 40-23=17
Exploring Operation: 32+23=55, Resulting Numbers: [40, 55]
Generated Node #0,3,4: 29:[40, 55] Operation: 32+23=55
Moving to Node #0,4
Current State: 29:[44, 32, 19], Operations: ['40-21=19']
Exploring Operation: 44+19=63, Resulting Numbers: [32, 63]
Generated Node #0,4,0: 29:[32, 63] Operation: 44+19=63
Exploring Operation: 44-19=25, Resulting Numbers: [32, 25]
Generated Node #0,4,1: 29:[32, 25] Operation: 44-19=25
Exploring Operation: 32-19=13, Resulting Numbers: [44, 13]
Generated Node #0,4,2: 29:[44, 13] Operation: 32-19=13
Exploring Operation: 44-32=12, Resulting Numbers: [19, 12]
Generated Node #0,4,3: 29:[19, 12] Operation: 44-32=12
Exploring Operation: 32+19=51, Resulting Numbers: [44, 51]
Generated Node #0,4,4: 29:[44, 51] Operation: 32+19=51
Moving to Node #0,0
Current State: 29:[40, 21, 12], Operations: ['44-32=12']
Exploring Operation: 40-12=28, Resulting Numbers: [21, 28]
Generated Node #0,0,0: 29:[21, 28] Operation: 40-12=28
Exploring Operation: 40+12=52, Resulting Numbers: [21, 52]
Generated Node #0,0,1: 29:[21, 52] Operation: 40+12=52
Exploring Operation: 21+12=33, Resulting Numbers: [40, 33]
Generated Node #0,0,2: 29:[40, 33] Operation: 21+12=33
Exploring Operation: 40-21=19, Resulting Numbers: [12, 19]
Generated Node #0,0,3: 29:[12, 19] Operation: 40-21=19
Exploring Operation: 21-12=9, Resulting Numbers: [40, 9]
Generated Node #0,0,4: 29:[40, 9] Operation: 21-12=9
Moving to Node #0,2
Current State: 29:[32, 21, 4], Operations: ['44-40=4']
Exploring Operation: 32+4=36, Resulting Numbers: [21, 36]
Generated Node #0,2,0: 29:[21, 36] Operation: 32+4=36
Exploring Operation: 21+4=25, Resulting Numbers: [32, 25]
Generated Node #0,2,1: 29:[32, 25] Operation: 21+4=25
Exploring Operation: 21-4=17, Resulting Numbers: [32, 17]
Generated Node #0,2,2: 29:[32, 17] Operation: 21-4=17
Exploring Operation: 32-4=28, Resulting Numbers: [21, 28]
Generated Node #0,2,3: 29:[21, 28] Operation: 32-4=28
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #0,2,4: 29:[21, 8] Operation: 32/4=8
Moving to Node #0,1
Current State: 29:[44, 21, 8], Operations: ['40-32=8']
Exploring Operation: 21-8=13, Resulting Numbers: [44, 13]
Generated Node #0,1,0: 29:[44, 13] Operation: 21-8=13
Exploring Operation: 44+8=52, Resulting Numbers: [21, 52]
Generated Node #0,1,1: 29:[21, 52] Operation: 44+8=52
Exploring Operation: 44-21=23, Resulting Numbers: [8, 23]
Generated Node #0,1,2: 29:[8, 23] Operation: 44-21=23
Exploring Operation: 44-8=36, Resulting Numbers: [21, 36]
Generated Node #0,1,3: 29:[21, 36] Operation: 44-8=36
Exploring Operation: 21+8=29, Resulting Numbers: [44, 29]
Generated Node #0,1,4: 29:[44, 29] Operation: 21+8=29
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[21, 36], Operations: ['40-32=8', '44-8=36']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 29:[44, 29], Operations: ['40-32=8', '21+8=29']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[8, 23], Operations: ['40-32=8', '44-21=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[44, 13], Operations: ['40-32=8', '21-8=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[21, 52], Operations: ['40-32=8', '44+8=52']
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 29:[32, 25], Operations: ['40-21=19', '44-19=25']
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[32, 25], Operations: ['44-40=4', '21+4=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,29 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[21, 28], Operations: ['44-32=12', '40-12=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,29 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[21, 28], Operations: ['44-40=4', '32-4=28']
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[32, 17], Operations: ['44-21=23', '40-23=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[40, 33], Operations: ['44-32=12', '21+12=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[21, 36], Operations: ['44-40=4', '32+4=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[32, 17], Operations: ['44-40=4', '21-4=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,29 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[19, 12], Operations: ['40-21=19', '44-32=12']
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,29 unequal: No Solution
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[12, 19], Operations: ['44-32=12', '40-21=19']
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,29 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[23, 8], Operations: ['44-21=23', '40-32=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,29 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[21, 8], Operations: ['44-40=4', '32/4=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[44, 32, 40, 21], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [32, 21, 4]
Generated Node #0,2: 29:[32, 21, 4] Operation: 44-40=4
Moving to Node #0,2
Current State: 29:[32, 21, 4], Operations: ['44-40=4']
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #0,2,4: 29:[21, 8] Operation: 32/4=8
Moving to Node #0,2,4
Current State: 29:[21, 8], Operations: ['44-40=4', '32/4=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.927083 | hs_5 | mult_heuristic |
[
83,
34,
18,
17
] | 82 | [
"83+34=117",
"18+17=35",
"117-35=82"
] | Current State: 82:[83, 34, 18, 17], Operations: []
Exploring Operation: 83+34=117, Resulting Numbers: [18, 17, 117]
Generated Node #2: [18, 17, 117] from Operation: 83+34=117
Current State: 82:[18, 17, 117], Operations: ['83+34=117']
Exploring Operation: 18+17=35, Resulting Numbers: [117, 35]
Generated Node #3: [117, 35] from Operation: 18+17=35
Current State: 82:[117, 35], Operations: ['83+34=117', '18+17=35']
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[83, 34, 18, 17], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [83, 34, 1]
Generated Node #0,0: 82:[83, 34, 1] Operation: 18-17=1
Exploring Operation: 18+17=35, Resulting Numbers: [83, 34, 35]
Generated Node #0,1: 82:[83, 34, 35] Operation: 18+17=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[83, 34, 1], Operations: ['18-17=1']
Exploring Operation: 34+1=35, Resulting Numbers: [83, 35]
Generated Node #0,0,0: 82:[83, 35] Operation: 34+1=35
Exploring Operation: 83-1=82, Resulting Numbers: [34, 82]
Generated Node #0,0,1: 82:[34, 82] Operation: 83-1=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[83, 35], Operations: ['18-17=1', '34+1=35']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,82 unequal: No Solution
No 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: 82:[34, 82], Operations: ['18-17=1', '83-1=82']
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,82 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,82 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: 82:[83, 34, 35], Operations: ['18+17=35']
Exploring Operation: 83-34=49, Resulting Numbers: [35, 49]
Generated Node #0,1,0: 82:[35, 49] Operation: 83-34=49
Exploring Operation: 35-34=1, Resulting Numbers: [83, 1]
Generated Node #0,1,1: 82:[83, 1] Operation: 35-34=1
Moving to Node #0,1,1
Current State: 82:[83, 1], Operations: ['18+17=35', '35-34=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[83, 34, 18, 17], Operations: []
Exploring Operation: 18+17=35, Resulting Numbers: [83, 34, 35]
Generated Node #0,1: 82:[83, 34, 35] Operation: 18+17=35
Moving to Node #0,1
Current State: 82:[83, 34, 35], Operations: ['18+17=35']
Exploring Operation: 35-34=1, Resulting Numbers: [83, 1]
Generated Node #0,1,1: 82:[83, 1] Operation: 35-34=1
Moving to Node #0,1,1
Current State: 82:[83, 1], Operations: ['18+17=35', '35-34=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
74,
87,
84,
72
] | 81 | [
"74-72=2",
"84*2=168",
"168-87=81"
] | Current State: 81:[74, 87, 84, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [87, 84, 2]
Generated Node #2: [87, 84, 2] from Operation: 74-72=2
Current State: 81:[87, 84, 2], Operations: ['74-72=2']
Exploring Operation: 84*2=168, Resulting Numbers: [87, 168]
Generated Node #3: [87, 168] from Operation: 84*2=168
Current State: 81:[87, 168], Operations: ['74-72=2', '84*2=168']
Exploring Operation: 168-87=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[74, 87, 84, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [87, 84, 2]
Generated Node #0,0: 81:[87, 84, 2] Operation: 74-72=2
Exploring Operation: 87-74=13, Resulting Numbers: [84, 72, 13]
Generated Node #0,1: 81:[84, 72, 13] Operation: 87-74=13
Moving to Node #0,0
Current State: 81:[87, 84, 2], Operations: ['74-72=2']
Exploring Operation: 87-84=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 81:[2, 3] Operation: 87-84=3
Exploring Operation: 87-2=85, Resulting Numbers: [84, 85]
Generated Node #0,0,1: 81:[84, 85] Operation: 87-2=85
Moving to Node #0,1
Current State: 81:[84, 72, 13], Operations: ['87-74=13']
Exploring Operation: 72+13=85, Resulting Numbers: [84, 85]
Generated Node #0,1,0: 81:[84, 85] Operation: 72+13=85
Exploring Operation: 84-72=12, Resulting Numbers: [13, 12]
Generated Node #0,1,1: 81:[13, 12] Operation: 84-72=12
Moving to Node #0,0,0
Current State: 81:[2, 3], Operations: ['74-72=2', '87-84=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[84, 85], Operations: ['87-74=13', '72+13=85']
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[84, 85], Operations: ['74-72=2', '87-2=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[13, 12], Operations: ['87-74=13', '84-72=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
2,
77,
53
] | 87 | [
"77+53=130",
"130/2=65",
"22+65=87"
] | Current State: 87:[22, 2, 77, 53], Operations: []
Exploring Operation: 77+53=130, Resulting Numbers: [22, 2, 130]
Generated Node #2: [22, 2, 130] from Operation: 77+53=130
Current State: 87:[22, 2, 130], Operations: ['77+53=130']
Exploring Operation: 130/2=65, Resulting Numbers: [22, 65]
Generated Node #3: [22, 65] from Operation: 130/2=65
Current State: 87:[22, 65], Operations: ['77+53=130', '130/2=65']
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[22, 2, 77, 53], Operations: []
Exploring Operation: 22+53=75, Resulting Numbers: [2, 77, 75]
Generated Node #0,0: 87:[2, 77, 75] Operation: 22+53=75
Exploring Operation: 53-22=31, Resulting Numbers: [2, 77, 31]
Generated Node #0,1: 87:[2, 77, 31] Operation: 53-22=31
Exploring Operation: 77-53=24, Resulting Numbers: [22, 2, 24]
Generated Node #0,2: 87:[22, 2, 24] Operation: 77-53=24
Exploring Operation: 22+77=99, Resulting Numbers: [2, 53, 99]
Generated Node #0,3: 87:[2, 53, 99] Operation: 22+77=99
Exploring Operation: 2*53=106, Resulting Numbers: [22, 77, 106]
Generated Node #0,4: 87:[22, 77, 106] Operation: 2*53=106
Moving to Node #0,1
Current State: 87:[2, 77, 31], Operations: ['53-22=31']
Exploring Operation: 31-2=29, Resulting Numbers: [77, 29]
Generated Node #0,1,0: 87:[77, 29] Operation: 31-2=29
Exploring Operation: 2+77=79, Resulting Numbers: [31, 79]
Generated Node #0,1,1: 87:[31, 79] Operation: 2+77=79
Exploring Operation: 77-2=75, Resulting Numbers: [31, 75]
Generated Node #0,1,2: 87:[31, 75] Operation: 77-2=75
Exploring Operation: 77-31=46, Resulting Numbers: [2, 46]
Generated Node #0,1,3: 87:[2, 46] Operation: 77-31=46
Exploring Operation: 2+31=33, Resulting Numbers: [77, 33]
Generated Node #0,1,4: 87:[77, 33] Operation: 2+31=33
Moving to Node #0,2
Current State: 87:[22, 2, 24], Operations: ['77-53=24']
Exploring Operation: 22+2=24, Resulting Numbers: [24, 24]
Generated Node #0,2,0: 87:[24, 24] Operation: 22+2=24
Exploring Operation: 2+24=26, Resulting Numbers: [22, 26]
Generated Node #0,2,1: 87:[22, 26] Operation: 2+24=26
Exploring Operation: 22-2=20, Resulting Numbers: [24, 20]
Generated Node #0,2,2: 87:[24, 20] Operation: 22-2=20
Exploring Operation: 24-22=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 87:[2, 2] Operation: 24-22=2
Exploring Operation: 22/2=11, Resulting Numbers: [24, 11]
Generated Node #0,2,4: 87:[24, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[2, 2], Operations: ['77-53=24', '24-22=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[24, 24], Operations: ['77-53=24', '22+2=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,87 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[22, 26], Operations: ['77-53=24', '2+24=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[24, 11], Operations: ['77-53=24', '22/2=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,87 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[24, 20], Operations: ['77-53=24', '22-2=20']
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,87 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,87 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: 87:[2, 77, 75], Operations: ['22+53=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77, 77]
Generated Node #0,0,0: 87:[77, 77] Operation: 2+75=77
Exploring Operation: 75-2=73, Resulting Numbers: [77, 73]
Generated Node #0,0,1: 87:[77, 73] Operation: 75-2=73
Exploring Operation: 77-75=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 87:[2, 2] Operation: 77-75=2
Exploring Operation: 2+77=79, Resulting Numbers: [75, 79]
Generated Node #0,0,3: 87:[75, 79] Operation: 2+77=79
Exploring Operation: 77-2=75, Resulting Numbers: [75, 75]
Generated Node #0,0,4: 87:[75, 75] Operation: 77-2=75
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[2, 2], Operations: ['22+53=75', '77-75=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[77, 77], Operations: ['22+53=75', '2+75=77']
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,87 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 87:[75, 79], Operations: ['22+53=75', '2+77=79']
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,87 unequal: No Solution
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,87 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[77, 73], Operations: ['22+53=75', '75-2=73']
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,87 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 87:[75, 75], Operations: ['22+53=75', '77-2=75']
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,87 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: 87:[22, 77, 106], Operations: ['2*53=106']
Exploring Operation: 22+77=99, Resulting Numbers: [106, 99]
Generated Node #0,4,0: 87:[106, 99] Operation: 22+77=99
Exploring Operation: 106-77=29, Resulting Numbers: [22, 29]
Generated Node #0,4,1: 87:[22, 29] Operation: 106-77=29
Exploring Operation: 106-22=84, Resulting Numbers: [77, 84]
Generated Node #0,4,2: 87:[77, 84] Operation: 106-22=84
Exploring Operation: 22+106=128, Resulting Numbers: [77, 128]
Generated Node #0,4,3: 87:[77, 128] Operation: 22+106=128
Exploring Operation: 77-22=55, Resulting Numbers: [106, 55]
Generated Node #0,4,4: 87:[106, 55] Operation: 77-22=55
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[22, 29], Operations: ['2*53=106', '106-77=29']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,87 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 87:[77, 84], Operations: ['2*53=106', '106-22=84']
Exploring Operation: 77+84=161, Resulting Numbers: [161]
161,87 unequal: No Solution
Exploring Operation: 77*84=6468, Resulting Numbers: [6468]
6468,87 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 87:[106, 99], Operations: ['2*53=106', '22+77=99']
Exploring Operation: 106*99=10494, Resulting Numbers: [10494]
10494,87 unequal: No Solution
Exploring Operation: 106+99=205, Resulting Numbers: [205]
205,87 unequal: No Solution
Exploring Operation: 106-99=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 87:[106, 55], Operations: ['2*53=106', '77-22=55']
Exploring Operation: 106*55=5830, Resulting Numbers: [5830]
5830,87 unequal: No Solution
Exploring Operation: 106+55=161, Resulting Numbers: [161]
161,87 unequal: No Solution
Exploring Operation: 106-55=51, Resulting Numbers: [51]
51,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 87:[77, 128], Operations: ['2*53=106', '22+106=128']
Exploring Operation: 128-77=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 77*128=9856, Resulting Numbers: [9856]
9856,87 unequal: No Solution
Exploring Operation: 77+128=205, Resulting Numbers: [205]
205,87 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: 87:[2, 53, 99], Operations: ['22+77=99']
Exploring Operation: 99-53=46, Resulting Numbers: [2, 46]
Generated Node #0,3,0: 87:[2, 46] Operation: 99-53=46
Exploring Operation: 99-2=97, Resulting Numbers: [53, 97]
Generated Node #0,3,1: 87:[53, 97] Operation: 99-2=97
Exploring Operation: 2+53=55, Resulting Numbers: [99, 55]
Generated Node #0,3,2: 87:[99, 55] Operation: 2+53=55
Exploring Operation: 53-2=51, Resulting Numbers: [99, 51]
Generated Node #0,3,3: 87:[99, 51] Operation: 53-2=51
Exploring Operation: 2*53=106, Resulting Numbers: [99, 106]
Generated Node #0,3,4: 87:[99, 106] Operation: 2*53=106
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[2, 46], Operations: ['22+77=99', '99-53=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 87:[99, 106], Operations: ['22+77=99', '2*53=106']
Exploring Operation: 99+106=205, Resulting Numbers: [205]
205,87 unequal: No Solution
Exploring Operation: 99*106=10494, Resulting Numbers: [10494]
10494,87 unequal: No Solution
Exploring Operation: 106-99=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[53, 97], Operations: ['22+77=99', '99-2=97']
Exploring Operation: 53*97=5141, Resulting Numbers: [5141]
5141,87 unequal: No Solution
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 53+97=150, Resulting Numbers: [150]
150,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[99, 51], Operations: ['22+77=99', '53-2=51']
Exploring Operation: 99+51=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 99*51=5049, Resulting Numbers: [5049]
5049,87 unequal: No Solution
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[99, 55], Operations: ['22+77=99', '2+53=55']
Exploring Operation: 99+55=154, Resulting Numbers: [154]
154,87 unequal: No Solution
Exploring Operation: 99*55=5445, Resulting Numbers: [5445]
5445,87 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,87 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: 87:[77, 29], Operations: ['53-22=31', '31-2=29']
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,87 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[31, 79], Operations: ['53-22=31', '2+77=79']
Exploring Operation: 31+79=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 31*79=2449, Resulting Numbers: [2449]
2449,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[31, 75], Operations: ['53-22=31', '77-2=75']
Exploring Operation: 31*75=2325, Resulting Numbers: [2325]
2325,87 unequal: No Solution
Exploring Operation: 31+75=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[77, 33], Operations: ['53-22=31', '2+31=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,87 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[2, 46], Operations: ['53-22=31', '77-31=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
20,
96,
74,
76
] | 86 | [
"76-74=2",
"20/2=10",
"96-10=86"
] | Current State: 86:[20, 96, 74, 76], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [20, 96, 2]
Generated Node #2: [20, 96, 2] from Operation: 76-74=2
Current State: 86:[20, 96, 2], Operations: ['76-74=2']
Exploring Operation: 20/2=10, Resulting Numbers: [96, 10]
Generated Node #3: [96, 10] from Operation: 20/2=10
Current State: 86:[96, 10], Operations: ['76-74=2', '20/2=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[20, 96, 74, 76], Operations: []
Exploring Operation: 20+74=94, Resulting Numbers: [96, 76, 94]
Generated Node #0,0: 86:[96, 76, 94] Operation: 20+74=94
Exploring Operation: 76-74=2, Resulting Numbers: [20, 96, 2]
Generated Node #0,1: 86:[20, 96, 2] Operation: 76-74=2
Exploring Operation: 74-20=54, Resulting Numbers: [96, 76, 54]
Generated Node #0,2: 86:[96, 76, 54] Operation: 74-20=54
Exploring Operation: 20+76=96, Resulting Numbers: [96, 74, 96]
Generated Node #0,3: 86:[96, 74, 96] Operation: 20+76=96
Exploring Operation: 96-20=76, Resulting Numbers: [74, 76, 76]
Generated Node #0,4: 86:[74, 76, 76] Operation: 96-20=76
Moving to Node #0,0
Current State: 86:[96, 76, 94], Operations: ['20+74=94']
Exploring Operation: 96-76=20, Resulting Numbers: [94, 20]
Generated Node #0,0,0: 86:[94, 20] Operation: 96-76=20
Exploring Operation: 96+76=172, Resulting Numbers: [94, 172]
Generated Node #0,0,1: 86:[94, 172] Operation: 96+76=172
Exploring Operation: 96-94=2, Resulting Numbers: [76, 2]
Generated Node #0,0,2: 86:[76, 2] Operation: 96-94=2
Exploring Operation: 94-76=18, Resulting Numbers: [96, 18]
Generated Node #0,0,3: 86:[96, 18] Operation: 94-76=18
Exploring Operation: 76+94=170, Resulting Numbers: [96, 170]
Generated Node #0,0,4: 86:[96, 170] Operation: 76+94=170
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[76, 2], Operations: ['20+74=94', '96-94=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[94, 20], Operations: ['20+74=94', '96-76=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,86 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[96, 18], Operations: ['20+74=94', '94-76=18']
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,86 unequal: No Solution
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[94, 172], Operations: ['20+74=94', '96+76=172']
Exploring Operation: 94*172=16168, Resulting Numbers: [16168]
16168,86 unequal: No Solution
Exploring Operation: 94+172=266, Resulting Numbers: [266]
266,86 unequal: No Solution
Exploring Operation: 172-94=78, Resulting Numbers: [78]
78,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[96, 170], Operations: ['20+74=94', '76+94=170']
Exploring Operation: 170-96=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 96*170=16320, Resulting Numbers: [16320]
16320,86 unequal: No Solution
Exploring Operation: 96+170=266, Resulting Numbers: [266]
266,86 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: 86:[20, 96, 2], Operations: ['76-74=2']
Exploring Operation: 20*2=40, Resulting Numbers: [96, 40]
Generated Node #0,1,0: 86:[96, 40] Operation: 20*2=40
Exploring Operation: 96/2=48, Resulting Numbers: [20, 48]
Generated Node #0,1,1: 86:[20, 48] Operation: 96/2=48
Exploring Operation: 20-2=18, Resulting Numbers: [96, 18]
Generated Node #0,1,2: 86:[96, 18] Operation: 20-2=18
Exploring Operation: 96-20=76, Resulting Numbers: [2, 76]
Generated Node #0,1,3: 86:[2, 76] Operation: 96-20=76
Exploring Operation: 20/2=10, Resulting Numbers: [96, 10]
Generated Node #0,1,4: 86:[96, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[2, 76], Operations: ['76-74=2', '96-20=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[96, 40], Operations: ['76-74=2', '20*2=40']
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,86 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[96, 10], Operations: ['76-74=2', '20/2=10']
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[20, 96, 74, 76], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [20, 96, 2]
Generated Node #0,1: 86:[20, 96, 2] Operation: 76-74=2
Moving to Node #0,1
Current State: 86:[20, 96, 2], Operations: ['76-74=2']
Exploring Operation: 20/2=10, Resulting Numbers: [96, 10]
Generated Node #0,1,4: 86:[96, 10] Operation: 20/2=10
Moving to Node #0,1,4
Current State: 86:[96, 10], Operations: ['76-74=2', '20/2=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
2,
35,
54,
48
] | 69 | [
"35-2=33",
"54+48=102",
"102-33=69"
] | Current State: 69:[2, 35, 54, 48], Operations: []
Exploring Operation: 35-2=33, Resulting Numbers: [54, 48, 33]
Generated Node #2: [54, 48, 33] from Operation: 35-2=33
Current State: 69:[54, 48, 33], Operations: ['35-2=33']
Exploring Operation: 54+48=102, Resulting Numbers: [33, 102]
Generated Node #3: [33, 102] from Operation: 54+48=102
Current State: 69:[33, 102], Operations: ['35-2=33', '54+48=102']
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 35, 54, 48], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [2, 35, 6]
Generated Node #0,0: 69:[2, 35, 6] Operation: 54-48=6
Exploring Operation: 54-35=19, Resulting Numbers: [2, 48, 19]
Generated Node #0,1: 69:[2, 48, 19] Operation: 54-35=19
Exploring Operation: 48-35=13, Resulting Numbers: [2, 54, 13]
Generated Node #0,2: 69:[2, 54, 13] Operation: 48-35=13
Exploring Operation: 48/2=24, Resulting Numbers: [35, 54, 24]
Generated Node #0,3: 69:[35, 54, 24] Operation: 48/2=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 35, 6], Operations: ['54-48=6']
Exploring Operation: 35-2=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 69:[6, 33] Operation: 35-2=33
Exploring Operation: 35-6=29, Resulting Numbers: [2, 29]
Generated Node #0,0,1: 69:[2, 29] Operation: 35-6=29
Exploring Operation: 2*35=70, Resulting Numbers: [6, 70]
Generated Node #0,0,2: 69:[6, 70] Operation: 2*35=70
Exploring Operation: 6/2=3, Resulting Numbers: [35, 3]
Generated Node #0,0,3: 69:[35, 3] Operation: 6/2=3
Moving to Node #0,0,2
Current State: 69:[6, 70], Operations: ['54-48=6', '2*35=70']
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,69 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[2, 29], Operations: ['54-48=6', '35-6=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[35, 3], Operations: ['54-48=6', '6/2=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[6, 33], Operations: ['54-48=6', '35-2=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,69 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[2, 48, 19], Operations: ['54-35=19']
Exploring Operation: 48-19=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 69:[2, 29] Operation: 48-19=29
Exploring Operation: 48/2=24, Resulting Numbers: [19, 24]
Generated Node #0,1,1: 69:[19, 24] Operation: 48/2=24
Exploring Operation: 2+48=50, Resulting Numbers: [19, 50]
Generated Node #0,1,2: 69:[19, 50] Operation: 2+48=50
Exploring Operation: 48+19=67, Resulting Numbers: [2, 67]
Generated Node #0,1,3: 69:[2, 67] Operation: 48+19=67
Moving to Node #0,1,3
Current State: 69:[2, 67], Operations: ['54-35=19', '48+19=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[2, 35, 54, 48], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [2, 48, 19]
Generated Node #0,1: 69:[2, 48, 19] Operation: 54-35=19
Moving to Node #0,1
Current State: 69:[2, 48, 19], Operations: ['54-35=19']
Exploring Operation: 48+19=67, Resulting Numbers: [2, 67]
Generated Node #0,1,3: 69:[2, 67] Operation: 48+19=67
Moving to Node #0,1,3
Current State: 69:[2, 67], Operations: ['54-35=19', '48+19=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
85,
40,
65,
99
] | 35 | [
"85*40=3400",
"65+3400=3465",
"3465/99=35"
] | Current State: 35:[85, 40, 65, 99], Operations: []
Exploring Operation: 85*40=3400, Resulting Numbers: [65, 99, 3400]
Generated Node #2: [65, 99, 3400] from Operation: 85*40=3400
Current State: 35:[65, 99, 3400], Operations: ['85*40=3400']
Exploring Operation: 65+3400=3465, Resulting Numbers: [99, 3465]
Generated Node #3: [99, 3465] from Operation: 65+3400=3465
Current State: 35:[99, 3465], Operations: ['85*40=3400', '65+3400=3465']
Exploring Operation: 3465/99=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[85, 40, 65, 99], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [40, 65, 14]
Generated Node #0,0: 35:[40, 65, 14] Operation: 99-85=14
Exploring Operation: 99-65=34, Resulting Numbers: [85, 40, 34]
Generated Node #0,1: 35:[85, 40, 34] Operation: 99-65=34
Moving to Node #0,0
Current State: 35:[40, 65, 14], Operations: ['99-85=14']
Exploring Operation: 65-40=25, Resulting Numbers: [14, 25]
Generated Node #0,0,0: 35:[14, 25] Operation: 65-40=25
Exploring Operation: 65-14=51, Resulting Numbers: [40, 51]
Generated Node #0,0,1: 35:[40, 51] Operation: 65-14=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[14, 25], Operations: ['99-85=14', '65-40=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No 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: 35:[40, 51], Operations: ['99-85=14', '65-14=51']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,35 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: 35:[85, 40, 34], Operations: ['99-65=34']
Exploring Operation: 85-34=51, Resulting Numbers: [40, 51]
Generated Node #0,1,0: 35:[40, 51] Operation: 85-34=51
Exploring Operation: 85-40=45, Resulting Numbers: [34, 45]
Generated Node #0,1,1: 35:[34, 45] Operation: 85-40=45
Moving to Node #0,1,1
Current State: 35:[34, 45], Operations: ['99-65=34', '85-40=45']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[40, 51], Operations: ['99-65=34', '85-34=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
57,
76,
97
] | 74 | [
"57-4=53",
"97-76=21",
"53+21=74"
] | Current State: 74:[4, 57, 76, 97], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [76, 97, 53]
Generated Node #2: [76, 97, 53] from Operation: 57-4=53
Current State: 74:[76, 97, 53], Operations: ['57-4=53']
Exploring Operation: 97-76=21, Resulting Numbers: [53, 21]
Generated Node #3: [53, 21] from Operation: 97-76=21
Current State: 74:[53, 21], Operations: ['57-4=53', '97-76=21']
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[4, 57, 76, 97], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [4, 76, 40]
Generated Node #0,0: 74:[4, 76, 40] Operation: 97-57=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[4, 76, 40], Operations: ['97-57=40']
Exploring Operation: 40-4=36, Resulting Numbers: [76, 36]
Generated Node #0,0,0: 74:[76, 36] Operation: 40-4=36
Moving to Node #0,0,0
Current State: 74:[76, 36], Operations: ['97-57=40', '40-4=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
16,
41,
56,
34
] | 35 | [
"16+41=57",
"56-34=22",
"57-22=35"
] | Current State: 35:[16, 41, 56, 34], Operations: []
Exploring Operation: 16+41=57, Resulting Numbers: [56, 34, 57]
Generated Node #2: [56, 34, 57] from Operation: 16+41=57
Current State: 35:[56, 34, 57], Operations: ['16+41=57']
Exploring Operation: 56-34=22, Resulting Numbers: [57, 22]
Generated Node #3: [57, 22] from Operation: 56-34=22
Current State: 35:[57, 22], Operations: ['16+41=57', '56-34=22']
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[16, 41, 56, 34], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [41, 34, 40]
Generated Node #0,0: 35:[41, 34, 40] Operation: 56-16=40
Moving to Node #0,0
Current State: 35:[41, 34, 40], Operations: ['56-16=40']
Exploring Operation: 41-34=7, Resulting Numbers: [40, 7]
Generated Node #0,0,0: 35:[40, 7] Operation: 41-34=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[40, 7], Operations: ['56-16=40', '41-34=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
68,
67,
24
] | 15 | [
"8+68=76",
"67+24=91",
"91-76=15"
] | Current State: 15:[8, 68, 67, 24], Operations: []
Exploring Operation: 8+68=76, Resulting Numbers: [67, 24, 76]
Generated Node #2: [67, 24, 76] from Operation: 8+68=76
Current State: 15:[67, 24, 76], Operations: ['8+68=76']
Exploring Operation: 67+24=91, Resulting Numbers: [76, 91]
Generated Node #3: [76, 91] from Operation: 67+24=91
Current State: 15:[76, 91], Operations: ['8+68=76', '67+24=91']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[8, 68, 67, 24], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [8, 24, 1]
Generated Node #0,0: 15:[8, 24, 1] Operation: 68-67=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[8, 24, 1], Operations: ['68-67=1']
Exploring Operation: 24/8=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 15:[1, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 15:[1, 3], Operations: ['68-67=1', '24/8=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
88,
56,
7
] | 10 | [
"88*7=616",
"616/56=11",
"21-11=10"
] | Current State: 10:[21, 88, 56, 7], Operations: []
Exploring Operation: 88*7=616, Resulting Numbers: [21, 56, 616]
Generated Node #2: [21, 56, 616] from Operation: 88*7=616
Current State: 10:[21, 56, 616], Operations: ['88*7=616']
Exploring Operation: 616/56=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 616/56=11
Current State: 10:[21, 11], Operations: ['88*7=616', '616/56=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[21, 88, 56, 7], Operations: []
Exploring Operation: 88-56=32, Resulting Numbers: [21, 7, 32]
Generated Node #0,0: 10:[21, 7, 32] Operation: 88-56=32
Moving to Node #0,0
Current State: 10:[21, 7, 32], Operations: ['88-56=32']
Exploring Operation: 32-21=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 10:[7, 11] Operation: 32-21=11
Moving to Node #0,0,0
Current State: 10:[7, 11], Operations: ['88-56=32', '32-21=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
9,
36,
31
] | 92 | [
"65+31=96",
"36/9=4",
"96-4=92"
] | Current State: 92:[65, 9, 36, 31], Operations: []
Exploring Operation: 65+31=96, Resulting Numbers: [9, 36, 96]
Generated Node #2: [9, 36, 96] from Operation: 65+31=96
Current State: 92:[9, 36, 96], Operations: ['65+31=96']
Exploring Operation: 36/9=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 36/9=4
Current State: 92:[96, 4], Operations: ['65+31=96', '36/9=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[65, 9, 36, 31], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [9, 31, 29]
Generated Node #0,0: 92:[9, 31, 29] Operation: 65-36=29
Exploring Operation: 65+31=96, Resulting Numbers: [9, 36, 96]
Generated Node #0,1: 92:[9, 36, 96] Operation: 65+31=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[9, 31, 29], Operations: ['65-36=29']
Exploring Operation: 31-9=22, Resulting Numbers: [29, 22]
Generated Node #0,0,0: 92:[29, 22] Operation: 31-9=22
Exploring Operation: 31-29=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 92:[9, 2] Operation: 31-29=2
Moving to Node #0,0,1
Current State: 92:[9, 2], Operations: ['65-36=29', '31-29=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[29, 22], Operations: ['65-36=29', '31-9=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[9, 36, 96], Operations: ['65+31=96']
Exploring Operation: 36/9=4, Resulting Numbers: [96, 4]
Generated Node #0,1,0: 92:[96, 4] Operation: 36/9=4
Exploring Operation: 9+36=45, Resulting Numbers: [96, 45]
Generated Node #0,1,1: 92:[96, 45] Operation: 9+36=45
Moving to Node #0,1,0
Current State: 92:[96, 4], Operations: ['65+31=96', '36/9=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[65, 9, 36, 31], Operations: []
Exploring Operation: 65+31=96, Resulting Numbers: [9, 36, 96]
Generated Node #0,1: 92:[9, 36, 96] Operation: 65+31=96
Moving to Node #0,1
Current State: 92:[9, 36, 96], Operations: ['65+31=96']
Exploring Operation: 36/9=4, Resulting Numbers: [96, 4]
Generated Node #0,1,0: 92:[96, 4] Operation: 36/9=4
Moving to Node #0,1,0
Current State: 92:[96, 4], Operations: ['65+31=96', '36/9=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
23,
61,
36,
5
] | 28 | [
"61-36=25",
"25/5=5",
"23+5=28"
] | Current State: 28:[23, 61, 36, 5], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [23, 5, 25]
Generated Node #2: [23, 5, 25] from Operation: 61-36=25
Current State: 28:[23, 5, 25], Operations: ['61-36=25']
Exploring Operation: 25/5=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 25/5=5
Current State: 28:[23, 5], Operations: ['61-36=25', '25/5=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[23, 61, 36, 5], Operations: []
Exploring Operation: 23+5=28, Resulting Numbers: [61, 36, 28]
Generated Node #0,0: 28:[61, 36, 28] Operation: 23+5=28
Exploring Operation: 36-23=13, Resulting Numbers: [61, 5, 13]
Generated Node #0,1: 28:[61, 5, 13] Operation: 36-23=13
Exploring Operation: 61-23=38, Resulting Numbers: [36, 5, 38]
Generated Node #0,2: 28:[36, 5, 38] Operation: 61-23=38
Exploring Operation: 61-5=56, Resulting Numbers: [23, 36, 56]
Generated Node #0,3: 28:[23, 36, 56] Operation: 61-5=56
Exploring Operation: 61-36=25, Resulting Numbers: [23, 5, 25]
Generated Node #0,4: 28:[23, 5, 25] Operation: 61-36=25
Moving to Node #0,4
Current State: 28:[23, 5, 25], Operations: ['61-36=25']
Exploring Operation: 25/5=5, Resulting Numbers: [23, 5]
Generated Node #0,4,0: 28:[23, 5] Operation: 25/5=5
Exploring Operation: 25-23=2, Resulting Numbers: [5, 2]
Generated Node #0,4,1: 28:[5, 2] Operation: 25-23=2
Exploring Operation: 23+5=28, Resulting Numbers: [25, 28]
Generated Node #0,4,2: 28:[25, 28] Operation: 23+5=28
Exploring Operation: 5+25=30, Resulting Numbers: [23, 30]
Generated Node #0,4,3: 28:[23, 30] Operation: 5+25=30
Exploring Operation: 23-5=18, Resulting Numbers: [25, 18]
Generated Node #0,4,4: 28:[25, 18] Operation: 23-5=18
Moving to Node #0,2
Current State: 28:[36, 5, 38], Operations: ['61-23=38']
Exploring Operation: 38-5=33, Resulting Numbers: [36, 33]
Generated Node #0,2,0: 28:[36, 33] Operation: 38-5=33
Exploring Operation: 5+38=43, Resulting Numbers: [36, 43]
Generated Node #0,2,1: 28:[36, 43] Operation: 5+38=43
Exploring Operation: 38-36=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 28:[5, 2] Operation: 38-36=2
Exploring Operation: 36+5=41, Resulting Numbers: [38, 41]
Generated Node #0,2,3: 28:[38, 41] Operation: 36+5=41
Exploring Operation: 36-5=31, Resulting Numbers: [38, 31]
Generated Node #0,2,4: 28:[38, 31] Operation: 36-5=31
Moving to Node #0,1
Current State: 28:[61, 5, 13], Operations: ['36-23=13']
Exploring Operation: 61-13=48, Resulting Numbers: [5, 48]
Generated Node #0,1,0: 28:[5, 48] Operation: 61-13=48
Exploring Operation: 61+5=66, Resulting Numbers: [13, 66]
Generated Node #0,1,1: 28:[13, 66] Operation: 61+5=66
Exploring Operation: 5+13=18, Resulting Numbers: [61, 18]
Generated Node #0,1,2: 28:[61, 18] Operation: 5+13=18
Exploring Operation: 61-5=56, Resulting Numbers: [13, 56]
Generated Node #0,1,3: 28:[13, 56] Operation: 61-5=56
Exploring Operation: 13-5=8, Resulting Numbers: [61, 8]
Generated Node #0,1,4: 28:[61, 8] Operation: 13-5=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[5, 48], Operations: ['36-23=13', '61-13=48']
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,28 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[13, 56], Operations: ['36-23=13', '61-5=56']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[61, 8], Operations: ['36-23=13', '13-5=8']
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[61, 18], Operations: ['36-23=13', '5+13=18']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[13, 66], Operations: ['36-23=13', '61+5=66']
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,28 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[61, 36, 28], Operations: ['23+5=28']
Exploring Operation: 61-36=25, Resulting Numbers: [28, 25]
Generated Node #0,0,0: 28:[28, 25] Operation: 61-36=25
Exploring Operation: 61+28=89, Resulting Numbers: [36, 89]
Generated Node #0,0,1: 28:[36, 89] Operation: 61+28=89
Exploring Operation: 36-28=8, Resulting Numbers: [61, 8]
Generated Node #0,0,2: 28:[61, 8] Operation: 36-28=8
Exploring Operation: 61+36=97, Resulting Numbers: [28, 97]
Generated Node #0,0,3: 28:[28, 97] Operation: 61+36=97
Exploring Operation: 61-28=33, Resulting Numbers: [36, 33]
Generated Node #0,0,4: 28:[36, 33] Operation: 61-28=33
Moving to Node #0,3
Current State: 28:[23, 36, 56], Operations: ['61-5=56']
Exploring Operation: 23+56=79, Resulting Numbers: [36, 79]
Generated Node #0,3,0: 28:[36, 79] Operation: 23+56=79
Exploring Operation: 23+36=59, Resulting Numbers: [56, 59]
Generated Node #0,3,1: 28:[56, 59] Operation: 23+36=59
Exploring Operation: 56-36=20, Resulting Numbers: [23, 20]
Generated Node #0,3,2: 28:[23, 20] Operation: 56-36=20
Exploring Operation: 56-23=33, Resulting Numbers: [36, 33]
Generated Node #0,3,3: 28:[36, 33] Operation: 56-23=33
Exploring Operation: 36-23=13, Resulting Numbers: [56, 13]
Generated Node #0,3,4: 28:[56, 13] Operation: 36-23=13
Moving to Node #0,4,1
Current State: 28:[5, 2], Operations: ['61-36=25', '25-23=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[5, 2], Operations: ['61-23=38', '38-36=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[25, 28], Operations: ['61-36=25', '23+5=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,28 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[28, 25], Operations: ['23+5=28', '61-36=25']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,28 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[23, 5], Operations: ['61-36=25', '25/5=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[23, 61, 36, 5], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [23, 5, 25]
Generated Node #0,4: 28:[23, 5, 25] Operation: 61-36=25
Moving to Node #0,4
Current State: 28:[23, 5, 25], Operations: ['61-36=25']
Exploring Operation: 25/5=5, Resulting Numbers: [23, 5]
Generated Node #0,4,0: 28:[23, 5] Operation: 25/5=5
Moving to Node #0,4,0
Current State: 28:[23, 5], Operations: ['61-36=25', '25/5=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.944444 | hs_5 | mult_heuristic |
[
39,
2,
7,
84
] | 45 | [
"2*7=14",
"84/14=6",
"39+6=45"
] | Current State: 45:[39, 2, 7, 84], Operations: []
Exploring Operation: 2*7=14, Resulting Numbers: [39, 84, 14]
Generated Node #2: [39, 84, 14] from Operation: 2*7=14
Current State: 45:[39, 84, 14], Operations: ['2*7=14']
Exploring Operation: 84/14=6, Resulting Numbers: [39, 6]
Generated Node #3: [39, 6] from Operation: 84/14=6
Current State: 45:[39, 6], Operations: ['2*7=14', '84/14=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[39, 2, 7, 84], Operations: []
Exploring Operation: 84-7=77, Resulting Numbers: [39, 2, 77]
Generated Node #0,0: 45:[39, 2, 77] Operation: 84-7=77
Exploring Operation: 84-39=45, Resulting Numbers: [2, 7, 45]
Generated Node #0,1: 45:[2, 7, 45] Operation: 84-39=45
Exploring Operation: 84/2=42, Resulting Numbers: [39, 7, 42]
Generated Node #0,2: 45:[39, 7, 42] Operation: 84/2=42
Exploring Operation: 84/7=12, Resulting Numbers: [39, 2, 12]
Generated Node #0,3: 45:[39, 2, 12] Operation: 84/7=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[2, 7, 45], Operations: ['84-39=45']
Exploring Operation: 2+45=47, Resulting Numbers: [7, 47]
Generated Node #0,1,0: 45:[7, 47] Operation: 2+45=47
Exploring Operation: 2+7=9, Resulting Numbers: [45, 9]
Generated Node #0,1,1: 45:[45, 9] Operation: 2+7=9
Exploring Operation: 2*7=14, Resulting Numbers: [45, 14]
Generated Node #0,1,2: 45:[45, 14] Operation: 2*7=14
Exploring Operation: 7-2=5, Resulting Numbers: [45, 5]
Generated Node #0,1,3: 45:[45, 5] Operation: 7-2=5
Moving to Node #0,1,1
Current State: 45:[45, 9], Operations: ['84-39=45', '2+7=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[45, 5], Operations: ['84-39=45', '7-2=5']
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,45 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[45, 14], Operations: ['84-39=45', '2*7=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,45 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[7, 47], Operations: ['84-39=45', '2+45=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,45 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,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
Current State: 45:[39, 2, 12], Operations: ['84/7=12']
Exploring Operation: 12-2=10, Resulting Numbers: [39, 10]
Generated Node #0,3,0: 45:[39, 10] Operation: 12-2=10
Exploring Operation: 39+12=51, Resulting Numbers: [2, 51]
Generated Node #0,3,1: 45:[2, 51] Operation: 39+12=51
Exploring Operation: 39+2=41, Resulting Numbers: [12, 41]
Generated Node #0,3,2: 45:[12, 41] Operation: 39+2=41
Exploring Operation: 2+12=14, Resulting Numbers: [39, 14]
Generated Node #0,3,3: 45:[39, 14] Operation: 2+12=14
Moving to Node #0,3,0
Current State: 45:[39, 10], Operations: ['84/7=12', '12-2=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[12, 41], Operations: ['84/7=12', '39+2=41']
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[2, 51], Operations: ['84/7=12', '39+12=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[39, 14], Operations: ['84/7=12', '2+12=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,45 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,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
Current State: 45:[39, 7, 42], Operations: ['84/2=42']
Exploring Operation: 42-39=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 45:[7, 3] Operation: 42-39=3
Exploring Operation: 42/7=6, Resulting Numbers: [39, 6]
Generated Node #0,2,1: 45:[39, 6] Operation: 42/7=6
Exploring Operation: 39+7=46, Resulting Numbers: [42, 46]
Generated Node #0,2,2: 45:[42, 46] Operation: 39+7=46
Exploring Operation: 7+42=49, Resulting Numbers: [39, 49]
Generated Node #0,2,3: 45:[39, 49] Operation: 7+42=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[7, 3], Operations: ['84/2=42', '42-39=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[42, 46], Operations: ['84/2=42', '39+7=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[39, 6], Operations: ['84/2=42', '42/7=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,45 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[39, 2, 7, 84], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [39, 7, 42]
Generated Node #0,2: 45:[39, 7, 42] Operation: 84/2=42
Moving to Node #0,2
Current State: 45:[39, 7, 42], Operations: ['84/2=42']
Exploring Operation: 42/7=6, Resulting Numbers: [39, 6]
Generated Node #0,2,1: 45:[39, 6] Operation: 42/7=6
Moving to Node #0,2,1
Current State: 45:[39, 6], Operations: ['84/2=42', '42/7=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_4 | sum_heuristic |
[
15,
57,
69,
66
] | 14 | [
"15*57=855",
"69+855=924",
"924/66=14"
] | Current State: 14:[15, 57, 69, 66], Operations: []
Exploring Operation: 15*57=855, Resulting Numbers: [69, 66, 855]
Generated Node #2: [69, 66, 855] from Operation: 15*57=855
Current State: 14:[69, 66, 855], Operations: ['15*57=855']
Exploring Operation: 69+855=924, Resulting Numbers: [66, 924]
Generated Node #3: [66, 924] from Operation: 69+855=924
Current State: 14:[66, 924], Operations: ['15*57=855', '69+855=924']
Exploring Operation: 924/66=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[15, 57, 69, 66], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [15, 66, 12]
Generated Node #0,0: 14:[15, 66, 12] Operation: 69-57=12
Exploring Operation: 69-66=3, Resulting Numbers: [15, 57, 3]
Generated Node #0,1: 14:[15, 57, 3] Operation: 69-66=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[15, 57, 3], Operations: ['69-66=3']
Exploring Operation: 57-15=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 14:[3, 42] Operation: 57-15=42
Exploring Operation: 57/3=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 14:[15, 19] Operation: 57/3=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[15, 19], Operations: ['69-66=3', '57/3=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No 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: 14:[3, 42], Operations: ['69-66=3', '57-15=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[15, 57, 69, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [15, 57, 3]
Generated Node #0,1: 14:[15, 57, 3] Operation: 69-66=3
Moving to Node #0,1
Current State: 14:[15, 57, 3], Operations: ['69-66=3']
Exploring Operation: 57-15=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 14:[3, 42] Operation: 57-15=42
Moving to Node #0,1,0
Current State: 14:[3, 42], Operations: ['69-66=3', '57-15=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
18,
44,
78,
17
] | 42 | [
"18*44=792",
"792-78=714",
"714/17=42"
] | Current State: 42:[18, 44, 78, 17], Operations: []
Exploring Operation: 18*44=792, Resulting Numbers: [78, 17, 792]
Generated Node #2: [78, 17, 792] from Operation: 18*44=792
Current State: 42:[78, 17, 792], Operations: ['18*44=792']
Exploring Operation: 792-78=714, Resulting Numbers: [17, 714]
Generated Node #3: [17, 714] from Operation: 792-78=714
Current State: 42:[17, 714], Operations: ['18*44=792', '792-78=714']
Exploring Operation: 714/17=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[18, 44, 78, 17], Operations: []
Exploring Operation: 78-44=34, Resulting Numbers: [18, 17, 34]
Generated Node #0,0: 42:[18, 17, 34] Operation: 78-44=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[18, 17, 34], Operations: ['78-44=34']
Exploring Operation: 34/17=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 42:[18, 2] Operation: 34/17=2
Moving to Node #0,0,0
Current State: 42:[18, 2], Operations: ['78-44=34', '34/17=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
29,
19,
20
] | 28 | [
"29*19=551",
"9+551=560",
"560/20=28"
] | Current State: 28:[9, 29, 19, 20], Operations: []
Exploring Operation: 29*19=551, Resulting Numbers: [9, 20, 551]
Generated Node #2: [9, 20, 551] from Operation: 29*19=551
Current State: 28:[9, 20, 551], Operations: ['29*19=551']
Exploring Operation: 9+551=560, Resulting Numbers: [20, 560]
Generated Node #3: [20, 560] from Operation: 9+551=560
Current State: 28:[20, 560], Operations: ['29*19=551', '9+551=560']
Exploring Operation: 560/20=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[9, 29, 19, 20], Operations: []
Exploring Operation: 20-19=1, Resulting Numbers: [9, 29, 1]
Generated Node #0,0: 28:[9, 29, 1] Operation: 20-19=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[9, 29, 1], Operations: ['20-19=1']
Exploring Operation: 9-1=8, Resulting Numbers: [29, 8]
Generated Node #0,0,0: 28:[29, 8] Operation: 9-1=8
Moving to Node #0,0,0
Current State: 28:[29, 8], Operations: ['20-19=1', '9-1=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
12,
86,
40
] | 18 | [
"86-26=60",
"12*60=720",
"720/40=18"
] | Current State: 18:[26, 12, 86, 40], Operations: []
Exploring Operation: 86-26=60, Resulting Numbers: [12, 40, 60]
Generated Node #2: [12, 40, 60] from Operation: 86-26=60
Current State: 18:[12, 40, 60], Operations: ['86-26=60']
Exploring Operation: 12*60=720, Resulting Numbers: [40, 720]
Generated Node #3: [40, 720] from Operation: 12*60=720
Current State: 18:[40, 720], Operations: ['86-26=60', '12*60=720']
Exploring Operation: 720/40=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[26, 12, 86, 40], Operations: []
Exploring Operation: 86-26=60, Resulting Numbers: [12, 40, 60]
Generated Node #0,0: 18:[12, 40, 60] Operation: 86-26=60
Exploring Operation: 86-12=74, Resulting Numbers: [26, 40, 74]
Generated Node #0,1: 18:[26, 40, 74] Operation: 86-12=74
Exploring Operation: 40-12=28, Resulting Numbers: [26, 86, 28]
Generated Node #0,2: 18:[26, 86, 28] Operation: 40-12=28
Exploring Operation: 86-40=46, Resulting Numbers: [26, 12, 46]
Generated Node #0,3: 18:[26, 12, 46] Operation: 86-40=46
Exploring Operation: 40-26=14, Resulting Numbers: [12, 86, 14]
Generated Node #0,4: 18:[12, 86, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[26, 12, 46], Operations: ['86-40=46']
Exploring Operation: 46-26=20, Resulting Numbers: [12, 20]
Generated Node #0,3,0: 18:[12, 20] Operation: 46-26=20
Exploring Operation: 26-12=14, Resulting Numbers: [46, 14]
Generated Node #0,3,1: 18:[46, 14] Operation: 26-12=14
Exploring Operation: 12+46=58, Resulting Numbers: [26, 58]
Generated Node #0,3,2: 18:[26, 58] Operation: 12+46=58
Exploring Operation: 46-12=34, Resulting Numbers: [26, 34]
Generated Node #0,3,3: 18:[26, 34] Operation: 46-12=34
Exploring Operation: 26+12=38, Resulting Numbers: [46, 38]
Generated Node #0,3,4: 18:[46, 38] Operation: 26+12=38
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[12, 20], Operations: ['86-40=46', '46-26=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[26, 34], Operations: ['86-40=46', '46-12=34']
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,18 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[46, 14], Operations: ['86-40=46', '26-12=14']
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,18 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[26, 58], Operations: ['86-40=46', '12+46=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,18 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 18:[46, 38], Operations: ['86-40=46', '26+12=38']
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,18 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[12, 40, 60], Operations: ['86-26=60']
Exploring Operation: 40-12=28, Resulting Numbers: [60, 28]
Generated Node #0,0,0: 18:[60, 28] Operation: 40-12=28
Exploring Operation: 60-40=20, Resulting Numbers: [12, 20]
Generated Node #0,0,1: 18:[12, 20] Operation: 60-40=20
Exploring Operation: 60/12=5, Resulting Numbers: [40, 5]
Generated Node #0,0,2: 18:[40, 5] Operation: 60/12=5
Exploring Operation: 60-12=48, Resulting Numbers: [40, 48]
Generated Node #0,0,3: 18:[40, 48] Operation: 60-12=48
Exploring Operation: 12+40=52, Resulting Numbers: [60, 52]
Generated Node #0,0,4: 18:[60, 52] Operation: 12+40=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[12, 20], Operations: ['86-26=60', '60-40=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 20-12=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,2
Current State: 18:[40, 5], Operations: ['86-26=60', '60/12=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,18 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[60, 28], Operations: ['86-26=60', '40-12=28']
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,18 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[40, 48], Operations: ['86-26=60', '60-12=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,18 unequal: No Solution
Exploring Operation: 48-40=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,4
Current State: 18:[60, 52], Operations: ['86-26=60', '12+40=52']
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,18 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[12, 86, 14], Operations: ['40-26=14']
Exploring Operation: 86-12=74, Resulting Numbers: [14, 74]
Generated Node #0,4,0: 18:[14, 74] Operation: 86-12=74
Exploring Operation: 86-14=72, Resulting Numbers: [12, 72]
Generated Node #0,4,1: 18:[12, 72] Operation: 86-14=72
Exploring Operation: 12+14=26, Resulting Numbers: [86, 26]
Generated Node #0,4,2: 18:[86, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [86, 2]
Generated Node #0,4,3: 18:[86, 2] Operation: 14-12=2
Exploring Operation: 12+86=98, Resulting Numbers: [14, 98]
Generated Node #0,4,4: 18:[14, 98] Operation: 12+86=98
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 18:[12, 72], Operations: ['40-26=14', '86-14=72']
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,18 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,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,4,0
Current State: 18:[14, 74], Operations: ['40-26=14', '86-12=74']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 14*74=1036, Resulting Numbers: [1036]
1036,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,4,3
Current State: 18:[86, 2], Operations: ['40-26=14', '14-12=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,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,4,2
Current State: 18:[86, 26], Operations: ['40-26=14', '12+14=26']
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,18 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,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,4,4
Current State: 18:[14, 98], Operations: ['40-26=14', '12+86=98']
Exploring Operation: 14+98=112, Resulting Numbers: [112]
112,18 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 14*98=1372, Resulting Numbers: [1372]
1372,18 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[26, 40, 74], Operations: ['86-12=74']
Exploring Operation: 26+74=100, Resulting Numbers: [40, 100]
Generated Node #0,1,0: 18:[40, 100] Operation: 26+74=100
Exploring Operation: 40-26=14, Resulting Numbers: [74, 14]
Generated Node #0,1,1: 18:[74, 14] Operation: 40-26=14
Exploring Operation: 26+40=66, Resulting Numbers: [74, 66]
Generated Node #0,1,2: 18:[74, 66] Operation: 26+40=66
Exploring Operation: 74-40=34, Resulting Numbers: [26, 34]
Generated Node #0,1,3: 18:[26, 34] Operation: 74-40=34
Exploring Operation: 74-26=48, Resulting Numbers: [40, 48]
Generated Node #0,1,4: 18:[40, 48] Operation: 74-26=48
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[26, 34], Operations: ['86-12=74', '74-40=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 18:[40, 48], Operations: ['86-12=74', '74-26=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,18 unequal: No Solution
Exploring Operation: 48-40=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,1,1
Current State: 18:[74, 14], Operations: ['86-12=74', '40-26=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[40, 100], Operations: ['86-12=74', '26+74=100']
Exploring Operation: 40*100=4000, Resulting Numbers: [4000]
4000,18 unequal: No Solution
Exploring Operation: 100-40=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 40+100=140, Resulting Numbers: [140]
140,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[74, 66], Operations: ['86-12=74', '26+40=66']
Exploring Operation: 74*66=4884, Resulting Numbers: [4884]
4884,18 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 74+66=140, Resulting Numbers: [140]
140,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[26, 86, 28], Operations: ['40-12=28']
Exploring Operation: 26+86=112, Resulting Numbers: [28, 112]
Generated Node #0,2,0: 18:[28, 112] Operation: 26+86=112
Exploring Operation: 28-26=2, Resulting Numbers: [86, 2]
Generated Node #0,2,1: 18:[86, 2] Operation: 28-26=2
Exploring Operation: 86-26=60, Resulting Numbers: [28, 60]
Generated Node #0,2,2: 18:[28, 60] Operation: 86-26=60
Exploring Operation: 26+28=54, Resulting Numbers: [86, 54]
Generated Node #0,2,3: 18:[86, 54] Operation: 26+28=54
Exploring Operation: 86-28=58, Resulting Numbers: [26, 58]
Generated Node #0,2,4: 18:[26, 58] Operation: 86-28=58
Moving to Node #0,2,4
Current State: 18:[26, 58], Operations: ['40-12=28', '86-28=58']
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,18 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[28, 60], Operations: ['40-12=28', '86-26=60']
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,18 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[86, 2], Operations: ['40-12=28', '28-26=2']
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,18 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[28, 112], Operations: ['40-12=28', '26+86=112']
Exploring Operation: 112-28=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 112/28=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 28*112=3136, Resulting Numbers: [3136]
3136,18 unequal: No Solution
Exploring Operation: 28+112=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[86, 54], Operations: ['40-12=28', '26+28=54']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 86+54=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 86*54=4644, Resulting Numbers: [4644]
4644,18 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 |
[
74,
60,
80,
84
] | 59 | [
"84-80=4",
"60/4=15",
"74-15=59"
] | Current State: 59:[74, 60, 80, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [74, 60, 4]
Generated Node #2: [74, 60, 4] from Operation: 84-80=4
Current State: 59:[74, 60, 4], Operations: ['84-80=4']
Exploring Operation: 60/4=15, Resulting Numbers: [74, 15]
Generated Node #3: [74, 15] from Operation: 60/4=15
Current State: 59:[74, 15], Operations: ['84-80=4', '60/4=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[74, 60, 80, 84], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [60, 80, 10]
Generated Node #0,0: 59:[60, 80, 10] Operation: 84-74=10
Exploring Operation: 80-74=6, Resulting Numbers: [60, 84, 6]
Generated Node #0,1: 59:[60, 84, 6] Operation: 80-74=6
Exploring Operation: 84-80=4, Resulting Numbers: [74, 60, 4]
Generated Node #0,2: 59:[74, 60, 4] Operation: 84-80=4
Exploring Operation: 84-60=24, Resulting Numbers: [74, 80, 24]
Generated Node #0,3: 59:[74, 80, 24] Operation: 84-60=24
Moving to Node #0,0
Current State: 59:[60, 80, 10], Operations: ['84-74=10']
Exploring Operation: 60-10=50, Resulting Numbers: [80, 50]
Generated Node #0,0,0: 59:[80, 50] Operation: 60-10=50
Exploring Operation: 80+10=90, Resulting Numbers: [60, 90]
Generated Node #0,0,1: 59:[60, 90] Operation: 80+10=90
Exploring Operation: 60+10=70, Resulting Numbers: [80, 70]
Generated Node #0,0,2: 59:[80, 70] Operation: 60+10=70
Exploring Operation: 80-10=70, Resulting Numbers: [60, 70]
Generated Node #0,0,3: 59:[60, 70] Operation: 80-10=70
Moving to Node #0,3
Current State: 59:[74, 80, 24], Operations: ['84-60=24']
Exploring Operation: 74-24=50, Resulting Numbers: [80, 50]
Generated Node #0,3,0: 59:[80, 50] Operation: 74-24=50
Exploring Operation: 74+24=98, Resulting Numbers: [80, 98]
Generated Node #0,3,1: 59:[80, 98] Operation: 74+24=98
Exploring Operation: 80+24=104, Resulting Numbers: [74, 104]
Generated Node #0,3,2: 59:[74, 104] Operation: 80+24=104
Exploring Operation: 80-24=56, Resulting Numbers: [74, 56]
Generated Node #0,3,3: 59:[74, 56] Operation: 80-24=56
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[74, 56], Operations: ['84-60=24', '80-24=56']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,59 unequal: No Solution
No 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: 59:[80, 50], Operations: ['84-60=24', '74-24=50']
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,59 unequal: No Solution
No 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: 59:[80, 98], Operations: ['84-60=24', '74+24=98']
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 80*98=7840, Resulting Numbers: [7840]
7840,59 unequal: No Solution
Exploring Operation: 80+98=178, Resulting Numbers: [178]
178,59 unequal: No Solution
No 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: 59:[74, 104], Operations: ['84-60=24', '80+24=104']
Exploring Operation: 74+104=178, Resulting Numbers: [178]
178,59 unequal: No Solution
Exploring Operation: 74*104=7696, Resulting Numbers: [7696]
7696,59 unequal: No Solution
Exploring Operation: 104-74=30, Resulting Numbers: [30]
30,59 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: 59:[74, 60, 4], Operations: ['84-80=4']
Exploring Operation: 74-4=70, Resulting Numbers: [60, 70]
Generated Node #0,2,0: 59:[60, 70] Operation: 74-4=70
Exploring Operation: 60-4=56, Resulting Numbers: [74, 56]
Generated Node #0,2,1: 59:[74, 56] Operation: 60-4=56
Exploring Operation: 60+4=64, Resulting Numbers: [74, 64]
Generated Node #0,2,2: 59:[74, 64] Operation: 60+4=64
Exploring Operation: 74+4=78, Resulting Numbers: [60, 78]
Generated Node #0,2,3: 59:[60, 78] Operation: 74+4=78
Moving to Node #0,1
Current State: 59:[60, 84, 6], Operations: ['80-74=6']
Exploring Operation: 60-6=54, Resulting Numbers: [84, 54]
Generated Node #0,1,0: 59:[84, 54] Operation: 60-6=54
Exploring Operation: 84-6=78, Resulting Numbers: [60, 78]
Generated Node #0,1,1: 59:[60, 78] Operation: 84-6=78
Exploring Operation: 60+6=66, Resulting Numbers: [84, 66]
Generated Node #0,1,2: 59:[84, 66] Operation: 60+6=66
Exploring Operation: 84+6=90, Resulting Numbers: [60, 90]
Generated Node #0,1,3: 59:[60, 90] Operation: 84+6=90
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[60, 78], Operations: ['80-74=6', '84-6=78']
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,59 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,59 unequal: No Solution
No 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: 59:[84, 54], Operations: ['80-74=6', '60-6=54']
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,59 unequal: No Solution
No 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: 59:[84, 66], Operations: ['80-74=6', '60+6=66']
Exploring Operation: 84+66=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 84*66=5544, Resulting Numbers: [5544]
5544,59 unequal: No Solution
No 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: 59:[60, 90], Operations: ['80-74=6', '84+6=90']
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,59 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 59:[60, 70], Operations: ['84-74=10', '80-10=70']
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[60, 70], Operations: ['84-80=4', '74-4=70']
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,59 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[74, 56], Operations: ['84-80=4', '60-4=56']
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,59 unequal: No Solution
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[74, 64], Operations: ['84-80=4', '60+4=64']
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,59 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[60, 78], Operations: ['84-80=4', '74+4=78']
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,59 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[80, 50], Operations: ['84-74=10', '60-10=50']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,59 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[80, 70], Operations: ['84-74=10', '60+10=70']
Exploring Operation: 80+70=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Exploring Operation: 80*70=5600, Resulting Numbers: [5600]
5600,59 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[60, 90], Operations: ['84-74=10', '80+10=90']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
26,
30,
64,
74
] | 58 | [
"30-26=4",
"64/4=16",
"74-16=58"
] | Current State: 58:[26, 30, 64, 74], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [64, 74, 4]
Generated Node #2: [64, 74, 4] from Operation: 30-26=4
Current State: 58:[64, 74, 4], Operations: ['30-26=4']
Exploring Operation: 64/4=16, Resulting Numbers: [74, 16]
Generated Node #3: [74, 16] from Operation: 64/4=16
Current State: 58:[74, 16], Operations: ['30-26=4', '64/4=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[26, 30, 64, 74], Operations: []
Exploring Operation: 74-30=44, Resulting Numbers: [26, 64, 44]
Generated Node #0,0: 58:[26, 64, 44] Operation: 74-30=44
Exploring Operation: 26+30=56, Resulting Numbers: [64, 74, 56]
Generated Node #0,1: 58:[64, 74, 56] Operation: 26+30=56
Exploring Operation: 74-64=10, Resulting Numbers: [26, 30, 10]
Generated Node #0,2: 58:[26, 30, 10] Operation: 74-64=10
Exploring Operation: 74-26=48, Resulting Numbers: [30, 64, 48]
Generated Node #0,3: 58:[30, 64, 48] Operation: 74-26=48
Exploring Operation: 30-26=4, Resulting Numbers: [64, 74, 4]
Generated Node #0,4: 58:[64, 74, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[26, 30, 10], Operations: ['74-64=10']
Exploring Operation: 30-26=4, Resulting Numbers: [10, 4]
Generated Node #0,2,0: 58:[10, 4] Operation: 30-26=4
Exploring Operation: 26+30=56, Resulting Numbers: [10, 56]
Generated Node #0,2,1: 58:[10, 56] Operation: 26+30=56
Exploring Operation: 26+10=36, Resulting Numbers: [30, 36]
Generated Node #0,2,2: 58:[30, 36] Operation: 26+10=36
Exploring Operation: 30/10=3, Resulting Numbers: [26, 3]
Generated Node #0,2,3: 58:[26, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [26, 20]
Generated Node #0,2,4: 58:[26, 20] Operation: 30-10=20
Moving to Node #0,2,3
Current State: 58:[26, 3], Operations: ['74-64=10', '30/10=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[30, 36], Operations: ['74-64=10', '26+10=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[10, 4], Operations: ['74-64=10', '30-26=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[10, 56], Operations: ['74-64=10', '26+30=56']
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,58 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[26, 20], Operations: ['74-64=10', '30-10=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,58 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[30, 64, 48], Operations: ['74-26=48']
Exploring Operation: 64-48=16, Resulting Numbers: [30, 16]
Generated Node #0,3,0: 58:[30, 16] Operation: 64-48=16
Exploring Operation: 30+64=94, Resulting Numbers: [48, 94]
Generated Node #0,3,1: 58:[48, 94] Operation: 30+64=94
Exploring Operation: 48-30=18, Resulting Numbers: [64, 18]
Generated Node #0,3,2: 58:[64, 18] Operation: 48-30=18
Exploring Operation: 64-30=34, Resulting Numbers: [48, 34]
Generated Node #0,3,3: 58:[48, 34] Operation: 64-30=34
Exploring Operation: 30+48=78, Resulting Numbers: [64, 78]
Generated Node #0,3,4: 58:[64, 78] Operation: 30+48=78
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 58:[30, 16], Operations: ['74-26=48', '64-48=16']
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,58 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 58:[48, 34], Operations: ['74-26=48', '64-30=34']
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,58 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 58:[64, 18], Operations: ['74-26=48', '48-30=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 58:[64, 78], Operations: ['74-26=48', '30+48=78']
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,58 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 58:[48, 94], Operations: ['74-26=48', '30+64=94']
Exploring Operation: 48*94=4512, Resulting Numbers: [4512]
4512,58 unequal: No Solution
Exploring Operation: 48+94=142, Resulting Numbers: [142]
142,58 unequal: No Solution
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[26, 64, 44], Operations: ['74-30=44']
Exploring Operation: 26+64=90, Resulting Numbers: [44, 90]
Generated Node #0,0,0: 58:[44, 90] Operation: 26+64=90
Exploring Operation: 64-26=38, Resulting Numbers: [44, 38]
Generated Node #0,0,1: 58:[44, 38] Operation: 64-26=38
Exploring Operation: 64-44=20, Resulting Numbers: [26, 20]
Generated Node #0,0,2: 58:[26, 20] Operation: 64-44=20
Exploring Operation: 44-26=18, Resulting Numbers: [64, 18]
Generated Node #0,0,3: 58:[64, 18] Operation: 44-26=18
Exploring Operation: 26+44=70, Resulting Numbers: [64, 70]
Generated Node #0,0,4: 58:[64, 70] Operation: 26+44=70
Moving to Node #0,0,2
Current State: 58:[26, 20], Operations: ['74-30=44', '64-44=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,58 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[64, 18], Operations: ['74-30=44', '44-26=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[64, 70], Operations: ['74-30=44', '26+44=70']
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[44, 38], Operations: ['74-30=44', '64-26=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[44, 90], Operations: ['74-30=44', '26+64=90']
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,58 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[64, 74, 56], Operations: ['26+30=56']
Exploring Operation: 64+56=120, Resulting Numbers: [74, 120]
Generated Node #0,1,0: 58:[74, 120] Operation: 64+56=120
Exploring Operation: 64-56=8, Resulting Numbers: [74, 8]
Generated Node #0,1,1: 58:[74, 8] Operation: 64-56=8
Exploring Operation: 74-64=10, Resulting Numbers: [56, 10]
Generated Node #0,1,2: 58:[56, 10] Operation: 74-64=10
Exploring Operation: 74-56=18, Resulting Numbers: [64, 18]
Generated Node #0,1,3: 58:[64, 18] Operation: 74-56=18
Exploring Operation: 74+56=130, Resulting Numbers: [64, 130]
Generated Node #0,1,4: 58:[64, 130] Operation: 74+56=130
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[56, 10], Operations: ['26+30=56', '74-64=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 58:[64, 18], Operations: ['26+30=56', '74-56=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,58 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[74, 8], Operations: ['26+30=56', '64-56=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[74, 120], Operations: ['26+30=56', '64+56=120']
Exploring Operation: 74*120=8880, Resulting Numbers: [8880]
8880,58 unequal: No Solution
Exploring Operation: 120-74=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 74+120=194, Resulting Numbers: [194]
194,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 58:[64, 130], Operations: ['26+30=56', '74+56=130']
Exploring Operation: 64*130=8320, Resulting Numbers: [8320]
8320,58 unequal: No Solution
Exploring Operation: 64+130=194, Resulting Numbers: [194]
194,58 unequal: No Solution
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 58:[64, 74, 4], Operations: ['30-26=4']
Exploring Operation: 74-4=70, Resulting Numbers: [64, 70]
Generated Node #0,4,0: 58:[64, 70] Operation: 74-4=70
Exploring Operation: 74+4=78, Resulting Numbers: [64, 78]
Generated Node #0,4,1: 58:[64, 78] Operation: 74+4=78
Exploring Operation: 64+4=68, Resulting Numbers: [74, 68]
Generated Node #0,4,2: 58:[74, 68] Operation: 64+4=68
Exploring Operation: 64-4=60, Resulting Numbers: [74, 60]
Generated Node #0,4,3: 58:[74, 60] Operation: 64-4=60
Exploring Operation: 74-64=10, Resulting Numbers: [4, 10]
Generated Node #0,4,4: 58:[4, 10] Operation: 74-64=10
Moving to Node #0,4,4
Current State: 58:[4, 10], Operations: ['30-26=4', '74-64=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[74, 60], Operations: ['30-26=4', '64-4=60']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 74*60=4440, Resulting Numbers: [4440]
4440,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[64, 70], Operations: ['30-26=4', '74-4=70']
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,58 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[64, 78], Operations: ['30-26=4', '74+4=78']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,58 unequal: No Solution
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[74, 68], Operations: ['30-26=4', '64+4=68']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,58 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
66,
74,
63
] | 24 | [
"74-2=72",
"66-63=3",
"72/3=24"
] | Current State: 24:[2, 66, 74, 63], Operations: []
Exploring Operation: 74-2=72, Resulting Numbers: [66, 63, 72]
Generated Node #2: [66, 63, 72] from Operation: 74-2=72
Current State: 24:[66, 63, 72], Operations: ['74-2=72']
Exploring Operation: 66-63=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 66-63=3
Current State: 24:[72, 3], Operations: ['74-2=72', '66-63=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[2, 66, 74, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [2, 74, 3]
Generated Node #0,0: 24:[2, 74, 3] Operation: 66-63=3
Exploring Operation: 74-66=8, Resulting Numbers: [2, 63, 8]
Generated Node #0,1: 24:[2, 63, 8] Operation: 74-66=8
Exploring Operation: 74-63=11, Resulting Numbers: [2, 66, 11]
Generated Node #0,2: 24:[2, 66, 11] Operation: 74-63=11
Exploring Operation: 66/2=33, Resulting Numbers: [74, 63, 33]
Generated Node #0,3: 24:[74, 63, 33] Operation: 66/2=33
Exploring Operation: 74/2=37, Resulting Numbers: [66, 63, 37]
Generated Node #0,4: 24:[66, 63, 37] Operation: 74/2=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[2, 63, 8], Operations: ['74-66=8']
Exploring Operation: 2+63=65, Resulting Numbers: [8, 65]
Generated Node #0,1,0: 24:[8, 65] Operation: 2+63=65
Exploring Operation: 63-2=61, Resulting Numbers: [8, 61]
Generated Node #0,1,1: 24:[8, 61] Operation: 63-2=61
Exploring Operation: 63-8=55, Resulting Numbers: [2, 55]
Generated Node #0,1,2: 24:[2, 55] Operation: 63-8=55
Exploring Operation: 8/2=4, Resulting Numbers: [63, 4]
Generated Node #0,1,3: 24:[63, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [63, 6]
Generated Node #0,1,4: 24:[63, 6] Operation: 8-2=6
Moving to Node #0,1,2
Current State: 24:[2, 55], Operations: ['74-66=8', '63-8=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[8, 61], Operations: ['74-66=8', '63-2=61']
Exploring Operation: 8*61=488, Resulting Numbers: [488]
488,24 unequal: No Solution
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[63, 4], Operations: ['74-66=8', '8/2=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,24 unequal: No Solution
Moving to Node #0,1,4
Current State: 24:[63, 6], Operations: ['74-66=8', '8-2=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[8, 65], Operations: ['74-66=8', '2+63=65']
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,24 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[2, 66, 11], Operations: ['74-63=11']
Exploring Operation: 66/11=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 24:[2, 6] Operation: 66/11=6
Exploring Operation: 66-2=64, Resulting Numbers: [11, 64]
Generated Node #0,2,1: 24:[11, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [11, 33]
Generated Node #0,2,2: 24:[11, 33] Operation: 66/2=33
Exploring Operation: 66-11=55, Resulting Numbers: [2, 55]
Generated Node #0,2,3: 24:[2, 55] Operation: 66-11=55
Exploring Operation: 2+11=13, Resulting Numbers: [66, 13]
Generated Node #0,2,4: 24:[66, 13] Operation: 2+11=13
Moving to Node #0,2,0
Current State: 24:[2, 6], Operations: ['74-63=11', '66/11=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[11, 33], Operations: ['74-63=11', '66/2=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,24 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[2, 55], Operations: ['74-63=11', '66-11=55']
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[11, 64], Operations: ['74-63=11', '66-2=64']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,24 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,2,4
Current State: 24:[66, 13], Operations: ['74-63=11', '2+11=13']
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,24 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,24 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[2, 74, 3], Operations: ['66-63=3']
Exploring Operation: 74-3=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 24:[2, 71] Operation: 74-3=71
Exploring Operation: 2+3=5, Resulting Numbers: [74, 5]
Generated Node #0,0,1: 24:[74, 5] Operation: 2+3=5
Exploring Operation: 74/2=37, Resulting Numbers: [3, 37]
Generated Node #0,0,2: 24:[3, 37] Operation: 74/2=37
Exploring Operation: 74-2=72, Resulting Numbers: [3, 72]
Generated Node #0,0,3: 24:[3, 72] Operation: 74-2=72
Exploring Operation: 2*3=6, Resulting Numbers: [74, 6]
Generated Node #0,0,4: 24:[74, 6] Operation: 2*3=6
Moving to Node #0,0,2
Current State: 24:[3, 37], Operations: ['66-63=3', '74/2=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,24 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[2, 71], Operations: ['66-63=3', '74-3=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,24 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[3, 72], Operations: ['66-63=3', '74-2=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,24 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[2, 66, 74, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [2, 74, 3]
Generated Node #0,0: 24:[2, 74, 3] Operation: 66-63=3
Moving to Node #0,0
Current State: 24:[2, 74, 3], Operations: ['66-63=3']
Exploring Operation: 74-2=72, Resulting Numbers: [3, 72]
Generated Node #0,0,3: 24:[3, 72] Operation: 74-2=72
Moving to Node #0,0,3
Current State: 24:[3, 72], Operations: ['66-63=3', '74-2=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | sum_heuristic |
[
40,
88,
49,
18
] | 90 | [
"49-40=9",
"18/9=2",
"88+2=90"
] | Current State: 90:[40, 88, 49, 18], Operations: []
Exploring Operation: 49-40=9, Resulting Numbers: [88, 18, 9]
Generated Node #2: [88, 18, 9] from Operation: 49-40=9
Current State: 90:[88, 18, 9], Operations: ['49-40=9']
Exploring Operation: 18/9=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 18/9=2
Current State: 90:[88, 2], Operations: ['49-40=9', '18/9=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[40, 88, 49, 18], Operations: []
Exploring Operation: 49-40=9, Resulting Numbers: [88, 18, 9]
Generated Node #0,0: 90:[88, 18, 9] Operation: 49-40=9
Exploring Operation: 40-18=22, Resulting Numbers: [88, 49, 22]
Generated Node #0,1: 90:[88, 49, 22] Operation: 40-18=22
Exploring Operation: 49-18=31, Resulting Numbers: [40, 88, 31]
Generated Node #0,2: 90:[40, 88, 31] Operation: 49-18=31
Exploring Operation: 88-40=48, Resulting Numbers: [49, 18, 48]
Generated Node #0,3: 90:[49, 18, 48] Operation: 88-40=48
Exploring Operation: 40+49=89, Resulting Numbers: [88, 18, 89]
Generated Node #0,4: 90:[88, 18, 89] Operation: 40+49=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[88, 18, 9], Operations: ['49-40=9']
Exploring Operation: 18/9=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 90:[88, 2] Operation: 18/9=2
Exploring Operation: 88-9=79, Resulting Numbers: [18, 79]
Generated Node #0,0,1: 90:[18, 79] Operation: 88-9=79
Exploring Operation: 88+9=97, Resulting Numbers: [18, 97]
Generated Node #0,0,2: 90:[18, 97] Operation: 88+9=97
Exploring Operation: 18+9=27, Resulting Numbers: [88, 27]
Generated Node #0,0,3: 90:[88, 27] Operation: 18+9=27
Exploring Operation: 18-9=9, Resulting Numbers: [88, 9]
Generated Node #0,0,4: 90:[88, 9] Operation: 18-9=9
Moving to Node #0,0,0
Current State: 90:[88, 2], Operations: ['49-40=9', '18/9=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[40, 88, 49, 18], Operations: []
Exploring Operation: 49-40=9, Resulting Numbers: [88, 18, 9]
Generated Node #0,0: 90:[88, 18, 9] Operation: 49-40=9
Moving to Node #0,0
Current State: 90:[88, 18, 9], Operations: ['49-40=9']
Exploring Operation: 18/9=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 90:[88, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 90:[88, 2], Operations: ['49-40=9', '18/9=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
27,
23,
26,
8
] | 17 | [
"26-23=3",
"27/3=9",
"8+9=17"
] | Current State: 17:[27, 23, 26, 8], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [27, 8, 3]
Generated Node #2: [27, 8, 3] from Operation: 26-23=3
Current State: 17:[27, 8, 3], Operations: ['26-23=3']
Exploring Operation: 27/3=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 27/3=9
Current State: 17:[8, 9], Operations: ['26-23=3', '27/3=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[27, 23, 26, 8], Operations: []
Exploring Operation: 27-8=19, Resulting Numbers: [23, 26, 19]
Generated Node #0,0: 17:[23, 26, 19] Operation: 27-8=19
Moving to Node #0,0
Current State: 17:[23, 26, 19], Operations: ['27-8=19']
Exploring Operation: 26-23=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 17:[19, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 17:[19, 3], Operations: ['27-8=19', '26-23=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
66,
40,
75,
61
] | 83 | [
"66-61=5",
"40/5=8",
"75+8=83"
] | Current State: 83:[66, 40, 75, 61], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [40, 75, 5]
Generated Node #2: [40, 75, 5] from Operation: 66-61=5
Current State: 83:[40, 75, 5], Operations: ['66-61=5']
Exploring Operation: 40/5=8, Resulting Numbers: [75, 8]
Generated Node #3: [75, 8] from Operation: 40/5=8
Current State: 83:[75, 8], Operations: ['66-61=5', '40/5=8']
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[66, 40, 75, 61], Operations: []
Exploring Operation: 66+40=106, Resulting Numbers: [75, 61, 106]
Generated Node #0,0: 83:[75, 61, 106] Operation: 66+40=106
Exploring Operation: 40+61=101, Resulting Numbers: [66, 75, 101]
Generated Node #0,1: 83:[66, 75, 101] Operation: 40+61=101
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[66, 75, 101], Operations: ['40+61=101']
Exploring Operation: 101-75=26, Resulting Numbers: [66, 26]
Generated Node #0,1,0: 83:[66, 26] Operation: 101-75=26
Exploring Operation: 101-66=35, Resulting Numbers: [75, 35]
Generated Node #0,1,1: 83:[75, 35] Operation: 101-66=35
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[75, 35], Operations: ['40+61=101', '101-66=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[66, 26], Operations: ['40+61=101', '101-75=26']
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[75, 61, 106], Operations: ['66+40=106']
Exploring Operation: 106-61=45, Resulting Numbers: [75, 45]
Generated Node #0,0,0: 83:[75, 45] Operation: 106-61=45
Exploring Operation: 106-75=31, Resulting Numbers: [61, 31]
Generated Node #0,0,1: 83:[61, 31] Operation: 106-75=31
Moving to Node #0,0,0
Current State: 83:[75, 45], Operations: ['66+40=106', '106-61=45']
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,83 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[61, 31], Operations: ['66+40=106', '106-75=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
76,
12,
58
] | 51 | [
"76-58=18",
"34*18=612",
"612/12=51"
] | Current State: 51:[34, 76, 12, 58], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [34, 12, 18]
Generated Node #2: [34, 12, 18] from Operation: 76-58=18
Current State: 51:[34, 12, 18], Operations: ['76-58=18']
Exploring Operation: 34*18=612, Resulting Numbers: [12, 612]
Generated Node #3: [12, 612] from Operation: 34*18=612
Current State: 51:[12, 612], Operations: ['76-58=18', '34*18=612']
Exploring Operation: 612/12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[34, 76, 12, 58], Operations: []
Exploring Operation: 34+12=46, Resulting Numbers: [76, 58, 46]
Generated Node #0,0: 51:[76, 58, 46] Operation: 34+12=46
Exploring Operation: 76-34=42, Resulting Numbers: [12, 58, 42]
Generated Node #0,1: 51:[12, 58, 42] Operation: 76-34=42
Exploring Operation: 76-58=18, Resulting Numbers: [34, 12, 18]
Generated Node #0,2: 51:[34, 12, 18] Operation: 76-58=18
Moving to Node #0,1
Current State: 51:[12, 58, 42], Operations: ['76-34=42']
Exploring Operation: 58-12=46, Resulting Numbers: [42, 46]
Generated Node #0,1,0: 51:[42, 46] Operation: 58-12=46
Exploring Operation: 12+42=54, Resulting Numbers: [58, 54]
Generated Node #0,1,1: 51:[58, 54] Operation: 12+42=54
Exploring Operation: 58-42=16, Resulting Numbers: [12, 16]
Generated Node #0,1,2: 51:[12, 16] Operation: 58-42=16
Moving to Node #0,2
Current State: 51:[34, 12, 18], Operations: ['76-58=18']
Exploring Operation: 34+12=46, Resulting Numbers: [18, 46]
Generated Node #0,2,0: 51:[18, 46] Operation: 34+12=46
Exploring Operation: 34-12=22, Resulting Numbers: [18, 22]
Generated Node #0,2,1: 51:[18, 22] Operation: 34-12=22
Exploring Operation: 34+18=52, Resulting Numbers: [12, 52]
Generated Node #0,2,2: 51:[12, 52] Operation: 34+18=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[18, 46], Operations: ['76-58=18', '34+12=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[18, 22], Operations: ['76-58=18', '34-12=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,51 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[12, 52], Operations: ['76-58=18', '34+18=52']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,51 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 51:[76, 58, 46], Operations: ['34+12=46']
Exploring Operation: 58-46=12, Resulting Numbers: [76, 12]
Generated Node #0,0,0: 51:[76, 12] Operation: 58-46=12
Exploring Operation: 76-46=30, Resulting Numbers: [58, 30]
Generated Node #0,0,1: 51:[58, 30] Operation: 76-46=30
Exploring Operation: 76-58=18, Resulting Numbers: [46, 18]
Generated Node #0,0,2: 51:[46, 18] Operation: 76-58=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[46, 18], Operations: ['34+12=46', '76-58=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,51 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[58, 30], Operations: ['34+12=46', '76-46=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,51 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,51 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[76, 12], Operations: ['34+12=46', '58-46=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,51 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,51 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: 51:[12, 16], Operations: ['76-34=42', '58-42=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,51 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[58, 54], Operations: ['76-34=42', '12+42=54']
Exploring Operation: 58*54=3132, Resulting Numbers: [3132]
3132,51 unequal: No Solution
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[42, 46], Operations: ['76-34=42', '58-12=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,51 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,51 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
71,
48,
45
] | 87 | [
"71+45=116",
"48*116=5568",
"5568/64=87"
] | Current State: 87:[64, 71, 48, 45], Operations: []
Exploring Operation: 71+45=116, Resulting Numbers: [64, 48, 116]
Generated Node #2: [64, 48, 116] from Operation: 71+45=116
Current State: 87:[64, 48, 116], Operations: ['71+45=116']
Exploring Operation: 48*116=5568, Resulting Numbers: [64, 5568]
Generated Node #3: [64, 5568] from Operation: 48*116=5568
Current State: 87:[64, 5568], Operations: ['71+45=116', '48*116=5568']
Exploring Operation: 5568/64=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[64, 71, 48, 45], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [64, 71, 3]
Generated Node #0,0: 87:[64, 71, 3] Operation: 48-45=3
Exploring Operation: 71-48=23, Resulting Numbers: [64, 45, 23]
Generated Node #0,1: 87:[64, 45, 23] Operation: 71-48=23
Exploring Operation: 64-45=19, Resulting Numbers: [71, 48, 19]
Generated Node #0,2: 87:[71, 48, 19] Operation: 64-45=19
Exploring Operation: 64-48=16, Resulting Numbers: [71, 45, 16]
Generated Node #0,3: 87:[71, 45, 16] Operation: 64-48=16
Exploring Operation: 71-64=7, Resulting Numbers: [48, 45, 7]
Generated Node #0,4: 87:[48, 45, 7] Operation: 71-64=7
Moving to Node #0,0
Current State: 87:[64, 71, 3], Operations: ['48-45=3']
Exploring Operation: 64-3=61, Resulting Numbers: [71, 61]
Generated Node #0,0,0: 87:[71, 61] Operation: 64-3=61
Exploring Operation: 64+3=67, Resulting Numbers: [71, 67]
Generated Node #0,0,1: 87:[71, 67] Operation: 64+3=67
Exploring Operation: 71-64=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 87:[3, 7] Operation: 71-64=7
Exploring Operation: 71-3=68, Resulting Numbers: [64, 68]
Generated Node #0,0,3: 87:[64, 68] Operation: 71-3=68
Exploring Operation: 71+3=74, Resulting Numbers: [64, 74]
Generated Node #0,0,4: 87:[64, 74] Operation: 71+3=74
Moving to Node #0,4
Current State: 87:[48, 45, 7], Operations: ['71-64=7']
Exploring Operation: 48+45=93, Resulting Numbers: [7, 93]
Generated Node #0,4,0: 87:[7, 93] Operation: 48+45=93
Exploring Operation: 48-45=3, Resulting Numbers: [7, 3]
Generated Node #0,4,1: 87:[7, 3] Operation: 48-45=3
Exploring Operation: 48+7=55, Resulting Numbers: [45, 55]
Generated Node #0,4,2: 87:[45, 55] Operation: 48+7=55
Exploring Operation: 45-7=38, Resulting Numbers: [48, 38]
Generated Node #0,4,3: 87:[48, 38] Operation: 45-7=38
Exploring Operation: 48-7=41, Resulting Numbers: [45, 41]
Generated Node #0,4,4: 87:[45, 41] Operation: 48-7=41
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[7, 3], Operations: ['71-64=7', '48-45=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 87:[7, 93], Operations: ['71-64=7', '48+45=93']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 7*93=651, Resulting Numbers: [651]
651,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 87:[48, 38], Operations: ['71-64=7', '45-7=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 87:[45, 41], Operations: ['71-64=7', '48-7=41']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,87 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 87:[45, 55], Operations: ['71-64=7', '48+7=55']
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,87 unequal: No Solution
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,87 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: 87:[64, 45, 23], Operations: ['71-48=23']
Exploring Operation: 64-45=19, Resulting Numbers: [23, 19]
Generated Node #0,1,0: 87:[23, 19] Operation: 64-45=19
Exploring Operation: 64-23=41, Resulting Numbers: [45, 41]
Generated Node #0,1,1: 87:[45, 41] Operation: 64-23=41
Exploring Operation: 64+45=109, Resulting Numbers: [23, 109]
Generated Node #0,1,2: 87:[23, 109] Operation: 64+45=109
Exploring Operation: 64+23=87, Resulting Numbers: [45, 87]
Generated Node #0,1,3: 87:[45, 87] Operation: 64+23=87
Exploring Operation: 45-23=22, Resulting Numbers: [64, 22]
Generated Node #0,1,4: 87:[64, 22] Operation: 45-23=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[23, 19], Operations: ['71-48=23', '64-45=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[45, 87], Operations: ['71-48=23', '64+23=87']
Exploring Operation: 45*87=3915, Resulting Numbers: [3915]
3915,87 unequal: No Solution
Exploring Operation: 45+87=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[45, 41], Operations: ['71-48=23', '64-23=41']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[23, 109], Operations: ['71-48=23', '64+45=109']
Exploring Operation: 23+109=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 23*109=2507, Resulting Numbers: [2507]
2507,87 unequal: No Solution
Exploring Operation: 109-23=86, Resulting Numbers: [86]
86,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 87:[64, 22], Operations: ['71-48=23', '45-23=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,87 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 87:[71, 48, 19], Operations: ['64-45=19']
Exploring Operation: 48-19=29, Resulting Numbers: [71, 29]
Generated Node #0,2,0: 87:[71, 29] Operation: 48-19=29
Exploring Operation: 71+48=119, Resulting Numbers: [19, 119]
Generated Node #0,2,1: 87:[19, 119] Operation: 71+48=119
Exploring Operation: 71+19=90, Resulting Numbers: [48, 90]
Generated Node #0,2,2: 87:[48, 90] Operation: 71+19=90
Exploring Operation: 71-48=23, Resulting Numbers: [19, 23]
Generated Node #0,2,3: 87:[19, 23] Operation: 71-48=23
Exploring Operation: 48+19=67, Resulting Numbers: [71, 67]
Generated Node #0,2,4: 87:[71, 67] Operation: 48+19=67
Moving to Node #0,3
Current State: 87:[71, 45, 16], Operations: ['64-48=16']
Exploring Operation: 71+16=87, Resulting Numbers: [45, 87]
Generated Node #0,3,0: 87:[45, 87] Operation: 71+16=87
Exploring Operation: 71-16=55, Resulting Numbers: [45, 55]
Generated Node #0,3,1: 87:[45, 55] Operation: 71-16=55
Exploring Operation: 45-16=29, Resulting Numbers: [71, 29]
Generated Node #0,3,2: 87:[71, 29] Operation: 45-16=29
Exploring Operation: 71-45=26, Resulting Numbers: [16, 26]
Generated Node #0,3,3: 87:[16, 26] Operation: 71-45=26
Exploring Operation: 71+45=116, Resulting Numbers: [16, 116]
Generated Node #0,3,4: 87:[16, 116] Operation: 71+45=116
Moving to Node #0,0,2
Current State: 87:[3, 7], Operations: ['48-45=3', '71-64=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[71, 29], Operations: ['64-45=19', '48-19=29']
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,87 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[19, 23], Operations: ['64-45=19', '71-48=23']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,87 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[71, 29], Operations: ['64-48=16', '45-16=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,87 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[16, 26], Operations: ['64-48=16', '71-45=26']
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,87 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[45, 87], Operations: ['64-48=16', '71+16=87']
Exploring Operation: 45+87=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 45*87=3915, Resulting Numbers: [3915]
3915,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[48, 90], Operations: ['64-45=19', '71+19=90']
Exploring Operation: 48*90=4320, Resulting Numbers: [4320]
4320,87 unequal: No Solution
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[64, 74], Operations: ['48-45=3', '71+3=74']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,87 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[71, 67], Operations: ['48-45=3', '64+3=67']
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,87 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[71, 67], Operations: ['64-45=19', '48+19=67']
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,87 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[45, 55], Operations: ['64-48=16', '71-16=55']
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,87 unequal: No Solution
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[16, 116], Operations: ['64-48=16', '71+45=116']
Exploring Operation: 16+116=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 16*116=1856, Resulting Numbers: [1856]
1856,87 unequal: No Solution
Exploring Operation: 116-16=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[64, 68], Operations: ['48-45=3', '71-3=68']
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,87 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[19, 119], Operations: ['64-45=19', '71+48=119']
Exploring Operation: 19*119=2261, Resulting Numbers: [2261]
2261,87 unequal: No Solution
Exploring Operation: 19+119=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 119-19=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[71, 61], Operations: ['48-45=3', '64-3=61']
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 71*61=4331, Resulting Numbers: [4331]
4331,87 unequal: No Solution
Exploring Operation: 71+61=132, Resulting Numbers: [132]
132,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
94,
1,
93
] | 86 | [
"85+94=179",
"1*93=93",
"179-93=86"
] | Current State: 86:[85, 94, 1, 93], Operations: []
Exploring Operation: 85+94=179, Resulting Numbers: [1, 93, 179]
Generated Node #2: [1, 93, 179] from Operation: 85+94=179
Current State: 86:[1, 93, 179], Operations: ['85+94=179']
Exploring Operation: 1*93=93, Resulting Numbers: [179, 93]
Generated Node #3: [179, 93] from Operation: 1*93=93
Current State: 86:[179, 93], Operations: ['85+94=179', '1*93=93']
Exploring Operation: 179-93=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[85, 94, 1, 93], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [85, 1, 1]
Generated Node #0,0: 86:[85, 1, 1] Operation: 94-93=1
Exploring Operation: 85+1=86, Resulting Numbers: [94, 93, 86]
Generated Node #0,1: 86:[94, 93, 86] Operation: 85+1=86
Exploring Operation: 94-85=9, Resulting Numbers: [1, 93, 9]
Generated Node #0,2: 86:[1, 93, 9] Operation: 94-85=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[85, 1, 1], Operations: ['94-93=1']
Exploring Operation: 85+1=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 86:[1, 86] Operation: 85+1=86
Exploring Operation: 85+1=86, Resulting Numbers: [1, 86]
Generated Node #0,0,1: 86:[1, 86] Operation: 85+1=86
Exploring Operation: 1+1=2, Resulting Numbers: [85, 2]
Generated Node #0,0,2: 86:[85, 2] Operation: 1+1=2
Moving to Node #0,0,0
Current State: 86:[1, 86], Operations: ['94-93=1', '85+1=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[85, 94, 1, 93], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [85, 1, 1]
Generated Node #0,0: 86:[85, 1, 1] Operation: 94-93=1
Moving to Node #0,0
Current State: 86:[85, 1, 1], Operations: ['94-93=1']
Exploring Operation: 85+1=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 86:[1, 86] Operation: 85+1=86
Moving to Node #0,0,0
Current State: 86:[1, 86], Operations: ['94-93=1', '85+1=86']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
90,
79,
41,
17
] | 69 | [
"90-79=11",
"41+17=58",
"11+58=69"
] | Current State: 69:[90, 79, 41, 17], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [41, 17, 11]
Generated Node #2: [41, 17, 11] from Operation: 90-79=11
Current State: 69:[41, 17, 11], Operations: ['90-79=11']
Exploring Operation: 41+17=58, Resulting Numbers: [11, 58]
Generated Node #3: [11, 58] from Operation: 41+17=58
Current State: 69:[11, 58], Operations: ['90-79=11', '41+17=58']
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[90, 79, 41, 17], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [41, 17, 11]
Generated Node #0,0: 69:[41, 17, 11] Operation: 90-79=11
Moving to Node #0,0
Current State: 69:[41, 17, 11], Operations: ['90-79=11']
Exploring Operation: 41-17=24, Resulting Numbers: [11, 24]
Generated Node #0,0,0: 69:[11, 24] Operation: 41-17=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[11, 24], Operations: ['90-79=11', '41-17=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
6,
30,
15
] | 81 | [
"7*15=105",
"30-6=24",
"105-24=81"
] | Current State: 81:[7, 6, 30, 15], Operations: []
Exploring Operation: 7*15=105, Resulting Numbers: [6, 30, 105]
Generated Node #2: [6, 30, 105] from Operation: 7*15=105
Current State: 81:[6, 30, 105], Operations: ['7*15=105']
Exploring Operation: 30-6=24, Resulting Numbers: [105, 24]
Generated Node #3: [105, 24] from Operation: 30-6=24
Current State: 81:[105, 24], Operations: ['7*15=105', '30-6=24']
Exploring Operation: 105-24=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[7, 6, 30, 15], Operations: []
Exploring Operation: 15-6=9, Resulting Numbers: [7, 30, 9]
Generated Node #0,0: 81:[7, 30, 9] Operation: 15-6=9
Exploring Operation: 30/15=2, Resulting Numbers: [7, 6, 2]
Generated Node #0,1: 81:[7, 6, 2] Operation: 30/15=2
Exploring Operation: 15-7=8, Resulting Numbers: [6, 30, 8]
Generated Node #0,2: 81:[6, 30, 8] Operation: 15-7=8
Exploring Operation: 30/6=5, Resulting Numbers: [7, 15, 5]
Generated Node #0,3: 81:[7, 15, 5] Operation: 30/6=5
Moving to Node #0,0
Current State: 81:[7, 30, 9], Operations: ['15-6=9']
Exploring Operation: 30-7=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 81:[9, 23] Operation: 30-7=23
Exploring Operation: 30-9=21, Resulting Numbers: [7, 21]
Generated Node #0,0,1: 81:[7, 21] Operation: 30-9=21
Exploring Operation: 7+30=37, Resulting Numbers: [9, 37]
Generated Node #0,0,2: 81:[9, 37] Operation: 7+30=37
Exploring Operation: 9-7=2, Resulting Numbers: [30, 2]
Generated Node #0,0,3: 81:[30, 2] Operation: 9-7=2
Moving to Node #0,1
Current State: 81:[7, 6, 2], Operations: ['30/15=2']
Exploring Operation: 7-6=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 81:[2, 1] Operation: 7-6=1
Exploring Operation: 7+2=9, Resulting Numbers: [6, 9]
Generated Node #0,1,1: 81:[6, 9] Operation: 7+2=9
Exploring Operation: 6+2=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 81:[7, 8] Operation: 6+2=8
Exploring Operation: 6/2=3, Resulting Numbers: [7, 3]
Generated Node #0,1,3: 81:[7, 3] Operation: 6/2=3
Moving to Node #0,2
Current State: 81:[6, 30, 8], Operations: ['15-7=8']
Exploring Operation: 30-6=24, Resulting Numbers: [8, 24]
Generated Node #0,2,0: 81:[8, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [8, 5]
Generated Node #0,2,1: 81:[8, 5] Operation: 30/6=5
Exploring Operation: 6+8=14, Resulting Numbers: [30, 14]
Generated Node #0,2,2: 81:[30, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [30, 2]
Generated Node #0,2,3: 81:[30, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[8, 5], Operations: ['15-7=8', '30/6=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[8, 24], Operations: ['15-7=8', '30-6=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[30, 2], Operations: ['15-7=8', '8-6=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[30, 14], Operations: ['15-7=8', '6+8=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,81 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: 81:[7, 15, 5], Operations: ['30/6=5']
Exploring Operation: 15/5=3, Resulting Numbers: [7, 3]
Generated Node #0,3,0: 81:[7, 3] Operation: 15/5=3
Exploring Operation: 7+15=22, Resulting Numbers: [5, 22]
Generated Node #0,3,1: 81:[5, 22] Operation: 7+15=22
Exploring Operation: 15-5=10, Resulting Numbers: [7, 10]
Generated Node #0,3,2: 81:[7, 10] Operation: 15-5=10
Exploring Operation: 15-7=8, Resulting Numbers: [5, 8]
Generated Node #0,3,3: 81:[5, 8] Operation: 15-7=8
Moving to Node #0,1,3
Current State: 81:[7, 3], Operations: ['30/15=2', '6/2=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[7, 3], Operations: ['30/6=5', '15/5=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[2, 1], Operations: ['30/15=2', '7-6=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[6, 9], Operations: ['30/15=2', '7+2=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[7, 10], Operations: ['30/6=5', '15-5=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[5, 8], Operations: ['30/6=5', '15-7=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[7, 8], Operations: ['30/15=2', '6+2=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[30, 2], Operations: ['15-6=9', '9-7=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[9, 23], Operations: ['15-6=9', '30-7=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[5, 22], Operations: ['30/6=5', '7+15=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[7, 21], Operations: ['15-6=9', '30-9=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,81 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[9, 37], Operations: ['15-6=9', '7+30=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
32,
12,
90
] | 45 | [
"32-8=24",
"12*90=1080",
"1080/24=45"
] | Current State: 45:[8, 32, 12, 90], Operations: []
Exploring Operation: 32-8=24, Resulting Numbers: [12, 90, 24]
Generated Node #2: [12, 90, 24] from Operation: 32-8=24
Current State: 45:[12, 90, 24], Operations: ['32-8=24']
Exploring Operation: 12*90=1080, Resulting Numbers: [24, 1080]
Generated Node #3: [24, 1080] from Operation: 12*90=1080
Current State: 45:[24, 1080], Operations: ['32-8=24', '12*90=1080']
Exploring Operation: 1080/24=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[8, 32, 12, 90], Operations: []
Exploring Operation: 90-32=58, Resulting Numbers: [8, 12, 58]
Generated Node #0,0: 45:[8, 12, 58] Operation: 90-32=58
Moving to Node #0,0
Current State: 45:[8, 12, 58], Operations: ['90-32=58']
Exploring Operation: 58-12=46, Resulting Numbers: [8, 46]
Generated Node #0,0,0: 45:[8, 46] Operation: 58-12=46
Moving to Node #0,0,0
Current State: 45:[8, 46], Operations: ['90-32=58', '58-12=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,45 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
13,
39,
34
] | 91 | [
"34-24=10",
"13*10=130",
"130-39=91"
] | Current State: 91:[24, 13, 39, 34], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [13, 39, 10]
Generated Node #2: [13, 39, 10] from Operation: 34-24=10
Current State: 91:[13, 39, 10], Operations: ['34-24=10']
Exploring Operation: 13*10=130, Resulting Numbers: [39, 130]
Generated Node #3: [39, 130] from Operation: 13*10=130
Current State: 91:[39, 130], Operations: ['34-24=10', '13*10=130']
Exploring Operation: 130-39=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[24, 13, 39, 34], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [13, 39, 10]
Generated Node #0,0: 91:[13, 39, 10] Operation: 34-24=10
Exploring Operation: 39-34=5, Resulting Numbers: [24, 13, 5]
Generated Node #0,1: 91:[24, 13, 5] Operation: 39-34=5
Exploring Operation: 39-24=15, Resulting Numbers: [13, 34, 15]
Generated Node #0,2: 91:[13, 34, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[24, 13, 5], Operations: ['39-34=5']
Exploring Operation: 24-13=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 91:[5, 11] Operation: 24-13=11
Exploring Operation: 24-5=19, Resulting Numbers: [13, 19]
Generated Node #0,1,1: 91:[13, 19] Operation: 24-5=19
Exploring Operation: 13-5=8, Resulting Numbers: [24, 8]
Generated Node #0,1,2: 91:[24, 8] Operation: 13-5=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[5, 11], Operations: ['39-34=5', '24-13=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[13, 19], Operations: ['39-34=5', '24-5=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,91 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[24, 8], Operations: ['39-34=5', '13-5=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[13, 34, 15], Operations: ['39-24=15']
Exploring Operation: 34-13=21, Resulting Numbers: [15, 21]
Generated Node #0,2,0: 91:[15, 21] Operation: 34-13=21
Exploring Operation: 15-13=2, Resulting Numbers: [34, 2]
Generated Node #0,2,1: 91:[34, 2] Operation: 15-13=2
Exploring Operation: 34-15=19, Resulting Numbers: [13, 19]
Generated Node #0,2,2: 91:[13, 19] Operation: 34-15=19
Moving to Node #0,2,2
Current State: 91:[13, 19], Operations: ['39-24=15', '34-15=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,91 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[15, 21], Operations: ['39-24=15', '34-13=21']
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,91 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[34, 2], Operations: ['39-24=15', '15-13=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[13, 39, 10], Operations: ['34-24=10']
Exploring Operation: 39/13=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 91:[10, 3] Operation: 39/13=3
Exploring Operation: 39-10=29, Resulting Numbers: [13, 29]
Generated Node #0,0,1: 91:[13, 29] Operation: 39-10=29
Exploring Operation: 39-13=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 91:[10, 26] Operation: 39-13=26
Moving to Node #0,0,0
Current State: 91:[10, 3], Operations: ['34-24=10', '39/13=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[13, 29], Operations: ['34-24=10', '39-10=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[10, 26], Operations: ['34-24=10', '39-13=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
65,
92,
51,
90
] | 66 | [
"92-65=27",
"90-51=39",
"27+39=66"
] | Current State: 66:[65, 92, 51, 90], Operations: []
Exploring Operation: 92-65=27, Resulting Numbers: [51, 90, 27]
Generated Node #2: [51, 90, 27] from Operation: 92-65=27
Current State: 66:[51, 90, 27], Operations: ['92-65=27']
Exploring Operation: 90-51=39, Resulting Numbers: [27, 39]
Generated Node #3: [27, 39] from Operation: 90-51=39
Current State: 66:[27, 39], Operations: ['92-65=27', '90-51=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[65, 92, 51, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [65, 51, 2]
Generated Node #0,0: 66:[65, 51, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[65, 51, 2], Operations: ['92-90=2']
Exploring Operation: 65-51=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 66:[2, 14] Operation: 65-51=14
Moving to Node #0,0,0
Current State: 66:[2, 14], Operations: ['92-90=2', '65-51=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,66 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 |
[
80,
40,
87,
73
] | 16 | [
"80/40=2",
"87-73=14",
"2+14=16"
] | Current State: 16:[80, 40, 87, 73], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [87, 73, 2]
Generated Node #2: [87, 73, 2] from Operation: 80/40=2
Current State: 16:[87, 73, 2], Operations: ['80/40=2']
Exploring Operation: 87-73=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 87-73=14
Current State: 16:[2, 14], Operations: ['80/40=2', '87-73=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[80, 40, 87, 73], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [80, 40, 14]
Generated Node #0,0: 16:[80, 40, 14] Operation: 87-73=14
Exploring Operation: 80-73=7, Resulting Numbers: [40, 87, 7]
Generated Node #0,1: 16:[40, 87, 7] Operation: 80-73=7
Exploring Operation: 87-80=7, Resulting Numbers: [40, 73, 7]
Generated Node #0,2: 16:[40, 73, 7] Operation: 87-80=7
Moving to Node #0,2
Current State: 16:[40, 73, 7], Operations: ['87-80=7']
Exploring Operation: 73-40=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 16:[7, 33] Operation: 73-40=33
Exploring Operation: 40-7=33, Resulting Numbers: [73, 33]
Generated Node #0,2,1: 16:[73, 33] Operation: 40-7=33
Exploring Operation: 73-7=66, Resulting Numbers: [40, 66]
Generated Node #0,2,2: 16:[40, 66] Operation: 73-7=66
Moving to Node #0,0
Current State: 16:[80, 40, 14], Operations: ['87-73=14']
Exploring Operation: 80/40=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 16:[14, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [14, 40]
Generated Node #0,0,1: 16:[14, 40] Operation: 80-40=40
Exploring Operation: 80-14=66, Resulting Numbers: [40, 66]
Generated Node #0,0,2: 16:[40, 66] Operation: 80-14=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[14, 2], Operations: ['87-73=14', '80/40=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[80, 40, 87, 73], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [80, 40, 14]
Generated Node #0,0: 16:[80, 40, 14] Operation: 87-73=14
Moving to Node #0,0
Current State: 16:[80, 40, 14], Operations: ['87-73=14']
Exploring Operation: 80/40=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 16:[14, 2] Operation: 80/40=2
Moving to Node #0,0,0
Current State: 16:[14, 2], Operations: ['87-73=14', '80/40=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
71,
14,
77,
7
] | 91 | [
"77-71=6",
"14*6=84",
"7+84=91"
] | Current State: 91:[71, 14, 77, 7], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [14, 7, 6]
Generated Node #2: [14, 7, 6] from Operation: 77-71=6
Current State: 91:[14, 7, 6], Operations: ['77-71=6']
Exploring Operation: 14*6=84, Resulting Numbers: [7, 84]
Generated Node #3: [7, 84] from Operation: 14*6=84
Current State: 91:[7, 84], Operations: ['77-71=6', '14*6=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[71, 14, 77, 7], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [71, 14, 11]
Generated Node #0,0: 91:[71, 14, 11] Operation: 77/7=11
Exploring Operation: 14+77=91, Resulting Numbers: [71, 7, 91]
Generated Node #0,1: 91:[71, 7, 91] Operation: 14+77=91
Exploring Operation: 71+14=85, Resulting Numbers: [77, 7, 85]
Generated Node #0,2: 91:[77, 7, 85] Operation: 71+14=85
Exploring Operation: 77-71=6, Resulting Numbers: [14, 7, 6]
Generated Node #0,3: 91:[14, 7, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[14, 7, 6], Operations: ['77-71=6']
Exploring Operation: 7+6=13, Resulting Numbers: [14, 13]
Generated Node #0,3,0: 91:[14, 13] Operation: 7+6=13
Exploring Operation: 14/7=2, Resulting Numbers: [6, 2]
Generated Node #0,3,1: 91:[6, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [6, 7]
Generated Node #0,3,2: 91:[6, 7] Operation: 14-7=7
Exploring Operation: 14-6=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 91:[7, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 91:[14, 13], Operations: ['77-71=6', '7+6=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 91:[6, 7], Operations: ['77-71=6', '14-7=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 91:[7, 8], Operations: ['77-71=6', '14-6=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 91:[6, 2], Operations: ['77-71=6', '14/7=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[71, 7, 91], Operations: ['14+77=91']
Exploring Operation: 71-7=64, Resulting Numbers: [91, 64]
Generated Node #0,1,0: 91:[91, 64] Operation: 71-7=64
Exploring Operation: 91/7=13, Resulting Numbers: [71, 13]
Generated Node #0,1,1: 91:[71, 13] Operation: 91/7=13
Exploring Operation: 91-71=20, Resulting Numbers: [7, 20]
Generated Node #0,1,2: 91:[7, 20] Operation: 91-71=20
Exploring Operation: 71+7=78, Resulting Numbers: [91, 78]
Generated Node #0,1,3: 91:[91, 78] Operation: 71+7=78
Moving to Node #0,1,2
Current State: 91:[7, 20], Operations: ['14+77=91', '91-71=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[91, 78], Operations: ['14+77=91', '71+7=78']
Exploring Operation: 91+78=169, Resulting Numbers: [169]
169,91 unequal: No Solution
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 91*78=7098, Resulting Numbers: [7098]
7098,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[71, 13], Operations: ['14+77=91', '91/7=13']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,91 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[91, 64], Operations: ['14+77=91', '71-7=64']
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,91 unequal: No Solution
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,91 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[77, 7, 85], Operations: ['71+14=85']
Exploring Operation: 7+85=92, Resulting Numbers: [77, 92]
Generated Node #0,2,0: 91:[77, 92] Operation: 7+85=92
Exploring Operation: 77/7=11, Resulting Numbers: [85, 11]
Generated Node #0,2,1: 91:[85, 11] Operation: 77/7=11
Exploring Operation: 85-77=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 91:[7, 8] Operation: 85-77=8
Exploring Operation: 77+7=84, Resulting Numbers: [85, 84]
Generated Node #0,2,3: 91:[85, 84] Operation: 77+7=84
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[7, 8], Operations: ['71+14=85', '85-77=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[85, 11], Operations: ['71+14=85', '77/7=11']
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 85*11=935, Resulting Numbers: [935]
935,91 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[85, 84], Operations: ['71+14=85', '77+7=84']
Exploring Operation: 85*84=7140, Resulting Numbers: [7140]
7140,91 unequal: No Solution
Exploring Operation: 85+84=169, Resulting Numbers: [169]
169,91 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[77, 92], Operations: ['71+14=85', '7+85=92']
Exploring Operation: 77+92=169, Resulting Numbers: [169]
169,91 unequal: No Solution
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 77*92=7084, Resulting Numbers: [7084]
7084,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[71, 14, 11], Operations: ['77/7=11']
Exploring Operation: 14-11=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 91:[71, 3] Operation: 14-11=3
Exploring Operation: 71+14=85, Resulting Numbers: [11, 85]
Generated Node #0,0,1: 91:[11, 85] Operation: 71+14=85
Exploring Operation: 71+11=82, Resulting Numbers: [14, 82]
Generated Node #0,0,2: 91:[14, 82] Operation: 71+11=82
Exploring Operation: 71-11=60, Resulting Numbers: [14, 60]
Generated Node #0,0,3: 91:[14, 60] Operation: 71-11=60
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[11, 85], Operations: ['77/7=11', '71+14=85']
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,91 unequal: No Solution
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[14, 82], Operations: ['77/7=11', '71+11=82']
Exploring Operation: 14*82=1148, Resulting Numbers: [1148]
1148,91 unequal: No Solution
Exploring Operation: 14+82=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[71, 3], Operations: ['77/7=11', '14-11=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[14, 60], Operations: ['77/7=11', '71-11=60']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,91 unequal: No Solution
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
86,
37,
37,
60
] | 27 | [
"86-60=26",
"37/37=1",
"26+1=27"
] | Current State: 27:[86, 37, 37, 60], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [37, 37, 26]
Generated Node #2: [37, 37, 26] from Operation: 86-60=26
Current State: 27:[37, 37, 26], Operations: ['86-60=26']
Exploring Operation: 37/37=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 37/37=1
Current State: 27:[26, 1], Operations: ['86-60=26', '37/37=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[86, 37, 37, 60], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [37, 37, 26]
Generated Node #0,0: 27:[37, 37, 26] Operation: 86-60=26
Moving to Node #0,0
Current State: 27:[37, 37, 26], Operations: ['86-60=26']
Exploring Operation: 37/37=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 27:[26, 1] Operation: 37/37=1
Moving to Node #0,0,0
Current State: 27:[26, 1], Operations: ['86-60=26', '37/37=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[86, 37, 37, 60], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [37, 37, 26]
Generated Node #0,0: 27:[37, 37, 26] Operation: 86-60=26
Moving to Node #0,0
Current State: 27:[37, 37, 26], Operations: ['86-60=26']
Exploring Operation: 37/37=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 27:[26, 1] Operation: 37/37=1
Moving to Node #0,0,0
Current State: 27:[26, 1], Operations: ['86-60=26', '37/37=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
16,
84,
4,
36
] | 68 | [
"16+84=100",
"36-4=32",
"100-32=68"
] | Current State: 68:[16, 84, 4, 36], Operations: []
Exploring Operation: 16+84=100, Resulting Numbers: [4, 36, 100]
Generated Node #2: [4, 36, 100] from Operation: 16+84=100
Current State: 68:[4, 36, 100], Operations: ['16+84=100']
Exploring Operation: 36-4=32, Resulting Numbers: [100, 32]
Generated Node #3: [100, 32] from Operation: 36-4=32
Current State: 68:[100, 32], Operations: ['16+84=100', '36-4=32']
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[16, 84, 4, 36], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [16, 36, 21]
Generated Node #0,0: 68:[16, 36, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [16, 36, 80]
Generated Node #0,1: 68:[16, 36, 80] Operation: 84-4=80
Exploring Operation: 84-16=68, Resulting Numbers: [4, 36, 68]
Generated Node #0,2: 68:[4, 36, 68] Operation: 84-16=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[4, 36, 68], Operations: ['84-16=68']
Exploring Operation: 68-36=32, Resulting Numbers: [4, 32]
Generated Node #0,2,0: 68:[4, 32] Operation: 68-36=32
Exploring Operation: 68/4=17, Resulting Numbers: [36, 17]
Generated Node #0,2,1: 68:[36, 17] Operation: 68/4=17
Exploring Operation: 36-4=32, Resulting Numbers: [68, 32]
Generated Node #0,2,2: 68:[68, 32] Operation: 36-4=32
Moving to Node #0,2,0
Current State: 68:[4, 32], Operations: ['84-16=68', '68-36=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[36, 17], Operations: ['84-16=68', '68/4=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[68, 32], Operations: ['84-16=68', '36-4=32']
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,68 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[16, 36, 21], Operations: ['84/4=21']
Exploring Operation: 36-21=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 68:[16, 15] Operation: 36-21=15
Exploring Operation: 21-16=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 68:[36, 5] Operation: 21-16=5
Exploring Operation: 16+21=37, Resulting Numbers: [36, 37]
Generated Node #0,0,2: 68:[36, 37] Operation: 16+21=37
Moving to Node #0,0,0
Current State: 68:[16, 15], Operations: ['84/4=21', '36-21=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,68 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[36, 5], Operations: ['84/4=21', '21-16=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,68 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[36, 37], Operations: ['84/4=21', '16+21=37']
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,68 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[16, 36, 80], Operations: ['84-4=80']
Exploring Operation: 80/16=5, Resulting Numbers: [36, 5]
Generated Node #0,1,0: 68:[36, 5] Operation: 80/16=5
Exploring Operation: 80-36=44, Resulting Numbers: [16, 44]
Generated Node #0,1,1: 68:[16, 44] Operation: 80-36=44
Exploring Operation: 80-16=64, Resulting Numbers: [36, 64]
Generated Node #0,1,2: 68:[36, 64] Operation: 80-16=64
Moving to Node #0,1,0
Current State: 68:[36, 5], Operations: ['84-4=80', '80/16=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,68 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[36, 64], Operations: ['84-4=80', '80-16=64']
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,68 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[16, 44], Operations: ['84-4=80', '80-36=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
33,
13,
19
] | 41 | [
"68-33=35",
"19-13=6",
"35+6=41"
] | Current State: 41:[68, 33, 13, 19], Operations: []
Exploring Operation: 68-33=35, Resulting Numbers: [13, 19, 35]
Generated Node #2: [13, 19, 35] from Operation: 68-33=35
Current State: 41:[13, 19, 35], Operations: ['68-33=35']
Exploring Operation: 19-13=6, Resulting Numbers: [35, 6]
Generated Node #3: [35, 6] from Operation: 19-13=6
Current State: 41:[35, 6], Operations: ['68-33=35', '19-13=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[68, 33, 13, 19], Operations: []
Exploring Operation: 13+19=32, Resulting Numbers: [68, 33, 32]
Generated Node #0,0: 41:[68, 33, 32] Operation: 13+19=32
Exploring Operation: 33+13=46, Resulting Numbers: [68, 19, 46]
Generated Node #0,1: 41:[68, 19, 46] Operation: 33+13=46
Exploring Operation: 68-13=55, Resulting Numbers: [33, 19, 55]
Generated Node #0,2: 41:[33, 19, 55] Operation: 68-13=55
Exploring Operation: 68-19=49, Resulting Numbers: [33, 13, 49]
Generated Node #0,3: 41:[33, 13, 49] Operation: 68-19=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[68, 33, 32], Operations: ['13+19=32']
Exploring Operation: 68-32=36, Resulting Numbers: [33, 36]
Generated Node #0,0,0: 41:[33, 36] Operation: 68-32=36
Exploring Operation: 68+32=100, Resulting Numbers: [33, 100]
Generated Node #0,0,1: 41:[33, 100] Operation: 68+32=100
Exploring Operation: 33+32=65, Resulting Numbers: [68, 65]
Generated Node #0,0,2: 41:[68, 65] Operation: 33+32=65
Exploring Operation: 68-33=35, Resulting Numbers: [32, 35]
Generated Node #0,0,3: 41:[32, 35] Operation: 68-33=35
Moving to Node #0,0,0
Current State: 41:[33, 36], Operations: ['13+19=32', '68-32=36']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[32, 35], Operations: ['13+19=32', '68-33=35']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,41 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[68, 65], Operations: ['13+19=32', '33+32=65']
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,41 unequal: No Solution
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,41 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[33, 100], Operations: ['13+19=32', '68+32=100']
Exploring Operation: 33+100=133, Resulting Numbers: [133]
133,41 unequal: No Solution
Exploring Operation: 33*100=3300, Resulting Numbers: [3300]
3300,41 unequal: No Solution
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[33, 19, 55], Operations: ['68-13=55']
Exploring Operation: 33+19=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 41:[55, 52] Operation: 33+19=52
Exploring Operation: 55-33=22, Resulting Numbers: [19, 22]
Generated Node #0,2,1: 41:[19, 22] Operation: 55-33=22
Exploring Operation: 33-19=14, Resulting Numbers: [55, 14]
Generated Node #0,2,2: 41:[55, 14] Operation: 33-19=14
Exploring Operation: 55-19=36, Resulting Numbers: [33, 36]
Generated Node #0,2,3: 41:[33, 36] Operation: 55-19=36
Moving to Node #0,2,3
Current State: 41:[33, 36], Operations: ['68-13=55', '55-19=36']
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[55, 52], Operations: ['68-13=55', '33+19=52']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,41 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[55, 14], Operations: ['68-13=55', '33-19=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[68, 33, 13, 19], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [33, 19, 55]
Generated Node #0,2: 41:[33, 19, 55] Operation: 68-13=55
Moving to Node #0,2
Current State: 41:[33, 19, 55], Operations: ['68-13=55']
Exploring Operation: 33-19=14, Resulting Numbers: [55, 14]
Generated Node #0,2,2: 41:[55, 14] Operation: 33-19=14
Moving to Node #0,2,2
Current State: 41:[55, 14], Operations: ['68-13=55', '33-19=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
78,
18,
74,
78
] | 91 | [
"78/78=1",
"18+74=92",
"92-1=91"
] | Current State: 91:[78, 18, 74, 78], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [18, 74, 1]
Generated Node #2: [18, 74, 1] from Operation: 78/78=1
Current State: 91:[18, 74, 1], Operations: ['78/78=1']
Exploring Operation: 18+74=92, Resulting Numbers: [1, 92]
Generated Node #3: [1, 92] from Operation: 18+74=92
Current State: 91:[1, 92], Operations: ['78/78=1', '18+74=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[78, 18, 74, 78], Operations: []
Exploring Operation: 18+74=92, Resulting Numbers: [78, 78, 92]
Generated Node #0,0: 91:[78, 78, 92] Operation: 18+74=92
Exploring Operation: 78-74=4, Resulting Numbers: [18, 78, 4]
Generated Node #0,1: 91:[18, 78, 4] Operation: 78-74=4
Exploring Operation: 78-78=0, Resulting Numbers: [18, 74, 0]
Generated Node #0,2: 91:[18, 74, 0] Operation: 78-78=0
Exploring Operation: 78/78=1, Resulting Numbers: [18, 74, 1]
Generated Node #0,3: 91:[18, 74, 1] Operation: 78/78=1
Exploring Operation: 78-74=4, Resulting Numbers: [78, 18, 4]
Generated Node #0,4: 91:[78, 18, 4] Operation: 78-74=4
Moving to Node #0,1
Current State: 91:[18, 78, 4], Operations: ['78-74=4']
Exploring Operation: 78-4=74, Resulting Numbers: [18, 74]
Generated Node #0,1,0: 91:[18, 74] Operation: 78-4=74
Exploring Operation: 18+4=22, Resulting Numbers: [78, 22]
Generated Node #0,1,1: 91:[78, 22] Operation: 18+4=22
Exploring Operation: 18-4=14, Resulting Numbers: [78, 14]
Generated Node #0,1,2: 91:[78, 14] Operation: 18-4=14
Exploring Operation: 78+4=82, Resulting Numbers: [18, 82]
Generated Node #0,1,3: 91:[18, 82] Operation: 78+4=82
Exploring Operation: 18+78=96, Resulting Numbers: [4, 96]
Generated Node #0,1,4: 91:[4, 96] Operation: 18+78=96
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[4, 96], Operations: ['78-74=4', '18+78=96']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 4*96=384, Resulting Numbers: [384]
384,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[78, 14], Operations: ['78-74=4', '18-4=14']
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,91 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[18, 82], Operations: ['78-74=4', '78+4=82']
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 18*82=1476, Resulting Numbers: [1476]
1476,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[18, 74], Operations: ['78-74=4', '78-4=74']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 18*74=1332, Resulting Numbers: [1332]
1332,91 unequal: No Solution
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[78, 22], Operations: ['78-74=4', '18+4=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,91 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: 91:[78, 18, 4], Operations: ['78-74=4']
Exploring Operation: 78+18=96, Resulting Numbers: [4, 96]
Generated Node #0,4,0: 91:[4, 96] Operation: 78+18=96
Exploring Operation: 18+4=22, Resulting Numbers: [78, 22]
Generated Node #0,4,1: 91:[78, 22] Operation: 18+4=22
Exploring Operation: 78+4=82, Resulting Numbers: [18, 82]
Generated Node #0,4,2: 91:[18, 82] Operation: 78+4=82
Exploring Operation: 18-4=14, Resulting Numbers: [78, 14]
Generated Node #0,4,3: 91:[78, 14] Operation: 18-4=14
Exploring Operation: 78-4=74, Resulting Numbers: [18, 74]
Generated Node #0,4,4: 91:[18, 74] Operation: 78-4=74
Moving to Node #0,0
Current State: 91:[78, 78, 92], Operations: ['18+74=92']
Exploring Operation: 78+78=156, Resulting Numbers: [92, 156]
Generated Node #0,0,0: 91:[92, 156] Operation: 78+78=156
Exploring Operation: 92-78=14, Resulting Numbers: [78, 14]
Generated Node #0,0,1: 91:[78, 14] Operation: 92-78=14
Exploring Operation: 92-78=14, Resulting Numbers: [78, 14]
Generated Node #0,0,2: 91:[78, 14] Operation: 92-78=14
Exploring Operation: 78/78=1, Resulting Numbers: [92, 1]
Generated Node #0,0,3: 91:[92, 1] Operation: 78/78=1
Exploring Operation: 78-78=0, Resulting Numbers: [92, 0]
Generated Node #0,0,4: 91:[92, 0] Operation: 78-78=0
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[92, 1], Operations: ['18+74=92', '78/78=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[78, 18, 74, 78], Operations: []
Exploring Operation: 18+74=92, Resulting Numbers: [78, 78, 92]
Generated Node #0,0: 91:[78, 78, 92] Operation: 18+74=92
Moving to Node #0,0
Current State: 91:[78, 78, 92], Operations: ['18+74=92']
Exploring Operation: 78/78=1, Resulting Numbers: [92, 1]
Generated Node #0,0,3: 91:[92, 1] Operation: 78/78=1
Moving to Node #0,0,3
Current State: 91:[92, 1], Operations: ['18+74=92', '78/78=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
9,
40,
93,
33
] | 12 | [
"93-9=84",
"40-33=7",
"84/7=12"
] | Current State: 12:[9, 40, 93, 33], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [40, 33, 84]
Generated Node #2: [40, 33, 84] from Operation: 93-9=84
Current State: 12:[40, 33, 84], Operations: ['93-9=84']
Exploring Operation: 40-33=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 40-33=7
Current State: 12:[84, 7], Operations: ['93-9=84', '40-33=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[9, 40, 93, 33], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [9, 93, 7]
Generated Node #0,0: 12:[9, 93, 7] Operation: 40-33=7
Exploring Operation: 93-33=60, Resulting Numbers: [9, 40, 60]
Generated Node #0,1: 12:[9, 40, 60] Operation: 93-33=60
Exploring Operation: 40-9=31, Resulting Numbers: [93, 33, 31]
Generated Node #0,2: 12:[93, 33, 31] Operation: 40-9=31
Exploring Operation: 93-40=53, Resulting Numbers: [9, 33, 53]
Generated Node #0,3: 12:[9, 33, 53] Operation: 93-40=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[9, 33, 53], Operations: ['93-40=53']
Exploring Operation: 53-9=44, Resulting Numbers: [33, 44]
Generated Node #0,3,0: 12:[33, 44] Operation: 53-9=44
Exploring Operation: 33-9=24, Resulting Numbers: [53, 24]
Generated Node #0,3,1: 12:[53, 24] Operation: 33-9=24
Exploring Operation: 9+33=42, Resulting Numbers: [53, 42]
Generated Node #0,3,2: 12:[53, 42] Operation: 9+33=42
Exploring Operation: 53-33=20, Resulting Numbers: [9, 20]
Generated Node #0,3,3: 12:[9, 20] Operation: 53-33=20
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[9, 20], Operations: ['93-40=53', '53-33=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[33, 44], Operations: ['93-40=53', '53-9=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[53, 24], Operations: ['93-40=53', '33-9=24']
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,12 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[53, 42], Operations: ['93-40=53', '9+33=42']
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,12 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[9, 40, 60], Operations: ['93-33=60']
Exploring Operation: 40-9=31, Resulting Numbers: [60, 31]
Generated Node #0,1,0: 12:[60, 31] Operation: 40-9=31
Exploring Operation: 60-40=20, Resulting Numbers: [9, 20]
Generated Node #0,1,1: 12:[9, 20] Operation: 60-40=20
Exploring Operation: 9+40=49, Resulting Numbers: [60, 49]
Generated Node #0,1,2: 12:[60, 49] Operation: 9+40=49
Exploring Operation: 60-9=51, Resulting Numbers: [40, 51]
Generated Node #0,1,3: 12:[40, 51] Operation: 60-9=51
Moving to Node #0,1,1
Current State: 12:[9, 20], Operations: ['93-33=60', '60-40=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[40, 51], Operations: ['93-33=60', '60-9=51']
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,12 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[60, 31], Operations: ['93-33=60', '40-9=31']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,12 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[60, 49], Operations: ['93-33=60', '9+40=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,12 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[9, 93, 7], Operations: ['40-33=7']
Exploring Operation: 9-7=2, Resulting Numbers: [93, 2]
Generated Node #0,0,0: 12:[93, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [93, 16]
Generated Node #0,0,1: 12:[93, 16] Operation: 9+7=16
Exploring Operation: 93-7=86, Resulting Numbers: [9, 86]
Generated Node #0,0,2: 12:[9, 86] Operation: 93-7=86
Exploring Operation: 93-9=84, Resulting Numbers: [7, 84]
Generated Node #0,0,3: 12:[7, 84] Operation: 93-9=84
Moving to Node #0,0,3
Current State: 12:[7, 84], Operations: ['40-33=7', '93-9=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 7*84=588, Resulting Numbers: [588]
588,12 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[9, 40, 93, 33], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [9, 93, 7]
Generated Node #0,0: 12:[9, 93, 7] Operation: 40-33=7
Moving to Node #0,0
Current State: 12:[9, 93, 7], Operations: ['40-33=7']
Exploring Operation: 93-9=84, Resulting Numbers: [7, 84]
Generated Node #0,0,3: 12:[7, 84] Operation: 93-9=84
Moving to Node #0,0,3
Current State: 12:[7, 84], Operations: ['40-33=7', '93-9=84']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | mult_heuristic |
[
18,
7,
27,
8
] | 65 | [
"27-18=9",
"7*8=56",
"9+56=65"
] | Current State: 65:[18, 7, 27, 8], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [7, 8, 9]
Generated Node #2: [7, 8, 9] from Operation: 27-18=9
Current State: 65:[7, 8, 9], Operations: ['27-18=9']
Exploring Operation: 7*8=56, Resulting Numbers: [9, 56]
Generated Node #3: [9, 56] from Operation: 7*8=56
Current State: 65:[9, 56], Operations: ['27-18=9', '7*8=56']
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[18, 7, 27, 8], Operations: []
Exploring Operation: 18-8=10, Resulting Numbers: [7, 27, 10]
Generated Node #0,0: 65:[7, 27, 10] Operation: 18-8=10
Exploring Operation: 18-7=11, Resulting Numbers: [27, 8, 11]
Generated Node #0,1: 65:[27, 8, 11] Operation: 18-7=11
Exploring Operation: 27-8=19, Resulting Numbers: [18, 7, 19]
Generated Node #0,2: 65:[18, 7, 19] Operation: 27-8=19
Exploring Operation: 27-7=20, Resulting Numbers: [18, 8, 20]
Generated Node #0,3: 65:[18, 8, 20] Operation: 27-7=20
Exploring Operation: 27-18=9, Resulting Numbers: [7, 8, 9]
Generated Node #0,4: 65:[7, 8, 9] Operation: 27-18=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[7, 8, 9], Operations: ['27-18=9']
Exploring Operation: 8+9=17, Resulting Numbers: [7, 17]
Generated Node #0,4,0: 65:[7, 17] Operation: 8+9=17
Exploring Operation: 9-7=2, Resulting Numbers: [8, 2]
Generated Node #0,4,1: 65:[8, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [8, 16]
Generated Node #0,4,2: 65:[8, 16] Operation: 7+9=16
Exploring Operation: 7+8=15, Resulting Numbers: [9, 15]
Generated Node #0,4,3: 65:[9, 15] Operation: 7+8=15
Exploring Operation: 7*9=63, Resulting Numbers: [8, 63]
Generated Node #0,4,4: 65:[8, 63] Operation: 7*9=63
Moving to Node #0,4,4
Current State: 65:[8, 63], Operations: ['27-18=9', '7*9=63']
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,65 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[8, 2], Operations: ['27-18=9', '9-7=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[9, 15], Operations: ['27-18=9', '7+8=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,65 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[7, 17], Operations: ['27-18=9', '8+9=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[8, 16], Operations: ['27-18=9', '7+9=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[18, 7, 19], Operations: ['27-8=19']
Exploring Operation: 19-18=1, Resulting Numbers: [7, 1]
Generated Node #0,2,0: 65:[7, 1] Operation: 19-18=1
Exploring Operation: 7+19=26, Resulting Numbers: [18, 26]
Generated Node #0,2,1: 65:[18, 26] Operation: 7+19=26
Exploring Operation: 18+7=25, Resulting Numbers: [19, 25]
Generated Node #0,2,2: 65:[19, 25] Operation: 18+7=25
Exploring Operation: 19-7=12, Resulting Numbers: [18, 12]
Generated Node #0,2,3: 65:[18, 12] Operation: 19-7=12
Exploring Operation: 18-7=11, Resulting Numbers: [19, 11]
Generated Node #0,2,4: 65:[19, 11] Operation: 18-7=11
Moving to Node #0,2,0
Current State: 65:[7, 1], Operations: ['27-8=19', '19-18=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[18, 12], Operations: ['27-8=19', '19-7=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[19, 11], Operations: ['27-8=19', '18-7=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[18, 26], Operations: ['27-8=19', '7+19=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,65 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[19, 25], Operations: ['27-8=19', '18+7=25']
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[18, 8, 20], Operations: ['27-7=20']
Exploring Operation: 20-8=12, Resulting Numbers: [18, 12]
Generated Node #0,3,0: 65:[18, 12] Operation: 20-8=12
Exploring Operation: 18+8=26, Resulting Numbers: [20, 26]
Generated Node #0,3,1: 65:[20, 26] Operation: 18+8=26
Exploring Operation: 20-18=2, Resulting Numbers: [8, 2]
Generated Node #0,3,2: 65:[8, 2] Operation: 20-18=2
Exploring Operation: 8+20=28, Resulting Numbers: [18, 28]
Generated Node #0,3,3: 65:[18, 28] Operation: 8+20=28
Exploring Operation: 18-8=10, Resulting Numbers: [20, 10]
Generated Node #0,3,4: 65:[20, 10] Operation: 18-8=10
Moving to Node #0,3,0
Current State: 65:[18, 12], Operations: ['27-7=20', '20-8=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[8, 2], Operations: ['27-7=20', '20-18=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[20, 10], Operations: ['27-7=20', '18-8=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,65 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[20, 26], Operations: ['27-7=20', '18+8=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[18, 28], Operations: ['27-7=20', '8+20=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,65 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[7, 27, 10], Operations: ['18-8=10']
Exploring Operation: 7+10=17, Resulting Numbers: [27, 17]
Generated Node #0,0,0: 65:[27, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 65:[27, 3] Operation: 10-7=3
Exploring Operation: 7*10=70, Resulting Numbers: [27, 70]
Generated Node #0,0,2: 65:[27, 70] Operation: 7*10=70
Exploring Operation: 27-10=17, Resulting Numbers: [7, 17]
Generated Node #0,0,3: 65:[7, 17] Operation: 27-10=17
Exploring Operation: 27-7=20, Resulting Numbers: [10, 20]
Generated Node #0,0,4: 65:[10, 20] Operation: 27-7=20
Moving to Node #0,0,3
Current State: 65:[7, 17], Operations: ['18-8=10', '27-10=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[10, 20], Operations: ['18-8=10', '27-7=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[27, 3], Operations: ['18-8=10', '10-7=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[27, 17], Operations: ['18-8=10', '7+10=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[27, 70], Operations: ['18-8=10', '7*10=70']
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,65 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,65 unequal: No Solution
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[27, 8, 11], Operations: ['18-7=11']
Exploring Operation: 27-8=19, Resulting Numbers: [11, 19]
Generated Node #0,1,0: 65:[11, 19] Operation: 27-8=19
Exploring Operation: 11-8=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 65:[27, 3] Operation: 11-8=3
Exploring Operation: 27-11=16, Resulting Numbers: [8, 16]
Generated Node #0,1,2: 65:[8, 16] Operation: 27-11=16
Exploring Operation: 8+11=19, Resulting Numbers: [27, 19]
Generated Node #0,1,3: 65:[27, 19] Operation: 8+11=19
Exploring Operation: 27+8=35, Resulting Numbers: [11, 35]
Generated Node #0,1,4: 65:[11, 35] Operation: 27+8=35
Moving to Node #0,1,2
Current State: 65:[8, 16], Operations: ['18-7=11', '27-11=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[11, 19], Operations: ['18-7=11', '27-8=19']
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[27, 3], Operations: ['18-7=11', '11-8=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[27, 19], Operations: ['18-7=11', '8+11=19']
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,65 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[11, 35], Operations: ['18-7=11', '27+8=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,65 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 |
[
31,
38,
87,
65
] | 29 | [
"38-31=7",
"87-65=22",
"7+22=29"
] | Current State: 29:[31, 38, 87, 65], Operations: []
Exploring Operation: 38-31=7, Resulting Numbers: [87, 65, 7]
Generated Node #2: [87, 65, 7] from Operation: 38-31=7
Current State: 29:[87, 65, 7], Operations: ['38-31=7']
Exploring Operation: 87-65=22, Resulting Numbers: [7, 22]
Generated Node #3: [7, 22] from Operation: 87-65=22
Current State: 29:[7, 22], Operations: ['38-31=7', '87-65=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[31, 38, 87, 65], Operations: []
Exploring Operation: 87-65=22, Resulting Numbers: [31, 38, 22]
Generated Node #0,0: 29:[31, 38, 22] Operation: 87-65=22
Exploring Operation: 87-38=49, Resulting Numbers: [31, 65, 49]
Generated Node #0,1: 29:[31, 65, 49] Operation: 87-38=49
Moving to Node #0,0
Current State: 29:[31, 38, 22], Operations: ['87-65=22']
Exploring Operation: 38-31=7, Resulting Numbers: [22, 7]
Generated Node #0,0,0: 29:[22, 7] Operation: 38-31=7
Exploring Operation: 38-22=16, Resulting Numbers: [31, 16]
Generated Node #0,0,1: 29:[31, 16] Operation: 38-22=16
Moving to Node #0,1
Current State: 29:[31, 65, 49], Operations: ['87-38=49']
Exploring Operation: 65-49=16, Resulting Numbers: [31, 16]
Generated Node #0,1,0: 29:[31, 16] Operation: 65-49=16
Exploring Operation: 65-31=34, Resulting Numbers: [49, 34]
Generated Node #0,1,1: 29:[49, 34] Operation: 65-31=34
Moving to Node #0,0,1
Current State: 29:[31, 16], Operations: ['87-65=22', '38-22=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[31, 16], Operations: ['87-38=49', '65-49=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[49, 34], Operations: ['87-38=49', '65-31=34']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[22, 7], Operations: ['87-65=22', '38-31=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[31, 38, 87, 65], Operations: []
Exploring Operation: 87-65=22, Resulting Numbers: [31, 38, 22]
Generated Node #0,0: 29:[31, 38, 22] Operation: 87-65=22
Moving to Node #0,0
Current State: 29:[31, 38, 22], Operations: ['87-65=22']
Exploring Operation: 38-31=7, Resulting Numbers: [22, 7]
Generated Node #0,0,0: 29:[22, 7] Operation: 38-31=7
Moving to Node #0,0,0
Current State: 29:[22, 7], Operations: ['87-65=22', '38-31=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
36,
23,
92,
71
] | 80 | [
"36+23=59",
"92-71=21",
"59+21=80"
] | Current State: 80:[36, 23, 92, 71], Operations: []
Exploring Operation: 36+23=59, Resulting Numbers: [92, 71, 59]
Generated Node #2: [92, 71, 59] from Operation: 36+23=59
Current State: 80:[92, 71, 59], Operations: ['36+23=59']
Exploring Operation: 92-71=21, Resulting Numbers: [59, 21]
Generated Node #3: [59, 21] from Operation: 92-71=21
Current State: 80:[59, 21], Operations: ['36+23=59', '92-71=21']
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[36, 23, 92, 71], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [36, 23, 21]
Generated Node #0,0: 80:[36, 23, 21] Operation: 92-71=21
Exploring Operation: 92/23=4, Resulting Numbers: [36, 71, 4]
Generated Node #0,1: 80:[36, 71, 4] Operation: 92/23=4
Moving to Node #0,0
Current State: 80:[36, 23, 21], Operations: ['92-71=21']
Exploring Operation: 36-23=13, Resulting Numbers: [21, 13]
Generated Node #0,0,0: 80:[21, 13] Operation: 36-23=13
Exploring Operation: 36-21=15, Resulting Numbers: [23, 15]
Generated Node #0,0,1: 80:[23, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[21, 13], Operations: ['92-71=21', '36-23=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[23, 15], Operations: ['92-71=21', '36-21=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,80 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: 80:[36, 71, 4], Operations: ['92/23=4']
Exploring Operation: 36+4=40, Resulting Numbers: [71, 40]
Generated Node #0,1,0: 80:[71, 40] Operation: 36+4=40
Exploring Operation: 71-36=35, Resulting Numbers: [4, 35]
Generated Node #0,1,1: 80:[4, 35] Operation: 71-36=35
Moving to Node #0,1,1
Current State: 80:[4, 35], Operations: ['92/23=4', '71-36=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[71, 40], Operations: ['92/23=4', '36+4=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,80 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
32,
24,
49,
26
] | 95 | [
"32-26=6",
"24*6=144",
"144-49=95"
] | Current State: 95:[32, 24, 49, 26], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [24, 49, 6]
Generated Node #2: [24, 49, 6] from Operation: 32-26=6
Current State: 95:[24, 49, 6], Operations: ['32-26=6']
Exploring Operation: 24*6=144, Resulting Numbers: [49, 144]
Generated Node #3: [49, 144] from Operation: 24*6=144
Current State: 95:[49, 144], Operations: ['32-26=6', '24*6=144']
Exploring Operation: 144-49=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[32, 24, 49, 26], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [32, 24, 23]
Generated Node #0,0: 95:[32, 24, 23] Operation: 49-26=23
Exploring Operation: 49-32=17, Resulting Numbers: [24, 26, 17]
Generated Node #0,1: 95:[24, 26, 17] Operation: 49-32=17
Exploring Operation: 49-24=25, Resulting Numbers: [32, 26, 25]
Generated Node #0,2: 95:[32, 26, 25] Operation: 49-24=25
Exploring Operation: 32+49=81, Resulting Numbers: [24, 26, 81]
Generated Node #0,3: 95:[24, 26, 81] Operation: 32+49=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[24, 26, 17], Operations: ['49-32=17']
Exploring Operation: 24+17=41, Resulting Numbers: [26, 41]
Generated Node #0,1,0: 95:[26, 41] Operation: 24+17=41
Exploring Operation: 26-24=2, Resulting Numbers: [17, 2]
Generated Node #0,1,1: 95:[17, 2] Operation: 26-24=2
Exploring Operation: 26-17=9, Resulting Numbers: [24, 9]
Generated Node #0,1,2: 95:[24, 9] Operation: 26-17=9
Exploring Operation: 24-17=7, Resulting Numbers: [26, 7]
Generated Node #0,1,3: 95:[26, 7] Operation: 24-17=7
Moving to Node #0,1,1
Current State: 95:[17, 2], Operations: ['49-32=17', '26-24=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[26, 7], Operations: ['49-32=17', '24-17=7']
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[24, 9], Operations: ['49-32=17', '26-17=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,95 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[26, 41], Operations: ['49-32=17', '24+17=41']
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[32, 24, 23], Operations: ['49-26=23']
Exploring Operation: 32+24=56, Resulting Numbers: [23, 56]
Generated Node #0,0,0: 95:[23, 56] Operation: 32+24=56
Exploring Operation: 32-24=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 95:[23, 8] Operation: 32-24=8
Exploring Operation: 24-23=1, Resulting Numbers: [32, 1]
Generated Node #0,0,2: 95:[32, 1] Operation: 24-23=1
Exploring Operation: 32-23=9, Resulting Numbers: [24, 9]
Generated Node #0,0,3: 95:[24, 9] Operation: 32-23=9
Moving to Node #0,0,1
Current State: 95:[23, 8], Operations: ['49-26=23', '32-24=8']
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,95 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[24, 9], Operations: ['49-26=23', '32-23=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,95 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[32, 1], Operations: ['49-26=23', '24-23=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[23, 56], Operations: ['49-26=23', '32+24=56']
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,95 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[32, 26, 25], Operations: ['49-24=25']
Exploring Operation: 32-25=7, Resulting Numbers: [26, 7]
Generated Node #0,2,0: 95:[26, 7] Operation: 32-25=7
Exploring Operation: 26-25=1, Resulting Numbers: [32, 1]
Generated Node #0,2,1: 95:[32, 1] Operation: 26-25=1
Exploring Operation: 32+26=58, Resulting Numbers: [25, 58]
Generated Node #0,2,2: 95:[25, 58] Operation: 32+26=58
Exploring Operation: 32-26=6, Resulting Numbers: [25, 6]
Generated Node #0,2,3: 95:[25, 6] Operation: 32-26=6
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[25, 6], Operations: ['49-24=25', '32-26=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,95 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[26, 7], Operations: ['49-24=25', '32-25=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[32, 1], Operations: ['49-24=25', '26-25=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[25, 58], Operations: ['49-24=25', '32+26=58']
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,95 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[24, 26, 81], Operations: ['32+49=81']
Exploring Operation: 81-26=55, Resulting Numbers: [24, 55]
Generated Node #0,3,0: 95:[24, 55] Operation: 81-26=55
Exploring Operation: 26+81=107, Resulting Numbers: [24, 107]
Generated Node #0,3,1: 95:[24, 107] Operation: 26+81=107
Exploring Operation: 24+81=105, Resulting Numbers: [26, 105]
Generated Node #0,3,2: 95:[26, 105] Operation: 24+81=105
Exploring Operation: 26-24=2, Resulting Numbers: [81, 2]
Generated Node #0,3,3: 95:[81, 2] Operation: 26-24=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 95:[24, 107], Operations: ['32+49=81', '26+81=107']
Exploring Operation: 107-24=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 24+107=131, Resulting Numbers: [131]
131,95 unequal: No Solution
Exploring Operation: 24*107=2568, Resulting Numbers: [2568]
2568,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[26, 105], Operations: ['32+49=81', '24+81=105']
Exploring Operation: 105-26=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 26*105=2730, Resulting Numbers: [2730]
2730,95 unequal: No Solution
Exploring Operation: 26+105=131, Resulting Numbers: [131]
131,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[81, 2], Operations: ['32+49=81', '26-24=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[24, 55], Operations: ['32+49=81', '81-26=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,95 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
72,
88,
66,
33
] | 48 | [
"88-66=22",
"72*22=1584",
"1584/33=48"
] | Current State: 48:[72, 88, 66, 33], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [72, 33, 22]
Generated Node #2: [72, 33, 22] from Operation: 88-66=22
Current State: 48:[72, 33, 22], Operations: ['88-66=22']
Exploring Operation: 72*22=1584, Resulting Numbers: [33, 1584]
Generated Node #3: [33, 1584] from Operation: 72*22=1584
Current State: 48:[33, 1584], Operations: ['88-66=22', '72*22=1584']
Exploring Operation: 1584/33=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[72, 88, 66, 33], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [66, 33, 16]
Generated Node #0,0: 48:[66, 33, 16] Operation: 88-72=16
Exploring Operation: 72-66=6, Resulting Numbers: [88, 33, 6]
Generated Node #0,1: 48:[88, 33, 6] Operation: 72-66=6
Exploring Operation: 88-66=22, Resulting Numbers: [72, 33, 22]
Generated Node #0,2: 48:[72, 33, 22] Operation: 88-66=22
Moving to Node #0,0
Current State: 48:[66, 33, 16], Operations: ['88-72=16']
Exploring Operation: 66-33=33, Resulting Numbers: [16, 33]
Generated Node #0,0,0: 48:[16, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 48:[16, 2] Operation: 66/33=2
Exploring Operation: 66-16=50, Resulting Numbers: [33, 50]
Generated Node #0,0,2: 48:[33, 50] Operation: 66-16=50
Moving to Node #0,2
Current State: 48:[72, 33, 22], Operations: ['88-66=22']
Exploring Operation: 72-33=39, Resulting Numbers: [22, 39]
Generated Node #0,2,0: 48:[22, 39] Operation: 72-33=39
Exploring Operation: 72-22=50, Resulting Numbers: [33, 50]
Generated Node #0,2,1: 48:[33, 50] Operation: 72-22=50
Exploring Operation: 33-22=11, Resulting Numbers: [72, 11]
Generated Node #0,2,2: 48:[72, 11] Operation: 33-22=11
Moving to Node #0,1
Current State: 48:[88, 33, 6], Operations: ['72-66=6']
Exploring Operation: 88-6=82, Resulting Numbers: [33, 82]
Generated Node #0,1,0: 48:[33, 82] Operation: 88-6=82
Exploring Operation: 33-6=27, Resulting Numbers: [88, 27]
Generated Node #0,1,1: 48:[88, 27] Operation: 33-6=27
Exploring Operation: 88-33=55, Resulting Numbers: [6, 55]
Generated Node #0,1,2: 48:[6, 55] Operation: 88-33=55
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[6, 55], Operations: ['72-66=6', '88-33=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,48 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[33, 82], Operations: ['72-66=6', '88-6=82']
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,48 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[88, 27], Operations: ['72-66=6', '33-6=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,48 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,48 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,48 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: 48:[16, 2], Operations: ['88-72=16', '66/33=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[16, 33], Operations: ['88-72=16', '66-33=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[33, 50], Operations: ['88-72=16', '66-16=50']
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,48 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[33, 50], Operations: ['88-66=22', '72-22=50']
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,48 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[22, 39], Operations: ['88-66=22', '72-33=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,48 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[72, 11], Operations: ['88-66=22', '33-22=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,48 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,48 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
48,
80,
9
] | 23 | [
"64+48=112",
"80+9=89",
"112-89=23"
] | Current State: 23:[64, 48, 80, 9], Operations: []
Exploring Operation: 64+48=112, Resulting Numbers: [80, 9, 112]
Generated Node #2: [80, 9, 112] from Operation: 64+48=112
Current State: 23:[80, 9, 112], Operations: ['64+48=112']
Exploring Operation: 80+9=89, Resulting Numbers: [112, 89]
Generated Node #3: [112, 89] from Operation: 80+9=89
Current State: 23:[112, 89], Operations: ['64+48=112', '80+9=89']
Exploring Operation: 112-89=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[64, 48, 80, 9], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [48, 9, 16]
Generated Node #0,0: 23:[48, 9, 16] Operation: 80-64=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[48, 9, 16], Operations: ['80-64=16']
Exploring Operation: 48-9=39, Resulting Numbers: [16, 39]
Generated Node #0,0,0: 23:[16, 39] Operation: 48-9=39
Moving to Node #0,0,0
Current State: 23:[16, 39], Operations: ['80-64=16', '48-9=39']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[64, 48, 80, 9], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [48, 9, 16]
Generated Node #0,0: 23:[48, 9, 16] Operation: 80-64=16
Moving to Node #0,0
Current State: 23:[48, 9, 16], Operations: ['80-64=16']
Exploring Operation: 48-9=39, Resulting Numbers: [16, 39]
Generated Node #0,0,0: 23:[16, 39] Operation: 48-9=39
Moving to Node #0,0,0
Current State: 23:[16, 39], Operations: ['80-64=16', '48-9=39']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
57,
19,
99,
48
] | 83 | [
"57/19=3",
"48/3=16",
"99-16=83"
] | Current State: 83:[57, 19, 99, 48], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [99, 48, 3]
Generated Node #2: [99, 48, 3] from Operation: 57/19=3
Current State: 83:[99, 48, 3], Operations: ['57/19=3']
Exploring Operation: 48/3=16, Resulting Numbers: [99, 16]
Generated Node #3: [99, 16] from Operation: 48/3=16
Current State: 83:[99, 16], Operations: ['57/19=3', '48/3=16']
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[57, 19, 99, 48], Operations: []
Exploring Operation: 19+48=67, Resulting Numbers: [57, 99, 67]
Generated Node #0,0: 83:[57, 99, 67] Operation: 19+48=67
Exploring Operation: 57+19=76, Resulting Numbers: [99, 48, 76]
Generated Node #0,1: 83:[99, 48, 76] Operation: 57+19=76
Moving to Node #0,0
Current State: 83:[57, 99, 67], Operations: ['19+48=67']
Exploring Operation: 99-57=42, Resulting Numbers: [67, 42]
Generated Node #0,0,0: 83:[67, 42] Operation: 99-57=42
Exploring Operation: 57+67=124, Resulting Numbers: [99, 124]
Generated Node #0,0,1: 83:[99, 124] Operation: 57+67=124
Moving to Node #0,1
Current State: 83:[99, 48, 76], Operations: ['57+19=76']
Exploring Operation: 99-48=51, Resulting Numbers: [76, 51]
Generated Node #0,1,0: 83:[76, 51] Operation: 99-48=51
Exploring Operation: 48+76=124, Resulting Numbers: [99, 124]
Generated Node #0,1,1: 83:[99, 124] Operation: 48+76=124
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[76, 51], Operations: ['57+19=76', '99-48=51']
Exploring Operation: 76+51=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[99, 124], Operations: ['57+19=76', '48+76=124']
Exploring Operation: 124-99=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 99+124=223, Resulting Numbers: [223]
223,83 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: 83:[67, 42], Operations: ['19+48=67', '99-57=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[99, 124], Operations: ['19+48=67', '57+67=124']
Exploring Operation: 99+124=223, Resulting Numbers: [223]
223,83 unequal: No Solution
Exploring Operation: 124-99=25, Resulting Numbers: [25]
25,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
87,
45,
6
] | 38 | [
"87+45=132",
"132/6=22",
"16+22=38"
] | Current State: 38:[16, 87, 45, 6], Operations: []
Exploring Operation: 87+45=132, Resulting Numbers: [16, 6, 132]
Generated Node #2: [16, 6, 132] from Operation: 87+45=132
Current State: 38:[16, 6, 132], Operations: ['87+45=132']
Exploring Operation: 132/6=22, Resulting Numbers: [16, 22]
Generated Node #3: [16, 22] from Operation: 132/6=22
Current State: 38:[16, 22], Operations: ['87+45=132', '132/6=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[16, 87, 45, 6], Operations: []
Exploring Operation: 16+6=22, Resulting Numbers: [87, 45, 22]
Generated Node #0,0: 38:[87, 45, 22] Operation: 16+6=22
Exploring Operation: 87-45=42, Resulting Numbers: [16, 6, 42]
Generated Node #0,1: 38:[16, 6, 42] Operation: 87-45=42
Exploring Operation: 87-6=81, Resulting Numbers: [16, 45, 81]
Generated Node #0,2: 38:[16, 45, 81] Operation: 87-6=81
Exploring Operation: 45-6=39, Resulting Numbers: [16, 87, 39]
Generated Node #0,3: 38:[16, 87, 39] Operation: 45-6=39
Exploring Operation: 87-16=71, Resulting Numbers: [45, 6, 71]
Generated Node #0,4: 38:[45, 6, 71] Operation: 87-16=71
Moving to Node #0,1
Current State: 38:[16, 6, 42], Operations: ['87-45=42']
Exploring Operation: 16+6=22, Resulting Numbers: [42, 22]
Generated Node #0,1,0: 38:[42, 22] Operation: 16+6=22
Exploring Operation: 16-6=10, Resulting Numbers: [42, 10]
Generated Node #0,1,1: 38:[42, 10] Operation: 16-6=10
Exploring Operation: 42-16=26, Resulting Numbers: [6, 26]
Generated Node #0,1,2: 38:[6, 26] Operation: 42-16=26
Exploring Operation: 42/6=7, Resulting Numbers: [16, 7]
Generated Node #0,1,3: 38:[16, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [16, 36]
Generated Node #0,1,4: 38:[16, 36] Operation: 42-6=36
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[16, 36], Operations: ['87-45=42', '42-6=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,38 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[42, 22], Operations: ['87-45=42', '16+6=22']
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,38 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[16, 7], Operations: ['87-45=42', '42/6=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[6, 26], Operations: ['87-45=42', '42-16=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,38 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[42, 10], Operations: ['87-45=42', '16-6=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,38 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,38 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: 38:[45, 6, 71], Operations: ['87-16=71']
Exploring Operation: 45+6=51, Resulting Numbers: [71, 51]
Generated Node #0,4,0: 38:[71, 51] Operation: 45+6=51
Exploring Operation: 71-45=26, Resulting Numbers: [6, 26]
Generated Node #0,4,1: 38:[6, 26] Operation: 71-45=26
Exploring Operation: 45-6=39, Resulting Numbers: [71, 39]
Generated Node #0,4,2: 38:[71, 39] Operation: 45-6=39
Exploring Operation: 71-6=65, Resulting Numbers: [45, 65]
Generated Node #0,4,3: 38:[45, 65] Operation: 71-6=65
Exploring Operation: 6+71=77, Resulting Numbers: [45, 77]
Generated Node #0,4,4: 38:[45, 77] Operation: 6+71=77
Moving to Node #0,2
Current State: 38:[16, 45, 81], Operations: ['87-6=81']
Exploring Operation: 81-16=65, Resulting Numbers: [45, 65]
Generated Node #0,2,0: 38:[45, 65] Operation: 81-16=65
Exploring Operation: 16+81=97, Resulting Numbers: [45, 97]
Generated Node #0,2,1: 38:[45, 97] Operation: 16+81=97
Exploring Operation: 45-16=29, Resulting Numbers: [81, 29]
Generated Node #0,2,2: 38:[81, 29] Operation: 45-16=29
Exploring Operation: 81-45=36, Resulting Numbers: [16, 36]
Generated Node #0,2,3: 38:[16, 36] Operation: 81-45=36
Exploring Operation: 16+45=61, Resulting Numbers: [81, 61]
Generated Node #0,2,4: 38:[81, 61] Operation: 16+45=61
Moving to Node #0,3
Current State: 38:[16, 87, 39], Operations: ['45-6=39']
Exploring Operation: 16+39=55, Resulting Numbers: [87, 55]
Generated Node #0,3,0: 38:[87, 55] Operation: 16+39=55
Exploring Operation: 87-39=48, Resulting Numbers: [16, 48]
Generated Node #0,3,1: 38:[16, 48] Operation: 87-39=48
Exploring Operation: 39-16=23, Resulting Numbers: [87, 23]
Generated Node #0,3,2: 38:[87, 23] Operation: 39-16=23
Exploring Operation: 87-16=71, Resulting Numbers: [39, 71]
Generated Node #0,3,3: 38:[39, 71] Operation: 87-16=71
Exploring Operation: 16+87=103, Resulting Numbers: [39, 103]
Generated Node #0,3,4: 38:[39, 103] Operation: 16+87=103
Moving to Node #0,0
Current State: 38:[87, 45, 22], Operations: ['16+6=22']
Exploring Operation: 87-22=65, Resulting Numbers: [45, 65]
Generated Node #0,0,0: 38:[45, 65] Operation: 87-22=65
Exploring Operation: 87+22=109, Resulting Numbers: [45, 109]
Generated Node #0,0,1: 38:[45, 109] Operation: 87+22=109
Exploring Operation: 45-22=23, Resulting Numbers: [87, 23]
Generated Node #0,0,2: 38:[87, 23] Operation: 45-22=23
Exploring Operation: 45+22=67, Resulting Numbers: [87, 67]
Generated Node #0,0,3: 38:[87, 67] Operation: 45+22=67
Exploring Operation: 87-45=42, Resulting Numbers: [22, 42]
Generated Node #0,0,4: 38:[22, 42] Operation: 87-45=42
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 38:[22, 42], Operations: ['16+6=22', '87-45=42']
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,38 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[45, 65], Operations: ['16+6=22', '87-22=65']
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,38 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[87, 23], Operations: ['16+6=22', '45-22=23']
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,38 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[45, 109], Operations: ['16+6=22', '87+22=109']
Exploring Operation: 45+109=154, Resulting Numbers: [154]
154,38 unequal: No Solution
Exploring Operation: 45*109=4905, Resulting Numbers: [4905]
4905,38 unequal: No Solution
Exploring Operation: 109-45=64, Resulting Numbers: [64]
64,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[87, 67], Operations: ['16+6=22', '45+22=67']
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,38 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 38:[16, 36], Operations: ['87-6=81', '81-45=36']
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,38 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[6, 26], Operations: ['87-16=71', '71-45=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[16, 48], Operations: ['45-6=39', '87-39=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,38 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[45, 65], Operations: ['87-6=81', '81-16=65']
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[45, 65], Operations: ['87-16=71', '71-6=65']
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,38 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[39, 71], Operations: ['45-6=39', '87-16=71']
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,38 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Moving to Node #0,4,2
Current State: 38:[71, 39], Operations: ['87-16=71', '45-6=39']
Exploring Operation: 71*39=2769, Resulting Numbers: [2769]
2769,38 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 71+39=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[45, 77], Operations: ['87-16=71', '6+71=77']
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,38 unequal: No Solution
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,38 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[71, 51], Operations: ['87-16=71', '45+6=51']
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,38 unequal: No Solution
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[81, 29], Operations: ['87-6=81', '45-16=29']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,38 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[87, 23], Operations: ['45-6=39', '39-16=23']
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,38 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[39, 103], Operations: ['45-6=39', '16+87=103']
Exploring Operation: 39+103=142, Resulting Numbers: [142]
142,38 unequal: No Solution
Exploring Operation: 103-39=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 39*103=4017, Resulting Numbers: [4017]
4017,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[87, 55], Operations: ['45-6=39', '16+39=55']
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 87+55=142, Resulting Numbers: [142]
142,38 unequal: No Solution
Exploring Operation: 87*55=4785, Resulting Numbers: [4785]
4785,38 unequal: No Solution
Moving to Node #0,2,4
Current State: 38:[81, 61], Operations: ['87-6=81', '16+45=61']
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,38 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[45, 97], Operations: ['87-6=81', '16+81=97']
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,38 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,38 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
78,
58,
29
] | 52 | [
"26+78=104",
"58/29=2",
"104/2=52"
] | Current State: 52:[26, 78, 58, 29], Operations: []
Exploring Operation: 26+78=104, Resulting Numbers: [58, 29, 104]
Generated Node #2: [58, 29, 104] from Operation: 26+78=104
Current State: 52:[58, 29, 104], Operations: ['26+78=104']
Exploring Operation: 58/29=2, Resulting Numbers: [104, 2]
Generated Node #3: [104, 2] from Operation: 58/29=2
Current State: 52:[104, 2], Operations: ['26+78=104', '58/29=2']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[26, 78, 58, 29], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [26, 29, 20]
Generated Node #0,0: 52:[26, 29, 20] Operation: 78-58=20
Exploring Operation: 78-26=52, Resulting Numbers: [58, 29, 52]
Generated Node #0,1: 52:[58, 29, 52] Operation: 78-26=52
Moving to Node #0,0
Current State: 52:[26, 29, 20], Operations: ['78-58=20']
Exploring Operation: 29+20=49, Resulting Numbers: [26, 49]
Generated Node #0,0,0: 52:[26, 49] Operation: 29+20=49
Exploring Operation: 29-20=9, Resulting Numbers: [26, 9]
Generated Node #0,0,1: 52:[26, 9] Operation: 29-20=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[26, 49], Operations: ['78-58=20', '29+20=49']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,52 unequal: No Solution
No 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: 52:[26, 9], Operations: ['78-58=20', '29-20=9']
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,52 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: 52:[58, 29, 52], Operations: ['78-26=52']
Exploring Operation: 58-29=29, Resulting Numbers: [52, 29]
Generated Node #0,1,0: 52:[52, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [52, 2]
Generated Node #0,1,1: 52:[52, 2] Operation: 58/29=2
Moving to Node #0,1,1
Current State: 52:[52, 2], Operations: ['78-26=52', '58/29=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[52, 29], Operations: ['78-26=52', '58-29=29']
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
14,
63,
56
] | 77 | [
"56+14=70",
"63-56=7",
"70+7=77"
] | Current State: 77:[56, 14, 63, 56], Operations: []
Exploring Operation: 56+14=70, Resulting Numbers: [63, 70]
Generated Node #2: [63, 70] from Operation: 56+14=70
Current State: 77:[63, 70], Operations: ['56+14=70']
Exploring Operation: 63-56=7, Resulting Numbers: [70, 7]
Generated Node #3: [70, 7] from Operation: 63-56=7
Current State: 77:[70, 7], Operations: ['56+14=70', '63-56=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[56, 14, 63, 56], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [14, 63, 1]
Generated Node #0,0: 77:[14, 63, 1] Operation: 56/56=1
Moving to Node #0,0
Current State: 77:[14, 63, 1], Operations: ['56/56=1']
Exploring Operation: 14+63=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 77:[1, 77] Operation: 14+63=77
Moving to Node #0,0,0
Current State: 77:[1, 77], Operations: ['56/56=1', '14+63=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[56, 14, 63, 56], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [14, 63, 1]
Generated Node #0,0: 77:[14, 63, 1] Operation: 56/56=1
Moving to Node #0,0
Current State: 77:[14, 63, 1], Operations: ['56/56=1']
Exploring Operation: 14+63=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 77:[1, 77] Operation: 14+63=77
Moving to Node #0,0,0
Current State: 77:[1, 77], Operations: ['56/56=1', '14+63=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
40,
22,
44,
15
] | 53 | [
"40+15=55",
"44/22=2",
"55-2=53"
] | Current State: 53:[40, 22, 44, 15], Operations: []
Exploring Operation: 40+15=55, Resulting Numbers: [22, 44, 55]
Generated Node #2: [22, 44, 55] from Operation: 40+15=55
Current State: 53:[22, 44, 55], Operations: ['40+15=55']
Exploring Operation: 44/22=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 44/22=2
Current State: 53:[55, 2], Operations: ['40+15=55', '44/22=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[40, 22, 44, 15], Operations: []
Exploring Operation: 22+15=37, Resulting Numbers: [40, 44, 37]
Generated Node #0,0: 53:[40, 44, 37] Operation: 22+15=37
Exploring Operation: 40+15=55, Resulting Numbers: [22, 44, 55]
Generated Node #0,1: 53:[22, 44, 55] Operation: 40+15=55
Exploring Operation: 44+15=59, Resulting Numbers: [40, 22, 59]
Generated Node #0,2: 53:[40, 22, 59] Operation: 44+15=59
Moving to Node #0,0
Current State: 53:[40, 44, 37], Operations: ['22+15=37']
Exploring Operation: 40+37=77, Resulting Numbers: [44, 77]
Generated Node #0,0,0: 53:[44, 77] Operation: 40+37=77
Exploring Operation: 44+37=81, Resulting Numbers: [40, 81]
Generated Node #0,0,1: 53:[40, 81] Operation: 44+37=81
Exploring Operation: 40+44=84, Resulting Numbers: [37, 84]
Generated Node #0,0,2: 53:[37, 84] Operation: 40+44=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[44, 77], Operations: ['22+15=37', '40+37=77']
Exploring Operation: 44*77=3388, Resulting Numbers: [3388]
3388,53 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 44+77=121, Resulting Numbers: [121]
121,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:[40, 81], Operations: ['22+15=37', '44+37=81']
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,53 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,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:[37, 84], Operations: ['22+15=37', '40+44=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,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:[22, 44, 55], Operations: ['40+15=55']
Exploring Operation: 22+44=66, Resulting Numbers: [55, 66]
Generated Node #0,1,0: 53:[55, 66] Operation: 22+44=66
Exploring Operation: 55-22=33, Resulting Numbers: [44, 33]
Generated Node #0,1,1: 53:[44, 33] Operation: 55-22=33
Exploring Operation: 44-22=22, Resulting Numbers: [55, 22]
Generated Node #0,1,2: 53:[55, 22] Operation: 44-22=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[55, 66], Operations: ['40+15=55', '22+44=66']
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,53 unequal: No Solution
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,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,1,1
Current State: 53:[44, 33], Operations: ['40+15=55', '55-22=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,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,1,2
Current State: 53:[55, 22], Operations: ['40+15=55', '44-22=22']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,53 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,53 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: 53:[40, 22, 59], Operations: ['44+15=59']
Exploring Operation: 40+22=62, Resulting Numbers: [59, 62]
Generated Node #0,2,0: 53:[59, 62] Operation: 40+22=62
Exploring Operation: 59-22=37, Resulting Numbers: [40, 37]
Generated Node #0,2,1: 53:[40, 37] Operation: 59-22=37
Exploring Operation: 40-22=18, Resulting Numbers: [59, 18]
Generated Node #0,2,2: 53:[59, 18] Operation: 40-22=18
Moving to Node #0,2,0
Current State: 53:[59, 62], Operations: ['44+15=59', '40+22=62']
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,53 unequal: No Solution
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[40, 37], Operations: ['44+15=59', '59-22=37']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,53 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[59, 18], Operations: ['44+15=59', '40-22=18']
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,53 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,53 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
72,
97,
73,
91
] | 43 | [
"97-72=25",
"91-73=18",
"25+18=43"
] | Current State: 43:[72, 97, 73, 91], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [73, 91, 25]
Generated Node #2: [73, 91, 25] from Operation: 97-72=25
Current State: 43:[73, 91, 25], Operations: ['97-72=25']
Exploring Operation: 91-73=18, Resulting Numbers: [25, 18]
Generated Node #3: [25, 18] from Operation: 91-73=18
Current State: 43:[25, 18], Operations: ['97-72=25', '91-73=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[72, 97, 73, 91], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [73, 91, 25]
Generated Node #0,0: 43:[73, 91, 25] Operation: 97-72=25
Exploring Operation: 97-73=24, Resulting Numbers: [72, 91, 24]
Generated Node #0,1: 43:[72, 91, 24] Operation: 97-73=24
Exploring Operation: 97-91=6, Resulting Numbers: [72, 73, 6]
Generated Node #0,2: 43:[72, 73, 6] Operation: 97-91=6
Moving to Node #0,0
Current State: 43:[73, 91, 25], Operations: ['97-72=25']
Exploring Operation: 91-73=18, Resulting Numbers: [25, 18]
Generated Node #0,0,0: 43:[25, 18] Operation: 91-73=18
Exploring Operation: 73-25=48, Resulting Numbers: [91, 48]
Generated Node #0,0,1: 43:[91, 48] Operation: 73-25=48
Exploring Operation: 91-25=66, Resulting Numbers: [73, 66]
Generated Node #0,0,2: 43:[73, 66] Operation: 91-25=66
Moving to Node #0,1
Current State: 43:[72, 91, 24], Operations: ['97-73=24']
Exploring Operation: 91-24=67, Resulting Numbers: [72, 67]
Generated Node #0,1,0: 43:[72, 67] Operation: 91-24=67
Exploring Operation: 91-72=19, Resulting Numbers: [24, 19]
Generated Node #0,1,1: 43:[24, 19] Operation: 91-72=19
Exploring Operation: 72-24=48, Resulting Numbers: [91, 48]
Generated Node #0,1,2: 43:[91, 48] Operation: 72-24=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[24, 19], Operations: ['97-73=24', '91-72=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[72, 97, 73, 91], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [72, 91, 24]
Generated Node #0,1: 43:[72, 91, 24] Operation: 97-73=24
Moving to Node #0,1
Current State: 43:[72, 91, 24], Operations: ['97-73=24']
Exploring Operation: 91-72=19, Resulting Numbers: [24, 19]
Generated Node #0,1,1: 43:[24, 19] Operation: 91-72=19
Moving to Node #0,1,1
Current State: 43:[24, 19], Operations: ['97-73=24', '91-72=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
75,
53,
6,
14
] | 62 | [
"75-53=22",
"6*14=84",
"84-22=62"
] | Current State: 62:[75, 53, 6, 14], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [6, 14, 22]
Generated Node #2: [6, 14, 22] from Operation: 75-53=22
Current State: 62:[6, 14, 22], Operations: ['75-53=22']
Exploring Operation: 6*14=84, Resulting Numbers: [22, 84]
Generated Node #3: [22, 84] from Operation: 6*14=84
Current State: 62:[22, 84], Operations: ['75-53=22', '6*14=84']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 53, 6, 14], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [6, 14, 22]
Generated Node #0,0: 62:[6, 14, 22] Operation: 75-53=22
Exploring Operation: 75-14=61, Resulting Numbers: [53, 6, 61]
Generated Node #0,1: 62:[53, 6, 61] Operation: 75-14=61
Exploring Operation: 53+14=67, Resulting Numbers: [75, 6, 67]
Generated Node #0,2: 62:[75, 6, 67] Operation: 53+14=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[53, 6, 61], Operations: ['75-14=61']
Exploring Operation: 61-53=8, Resulting Numbers: [6, 8]
Generated Node #0,1,0: 62:[6, 8] Operation: 61-53=8
Exploring Operation: 6+61=67, Resulting Numbers: [53, 67]
Generated Node #0,1,1: 62:[53, 67] Operation: 6+61=67
Exploring Operation: 53+6=59, Resulting Numbers: [61, 59]
Generated Node #0,1,2: 62:[61, 59] Operation: 53+6=59
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[61, 59], Operations: ['75-14=61', '53+6=59']
Exploring Operation: 61+59=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 61*59=3599, Resulting Numbers: [3599]
3599,62 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No 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: 62:[6, 8], Operations: ['75-14=61', '61-53=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No 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: 62:[53, 67], Operations: ['75-14=61', '6+61=67']
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,62 unequal: No Solution
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,62 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: 62:[75, 6, 67], Operations: ['53+14=67']
Exploring Operation: 75-6=69, Resulting Numbers: [67, 69]
Generated Node #0,2,0: 62:[67, 69] Operation: 75-6=69
Exploring Operation: 67-6=61, Resulting Numbers: [75, 61]
Generated Node #0,2,1: 62:[75, 61] Operation: 67-6=61
Exploring Operation: 75-67=8, Resulting Numbers: [6, 8]
Generated Node #0,2,2: 62:[6, 8] Operation: 75-67=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[6, 8], Operations: ['53+14=67', '75-67=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,62 unequal: No Solution
No 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: 62:[67, 69], Operations: ['53+14=67', '75-6=69']
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,62 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No 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: 62:[75, 61], Operations: ['53+14=67', '67-6=61']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 75*61=4575, Resulting Numbers: [4575]
4575,62 unequal: No Solution
Exploring Operation: 75+61=136, Resulting Numbers: [136]
136,62 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: 62:[6, 14, 22], Operations: ['75-53=22']
Exploring Operation: 14-6=8, Resulting Numbers: [22, 8]
Generated Node #0,0,0: 62:[22, 8] Operation: 14-6=8
Exploring Operation: 14+22=36, Resulting Numbers: [6, 36]
Generated Node #0,0,1: 62:[6, 36] Operation: 14+22=36
Exploring Operation: 22-14=8, Resulting Numbers: [6, 8]
Generated Node #0,0,2: 62:[6, 8] Operation: 22-14=8
Moving to Node #0,0,1
Current State: 62:[6, 36], Operations: ['75-53=22', '14+22=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[6, 8], Operations: ['75-53=22', '22-14=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[22, 8], Operations: ['75-53=22', '14-6=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,62 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
78,
2,
72
] | 74 | [
"78-8=70",
"2*72=144",
"144-70=74"
] | Current State: 74:[8, 78, 2, 72], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [2, 72, 70]
Generated Node #2: [2, 72, 70] from Operation: 78-8=70
Current State: 74:[2, 72, 70], Operations: ['78-8=70']
Exploring Operation: 2*72=144, Resulting Numbers: [70, 144]
Generated Node #3: [70, 144] from Operation: 2*72=144
Current State: 74:[70, 144], Operations: ['78-8=70', '2*72=144']
Exploring Operation: 144-70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[8, 78, 2, 72], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [78, 72, 4]
Generated Node #0,0: 74:[78, 72, 4] Operation: 8/2=4
Exploring Operation: 78-8=70, Resulting Numbers: [2, 72, 70]
Generated Node #0,1: 74:[2, 72, 70] Operation: 78-8=70
Exploring Operation: 8+72=80, Resulting Numbers: [78, 2, 80]
Generated Node #0,2: 74:[78, 2, 80] Operation: 8+72=80
Exploring Operation: 78-2=76, Resulting Numbers: [8, 72, 76]
Generated Node #0,3: 74:[8, 72, 76] Operation: 78-2=76
Exploring Operation: 8-2=6, Resulting Numbers: [78, 72, 6]
Generated Node #0,4: 74:[78, 72, 6] Operation: 8-2=6
Moving to Node #0,1
Current State: 74:[2, 72, 70], Operations: ['78-8=70']
Exploring Operation: 72-70=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 74:[2, 2] Operation: 72-70=2
Exploring Operation: 70/2=35, Resulting Numbers: [72, 35]
Generated Node #0,1,1: 74:[72, 35] Operation: 70/2=35
Exploring Operation: 2+72=74, Resulting Numbers: [70, 74]
Generated Node #0,1,2: 74:[70, 74] Operation: 2+72=74
Exploring Operation: 2+70=72, Resulting Numbers: [72, 72]
Generated Node #0,1,3: 74:[72, 72] Operation: 2+70=72
Exploring Operation: 72/2=36, Resulting Numbers: [70, 36]
Generated Node #0,1,4: 74:[70, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[2, 2], Operations: ['78-8=70', '72-70=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,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,1
Current State: 74:[72, 35], Operations: ['78-8=70', '70/2=35']
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,74 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,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,2
Current State: 74:[70, 74], Operations: ['78-8=70', '2+72=74']
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,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,3
Current State: 74:[72, 72], Operations: ['78-8=70', '2+70=72']
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,74 unequal: No Solution
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,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,4
Current State: 74:[70, 36], Operations: ['78-8=70', '72/2=36']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,74 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: 74:[78, 72, 4], Operations: ['8/2=4']
Exploring Operation: 78-4=74, Resulting Numbers: [72, 74]
Generated Node #0,0,0: 74:[72, 74] Operation: 78-4=74
Exploring Operation: 78+4=82, Resulting Numbers: [72, 82]
Generated Node #0,0,1: 74:[72, 82] Operation: 78+4=82
Exploring Operation: 72+4=76, Resulting Numbers: [78, 76]
Generated Node #0,0,2: 74:[78, 76] Operation: 72+4=76
Exploring Operation: 72-4=68, Resulting Numbers: [78, 68]
Generated Node #0,0,3: 74:[78, 68] Operation: 72-4=68
Exploring Operation: 78-72=6, Resulting Numbers: [4, 6]
Generated Node #0,0,4: 74:[4, 6] Operation: 78-72=6
Moving to Node #0,2
Current State: 74:[78, 2, 80], Operations: ['8+72=80']
Exploring Operation: 78/2=39, Resulting Numbers: [80, 39]
Generated Node #0,2,0: 74:[80, 39] Operation: 78/2=39
Exploring Operation: 80-2=78, Resulting Numbers: [78, 78]
Generated Node #0,2,1: 74:[78, 78] Operation: 80-2=78
Exploring Operation: 78-2=76, Resulting Numbers: [80, 76]
Generated Node #0,2,2: 74:[80, 76] Operation: 78-2=76
Exploring Operation: 80-78=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 74:[2, 2] Operation: 80-78=2
Exploring Operation: 80/2=40, Resulting Numbers: [78, 40]
Generated Node #0,2,4: 74:[78, 40] Operation: 80/2=40
Moving to Node #0,3
Current State: 74:[8, 72, 76], Operations: ['78-2=76']
Exploring Operation: 72-8=64, Resulting Numbers: [76, 64]
Generated Node #0,3,0: 74:[76, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [76, 9]
Generated Node #0,3,1: 74:[76, 9] Operation: 72/8=9
Exploring Operation: 76-8=68, Resulting Numbers: [72, 68]
Generated Node #0,3,2: 74:[72, 68] Operation: 76-8=68
Exploring Operation: 8+72=80, Resulting Numbers: [76, 80]
Generated Node #0,3,3: 74:[76, 80] Operation: 8+72=80
Exploring Operation: 76-72=4, Resulting Numbers: [8, 4]
Generated Node #0,3,4: 74:[8, 4] Operation: 76-72=4
Moving to Node #0,4
Current State: 74:[78, 72, 6], Operations: ['8-2=6']
Exploring Operation: 72-6=66, Resulting Numbers: [78, 66]
Generated Node #0,4,0: 74:[78, 66] Operation: 72-6=66
Exploring Operation: 72+6=78, Resulting Numbers: [78, 78]
Generated Node #0,4,1: 74:[78, 78] Operation: 72+6=78
Exploring Operation: 78-72=6, Resulting Numbers: [6, 6]
Generated Node #0,4,2: 74:[6, 6] Operation: 78-72=6
Exploring Operation: 78-6=72, Resulting Numbers: [72, 72]
Generated Node #0,4,3: 74:[72, 72] Operation: 78-6=72
Exploring Operation: 78+6=84, Resulting Numbers: [72, 84]
Generated Node #0,4,4: 74:[72, 84] Operation: 78+6=84
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 74:[72, 72], Operations: ['8-2=6', '78-6=72']
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,74 unequal: No Solution
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,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,4,1
Current State: 74:[78, 78], Operations: ['8-2=6', '72+6=78']
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,74 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,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,4,2
Current State: 74:[6, 6], Operations: ['8-2=6', '78-72=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,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,4,0
Current State: 74:[78, 66], Operations: ['8-2=6', '72-6=66']
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 78*66=5148, Resulting Numbers: [5148]
5148,74 unequal: No Solution
Exploring Operation: 78+66=144, Resulting Numbers: [144]
144,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,4,4
Current State: 74:[72, 84], Operations: ['8-2=6', '78+6=84']
Exploring Operation: 72+84=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 72*84=6048, Resulting Numbers: [6048]
6048,74 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 74:[2, 2], Operations: ['8+72=80', '80-78=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[72, 74], Operations: ['8/2=4', '78-4=74']
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,74 unequal: No Solution
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[4, 6], Operations: ['8/2=4', '78-72=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[78, 76], Operations: ['8/2=4', '72+4=76']
Exploring Operation: 78*76=5928, Resulting Numbers: [5928]
5928,74 unequal: No Solution
Exploring Operation: 78+76=154, Resulting Numbers: [154]
154,74 unequal: No Solution
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[78, 40], Operations: ['8+72=80', '80/2=40']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[8, 4], Operations: ['78-2=76', '76-72=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[76, 80], Operations: ['78-2=76', '8+72=80']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[80, 76], Operations: ['8+72=80', '78-2=76']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 80+76=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 80*76=6080, Resulting Numbers: [6080]
6080,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[72, 68], Operations: ['78-2=76', '76-8=68']
Exploring Operation: 72+68=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 72*68=4896, Resulting Numbers: [4896]
4896,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[78, 78], Operations: ['8+72=80', '80-2=78']
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,74 unequal: No Solution
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[80, 39], Operations: ['8+72=80', '78/2=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,74 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[76, 9], Operations: ['78-2=76', '72/8=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,74 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[72, 82], Operations: ['8/2=4', '78+4=82']
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,74 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[78, 68], Operations: ['8/2=4', '72-4=68']
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 78+68=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Exploring Operation: 78*68=5304, Resulting Numbers: [5304]
5304,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[76, 64], Operations: ['78-2=76', '72-8=64']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,74 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
9,
3,
13
] | 62 | [
"46+13=59",
"9/3=3",
"59+3=62"
] | Current State: 62:[46, 9, 3, 13], Operations: []
Exploring Operation: 46+13=59, Resulting Numbers: [9, 3, 59]
Generated Node #2: [9, 3, 59] from Operation: 46+13=59
Current State: 62:[9, 3, 59], Operations: ['46+13=59']
Exploring Operation: 9/3=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 9/3=3
Current State: 62:[59, 3], Operations: ['46+13=59', '9/3=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[46, 9, 3, 13], Operations: []
Exploring Operation: 46+9=55, Resulting Numbers: [3, 13, 55]
Generated Node #0,0: 62:[3, 13, 55] Operation: 46+9=55
Exploring Operation: 46-13=33, Resulting Numbers: [9, 3, 33]
Generated Node #0,1: 62:[9, 3, 33] Operation: 46-13=33
Exploring Operation: 46-9=37, Resulting Numbers: [3, 13, 37]
Generated Node #0,2: 62:[3, 13, 37] Operation: 46-9=37
Exploring Operation: 13-9=4, Resulting Numbers: [46, 3, 4]
Generated Node #0,3: 62:[46, 3, 4] Operation: 13-9=4
Exploring Operation: 46+13=59, Resulting Numbers: [9, 3, 59]
Generated Node #0,4: 62:[9, 3, 59] Operation: 46+13=59
Moving to Node #0,1
Current State: 62:[9, 3, 33], Operations: ['46-13=33']
Exploring Operation: 33-3=30, Resulting Numbers: [9, 30]
Generated Node #0,1,0: 62:[9, 30] Operation: 33-3=30
Exploring Operation: 33-9=24, Resulting Numbers: [3, 24]
Generated Node #0,1,1: 62:[3, 24] Operation: 33-9=24
Exploring Operation: 9-3=6, Resulting Numbers: [33, 6]
Generated Node #0,1,2: 62:[33, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [33, 3]
Generated Node #0,1,3: 62:[33, 3] Operation: 9/3=3
Exploring Operation: 9*3=27, Resulting Numbers: [33, 27]
Generated Node #0,1,4: 62:[33, 27] Operation: 9*3=27
Moving to Node #0,4
Current State: 62:[9, 3, 59], Operations: ['46+13=59']
Exploring Operation: 9*3=27, Resulting Numbers: [59, 27]
Generated Node #0,4,0: 62:[59, 27] Operation: 9*3=27
Exploring Operation: 9/3=3, Resulting Numbers: [59, 3]
Generated Node #0,4,1: 62:[59, 3] Operation: 9/3=3
Exploring Operation: 3+59=62, Resulting Numbers: [9, 62]
Generated Node #0,4,2: 62:[9, 62] Operation: 3+59=62
Exploring Operation: 9-3=6, Resulting Numbers: [59, 6]
Generated Node #0,4,3: 62:[59, 6] Operation: 9-3=6
Exploring Operation: 9+59=68, Resulting Numbers: [3, 68]
Generated Node #0,4,4: 62:[3, 68] Operation: 9+59=68
Moving to Node #0,2
Current State: 62:[3, 13, 37], Operations: ['46-9=37']
Exploring Operation: 37-13=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 62:[3, 24] Operation: 37-13=24
Exploring Operation: 13+37=50, Resulting Numbers: [3, 50]
Generated Node #0,2,1: 62:[3, 50] Operation: 13+37=50
Exploring Operation: 37-3=34, Resulting Numbers: [13, 34]
Generated Node #0,2,2: 62:[13, 34] Operation: 37-3=34
Exploring Operation: 13-3=10, Resulting Numbers: [37, 10]
Generated Node #0,2,3: 62:[37, 10] Operation: 13-3=10
Exploring Operation: 3*13=39, Resulting Numbers: [37, 39]
Generated Node #0,2,4: 62:[37, 39] Operation: 3*13=39
Moving to Node #0,3
Current State: 62:[46, 3, 4], Operations: ['13-9=4']
Exploring Operation: 4-3=1, Resulting Numbers: [46, 1]
Generated Node #0,3,0: 62:[46, 1] Operation: 4-3=1
Exploring Operation: 46-4=42, Resulting Numbers: [3, 42]
Generated Node #0,3,1: 62:[3, 42] Operation: 46-4=42
Exploring Operation: 46+4=50, Resulting Numbers: [3, 50]
Generated Node #0,3,2: 62:[3, 50] Operation: 46+4=50
Exploring Operation: 46-3=43, Resulting Numbers: [4, 43]
Generated Node #0,3,3: 62:[4, 43] Operation: 46-3=43
Exploring Operation: 46+3=49, Resulting Numbers: [4, 49]
Generated Node #0,3,4: 62:[4, 49] Operation: 46+3=49
Moving to Node #0,0
Current State: 62:[3, 13, 55], Operations: ['46+9=55']
Exploring Operation: 3+55=58, Resulting Numbers: [13, 58]
Generated Node #0,0,0: 62:[13, 58] Operation: 3+55=58
Exploring Operation: 55-13=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 62:[3, 42] Operation: 55-13=42
Exploring Operation: 13-3=10, Resulting Numbers: [55, 10]
Generated Node #0,0,2: 62:[55, 10] Operation: 13-3=10
Exploring Operation: 13+55=68, Resulting Numbers: [3, 68]
Generated Node #0,0,3: 62:[3, 68] Operation: 13+55=68
Exploring Operation: 3*13=39, Resulting Numbers: [55, 39]
Generated Node #0,0,4: 62:[55, 39] Operation: 3*13=39
Moving to Node #0,1,3
Current State: 62:[33, 3], Operations: ['46-13=33', '9/3=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[59, 3], Operations: ['46+13=59', '9/3=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,62 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[46, 9, 3, 13], Operations: []
Exploring Operation: 46+13=59, Resulting Numbers: [9, 3, 59]
Generated Node #0,4: 62:[9, 3, 59] Operation: 46+13=59
Moving to Node #0,4
Current State: 62:[9, 3, 59], Operations: ['46+13=59']
Exploring Operation: 9/3=3, Resulting Numbers: [59, 3]
Generated Node #0,4,1: 62:[59, 3] Operation: 9/3=3
Moving to Node #0,4,1
Current State: 62:[59, 3], Operations: ['46+13=59', '9/3=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.96441 | hs_5 | mult_heuristic |
[
94,
7,
67,
81
] | 92 | [
"94+81=175",
"175/7=25",
"67+25=92"
] | Current State: 92:[94, 7, 67, 81], Operations: []
Exploring Operation: 94+81=175, Resulting Numbers: [7, 67, 175]
Generated Node #2: [7, 67, 175] from Operation: 94+81=175
Current State: 92:[7, 67, 175], Operations: ['94+81=175']
Exploring Operation: 175/7=25, Resulting Numbers: [67, 25]
Generated Node #3: [67, 25] from Operation: 175/7=25
Current State: 92:[67, 25], Operations: ['94+81=175', '175/7=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[94, 7, 67, 81], Operations: []
Exploring Operation: 7+81=88, Resulting Numbers: [94, 67, 88]
Generated Node #0,0: 92:[94, 67, 88] Operation: 7+81=88
Exploring Operation: 67-7=60, Resulting Numbers: [94, 81, 60]
Generated Node #0,1: 92:[94, 81, 60] Operation: 67-7=60
Exploring Operation: 94-67=27, Resulting Numbers: [7, 81, 27]
Generated Node #0,2: 92:[7, 81, 27] Operation: 94-67=27
Exploring Operation: 81-67=14, Resulting Numbers: [94, 7, 14]
Generated Node #0,3: 92:[94, 7, 14] Operation: 81-67=14
Moving to Node #0,3
Current State: 92:[94, 7, 14], Operations: ['81-67=14']
Exploring Operation: 14-7=7, Resulting Numbers: [94, 7]
Generated Node #0,3,0: 92:[94, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [94, 2]
Generated Node #0,3,1: 92:[94, 2] Operation: 14/7=2
Exploring Operation: 7*14=98, Resulting Numbers: [94, 98]
Generated Node #0,3,2: 92:[94, 98] Operation: 7*14=98
Exploring Operation: 7+14=21, Resulting Numbers: [94, 21]
Generated Node #0,3,3: 92:[94, 21] Operation: 7+14=21
Moving to Node #0,2
Current State: 92:[7, 81, 27], Operations: ['94-67=27']
Exploring Operation: 81/27=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 92:[7, 3] Operation: 81/27=3
Exploring Operation: 7+81=88, Resulting Numbers: [27, 88]
Generated Node #0,2,1: 92:[27, 88] Operation: 7+81=88
Exploring Operation: 81-27=54, Resulting Numbers: [7, 54]
Generated Node #0,2,2: 92:[7, 54] Operation: 81-27=54
Exploring Operation: 27-7=20, Resulting Numbers: [81, 20]
Generated Node #0,2,3: 92:[81, 20] Operation: 27-7=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[7, 3], Operations: ['94-67=27', '81/27=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[27, 88], Operations: ['94-67=27', '7+81=88']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,92 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[7, 54], Operations: ['94-67=27', '81-27=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[81, 20], Operations: ['94-67=27', '27-7=20']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,92 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: 92:[94, 81, 60], Operations: ['67-7=60']
Exploring Operation: 94-81=13, Resulting Numbers: [60, 13]
Generated Node #0,1,0: 92:[60, 13] Operation: 94-81=13
Exploring Operation: 81-60=21, Resulting Numbers: [94, 21]
Generated Node #0,1,1: 92:[94, 21] Operation: 81-60=21
Exploring Operation: 81+60=141, Resulting Numbers: [94, 141]
Generated Node #0,1,2: 92:[94, 141] Operation: 81+60=141
Exploring Operation: 94-60=34, Resulting Numbers: [81, 34]
Generated Node #0,1,3: 92:[81, 34] Operation: 94-60=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[94, 21], Operations: ['67-7=60', '81-60=21']
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,92 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,92 unequal: No Solution
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[81, 34], Operations: ['67-7=60', '94-60=34']
Exploring Operation: 81+34=115, Resulting Numbers: [115]
115,92 unequal: No Solution
Exploring Operation: 81*34=2754, Resulting Numbers: [2754]
2754,92 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[60, 13], Operations: ['67-7=60', '94-81=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,92 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[94, 141], Operations: ['67-7=60', '81+60=141']
Exploring Operation: 141-94=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 94+141=235, Resulting Numbers: [235]
235,92 unequal: No Solution
Exploring Operation: 94*141=13254, Resulting Numbers: [13254]
13254,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 92:[94, 67, 88], Operations: ['7+81=88']
Exploring Operation: 88-67=21, Resulting Numbers: [94, 21]
Generated Node #0,0,0: 92:[94, 21] Operation: 88-67=21
Exploring Operation: 94-88=6, Resulting Numbers: [67, 6]
Generated Node #0,0,1: 92:[67, 6] Operation: 94-88=6
Exploring Operation: 67+88=155, Resulting Numbers: [94, 155]
Generated Node #0,0,2: 92:[94, 155] Operation: 67+88=155
Exploring Operation: 94-67=27, Resulting Numbers: [88, 27]
Generated Node #0,0,3: 92:[88, 27] Operation: 94-67=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[94, 21], Operations: ['7+81=88', '88-67=21']
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,92 unequal: No Solution
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,92 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[88, 27], Operations: ['7+81=88', '94-67=27']
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,92 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[67, 6], Operations: ['7+81=88', '94-88=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,92 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[94, 155], Operations: ['7+81=88', '67+88=155']
Exploring Operation: 94+155=249, Resulting Numbers: [249]
249,92 unequal: No Solution
Exploring Operation: 94*155=14570, Resulting Numbers: [14570]
14570,92 unequal: No Solution
Exploring Operation: 155-94=61, Resulting Numbers: [61]
61,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 92:[94, 2], Operations: ['81-67=14', '14/7=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[94, 7, 67, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [94, 7, 14]
Generated Node #0,3: 92:[94, 7, 14] Operation: 81-67=14
Moving to Node #0,3
Current State: 92:[94, 7, 14], Operations: ['81-67=14']
Exploring Operation: 14/7=2, Resulting Numbers: [94, 2]
Generated Node #0,3,1: 92:[94, 2] Operation: 14/7=2
Moving to Node #0,3,1
Current State: 92:[94, 2], Operations: ['81-67=14', '14/7=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.947049 | hs_4 | mult_heuristic |
[
98,
85,
2,
97
] | 85 | [
"98-2=96",
"97-96=1",
"85*1=85"
] | Current State: 85:[98, 85, 2, 97], Operations: []
Exploring Operation: 98-2=96, Resulting Numbers: [85, 97, 96]
Generated Node #2: [85, 97, 96] from Operation: 98-2=96
Current State: 85:[85, 97, 96], Operations: ['98-2=96']
Exploring Operation: 97-96=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 97-96=1
Current State: 85:[85, 1], Operations: ['98-2=96', '97-96=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[98, 85, 2, 97], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [85, 2, 1]
Generated Node #0,0: 85:[85, 2, 1] Operation: 98-97=1
Exploring Operation: 98-85=13, Resulting Numbers: [2, 97, 13]
Generated Node #0,1: 85:[2, 97, 13] Operation: 98-85=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[85, 2, 1], Operations: ['98-97=1']
Exploring Operation: 2+1=3, Resulting Numbers: [85, 3]
Generated Node #0,0,0: 85:[85, 3] Operation: 2+1=3
Exploring Operation: 85*1=85, Resulting Numbers: [2, 85]
Generated Node #0,0,1: 85:[2, 85] Operation: 85*1=85
Moving to Node #0,0,0
Current State: 85:[85, 3], Operations: ['98-97=1', '2+1=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,85 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[2, 85], Operations: ['98-97=1', '85*1=85']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[2, 97, 13], Operations: ['98-85=13']
Exploring Operation: 97-2=95, Resulting Numbers: [13, 95]
Generated Node #0,1,0: 85:[13, 95] Operation: 97-2=95
Exploring Operation: 97-13=84, Resulting Numbers: [2, 84]
Generated Node #0,1,1: 85:[2, 84] Operation: 97-13=84
Moving to Node #0,1,1
Current State: 85:[2, 84], Operations: ['98-85=13', '97-13=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[13, 95], Operations: ['98-85=13', '97-2=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 13+95=108, Resulting Numbers: [108]
108,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
29,
87,
4
] | 32 | [
"87/29=3",
"4*3=12",
"44-12=32"
] | Current State: 32:[44, 29, 87, 4], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [44, 4, 3]
Generated Node #2: [44, 4, 3] from Operation: 87/29=3
Current State: 32:[44, 4, 3], Operations: ['87/29=3']
Exploring Operation: 4*3=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 4*3=12
Current State: 32:[44, 12], Operations: ['87/29=3', '4*3=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[44, 29, 87, 4], Operations: []
Exploring Operation: 87-29=58, Resulting Numbers: [44, 4, 58]
Generated Node #0,0: 32:[44, 4, 58] Operation: 87-29=58
Exploring Operation: 87-44=43, Resulting Numbers: [29, 4, 43]
Generated Node #0,1: 32:[29, 4, 43] Operation: 87-44=43
Exploring Operation: 87/29=3, Resulting Numbers: [44, 4, 3]
Generated Node #0,2: 32:[44, 4, 3] Operation: 87/29=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[44, 4, 3], Operations: ['87/29=3']
Exploring Operation: 44/4=11, Resulting Numbers: [3, 11]
Generated Node #0,2,0: 32:[3, 11] Operation: 44/4=11
Exploring Operation: 44-3=41, Resulting Numbers: [4, 41]
Generated Node #0,2,1: 32:[4, 41] Operation: 44-3=41
Exploring Operation: 44-4=40, Resulting Numbers: [3, 40]
Generated Node #0,2,2: 32:[3, 40] Operation: 44-4=40
Moving to Node #0,2,0
Current State: 32:[3, 11], Operations: ['87/29=3', '44/4=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[4, 41], Operations: ['87/29=3', '44-3=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[3, 40], Operations: ['87/29=3', '44-4=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,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
Current State: 32:[29, 4, 43], Operations: ['87-44=43']
Exploring Operation: 29+4=33, Resulting Numbers: [43, 33]
Generated Node #0,1,0: 32:[43, 33] Operation: 29+4=33
Exploring Operation: 43-4=39, Resulting Numbers: [29, 39]
Generated Node #0,1,1: 32:[29, 39] Operation: 43-4=39
Exploring Operation: 43-29=14, Resulting Numbers: [4, 14]
Generated Node #0,1,2: 32:[4, 14] Operation: 43-29=14
Moving to Node #0,1,2
Current State: 32:[4, 14], Operations: ['87-44=43', '43-29=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[29, 39], Operations: ['87-44=43', '43-4=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[43, 33], Operations: ['87-44=43', '29+4=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,32 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,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,0
Current State: 32:[44, 4, 58], Operations: ['87-29=58']
Exploring Operation: 44-4=40, Resulting Numbers: [58, 40]
Generated Node #0,0,0: 32:[58, 40] Operation: 44-4=40
Exploring Operation: 58-44=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 32:[4, 14] Operation: 58-44=14
Exploring Operation: 44/4=11, Resulting Numbers: [58, 11]
Generated Node #0,0,2: 32:[58, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[4, 14], Operations: ['87-29=58', '58-44=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[58, 11], Operations: ['87-29=58', '44/4=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,32 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[58, 40], Operations: ['87-29=58', '44-4=40']
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,32 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
97,
60,
48
] | 100 | [
"15+97=112",
"60-48=12",
"112-12=100"
] | Current State: 100:[15, 97, 60, 48], Operations: []
Exploring Operation: 15+97=112, Resulting Numbers: [60, 48, 112]
Generated Node #2: [60, 48, 112] from Operation: 15+97=112
Current State: 100:[60, 48, 112], Operations: ['15+97=112']
Exploring Operation: 60-48=12, Resulting Numbers: [112, 12]
Generated Node #3: [112, 12] from Operation: 60-48=12
Current State: 100:[112, 12], Operations: ['15+97=112', '60-48=12']
Exploring Operation: 112-12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[15, 97, 60, 48], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [97, 48, 4]
Generated Node #0,0: 100:[97, 48, 4] Operation: 60/15=4
Moving to Node #0,0
Current State: 100:[97, 48, 4], Operations: ['60/15=4']
Exploring Operation: 97-48=49, Resulting Numbers: [4, 49]
Generated Node #0,0,0: 100:[4, 49] Operation: 97-48=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[4, 49], Operations: ['60/15=4', '97-48=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,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 | sum_heuristic |
[
4,
24,
69,
52
] | 11 | [
"4+24=28",
"69-52=17",
"28-17=11"
] | Current State: 11:[4, 24, 69, 52], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [69, 52, 28]
Generated Node #2: [69, 52, 28] from Operation: 4+24=28
Current State: 11:[69, 52, 28], Operations: ['4+24=28']
Exploring Operation: 69-52=17, Resulting Numbers: [28, 17]
Generated Node #3: [28, 17] from Operation: 69-52=17
Current State: 11:[28, 17], Operations: ['4+24=28', '69-52=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[4, 24, 69, 52], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [4, 24, 17]
Generated Node #0,0: 11:[4, 24, 17] Operation: 69-52=17
Exploring Operation: 69-24=45, Resulting Numbers: [4, 52, 45]
Generated Node #0,1: 11:[4, 52, 45] Operation: 69-24=45
Exploring Operation: 52/4=13, Resulting Numbers: [24, 69, 13]
Generated Node #0,2: 11:[24, 69, 13] Operation: 52/4=13
Moving to Node #0,0
Current State: 11:[4, 24, 17], Operations: ['69-52=17']
Exploring Operation: 24-4=20, Resulting Numbers: [17, 20]
Generated Node #0,0,0: 11:[17, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [17, 6]
Generated Node #0,0,1: 11:[17, 6] Operation: 24/4=6
Exploring Operation: 24-17=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 11:[4, 7] Operation: 24-17=7
Moving to Node #0,2
Current State: 11:[24, 69, 13], Operations: ['52/4=13']
Exploring Operation: 24-13=11, Resulting Numbers: [69, 11]
Generated Node #0,2,0: 11:[69, 11] Operation: 24-13=11
Exploring Operation: 69-24=45, Resulting Numbers: [13, 45]
Generated Node #0,2,1: 11:[13, 45] Operation: 69-24=45
Exploring Operation: 69-13=56, Resulting Numbers: [24, 56]
Generated Node #0,2,2: 11:[24, 56] Operation: 69-13=56
Moving to Node #0,1
Current State: 11:[4, 52, 45], Operations: ['69-24=45']
Exploring Operation: 52-4=48, Resulting Numbers: [45, 48]
Generated Node #0,1,0: 11:[45, 48] Operation: 52-4=48
Exploring Operation: 52-45=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 11:[4, 7] Operation: 52-45=7
Exploring Operation: 52/4=13, Resulting Numbers: [45, 13]
Generated Node #0,1,2: 11:[45, 13] Operation: 52/4=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[4, 7], Operations: ['69-24=45', '52-45=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[4, 24, 69, 52], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [4, 52, 45]
Generated Node #0,1: 11:[4, 52, 45] Operation: 69-24=45
Moving to Node #0,1
Current State: 11:[4, 52, 45], Operations: ['69-24=45']
Exploring Operation: 52-45=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 11:[4, 7] Operation: 52-45=7
Moving to Node #0,1,1
Current State: 11:[4, 7], Operations: ['69-24=45', '52-45=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
42,
90,
57,
49
] | 55 | [
"57-42=15",
"90/15=6",
"49+6=55"
] | Current State: 55:[42, 90, 57, 49], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [90, 49, 15]
Generated Node #2: [90, 49, 15] from Operation: 57-42=15
Current State: 55:[90, 49, 15], Operations: ['57-42=15']
Exploring Operation: 90/15=6, Resulting Numbers: [49, 6]
Generated Node #3: [49, 6] from Operation: 90/15=6
Current State: 55:[49, 6], Operations: ['57-42=15', '90/15=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[42, 90, 57, 49], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [42, 49, 33]
Generated Node #0,0: 55:[42, 49, 33] Operation: 90-57=33
Exploring Operation: 49-42=7, Resulting Numbers: [90, 57, 7]
Generated Node #0,1: 55:[90, 57, 7] Operation: 49-42=7
Exploring Operation: 90-42=48, Resulting Numbers: [57, 49, 48]
Generated Node #0,2: 55:[57, 49, 48] Operation: 90-42=48
Exploring Operation: 90-49=41, Resulting Numbers: [42, 57, 41]
Generated Node #0,3: 55:[42, 57, 41] Operation: 90-49=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[57, 49, 48], Operations: ['90-42=48']
Exploring Operation: 49+48=97, Resulting Numbers: [57, 97]
Generated Node #0,2,0: 55:[57, 97] Operation: 49+48=97
Exploring Operation: 57-48=9, Resulting Numbers: [49, 9]
Generated Node #0,2,1: 55:[49, 9] Operation: 57-48=9
Exploring Operation: 57-49=8, Resulting Numbers: [48, 8]
Generated Node #0,2,2: 55:[48, 8] Operation: 57-49=8
Exploring Operation: 49-48=1, Resulting Numbers: [57, 1]
Generated Node #0,2,3: 55:[57, 1] Operation: 49-48=1
Moving to Node #0,2,3
Current State: 55:[57, 1], Operations: ['90-42=48', '49-48=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[49, 9], Operations: ['90-42=48', '57-48=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,55 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[48, 8], Operations: ['90-42=48', '57-49=8']
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,55 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[57, 97], Operations: ['90-42=48', '49+48=97']
Exploring Operation: 57*97=5529, Resulting Numbers: [5529]
5529,55 unequal: No Solution
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,55 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,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,3
Current State: 55:[42, 57, 41], Operations: ['90-49=41']
Exploring Operation: 42+41=83, Resulting Numbers: [57, 83]
Generated Node #0,3,0: 55:[57, 83] Operation: 42+41=83
Exploring Operation: 57-42=15, Resulting Numbers: [41, 15]
Generated Node #0,3,1: 55:[41, 15] Operation: 57-42=15
Exploring Operation: 42-41=1, Resulting Numbers: [57, 1]
Generated Node #0,3,2: 55:[57, 1] Operation: 42-41=1
Exploring Operation: 57-41=16, Resulting Numbers: [42, 16]
Generated Node #0,3,3: 55:[42, 16] Operation: 57-41=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[57, 1], Operations: ['90-49=41', '42-41=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,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:[41, 15], Operations: ['90-49=41', '57-42=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,55 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,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:[42, 16], Operations: ['90-49=41', '57-41=16']
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,55 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,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:[57, 83], Operations: ['90-49=41', '42+41=83']
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,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,1
Current State: 55:[90, 57, 7], Operations: ['49-42=7']
Exploring Operation: 90+7=97, Resulting Numbers: [57, 97]
Generated Node #0,1,0: 55:[57, 97] Operation: 90+7=97
Exploring Operation: 57-7=50, Resulting Numbers: [90, 50]
Generated Node #0,1,1: 55:[90, 50] Operation: 57-7=50
Exploring Operation: 90-57=33, Resulting Numbers: [7, 33]
Generated Node #0,1,2: 55:[7, 33] Operation: 90-57=33
Exploring Operation: 90-7=83, Resulting Numbers: [57, 83]
Generated Node #0,1,3: 55:[57, 83] Operation: 90-7=83
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[7, 33], Operations: ['49-42=7', '90-57=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,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,1,3
Current State: 55:[57, 83], Operations: ['49-42=7', '90-7=83']
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,55 unequal: No Solution
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,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,1,1
Current State: 55:[90, 50], Operations: ['49-42=7', '57-7=50']
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,55 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,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,1,0
Current State: 55:[57, 97], Operations: ['49-42=7', '90+7=97']
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,55 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 57*97=5529, Resulting Numbers: [5529]
5529,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,0
Current State: 55:[42, 49, 33], Operations: ['90-57=33']
Exploring Operation: 49-33=16, Resulting Numbers: [42, 16]
Generated Node #0,0,0: 55:[42, 16] Operation: 49-33=16
Exploring Operation: 42-33=9, Resulting Numbers: [49, 9]
Generated Node #0,0,1: 55:[49, 9] Operation: 42-33=9
Exploring Operation: 49-42=7, Resulting Numbers: [33, 7]
Generated Node #0,0,2: 55:[33, 7] Operation: 49-42=7
Exploring Operation: 42+33=75, Resulting Numbers: [49, 75]
Generated Node #0,0,3: 55:[49, 75] Operation: 42+33=75
Moving to Node #0,0,1
Current State: 55:[49, 9], Operations: ['90-57=33', '42-33=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[42, 16], Operations: ['90-57=33', '49-33=16']
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,55 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[33, 7], Operations: ['90-57=33', '49-42=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,55 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[49, 75], Operations: ['90-57=33', '42+33=75']
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,55 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,55 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
7,
3,
98
] | 45 | [
"30+7=37",
"98+37=135",
"135/3=45"
] | Current State: 45:[30, 7, 3, 98], Operations: []
Exploring Operation: 30+7=37, Resulting Numbers: [3, 98, 37]
Generated Node #2: [3, 98, 37] from Operation: 30+7=37
Current State: 45:[3, 98, 37], Operations: ['30+7=37']
Exploring Operation: 98+37=135, Resulting Numbers: [3, 135]
Generated Node #3: [3, 135] from Operation: 98+37=135
Current State: 45:[3, 135], Operations: ['30+7=37', '98+37=135']
Exploring Operation: 135/3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[30, 7, 3, 98], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [30, 3, 14]
Generated Node #0,0: 45:[30, 3, 14] Operation: 98/7=14
Moving to Node #0,0
Current State: 45:[30, 3, 14], Operations: ['98/7=14']
Exploring Operation: 30+14=44, Resulting Numbers: [3, 44]
Generated Node #0,0,0: 45:[3, 44] Operation: 30+14=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[3, 44], Operations: ['98/7=14', '30+14=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,45 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 |
[
30,
27,
45,
49
] | 99 | [
"30*45=1350",
"1350/27=50",
"49+50=99"
] | Current State: 99:[30, 27, 45, 49], Operations: []
Exploring Operation: 30*45=1350, Resulting Numbers: [27, 49, 1350]
Generated Node #2: [27, 49, 1350] from Operation: 30*45=1350
Current State: 99:[27, 49, 1350], Operations: ['30*45=1350']
Exploring Operation: 1350/27=50, Resulting Numbers: [49, 50]
Generated Node #3: [49, 50] from Operation: 1350/27=50
Current State: 99:[49, 50], Operations: ['30*45=1350', '1350/27=50']
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[30, 27, 45, 49], Operations: []
Exploring Operation: 49-45=4, Resulting Numbers: [30, 27, 4]
Generated Node #0,0: 99:[30, 27, 4] Operation: 49-45=4
Exploring Operation: 45+49=94, Resulting Numbers: [30, 27, 94]
Generated Node #0,1: 99:[30, 27, 94] Operation: 45+49=94
Exploring Operation: 45-27=18, Resulting Numbers: [30, 49, 18]
Generated Node #0,2: 99:[30, 49, 18] Operation: 45-27=18
Exploring Operation: 45-30=15, Resulting Numbers: [27, 49, 15]
Generated Node #0,3: 99:[27, 49, 15] Operation: 45-30=15
Exploring Operation: 49-30=19, Resulting Numbers: [27, 45, 19]
Generated Node #0,4: 99:[27, 45, 19] Operation: 49-30=19
Moving to Node #0,0
Current State: 99:[30, 27, 4], Operations: ['49-45=4']
Exploring Operation: 27*4=108, Resulting Numbers: [30, 108]
Generated Node #0,0,0: 99:[30, 108] Operation: 27*4=108
Exploring Operation: 30-4=26, Resulting Numbers: [27, 26]
Generated Node #0,0,1: 99:[27, 26] Operation: 30-4=26
Exploring Operation: 30-27=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 99:[4, 3] Operation: 30-27=3
Exploring Operation: 27+4=31, Resulting Numbers: [30, 31]
Generated Node #0,0,3: 99:[30, 31] Operation: 27+4=31
Exploring Operation: 30+4=34, Resulting Numbers: [27, 34]
Generated Node #0,0,4: 99:[27, 34] Operation: 30+4=34
Moving to Node #0,1
Current State: 99:[30, 27, 94], Operations: ['45+49=94']
Exploring Operation: 30+27=57, Resulting Numbers: [94, 57]
Generated Node #0,1,0: 99:[94, 57] Operation: 30+27=57
Exploring Operation: 30+94=124, Resulting Numbers: [27, 124]
Generated Node #0,1,1: 99:[27, 124] Operation: 30+94=124
Exploring Operation: 27+94=121, Resulting Numbers: [30, 121]
Generated Node #0,1,2: 99:[30, 121] Operation: 27+94=121
Exploring Operation: 30-27=3, Resulting Numbers: [94, 3]
Generated Node #0,1,3: 99:[94, 3] Operation: 30-27=3
Exploring Operation: 94-27=67, Resulting Numbers: [30, 67]
Generated Node #0,1,4: 99:[30, 67] Operation: 94-27=67
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[94, 3], Operations: ['45+49=94', '30-27=3']
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,99 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[30, 121], Operations: ['45+49=94', '27+94=121']
Exploring Operation: 30+121=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 121-30=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 30*121=3630, Resulting Numbers: [3630]
3630,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[94, 57], Operations: ['45+49=94', '30+27=57']
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 94+57=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 94*57=5358, Resulting Numbers: [5358]
5358,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[27, 124], Operations: ['45+49=94', '30+94=124']
Exploring Operation: 27+124=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 27*124=3348, Resulting Numbers: [3348]
3348,99 unequal: No Solution
Exploring Operation: 124-27=97, Resulting Numbers: [97]
97,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 99:[30, 67], Operations: ['45+49=94', '94-27=67']
Exploring Operation: 30*67=2010, Resulting Numbers: [2010]
2010,99 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,99 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: 99:[30, 49, 18], Operations: ['45-27=18']
Exploring Operation: 49-30=19, Resulting Numbers: [18, 19]
Generated Node #0,2,0: 99:[18, 19] Operation: 49-30=19
Exploring Operation: 49-18=31, Resulting Numbers: [30, 31]
Generated Node #0,2,1: 99:[30, 31] Operation: 49-18=31
Exploring Operation: 30-18=12, Resulting Numbers: [49, 12]
Generated Node #0,2,2: 99:[49, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [49, 48]
Generated Node #0,2,3: 99:[49, 48] Operation: 30+18=48
Exploring Operation: 30+49=79, Resulting Numbers: [18, 79]
Generated Node #0,2,4: 99:[18, 79] Operation: 30+49=79
Moving to Node #0,3
Current State: 99:[27, 49, 15], Operations: ['45-30=15']
Exploring Operation: 27+49=76, Resulting Numbers: [15, 76]
Generated Node #0,3,0: 99:[15, 76] Operation: 27+49=76
Exploring Operation: 27-15=12, Resulting Numbers: [49, 12]
Generated Node #0,3,1: 99:[49, 12] Operation: 27-15=12
Exploring Operation: 49-15=34, Resulting Numbers: [27, 34]
Generated Node #0,3,2: 99:[27, 34] Operation: 49-15=34
Exploring Operation: 49-27=22, Resulting Numbers: [15, 22]
Generated Node #0,3,3: 99:[15, 22] Operation: 49-27=22
Exploring Operation: 27+15=42, Resulting Numbers: [49, 42]
Generated Node #0,3,4: 99:[49, 42] Operation: 27+15=42
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[27, 34], Operations: ['45-30=15', '49-15=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,99 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[15, 22], Operations: ['45-30=15', '49-27=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[49, 12], Operations: ['45-30=15', '27-15=12']
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,99 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 99:[49, 42], Operations: ['45-30=15', '27+15=42']
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,99 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[15, 76], Operations: ['45-30=15', '27+49=76']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,99 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: 99:[27, 45, 19], Operations: ['49-30=19']
Exploring Operation: 27+19=46, Resulting Numbers: [45, 46]
Generated Node #0,4,0: 99:[45, 46] Operation: 27+19=46
Exploring Operation: 27+45=72, Resulting Numbers: [19, 72]
Generated Node #0,4,1: 99:[19, 72] Operation: 27+45=72
Exploring Operation: 27-19=8, Resulting Numbers: [45, 8]
Generated Node #0,4,2: 99:[45, 8] Operation: 27-19=8
Exploring Operation: 45-19=26, Resulting Numbers: [27, 26]
Generated Node #0,4,3: 99:[27, 26] Operation: 45-19=26
Exploring Operation: 45-27=18, Resulting Numbers: [19, 18]
Generated Node #0,4,4: 99:[19, 18] Operation: 45-27=18
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 99:[45, 8], Operations: ['49-30=19', '27-19=8']
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,99 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 99:[27, 26], Operations: ['49-30=19', '45-19=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,99 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 99:[19, 18], Operations: ['49-30=19', '45-27=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,99 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 99:[45, 46], Operations: ['49-30=19', '27+19=46']
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,99 unequal: No Solution
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 99:[19, 72], Operations: ['49-30=19', '27+45=72']
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 99:[4, 3], Operations: ['49-45=4', '30-27=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[30, 31], Operations: ['45-27=18', '49-18=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[30, 31], Operations: ['49-45=4', '27+4=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,99 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,0,4
Current State: 99:[27, 34], Operations: ['49-45=4', '30+4=34']
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,99 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[30, 108], Operations: ['49-45=4', '27*4=108']
Exploring Operation: 108-30=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 30*108=3240, Resulting Numbers: [3240]
3240,99 unequal: No Solution
Exploring Operation: 30+108=138, Resulting Numbers: [138]
138,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[27, 26], Operations: ['49-45=4', '30-4=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[18, 19], Operations: ['45-27=18', '49-30=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,99 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[49, 12], Operations: ['45-27=18', '30-18=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,99 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,2,4
Current State: 99:[18, 79], Operations: ['45-27=18', '30+49=79']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,99 unequal: No Solution
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[49, 48], Operations: ['45-27=18', '30+18=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,99 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,99 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
12,
68,
44,
8
] | 16 | [
"12*44=528",
"68*8=544",
"544-528=16"
] | Current State: 16:[12, 68, 44, 8], Operations: []
Exploring Operation: 12*44=528, Resulting Numbers: [68, 8, 528]
Generated Node #2: [68, 8, 528] from Operation: 12*44=528
Current State: 16:[68, 8, 528], Operations: ['12*44=528']
Exploring Operation: 68*8=544, Resulting Numbers: [528, 544]
Generated Node #3: [528, 544] from Operation: 68*8=544
Current State: 16:[528, 544], Operations: ['12*44=528', '68*8=544']
Exploring Operation: 544-528=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[12, 68, 44, 8], Operations: []
Exploring Operation: 68-12=56, Resulting Numbers: [44, 8, 56]
Generated Node #0,0: 16:[44, 8, 56] Operation: 68-12=56
Exploring Operation: 68-8=60, Resulting Numbers: [12, 44, 60]
Generated Node #0,1: 16:[12, 44, 60] Operation: 68-8=60
Exploring Operation: 68-44=24, Resulting Numbers: [12, 8, 24]
Generated Node #0,2: 16:[12, 8, 24] Operation: 68-44=24
Exploring Operation: 44-12=32, Resulting Numbers: [68, 8, 32]
Generated Node #0,3: 16:[68, 8, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[12, 8, 24], Operations: ['68-44=24']
Exploring Operation: 24-12=12, Resulting Numbers: [8, 12]
Generated Node #0,2,0: 16:[8, 12] Operation: 24-12=12
Exploring Operation: 24/8=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 16:[12, 3] Operation: 24/8=3
Exploring Operation: 24/12=2, Resulting Numbers: [8, 2]
Generated Node #0,2,2: 16:[8, 2] Operation: 24/12=2
Exploring Operation: 24-8=16, Resulting Numbers: [12, 16]
Generated Node #0,2,3: 16:[12, 16] Operation: 24-8=16
Moving to Node #0,2,2
Current State: 16:[8, 2], Operations: ['68-44=24', '24/12=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[12, 68, 44, 8], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [12, 8, 24]
Generated Node #0,2: 16:[12, 8, 24] Operation: 68-44=24
Moving to Node #0,2
Current State: 16:[12, 8, 24], Operations: ['68-44=24']
Exploring Operation: 24/12=2, Resulting Numbers: [8, 2]
Generated Node #0,2,2: 16:[8, 2] Operation: 24/12=2
Moving to Node #0,2,2
Current State: 16:[8, 2], Operations: ['68-44=24', '24/12=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
62,
3,
33,
1
] | 73 | [
"62*1=62",
"33/3=11",
"62+11=73"
] | Current State: 73:[62, 3, 33, 1], Operations: []
Exploring Operation: 62*1=62, Resulting Numbers: [3, 33, 62]
Generated Node #2: [3, 33, 62] from Operation: 62*1=62
Current State: 73:[3, 33, 62], Operations: ['62*1=62']
Exploring Operation: 33/3=11, Resulting Numbers: [62, 11]
Generated Node #3: [62, 11] from Operation: 33/3=11
Current State: 73:[62, 11], Operations: ['62*1=62', '33/3=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[62, 3, 33, 1], Operations: []
Exploring Operation: 62+3=65, Resulting Numbers: [33, 1, 65]
Generated Node #0,0: 73:[33, 1, 65] Operation: 62+3=65
Exploring Operation: 3*33=99, Resulting Numbers: [62, 1, 99]
Generated Node #0,1: 73:[62, 1, 99] Operation: 3*33=99
Exploring Operation: 3+33=36, Resulting Numbers: [62, 1, 36]
Generated Node #0,2: 73:[62, 1, 36] Operation: 3+33=36
Exploring Operation: 62+1=63, Resulting Numbers: [3, 33, 63]
Generated Node #0,3: 73:[3, 33, 63] Operation: 62+1=63
Exploring Operation: 3+1=4, Resulting Numbers: [62, 33, 4]
Generated Node #0,4: 73:[62, 33, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[62, 1, 99], Operations: ['3*33=99']
Exploring Operation: 99-1=98, Resulting Numbers: [62, 98]
Generated Node #0,1,0: 73:[62, 98] Operation: 99-1=98
Exploring Operation: 62/1=62, Resulting Numbers: [99, 62]
Generated Node #0,1,1: 73:[99, 62] Operation: 62/1=62
Exploring Operation: 62+1=63, Resulting Numbers: [99, 63]
Generated Node #0,1,2: 73:[99, 63] Operation: 62+1=63
Exploring Operation: 62*1=62, Resulting Numbers: [99, 62]
Generated Node #0,1,3: 73:[99, 62] Operation: 62*1=62
Exploring Operation: 1*99=99, Resulting Numbers: [62, 99]
Generated Node #0,1,4: 73:[62, 99] Operation: 1*99=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[62, 98], Operations: ['3*33=99', '99-1=98']
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 62+98=160, Resulting Numbers: [160]
160,73 unequal: No Solution
Exploring Operation: 62*98=6076, Resulting Numbers: [6076]
6076,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[99, 63], Operations: ['3*33=99', '62+1=63']
Exploring Operation: 99+63=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 99*63=6237, Resulting Numbers: [6237]
6237,73 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[99, 62], Operations: ['3*33=99', '62/1=62']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 99*62=6138, Resulting Numbers: [6138]
6138,73 unequal: No Solution
Exploring Operation: 99+62=161, Resulting Numbers: [161]
161,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[99, 62], Operations: ['3*33=99', '62*1=62']
Exploring Operation: 99+62=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 99*62=6138, Resulting Numbers: [6138]
6138,73 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[62, 99], Operations: ['3*33=99', '1*99=99']
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 62*99=6138, Resulting Numbers: [6138]
6138,73 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[33, 1, 65], Operations: ['62+3=65']
Exploring Operation: 33+1=34, Resulting Numbers: [65, 34]
Generated Node #0,0,0: 73:[65, 34] Operation: 33+1=34
Exploring Operation: 1*65=65, Resulting Numbers: [33, 65]
Generated Node #0,0,1: 73:[33, 65] Operation: 1*65=65
Exploring Operation: 33/1=33, Resulting Numbers: [65, 33]
Generated Node #0,0,2: 73:[65, 33] Operation: 33/1=33
Exploring Operation: 1+65=66, Resulting Numbers: [33, 66]
Generated Node #0,0,3: 73:[33, 66] Operation: 1+65=66
Exploring Operation: 33*1=33, Resulting Numbers: [65, 33]
Generated Node #0,0,4: 73:[65, 33] Operation: 33*1=33
Moving to Node #0,0,0
Current State: 73:[65, 34], Operations: ['62+3=65', '33+1=34']
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[33, 66], Operations: ['62+3=65', '1+65=66']
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,73 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[33, 65], Operations: ['62+3=65', '1*65=65']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[65, 33], Operations: ['62+3=65', '33/1=33']
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,73 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[65, 33], Operations: ['62+3=65', '33*1=33']
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,73 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[62, 1, 36], Operations: ['3+33=36']
Exploring Operation: 1*36=36, Resulting Numbers: [62, 36]
Generated Node #0,2,0: 73:[62, 36] Operation: 1*36=36
Exploring Operation: 1+36=37, Resulting Numbers: [62, 37]
Generated Node #0,2,1: 73:[62, 37] Operation: 1+36=37
Exploring Operation: 62+1=63, Resulting Numbers: [36, 63]
Generated Node #0,2,2: 73:[36, 63] Operation: 62+1=63
Exploring Operation: 62/1=62, Resulting Numbers: [36, 62]
Generated Node #0,2,3: 73:[36, 62] Operation: 62/1=62
Exploring Operation: 62*1=62, Resulting Numbers: [36, 62]
Generated Node #0,2,4: 73:[36, 62] Operation: 62*1=62
Moving to Node #0,2,1
Current State: 73:[62, 37], Operations: ['3+33=36', '1+36=37']
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,73 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[36, 63], Operations: ['3+33=36', '62+1=63']
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,73 unequal: No Solution
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[62, 36], Operations: ['3+33=36', '1*36=36']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,73 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[36, 62], Operations: ['3+33=36', '62/1=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[36, 62], Operations: ['3+33=36', '62*1=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,73 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[3, 33, 63], Operations: ['62+1=63']
Exploring Operation: 3*33=99, Resulting Numbers: [63, 99]
Generated Node #0,3,0: 73:[63, 99] Operation: 3*33=99
Exploring Operation: 33-3=30, Resulting Numbers: [63, 30]
Generated Node #0,3,1: 73:[63, 30] Operation: 33-3=30
Exploring Operation: 3+63=66, Resulting Numbers: [33, 66]
Generated Node #0,3,2: 73:[33, 66] Operation: 3+63=66
Exploring Operation: 3+33=36, Resulting Numbers: [63, 36]
Generated Node #0,3,3: 73:[63, 36] Operation: 3+33=36
Exploring Operation: 63-3=60, Resulting Numbers: [33, 60]
Generated Node #0,3,4: 73:[33, 60] Operation: 63-3=60
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[63, 99], Operations: ['62+1=63', '3*33=99']
Exploring Operation: 63*99=6237, Resulting Numbers: [6237]
6237,73 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 63+99=162, Resulting Numbers: [162]
162,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[33, 66], Operations: ['62+1=63', '3+63=66']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[63, 36], Operations: ['62+1=63', '3+33=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,73 unequal: No Solution
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[63, 30], Operations: ['62+1=63', '33-3=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,73 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[33, 60], Operations: ['62+1=63', '63-3=60']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[62, 33, 4], Operations: ['3+1=4']
Exploring Operation: 33-4=29, Resulting Numbers: [62, 29]
Generated Node #0,4,0: 73:[62, 29] Operation: 33-4=29
Exploring Operation: 33*4=132, Resulting Numbers: [62, 132]
Generated Node #0,4,1: 73:[62, 132] Operation: 33*4=132
Exploring Operation: 62+4=66, Resulting Numbers: [33, 66]
Generated Node #0,4,2: 73:[33, 66] Operation: 62+4=66
Exploring Operation: 62-4=58, Resulting Numbers: [33, 58]
Generated Node #0,4,3: 73:[33, 58] Operation: 62-4=58
Exploring Operation: 33+4=37, Resulting Numbers: [62, 37]
Generated Node #0,4,4: 73:[62, 37] Operation: 33+4=37
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 73:[33, 66], Operations: ['3+1=4', '62+4=66']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,73 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 73:[62, 37], Operations: ['3+1=4', '33+4=37']
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,73 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 73:[62, 29], Operations: ['3+1=4', '33-4=29']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,73 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 73:[33, 58], Operations: ['3+1=4', '62-4=58']
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,73 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 73:[62, 132], Operations: ['3+1=4', '33*4=132']
Exploring Operation: 132-62=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 62+132=194, Resulting Numbers: [194]
194,73 unequal: No Solution
Exploring Operation: 62*132=8184, Resulting Numbers: [8184]
8184,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
42,
25,
12,
38
] | 41 | [
"42+25=67",
"38-12=26",
"67-26=41"
] | Current State: 41:[42, 25, 12, 38], Operations: []
Exploring Operation: 42+25=67, Resulting Numbers: [12, 38, 67]
Generated Node #2: [12, 38, 67] from Operation: 42+25=67
Current State: 41:[12, 38, 67], Operations: ['42+25=67']
Exploring Operation: 38-12=26, Resulting Numbers: [67, 26]
Generated Node #3: [67, 26] from Operation: 38-12=26
Current State: 41:[67, 26], Operations: ['42+25=67', '38-12=26']
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[42, 25, 12, 38], Operations: []
Exploring Operation: 42+12=54, Resulting Numbers: [25, 38, 54]
Generated Node #0,0: 41:[25, 38, 54] Operation: 42+12=54
Exploring Operation: 25+12=37, Resulting Numbers: [42, 38, 37]
Generated Node #0,1: 41:[42, 38, 37] Operation: 25+12=37
Exploring Operation: 42-12=30, Resulting Numbers: [25, 38, 30]
Generated Node #0,2: 41:[25, 38, 30] Operation: 42-12=30
Exploring Operation: 12+38=50, Resulting Numbers: [42, 25, 50]
Generated Node #0,3: 41:[42, 25, 50] Operation: 12+38=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[42, 38, 37], Operations: ['25+12=37']
Exploring Operation: 42+37=79, Resulting Numbers: [38, 79]
Generated Node #0,1,0: 41:[38, 79] Operation: 42+37=79
Exploring Operation: 42-38=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 41:[37, 4] Operation: 42-38=4
Exploring Operation: 38+37=75, Resulting Numbers: [42, 75]
Generated Node #0,1,2: 41:[42, 75] Operation: 38+37=75
Exploring Operation: 42-37=5, Resulting Numbers: [38, 5]
Generated Node #0,1,3: 41:[38, 5] Operation: 42-37=5
Moving to Node #0,1,2
Current State: 41:[42, 75], Operations: ['25+12=37', '38+37=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,41 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[38, 5], Operations: ['25+12=37', '42-37=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[37, 4], Operations: ['25+12=37', '42-38=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[42, 25, 12, 38], Operations: []
Exploring Operation: 25+12=37, Resulting Numbers: [42, 38, 37]
Generated Node #0,1: 41:[42, 38, 37] Operation: 25+12=37
Moving to Node #0,1
Current State: 41:[42, 38, 37], Operations: ['25+12=37']
Exploring Operation: 42-38=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 41:[37, 4] Operation: 42-38=4
Moving to Node #0,1,1
Current State: 41:[37, 4], Operations: ['25+12=37', '42-38=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
21,
15,
64,
41
] | 29 | [
"21-15=6",
"64-41=23",
"6+23=29"
] | Current State: 29:[21, 15, 64, 41], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [64, 41, 6]
Generated Node #2: [64, 41, 6] from Operation: 21-15=6
Current State: 29:[64, 41, 6], Operations: ['21-15=6']
Exploring Operation: 64-41=23, Resulting Numbers: [6, 23]
Generated Node #3: [6, 23] from Operation: 64-41=23
Current State: 29:[6, 23], Operations: ['21-15=6', '64-41=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[21, 15, 64, 41], Operations: []
Exploring Operation: 64-41=23, Resulting Numbers: [21, 15, 23]
Generated Node #0,0: 29:[21, 15, 23] Operation: 64-41=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[21, 15, 23], Operations: ['64-41=23']
Exploring Operation: 21+15=36, Resulting Numbers: [23, 36]
Generated Node #0,0,0: 29:[23, 36] Operation: 21+15=36
Moving to Node #0,0,0
Current State: 29:[23, 36], Operations: ['64-41=23', '21+15=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,29 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 |
[
71,
68,
76,
20
] | 17 | [
"76-71=5",
"68*5=340",
"340/20=17"
] | Current State: 17:[71, 68, 76, 20], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [68, 20, 5]
Generated Node #2: [68, 20, 5] from Operation: 76-71=5
Current State: 17:[68, 20, 5], Operations: ['76-71=5']
Exploring Operation: 68*5=340, Resulting Numbers: [20, 340]
Generated Node #3: [20, 340] from Operation: 68*5=340
Current State: 17:[20, 340], Operations: ['76-71=5', '68*5=340']
Exploring Operation: 340/20=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[71, 68, 76, 20], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [68, 20, 5]
Generated Node #0,0: 17:[68, 20, 5] Operation: 76-71=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[68, 20, 5], Operations: ['76-71=5']
Exploring Operation: 68-20=48, Resulting Numbers: [5, 48]
Generated Node #0,0,0: 17:[5, 48] Operation: 68-20=48
Moving to Node #0,0,0
Current State: 17:[5, 48], Operations: ['76-71=5', '68-20=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,17 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 |
[
7,
36,
48,
31
] | 11 | [
"7+48=55",
"36-31=5",
"55/5=11"
] | Current State: 11:[7, 36, 48, 31], Operations: []
Exploring Operation: 7+48=55, Resulting Numbers: [36, 31, 55]
Generated Node #2: [36, 31, 55] from Operation: 7+48=55
Current State: 11:[36, 31, 55], Operations: ['7+48=55']
Exploring Operation: 36-31=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 36-31=5
Current State: 11:[55, 5], Operations: ['7+48=55', '36-31=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[7, 36, 48, 31], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [7, 48, 5]
Generated Node #0,0: 11:[7, 48, 5] Operation: 36-31=5
Exploring Operation: 48-36=12, Resulting Numbers: [7, 31, 12]
Generated Node #0,1: 11:[7, 31, 12] Operation: 48-36=12
Exploring Operation: 36-7=29, Resulting Numbers: [48, 31, 29]
Generated Node #0,2: 11:[48, 31, 29] Operation: 36-7=29
Exploring Operation: 48-31=17, Resulting Numbers: [7, 36, 17]
Generated Node #0,3: 11:[7, 36, 17] Operation: 48-31=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[7, 31, 12], Operations: ['48-36=12']
Exploring Operation: 31-7=24, Resulting Numbers: [12, 24]
Generated Node #0,1,0: 11:[12, 24] Operation: 31-7=24
Exploring Operation: 7+31=38, Resulting Numbers: [12, 38]
Generated Node #0,1,1: 11:[12, 38] Operation: 7+31=38
Exploring Operation: 31-12=19, Resulting Numbers: [7, 19]
Generated Node #0,1,2: 11:[7, 19] Operation: 31-12=19
Exploring Operation: 12-7=5, Resulting Numbers: [31, 5]
Generated Node #0,1,3: 11:[31, 5] Operation: 12-7=5
Moving to Node #0,1,2
Current State: 11:[7, 19], Operations: ['48-36=12', '31-12=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,11 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[12, 24], Operations: ['48-36=12', '31-7=24']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,11 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[31, 5], Operations: ['48-36=12', '12-7=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,11 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[12, 38], Operations: ['48-36=12', '7+31=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,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,3
Current State: 11:[7, 36, 17], Operations: ['48-31=17']
Exploring Operation: 7+36=43, Resulting Numbers: [17, 43]
Generated Node #0,3,0: 11:[17, 43] Operation: 7+36=43
Exploring Operation: 17-7=10, Resulting Numbers: [36, 10]
Generated Node #0,3,1: 11:[36, 10] Operation: 17-7=10
Exploring Operation: 36-7=29, Resulting Numbers: [17, 29]
Generated Node #0,3,2: 11:[17, 29] Operation: 36-7=29
Exploring Operation: 36-17=19, Resulting Numbers: [7, 19]
Generated Node #0,3,3: 11:[7, 19] Operation: 36-17=19
Moving to Node #0,3,3
Current State: 11:[7, 19], Operations: ['48-31=17', '36-17=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,11 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[17, 29], Operations: ['48-31=17', '36-7=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[36, 10], Operations: ['48-31=17', '17-7=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[17, 43], Operations: ['48-31=17', '7+36=43']
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,11 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,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
Current State: 11:[7, 48, 5], Operations: ['36-31=5']
Exploring Operation: 7+5=12, Resulting Numbers: [48, 12]
Generated Node #0,0,0: 11:[48, 12] Operation: 7+5=12
Exploring Operation: 48-7=41, Resulting Numbers: [5, 41]
Generated Node #0,0,1: 11:[5, 41] Operation: 48-7=41
Exploring Operation: 48-5=43, Resulting Numbers: [7, 43]
Generated Node #0,0,2: 11:[7, 43] Operation: 48-5=43
Exploring Operation: 7-5=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 11:[48, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[5, 41], Operations: ['36-31=5', '48-7=41']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,11 unequal: No Solution
No 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: 11:[7, 43], Operations: ['36-31=5', '48-5=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,11 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No 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: 11:[48, 12], Operations: ['36-31=5', '7+5=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,11 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,11 unequal: No Solution
No 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: 11:[48, 2], Operations: ['36-31=5', '7-5=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,11 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: 11:[48, 31, 29], Operations: ['36-7=29']
Exploring Operation: 48-31=17, Resulting Numbers: [29, 17]
Generated Node #0,2,0: 11:[29, 17] Operation: 48-31=17
Exploring Operation: 48-29=19, Resulting Numbers: [31, 19]
Generated Node #0,2,1: 11:[31, 19] Operation: 48-29=19
Exploring Operation: 48+31=79, Resulting Numbers: [29, 79]
Generated Node #0,2,2: 11:[29, 79] Operation: 48+31=79
Exploring Operation: 31-29=2, Resulting Numbers: [48, 2]
Generated Node #0,2,3: 11:[48, 2] Operation: 31-29=2
Moving to Node #0,2,0
Current State: 11:[29, 17], Operations: ['36-7=29', '48-31=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[31, 19], Operations: ['36-7=29', '48-29=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[48, 2], Operations: ['36-7=29', '31-29=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[29, 79], Operations: ['36-7=29', '48+31=79']
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,11 unequal: No Solution
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
16,
1,
22
] | 83 | [
"88+16=104",
"22-1=21",
"104-21=83"
] | Current State: 83:[88, 16, 1, 22], Operations: []
Exploring Operation: 88+16=104, Resulting Numbers: [1, 22, 104]
Generated Node #2: [1, 22, 104] from Operation: 88+16=104
Current State: 83:[1, 22, 104], Operations: ['88+16=104']
Exploring Operation: 22-1=21, Resulting Numbers: [104, 21]
Generated Node #3: [104, 21] from Operation: 22-1=21
Current State: 83:[104, 21], Operations: ['88+16=104', '22-1=21']
Exploring Operation: 104-21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[88, 16, 1, 22], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [16, 22, 87]
Generated Node #0,0: 83:[16, 22, 87] Operation: 88-1=87
Exploring Operation: 16+1=17, Resulting Numbers: [88, 22, 17]
Generated Node #0,1: 83:[88, 22, 17] Operation: 16+1=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[16, 22, 87], Operations: ['88-1=87']
Exploring Operation: 16+22=38, Resulting Numbers: [87, 38]
Generated Node #0,0,0: 83:[87, 38] Operation: 16+22=38
Exploring Operation: 87-16=71, Resulting Numbers: [22, 71]
Generated Node #0,0,1: 83:[22, 71] Operation: 87-16=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[87, 38], Operations: ['88-1=87', '16+22=38']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 87+38=125, Resulting Numbers: [125]
125,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[22, 71], Operations: ['88-1=87', '87-16=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[88, 22, 17], Operations: ['16+1=17']
Exploring Operation: 88-17=71, Resulting Numbers: [22, 71]
Generated Node #0,1,0: 83:[22, 71] Operation: 88-17=71
Exploring Operation: 22+17=39, Resulting Numbers: [88, 39]
Generated Node #0,1,1: 83:[88, 39] Operation: 22+17=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[88, 39], Operations: ['16+1=17', '22+17=39']
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[22, 71], Operations: ['16+1=17', '88-17=71']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
39,
61,
16
] | 34 | [
"61-16=45",
"45/9=5",
"39-5=34"
] | Current State: 34:[9, 39, 61, 16], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [9, 39, 45]
Generated Node #2: [9, 39, 45] from Operation: 61-16=45
Current State: 34:[9, 39, 45], Operations: ['61-16=45']
Exploring Operation: 45/9=5, Resulting Numbers: [39, 5]
Generated Node #3: [39, 5] from Operation: 45/9=5
Current State: 34:[39, 5], Operations: ['61-16=45', '45/9=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 39, 61, 16], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [9, 39, 45]
Generated Node #0,0: 34:[9, 39, 45] Operation: 61-16=45
Exploring Operation: 61-9=52, Resulting Numbers: [39, 16, 52]
Generated Node #0,1: 34:[39, 16, 52] Operation: 61-9=52
Exploring Operation: 61-39=22, Resulting Numbers: [9, 16, 22]
Generated Node #0,2: 34:[9, 16, 22] Operation: 61-39=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[9, 16, 22], Operations: ['61-39=22']
Exploring Operation: 16-9=7, Resulting Numbers: [22, 7]
Generated Node #0,2,0: 34:[22, 7] Operation: 16-9=7
Exploring Operation: 22-9=13, Resulting Numbers: [16, 13]
Generated Node #0,2,1: 34:[16, 13] Operation: 22-9=13
Exploring Operation: 9+22=31, Resulting Numbers: [16, 31]
Generated Node #0,2,2: 34:[16, 31] Operation: 9+22=31
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[16, 31], Operations: ['61-39=22', '9+22=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[16, 13], Operations: ['61-39=22', '22-9=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[22, 7], Operations: ['61-39=22', '16-9=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[9, 39, 45], Operations: ['61-16=45']
Exploring Operation: 45/9=5, Resulting Numbers: [39, 5]
Generated Node #0,0,0: 34:[39, 5] Operation: 45/9=5
Exploring Operation: 45-9=36, Resulting Numbers: [39, 36]
Generated Node #0,0,1: 34:[39, 36] Operation: 45-9=36
Exploring Operation: 45-39=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 34:[9, 6] Operation: 45-39=6
Moving to Node #0,0,1
Current State: 34:[39, 36], Operations: ['61-16=45', '45-9=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,34 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,34 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[39, 5], Operations: ['61-16=45', '45/9=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,34 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[9, 39, 61, 16], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [9, 39, 45]
Generated Node #0,0: 34:[9, 39, 45] Operation: 61-16=45
Moving to Node #0,0
Current State: 34:[9, 39, 45], Operations: ['61-16=45']
Exploring Operation: 45/9=5, Resulting Numbers: [39, 5]
Generated Node #0,0,0: 34:[39, 5] Operation: 45/9=5
Moving to Node #0,0,0
Current State: 34:[39, 5], Operations: ['61-16=45', '45/9=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
73,
1,
47,
46
] | 73 | [
"73+1=74",
"47-46=1",
"74-1=73"
] | Current State: 73:[73, 1, 47, 46], Operations: []
Exploring Operation: 73+1=74, Resulting Numbers: [47, 46, 74]
Generated Node #2: [47, 46, 74] from Operation: 73+1=74
Current State: 73:[47, 46, 74], Operations: ['73+1=74']
Exploring Operation: 47-46=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 47-46=1
Current State: 73:[74, 1], Operations: ['73+1=74', '47-46=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[73, 1, 47, 46], Operations: []
Exploring Operation: 73/1=73, Resulting Numbers: [47, 46, 73]
Generated Node #0,0: 73:[47, 46, 73] Operation: 73/1=73
Exploring Operation: 1+47=48, Resulting Numbers: [73, 46, 48]
Generated Node #0,1: 73:[73, 46, 48] Operation: 1+47=48
Exploring Operation: 1+46=47, Resulting Numbers: [73, 47, 47]
Generated Node #0,2: 73:[73, 47, 47] Operation: 1+46=47
Exploring Operation: 1*47=47, Resulting Numbers: [73, 46, 47]
Generated Node #0,3: 73:[73, 46, 47] Operation: 1*47=47
Exploring Operation: 73*1=73, Resulting Numbers: [47, 46, 73]
Generated Node #0,4: 73:[47, 46, 73] Operation: 73*1=73
Moving to Node #0,1
Current State: 73:[73, 46, 48], Operations: ['1+47=48']
Exploring Operation: 73-46=27, Resulting Numbers: [48, 27]
Generated Node #0,1,0: 73:[48, 27] Operation: 73-46=27
Exploring Operation: 73+48=121, Resulting Numbers: [46, 121]
Generated Node #0,1,1: 73:[46, 121] Operation: 73+48=121
Exploring Operation: 48-46=2, Resulting Numbers: [73, 2]
Generated Node #0,1,2: 73:[73, 2] Operation: 48-46=2
Exploring Operation: 73+46=119, Resulting Numbers: [48, 119]
Generated Node #0,1,3: 73:[48, 119] Operation: 73+46=119
Exploring Operation: 46+48=94, Resulting Numbers: [73, 94]
Generated Node #0,1,4: 73:[73, 94] Operation: 46+48=94
Moving to Node #0,2
Current State: 73:[73, 47, 47], Operations: ['1+46=47']
Exploring Operation: 47/47=1, Resulting Numbers: [73, 1]
Generated Node #0,2,0: 73:[73, 1] Operation: 47/47=1
Exploring Operation: 73+47=120, Resulting Numbers: [47, 120]
Generated Node #0,2,1: 73:[47, 120] Operation: 73+47=120
Exploring Operation: 73+47=120, Resulting Numbers: [47, 120]
Generated Node #0,2,2: 73:[47, 120] Operation: 73+47=120
Exploring Operation: 47+47=94, Resulting Numbers: [73, 94]
Generated Node #0,2,3: 73:[73, 94] Operation: 47+47=94
Exploring Operation: 73-47=26, Resulting Numbers: [47, 26]
Generated Node #0,2,4: 73:[47, 26] Operation: 73-47=26
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[73, 94], Operations: ['1+46=47', '47+47=94']
Exploring Operation: 73*94=6862, Resulting Numbers: [6862]
6862,73 unequal: No Solution
Exploring Operation: 73+94=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[73, 1], Operations: ['1+46=47', '47/47=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[73, 1, 47, 46], Operations: []
Exploring Operation: 1+46=47, Resulting Numbers: [73, 47, 47]
Generated Node #0,2: 73:[73, 47, 47] Operation: 1+46=47
Moving to Node #0,2
Current State: 73:[73, 47, 47], Operations: ['1+46=47']
Exploring Operation: 47/47=1, Resulting Numbers: [73, 1]
Generated Node #0,2,0: 73:[73, 1] Operation: 47/47=1
Moving to Node #0,2,0
Current State: 73:[73, 1], Operations: ['1+46=47', '47/47=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
41,
43,
86,
6
] | 98 | [
"43-41=2",
"6*2=12",
"86+12=98"
] | Current State: 98:[41, 43, 86, 6], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [86, 6, 2]
Generated Node #2: [86, 6, 2] from Operation: 43-41=2
Current State: 98:[86, 6, 2], Operations: ['43-41=2']
Exploring Operation: 6*2=12, Resulting Numbers: [86, 12]
Generated Node #3: [86, 12] from Operation: 6*2=12
Current State: 98:[86, 12], Operations: ['43-41=2', '6*2=12']
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[41, 43, 86, 6], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [41, 6, 2]
Generated Node #0,0: 98:[41, 6, 2] Operation: 86/43=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[41, 6, 2], Operations: ['86/43=2']
Exploring Operation: 41+6=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 98:[2, 47] Operation: 41+6=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[2, 47], Operations: ['86/43=2', '41+6=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
71,
67,
42
] | 86 | [
"71-10=61",
"67-42=25",
"61+25=86"
] | Current State: 86:[10, 71, 67, 42], Operations: []
Exploring Operation: 71-10=61, Resulting Numbers: [67, 42, 61]
Generated Node #2: [67, 42, 61] from Operation: 71-10=61
Current State: 86:[67, 42, 61], Operations: ['71-10=61']
Exploring Operation: 67-42=25, Resulting Numbers: [61, 25]
Generated Node #3: [61, 25] from Operation: 67-42=25
Current State: 86:[61, 25], Operations: ['71-10=61', '67-42=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[10, 71, 67, 42], Operations: []
Exploring Operation: 10+67=77, Resulting Numbers: [71, 42, 77]
Generated Node #0,0: 86:[71, 42, 77] Operation: 10+67=77
Exploring Operation: 71-10=61, Resulting Numbers: [67, 42, 61]
Generated Node #0,1: 86:[67, 42, 61] Operation: 71-10=61
Exploring Operation: 10+71=81, Resulting Numbers: [67, 42, 81]
Generated Node #0,2: 86:[67, 42, 81] Operation: 10+71=81
Exploring Operation: 71-67=4, Resulting Numbers: [10, 42, 4]
Generated Node #0,3: 86:[10, 42, 4] Operation: 71-67=4
Exploring Operation: 67-10=57, Resulting Numbers: [71, 42, 57]
Generated Node #0,4: 86:[71, 42, 57] Operation: 67-10=57
Moving to Node #0,3
Current State: 86:[10, 42, 4], Operations: ['71-67=4']
Exploring Operation: 10+42=52, Resulting Numbers: [4, 52]
Generated Node #0,3,0: 86:[4, 52] Operation: 10+42=52
Exploring Operation: 10*4=40, Resulting Numbers: [42, 40]
Generated Node #0,3,1: 86:[42, 40] Operation: 10*4=40
Exploring Operation: 10-4=6, Resulting Numbers: [42, 6]
Generated Node #0,3,2: 86:[42, 6] Operation: 10-4=6
Exploring Operation: 42-10=32, Resulting Numbers: [4, 32]
Generated Node #0,3,3: 86:[4, 32] Operation: 42-10=32
Exploring Operation: 42+4=46, Resulting Numbers: [10, 46]
Generated Node #0,3,4: 86:[10, 46] Operation: 42+4=46
Moving to Node #0,2
Current State: 86:[67, 42, 81], Operations: ['10+71=81']
Exploring Operation: 42+81=123, Resulting Numbers: [67, 123]
Generated Node #0,2,0: 86:[67, 123] Operation: 42+81=123
Exploring Operation: 67-42=25, Resulting Numbers: [81, 25]
Generated Node #0,2,1: 86:[81, 25] Operation: 67-42=25
Exploring Operation: 67+42=109, Resulting Numbers: [81, 109]
Generated Node #0,2,2: 86:[81, 109] Operation: 67+42=109
Exploring Operation: 81-67=14, Resulting Numbers: [42, 14]
Generated Node #0,2,3: 86:[42, 14] Operation: 81-67=14
Exploring Operation: 81-42=39, Resulting Numbers: [67, 39]
Generated Node #0,2,4: 86:[67, 39] Operation: 81-42=39
Moving to Node #0,0
Current State: 86:[71, 42, 77], Operations: ['10+67=77']
Exploring Operation: 71-42=29, Resulting Numbers: [77, 29]
Generated Node #0,0,0: 86:[77, 29] Operation: 71-42=29
Exploring Operation: 71+42=113, Resulting Numbers: [77, 113]
Generated Node #0,0,1: 86:[77, 113] Operation: 71+42=113
Exploring Operation: 77-71=6, Resulting Numbers: [42, 6]
Generated Node #0,0,2: 86:[42, 6] Operation: 77-71=6
Exploring Operation: 77-42=35, Resulting Numbers: [71, 35]
Generated Node #0,0,3: 86:[71, 35] Operation: 77-42=35
Exploring Operation: 42+77=119, Resulting Numbers: [71, 119]
Generated Node #0,0,4: 86:[71, 119] Operation: 42+77=119
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[42, 6], Operations: ['10+67=77', '77-71=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,86 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[77, 29], Operations: ['10+67=77', '71-42=29']
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,86 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[71, 35], Operations: ['10+67=77', '77-42=35']
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,86 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[77, 113], Operations: ['10+67=77', '71+42=113']
Exploring Operation: 113-77=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 77*113=8701, Resulting Numbers: [8701]
8701,86 unequal: No Solution
Exploring Operation: 77+113=190, Resulting Numbers: [190]
190,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[71, 119], Operations: ['10+67=77', '42+77=119']
Exploring Operation: 71+119=190, Resulting Numbers: [190]
190,86 unequal: No Solution
Exploring Operation: 71*119=8449, Resulting Numbers: [8449]
8449,86 unequal: No Solution
Exploring Operation: 119-71=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 86:[71, 42, 57], Operations: ['67-10=57']
Exploring Operation: 71+42=113, Resulting Numbers: [57, 113]
Generated Node #0,4,0: 86:[57, 113] Operation: 71+42=113
Exploring Operation: 42+57=99, Resulting Numbers: [71, 99]
Generated Node #0,4,1: 86:[71, 99] Operation: 42+57=99
Exploring Operation: 71-42=29, Resulting Numbers: [57, 29]
Generated Node #0,4,2: 86:[57, 29] Operation: 71-42=29
Exploring Operation: 71-57=14, Resulting Numbers: [42, 14]
Generated Node #0,4,3: 86:[42, 14] Operation: 71-57=14
Exploring Operation: 57-42=15, Resulting Numbers: [71, 15]
Generated Node #0,4,4: 86:[71, 15] Operation: 57-42=15
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 86:[42, 14], Operations: ['67-10=57', '71-57=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,86 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 86:[71, 99], Operations: ['67-10=57', '42+57=99']
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,86 unequal: No Solution
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,86 unequal: No Solution
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 86:[57, 29], Operations: ['67-10=57', '71-42=29']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,86 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[10, 71, 67, 42], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [71, 42, 57]
Generated Node #0,4: 86:[71, 42, 57] Operation: 67-10=57
Moving to Node #0,4
Current State: 86:[71, 42, 57], Operations: ['67-10=57']
Exploring Operation: 71-42=29, Resulting Numbers: [57, 29]
Generated Node #0,4,2: 86:[57, 29] Operation: 71-42=29
Moving to Node #0,4,2
Current State: 86:[57, 29], Operations: ['67-10=57', '71-42=29']
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
89,
68,
37,
3
] | 78 | [
"89+37=126",
"68*3=204",
"204-126=78"
] | Current State: 78:[89, 68, 37, 3], Operations: []
Exploring Operation: 89+37=126, Resulting Numbers: [68, 3, 126]
Generated Node #2: [68, 3, 126] from Operation: 89+37=126
Current State: 78:[68, 3, 126], Operations: ['89+37=126']
Exploring Operation: 68*3=204, Resulting Numbers: [126, 204]
Generated Node #3: [126, 204] from Operation: 68*3=204
Current State: 78:[126, 204], Operations: ['89+37=126', '68*3=204']
Exploring Operation: 204-126=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[89, 68, 37, 3], Operations: []
Exploring Operation: 68-37=31, Resulting Numbers: [89, 3, 31]
Generated Node #0,0: 78:[89, 3, 31] Operation: 68-37=31
Exploring Operation: 89-68=21, Resulting Numbers: [37, 3, 21]
Generated Node #0,1: 78:[37, 3, 21] Operation: 89-68=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[37, 3, 21], Operations: ['89-68=21']
Exploring Operation: 37-21=16, Resulting Numbers: [3, 16]
Generated Node #0,1,0: 78:[3, 16] Operation: 37-21=16
Exploring Operation: 21/3=7, Resulting Numbers: [37, 7]
Generated Node #0,1,1: 78:[37, 7] Operation: 21/3=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[3, 16], Operations: ['89-68=21', '37-21=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,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:[37, 7], Operations: ['89-68=21', '21/3=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,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,0
Current State: 78:[89, 3, 31], Operations: ['68-37=31']
Exploring Operation: 89-3=86, Resulting Numbers: [31, 86]
Generated Node #0,0,0: 78:[31, 86] Operation: 89-3=86
Exploring Operation: 31-3=28, Resulting Numbers: [89, 28]
Generated Node #0,0,1: 78:[89, 28] Operation: 31-3=28
Moving to Node #0,0,0
Current State: 78:[31, 86], Operations: ['68-37=31', '89-3=86']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[89, 28], Operations: ['68-37=31', '31-3=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
67,
59,
91,
20
] | 79 | [
"67-59=8",
"91-20=71",
"8+71=79"
] | Current State: 79:[67, 59, 91, 20], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [91, 20, 8]
Generated Node #2: [91, 20, 8] from Operation: 67-59=8
Current State: 79:[91, 20, 8], Operations: ['67-59=8']
Exploring Operation: 91-20=71, Resulting Numbers: [8, 71]
Generated Node #3: [8, 71] from Operation: 91-20=71
Current State: 79:[8, 71], Operations: ['67-59=8', '91-20=71']
Exploring Operation: 8+71=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[67, 59, 91, 20], Operations: []
Exploring Operation: 59+20=79, Resulting Numbers: [67, 91, 79]
Generated Node #0,0: 79:[67, 91, 79] Operation: 59+20=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[67, 91, 79], Operations: ['59+20=79']
Exploring Operation: 91-67=24, Resulting Numbers: [79, 24]
Generated Node #0,0,0: 79:[79, 24] Operation: 91-67=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[79, 24], Operations: ['59+20=79', '91-67=24']
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
93,
38,
3
] | 74 | [
"93-60=33",
"38+3=41",
"33+41=74"
] | Current State: 74:[60, 93, 38, 3], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [38, 3, 33]
Generated Node #2: [38, 3, 33] from Operation: 93-60=33
Current State: 74:[38, 3, 33], Operations: ['93-60=33']
Exploring Operation: 38+3=41, Resulting Numbers: [33, 41]
Generated Node #3: [33, 41] from Operation: 38+3=41
Current State: 74:[33, 41], Operations: ['93-60=33', '38+3=41']
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[60, 93, 38, 3], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [38, 3, 33]
Generated Node #0,0: 74:[38, 3, 33] Operation: 93-60=33
Exploring Operation: 93/3=31, Resulting Numbers: [60, 38, 31]
Generated Node #0,1: 74:[60, 38, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[38, 3, 33], Operations: ['93-60=33']
Exploring Operation: 38+33=71, Resulting Numbers: [3, 71]
Generated Node #0,0,0: 74:[3, 71] Operation: 38+33=71
Exploring Operation: 3+33=36, Resulting Numbers: [38, 36]
Generated Node #0,0,1: 74:[38, 36] Operation: 3+33=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[38, 36], Operations: ['93-60=33', '3+33=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[60, 93, 38, 3], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [38, 3, 33]
Generated Node #0,0: 74:[38, 3, 33] Operation: 93-60=33
Moving to Node #0,0
Current State: 74:[38, 3, 33], Operations: ['93-60=33']
Exploring Operation: 3+33=36, Resulting Numbers: [38, 36]
Generated Node #0,0,1: 74:[38, 36] Operation: 3+33=36
Moving to Node #0,0,1
Current State: 74:[38, 36], Operations: ['93-60=33', '3+33=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
74,
76,
84,
10
] | 96 | [
"76-74=2",
"84+10=94",
"2+94=96"
] | Current State: 96:[74, 76, 84, 10], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [84, 10, 2]
Generated Node #2: [84, 10, 2] from Operation: 76-74=2
Current State: 96:[84, 10, 2], Operations: ['76-74=2']
Exploring Operation: 84+10=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 84+10=94
Current State: 96:[2, 94], Operations: ['76-74=2', '84+10=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[74, 76, 84, 10], Operations: []
Exploring Operation: 74+10=84, Resulting Numbers: [76, 84, 84]
Generated Node #0,0: 96:[76, 84, 84] Operation: 74+10=84
Exploring Operation: 84-76=8, Resulting Numbers: [74, 10, 8]
Generated Node #0,1: 96:[74, 10, 8] Operation: 84-76=8
Exploring Operation: 76-74=2, Resulting Numbers: [84, 10, 2]
Generated Node #0,2: 96:[84, 10, 2] Operation: 76-74=2
Exploring Operation: 84-74=10, Resulting Numbers: [76, 10, 10]
Generated Node #0,3: 96:[76, 10, 10] Operation: 84-74=10
Moving to Node #0,2
Current State: 96:[84, 10, 2], Operations: ['76-74=2']
Exploring Operation: 10+2=12, Resulting Numbers: [84, 12]
Generated Node #0,2,0: 96:[84, 12] Operation: 10+2=12
Exploring Operation: 84+2=86, Resulting Numbers: [10, 86]
Generated Node #0,2,1: 96:[10, 86] Operation: 84+2=86
Exploring Operation: 84+10=94, Resulting Numbers: [2, 94]
Generated Node #0,2,2: 96:[2, 94] Operation: 84+10=94
Exploring Operation: 84/2=42, Resulting Numbers: [10, 42]
Generated Node #0,2,3: 96:[10, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[2, 94], Operations: ['76-74=2', '84+10=94']
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,96 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[74, 76, 84, 10], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [84, 10, 2]
Generated Node #0,2: 96:[84, 10, 2] Operation: 76-74=2
Moving to Node #0,2
Current State: 96:[84, 10, 2], Operations: ['76-74=2']
Exploring Operation: 84+10=94, Resulting Numbers: [2, 94]
Generated Node #0,2,2: 96:[2, 94] Operation: 84+10=94
Moving to Node #0,2,2
Current State: 96:[2, 94], Operations: ['76-74=2', '84+10=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
92,
84,
35,
7
] | 13 | [
"92-84=8",
"35/7=5",
"8+5=13"
] | Current State: 13:[92, 84, 35, 7], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [35, 7, 8]
Generated Node #2: [35, 7, 8] from Operation: 92-84=8
Current State: 13:[35, 7, 8], Operations: ['92-84=8']
Exploring Operation: 35/7=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 35/7=5
Current State: 13:[8, 5], Operations: ['92-84=8', '35/7=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[92, 84, 35, 7], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [35, 7, 8]
Generated Node #0,0: 13:[35, 7, 8] Operation: 92-84=8
Exploring Operation: 84/7=12, Resulting Numbers: [92, 35, 12]
Generated Node #0,1: 13:[92, 35, 12] Operation: 84/7=12
Moving to Node #0,0
Current State: 13:[35, 7, 8], Operations: ['92-84=8']
Exploring Operation: 35-7=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 13:[8, 28] Operation: 35-7=28
Exploring Operation: 35/7=5, Resulting Numbers: [8, 5]
Generated Node #0,0,1: 13:[8, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[8, 5], Operations: ['92-84=8', '35/7=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[92, 84, 35, 7], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [35, 7, 8]
Generated Node #0,0: 13:[35, 7, 8] Operation: 92-84=8
Moving to Node #0,0
Current State: 13:[35, 7, 8], Operations: ['92-84=8']
Exploring Operation: 35/7=5, Resulting Numbers: [8, 5]
Generated Node #0,0,1: 13:[8, 5] Operation: 35/7=5
Moving to Node #0,0,1
Current State: 13:[8, 5], Operations: ['92-84=8', '35/7=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
83,
11,
34,
83
] | 11 | [
"83-83=0",
"34*0=0",
"11+0=11"
] | Current State: 11:[83, 11, 34, 83], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [11, 34, 0]
Generated Node #2: [11, 34, 0] from Operation: 83-83=0
Current State: 11:[11, 34, 0], Operations: ['83-83=0']
Exploring Operation: 34*0=0, Resulting Numbers: [11, 0]
Generated Node #3: [11, 0] from Operation: 34*0=0
Current State: 11:[11, 0], Operations: ['83-83=0', '34*0=0']
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[83, 11, 34, 83], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [11, 34, 1]
Generated Node #0,0: 11:[11, 34, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 11:[11, 34, 1], Operations: ['83/83=1']
Exploring Operation: 34-11=23, Resulting Numbers: [1, 23]
Generated Node #0,0,0: 11:[1, 23] Operation: 34-11=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[1, 23], Operations: ['83/83=1', '34-11=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
43,
90,
93
] | 82 | [
"36+43=79",
"93-90=3",
"79+3=82"
] | Current State: 82:[36, 43, 90, 93], Operations: []
Exploring Operation: 36+43=79, Resulting Numbers: [90, 93, 79]
Generated Node #2: [90, 93, 79] from Operation: 36+43=79
Current State: 82:[90, 93, 79], Operations: ['36+43=79']
Exploring Operation: 93-90=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 93-90=3
Current State: 82:[79, 3], Operations: ['36+43=79', '93-90=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[36, 43, 90, 93], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [36, 90, 50]
Generated Node #0,0: 82:[36, 90, 50] Operation: 93-43=50
Exploring Operation: 36+43=79, Resulting Numbers: [90, 93, 79]
Generated Node #0,1: 82:[90, 93, 79] Operation: 36+43=79
Exploring Operation: 93-90=3, Resulting Numbers: [36, 43, 3]
Generated Node #0,2: 82:[36, 43, 3] Operation: 93-90=3
Exploring Operation: 90-43=47, Resulting Numbers: [36, 93, 47]
Generated Node #0,3: 82:[36, 93, 47] Operation: 90-43=47
Exploring Operation: 43-36=7, Resulting Numbers: [90, 93, 7]
Generated Node #0,4: 82:[90, 93, 7] Operation: 43-36=7
Moving to Node #0,2
Current State: 82:[36, 43, 3], Operations: ['93-90=3']
Exploring Operation: 43-3=40, Resulting Numbers: [36, 40]
Generated Node #0,2,0: 82:[36, 40] Operation: 43-3=40
Exploring Operation: 36+43=79, Resulting Numbers: [3, 79]
Generated Node #0,2,1: 82:[3, 79] Operation: 36+43=79
Exploring Operation: 36+3=39, Resulting Numbers: [43, 39]
Generated Node #0,2,2: 82:[43, 39] Operation: 36+3=39
Exploring Operation: 36-3=33, Resulting Numbers: [43, 33]
Generated Node #0,2,3: 82:[43, 33] Operation: 36-3=33
Exploring Operation: 43-36=7, Resulting Numbers: [3, 7]
Generated Node #0,2,4: 82:[3, 7] Operation: 43-36=7
Moving to Node #0,1
Current State: 82:[90, 93, 79], Operations: ['36+43=79']
Exploring Operation: 90-79=11, Resulting Numbers: [93, 11]
Generated Node #0,1,0: 82:[93, 11] Operation: 90-79=11
Exploring Operation: 93-90=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 82:[79, 3] Operation: 93-90=3
Exploring Operation: 93+79=172, Resulting Numbers: [90, 172]
Generated Node #0,1,2: 82:[90, 172] Operation: 93+79=172
Exploring Operation: 93-79=14, Resulting Numbers: [90, 14]
Generated Node #0,1,3: 82:[90, 14] Operation: 93-79=14
Exploring Operation: 90+79=169, Resulting Numbers: [93, 169]
Generated Node #0,1,4: 82:[93, 169] Operation: 90+79=169
Moving to Node #0,0
Current State: 82:[36, 90, 50], Operations: ['93-43=50']
Exploring Operation: 36+50=86, Resulting Numbers: [90, 86]
Generated Node #0,0,0: 82:[90, 86] Operation: 36+50=86
Exploring Operation: 50-36=14, Resulting Numbers: [90, 14]
Generated Node #0,0,1: 82:[90, 14] Operation: 50-36=14
Exploring Operation: 36+90=126, Resulting Numbers: [50, 126]
Generated Node #0,0,2: 82:[50, 126] Operation: 36+90=126
Exploring Operation: 90-36=54, Resulting Numbers: [50, 54]
Generated Node #0,0,3: 82:[50, 54] Operation: 90-36=54
Exploring Operation: 90-50=40, Resulting Numbers: [36, 40]
Generated Node #0,0,4: 82:[36, 40] Operation: 90-50=40
Moving to Node #0,3
Current State: 82:[36, 93, 47], Operations: ['90-43=47']
Exploring Operation: 36+93=129, Resulting Numbers: [47, 129]
Generated Node #0,3,0: 82:[47, 129] Operation: 36+93=129
Exploring Operation: 93-47=46, Resulting Numbers: [36, 46]
Generated Node #0,3,1: 82:[36, 46] Operation: 93-47=46
Exploring Operation: 36+47=83, Resulting Numbers: [93, 83]
Generated Node #0,3,2: 82:[93, 83] Operation: 36+47=83
Exploring Operation: 93-36=57, Resulting Numbers: [47, 57]
Generated Node #0,3,3: 82:[47, 57] Operation: 93-36=57
Exploring Operation: 47-36=11, Resulting Numbers: [93, 11]
Generated Node #0,3,4: 82:[93, 11] Operation: 47-36=11
Moving to Node #0,4
Current State: 82:[90, 93, 7], Operations: ['43-36=7']
Exploring Operation: 93-90=3, Resulting Numbers: [7, 3]
Generated Node #0,4,0: 82:[7, 3] Operation: 93-90=3
Exploring Operation: 90+7=97, Resulting Numbers: [93, 97]
Generated Node #0,4,1: 82:[93, 97] Operation: 90+7=97
Exploring Operation: 93+7=100, Resulting Numbers: [90, 100]
Generated Node #0,4,2: 82:[90, 100] Operation: 93+7=100
Exploring Operation: 90-7=83, Resulting Numbers: [93, 83]
Generated Node #0,4,3: 82:[93, 83] Operation: 90-7=83
Exploring Operation: 93-7=86, Resulting Numbers: [90, 86]
Generated Node #0,4,4: 82:[90, 86] Operation: 93-7=86
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[7, 3], Operations: ['43-36=7', '93-90=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,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,4,3
Current State: 82:[93, 83], Operations: ['43-36=7', '90-7=83']
Exploring Operation: 93*83=7719, Resulting Numbers: [7719]
7719,82 unequal: No Solution
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 93+83=176, Resulting Numbers: [176]
176,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,4,4
Current State: 82:[90, 86], Operations: ['43-36=7', '93-7=86']
Exploring Operation: 90+86=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Exploring Operation: 90*86=7740, Resulting Numbers: [7740]
7740,82 unequal: No Solution
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,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,4,1
Current State: 82:[93, 97], Operations: ['43-36=7', '90+7=97']
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,82 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,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,4,2
Current State: 82:[90, 100], Operations: ['43-36=7', '93+7=100']
Exploring Operation: 90+100=190, Resulting Numbers: [190]
190,82 unequal: No Solution
Exploring Operation: 100-90=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 90*100=9000, Resulting Numbers: [9000]
9000,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 82:[3, 79], Operations: ['93-90=3', '36+43=79']
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,82 unequal: No Solution
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[36, 43, 90, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [36, 43, 3]
Generated Node #0,2: 82:[36, 43, 3] Operation: 93-90=3
Moving to Node #0,2
Current State: 82:[36, 43, 3], Operations: ['93-90=3']
Exploring Operation: 36+43=79, Resulting Numbers: [3, 79]
Generated Node #0,2,1: 82:[3, 79] Operation: 36+43=79
Moving to Node #0,2,1
Current State: 82:[3, 79], Operations: ['93-90=3', '36+43=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
19,
66,
51,
15
] | 69 | [
"19*51=969",
"66+969=1035",
"1035/15=69"
] | Current State: 69:[19, 66, 51, 15], Operations: []
Exploring Operation: 19*51=969, Resulting Numbers: [66, 15, 969]
Generated Node #2: [66, 15, 969] from Operation: 19*51=969
Current State: 69:[66, 15, 969], Operations: ['19*51=969']
Exploring Operation: 66+969=1035, Resulting Numbers: [15, 1035]
Generated Node #3: [15, 1035] from Operation: 66+969=1035
Current State: 69:[15, 1035], Operations: ['19*51=969', '66+969=1035']
Exploring Operation: 1035/15=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[19, 66, 51, 15], Operations: []
Exploring Operation: 51+15=66, Resulting Numbers: [19, 66, 66]
Generated Node #0,0: 69:[19, 66, 66] Operation: 51+15=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[19, 66, 66], Operations: ['51+15=66']
Exploring Operation: 66/66=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 69:[19, 1] Operation: 66/66=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[19, 1], Operations: ['51+15=66', '66/66=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
93,
14,
31
] | 37 | [
"93-73=20",
"31-14=17",
"20+17=37"
] | Current State: 37:[73, 93, 14, 31], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [14, 31, 20]
Generated Node #2: [14, 31, 20] from Operation: 93-73=20
Current State: 37:[14, 31, 20], Operations: ['93-73=20']
Exploring Operation: 31-14=17, Resulting Numbers: [20, 17]
Generated Node #3: [20, 17] from Operation: 31-14=17
Current State: 37:[20, 17], Operations: ['93-73=20', '31-14=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[73, 93, 14, 31], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [14, 31, 20]
Generated Node #0,0: 37:[14, 31, 20] Operation: 93-73=20
Exploring Operation: 73-14=59, Resulting Numbers: [93, 31, 59]
Generated Node #0,1: 37:[93, 31, 59] Operation: 73-14=59
Exploring Operation: 73-31=42, Resulting Numbers: [93, 14, 42]
Generated Node #0,2: 37:[93, 14, 42] Operation: 73-31=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[14, 31, 20], Operations: ['93-73=20']
Exploring Operation: 14+20=34, Resulting Numbers: [31, 34]
Generated Node #0,0,0: 37:[31, 34] Operation: 14+20=34
Exploring Operation: 31-14=17, Resulting Numbers: [20, 17]
Generated Node #0,0,1: 37:[20, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [20, 45]
Generated Node #0,0,2: 37:[20, 45] Operation: 14+31=45
Moving to Node #0,0,0
Current State: 37:[31, 34], Operations: ['93-73=20', '14+20=34']
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,37 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[20, 45], Operations: ['93-73=20', '14+31=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 20*45=900, Resulting Numbers: [900]
900,37 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[20, 17], Operations: ['93-73=20', '31-14=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[73, 93, 14, 31], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [14, 31, 20]
Generated Node #0,0: 37:[14, 31, 20] Operation: 93-73=20
Moving to Node #0,0
Current State: 37:[14, 31, 20], Operations: ['93-73=20']
Exploring Operation: 31-14=17, Resulting Numbers: [20, 17]
Generated Node #0,0,1: 37:[20, 17] Operation: 31-14=17
Moving to Node #0,0,1
Current State: 37:[20, 17], Operations: ['93-73=20', '31-14=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
87,
7,
3,
51
] | 32 | [
"87-7=80",
"51-3=48",
"80-48=32"
] | Current State: 32:[87, 7, 3, 51], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [3, 51, 80]
Generated Node #2: [3, 51, 80] from Operation: 87-7=80
Current State: 32:[3, 51, 80], Operations: ['87-7=80']
Exploring Operation: 51-3=48, Resulting Numbers: [80, 48]
Generated Node #3: [80, 48] from Operation: 51-3=48
Current State: 32:[80, 48], Operations: ['87-7=80', '51-3=48']
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[87, 7, 3, 51], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [7, 51, 29]
Generated Node #0,0: 32:[7, 51, 29] Operation: 87/3=29
Exploring Operation: 87-51=36, Resulting Numbers: [7, 3, 36]
Generated Node #0,1: 32:[7, 3, 36] Operation: 87-51=36
Exploring Operation: 51-7=44, Resulting Numbers: [87, 3, 44]
Generated Node #0,2: 32:[87, 3, 44] Operation: 51-7=44
Exploring Operation: 51/3=17, Resulting Numbers: [87, 7, 17]
Generated Node #0,3: 32:[87, 7, 17] Operation: 51/3=17
Exploring Operation: 87-7=80, Resulting Numbers: [3, 51, 80]
Generated Node #0,4: 32:[3, 51, 80] Operation: 87-7=80
Moving to Node #0,1
Current State: 32:[7, 3, 36], Operations: ['87-51=36']
Exploring Operation: 7-3=4, Resulting Numbers: [36, 4]
Generated Node #0,1,0: 32:[36, 4] Operation: 7-3=4
Exploring Operation: 36-7=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 32:[3, 29] Operation: 36-7=29
Exploring Operation: 7+3=10, Resulting Numbers: [36, 10]
Generated Node #0,1,2: 32:[36, 10] Operation: 7+3=10
Exploring Operation: 36-3=33, Resulting Numbers: [7, 33]
Generated Node #0,1,3: 32:[7, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [7, 12]
Generated Node #0,1,4: 32:[7, 12] Operation: 36/3=12
Moving to Node #0,0
Current State: 32:[7, 51, 29], Operations: ['87/3=29']
Exploring Operation: 7+51=58, Resulting Numbers: [29, 58]
Generated Node #0,0,0: 32:[29, 58] Operation: 7+51=58
Exploring Operation: 29-7=22, Resulting Numbers: [51, 22]
Generated Node #0,0,1: 32:[51, 22] Operation: 29-7=22
Exploring Operation: 51-7=44, Resulting Numbers: [29, 44]
Generated Node #0,0,2: 32:[29, 44] Operation: 51-7=44
Exploring Operation: 7+29=36, Resulting Numbers: [51, 36]
Generated Node #0,0,3: 32:[51, 36] Operation: 7+29=36
Exploring Operation: 51-29=22, Resulting Numbers: [7, 22]
Generated Node #0,0,4: 32:[7, 22] Operation: 51-29=22
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[7, 22], Operations: ['87/3=29', '51-29=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,32 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,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,0,2
Current State: 32:[29, 44], Operations: ['87/3=29', '51-7=44']
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,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,0,3
Current State: 32:[51, 36], Operations: ['87/3=29', '7+29=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,32 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,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,0,1
Current State: 32:[51, 22], Operations: ['87/3=29', '29-7=22']
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,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,0,0
Current State: 32:[29, 58], Operations: ['87/3=29', '7+51=58']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 29+58=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 29*58=1682, Resulting Numbers: [1682]
1682,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:[87, 7, 17], Operations: ['51/3=17']
Exploring Operation: 87-7=80, Resulting Numbers: [17, 80]
Generated Node #0,3,0: 32:[17, 80] Operation: 87-7=80
Exploring Operation: 7+17=24, Resulting Numbers: [87, 24]
Generated Node #0,3,1: 32:[87, 24] Operation: 7+17=24
Exploring Operation: 87-17=70, Resulting Numbers: [7, 70]
Generated Node #0,3,2: 32:[7, 70] Operation: 87-17=70
Exploring Operation: 87+7=94, Resulting Numbers: [17, 94]
Generated Node #0,3,3: 32:[17, 94] Operation: 87+7=94
Exploring Operation: 17-7=10, Resulting Numbers: [87, 10]
Generated Node #0,3,4: 32:[87, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[7, 70], Operations: ['51/3=17', '87-17=70']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,32 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,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,0
Current State: 32:[17, 80], Operations: ['51/3=17', '87-7=80']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,32 unequal: No Solution
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,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,4
Current State: 32:[87, 10], Operations: ['51/3=17', '17-7=10']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,32 unequal: No Solution
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,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:[87, 24], Operations: ['51/3=17', '7+17=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,32 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,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:[17, 94], Operations: ['51/3=17', '87+7=94']
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,32 unequal: No Solution
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,32 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,32 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: 32:[87, 3, 44], Operations: ['51-7=44']
Exploring Operation: 87-3=84, Resulting Numbers: [44, 84]
Generated Node #0,2,0: 32:[44, 84] Operation: 87-3=84
Exploring Operation: 87-44=43, Resulting Numbers: [3, 43]
Generated Node #0,2,1: 32:[3, 43] Operation: 87-44=43
Exploring Operation: 44-3=41, Resulting Numbers: [87, 41]
Generated Node #0,2,2: 32:[87, 41] Operation: 44-3=41
Exploring Operation: 87+3=90, Resulting Numbers: [44, 90]
Generated Node #0,2,3: 32:[44, 90] Operation: 87+3=90
Exploring Operation: 87/3=29, Resulting Numbers: [44, 29]
Generated Node #0,2,4: 32:[44, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[3, 43], Operations: ['51-7=44', '87-44=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,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,2,4
Current State: 32:[44, 29], Operations: ['51-7=44', '87/3=29']
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,32 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,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,2,0
Current State: 32:[44, 84], Operations: ['51-7=44', '87-3=84']
Exploring Operation: 44+84=128, Resulting Numbers: [128]
128,32 unequal: No Solution
Exploring Operation: 44*84=3696, Resulting Numbers: [3696]
3696,32 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,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,2,2
Current State: 32:[87, 41], Operations: ['51-7=44', '44-3=41']
Exploring Operation: 87*41=3567, Resulting Numbers: [3567]
3567,32 unequal: No Solution
Exploring Operation: 87+41=128, Resulting Numbers: [128]
128,32 unequal: No Solution
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,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,2,3
Current State: 32:[44, 90], Operations: ['51-7=44', '87+3=90']
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,32 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,32 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: 32:[3, 51, 80], Operations: ['87-7=80']
Exploring Operation: 51/3=17, Resulting Numbers: [80, 17]
Generated Node #0,4,0: 32:[80, 17] Operation: 51/3=17
Exploring Operation: 80-3=77, Resulting Numbers: [51, 77]
Generated Node #0,4,1: 32:[51, 77] Operation: 80-3=77
Exploring Operation: 3+51=54, Resulting Numbers: [80, 54]
Generated Node #0,4,2: 32:[80, 54] Operation: 3+51=54
Exploring Operation: 80-51=29, Resulting Numbers: [3, 29]
Generated Node #0,4,3: 32:[3, 29] Operation: 80-51=29
Exploring Operation: 51-3=48, Resulting Numbers: [80, 48]
Generated Node #0,4,4: 32:[80, 48] Operation: 51-3=48
Moving to Node #0,1,3
Current State: 32:[7, 33], Operations: ['87-51=36', '36-3=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[3, 29], Operations: ['87-51=36', '36-7=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[87, 7, 3, 51], Operations: []
Exploring Operation: 87-51=36, Resulting Numbers: [7, 3, 36]
Generated Node #0,1: 32:[7, 3, 36] Operation: 87-51=36
Moving to Node #0,1
Current State: 32:[7, 3, 36], Operations: ['87-51=36']
Exploring Operation: 36-7=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 32:[3, 29] Operation: 36-7=29
Moving to Node #0,1,1
Current State: 32:[3, 29], Operations: ['87-51=36', '36-7=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.925347 | hs_5 | sum_heuristic |
[
13,
50,
79,
35
] | 81 | [
"50-13=37",
"79-35=44",
"37+44=81"
] | Current State: 81:[13, 50, 79, 35], Operations: []
Exploring Operation: 50-13=37, Resulting Numbers: [79, 35, 37]
Generated Node #2: [79, 35, 37] from Operation: 50-13=37
Current State: 81:[79, 35, 37], Operations: ['50-13=37']
Exploring Operation: 79-35=44, Resulting Numbers: [37, 44]
Generated Node #3: [37, 44] from Operation: 79-35=44
Current State: 81:[37, 44], Operations: ['50-13=37', '79-35=44']
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[13, 50, 79, 35], Operations: []
Exploring Operation: 79-50=29, Resulting Numbers: [13, 35, 29]
Generated Node #0,0: 81:[13, 35, 29] Operation: 79-50=29
Exploring Operation: 50+35=85, Resulting Numbers: [13, 79, 85]
Generated Node #0,1: 81:[13, 79, 85] Operation: 50+35=85
Exploring Operation: 50-35=15, Resulting Numbers: [13, 79, 15]
Generated Node #0,2: 81:[13, 79, 15] Operation: 50-35=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[13, 79, 85], Operations: ['50+35=85']
Exploring Operation: 13+79=92, Resulting Numbers: [85, 92]
Generated Node #0,1,0: 81:[85, 92] Operation: 13+79=92
Exploring Operation: 85-79=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 81:[13, 6] Operation: 85-79=6
Exploring Operation: 85-13=72, Resulting Numbers: [79, 72]
Generated Node #0,1,2: 81:[79, 72] Operation: 85-13=72
Moving to Node #0,1,1
Current State: 81:[13, 6], Operations: ['50+35=85', '85-79=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[79, 72], Operations: ['50+35=85', '85-13=72']
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,81 unequal: No Solution
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[85, 92], Operations: ['50+35=85', '13+79=92']
Exploring Operation: 85*92=7820, Resulting Numbers: [7820]
7820,81 unequal: No Solution
Exploring Operation: 85+92=177, Resulting Numbers: [177]
177,81 unequal: No Solution
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[13, 79, 15], Operations: ['50-35=15']
Exploring Operation: 13+79=92, Resulting Numbers: [15, 92]
Generated Node #0,2,0: 81:[15, 92] Operation: 13+79=92
Exploring Operation: 15-13=2, Resulting Numbers: [79, 2]
Generated Node #0,2,1: 81:[79, 2] Operation: 15-13=2
Exploring Operation: 13+15=28, Resulting Numbers: [79, 28]
Generated Node #0,2,2: 81:[79, 28] Operation: 13+15=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[79, 2], Operations: ['50-35=15', '15-13=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[13, 50, 79, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [13, 79, 15]
Generated Node #0,2: 81:[13, 79, 15] Operation: 50-35=15
Moving to Node #0,2
Current State: 81:[13, 79, 15], Operations: ['50-35=15']
Exploring Operation: 15-13=2, Resulting Numbers: [79, 2]
Generated Node #0,2,1: 81:[79, 2] Operation: 15-13=2
Moving to Node #0,2,1
Current State: 81:[79, 2], Operations: ['50-35=15', '15-13=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
72,
3,
19,
38
] | 88 | [
"72-3=69",
"38-19=19",
"69+19=88"
] | Current State: 88:[72, 3, 19, 38], Operations: []
Exploring Operation: 72-3=69, Resulting Numbers: [19, 38, 69]
Generated Node #2: [19, 38, 69] from Operation: 72-3=69
Current State: 88:[19, 38, 69], Operations: ['72-3=69']
Exploring Operation: 38-19=19, Resulting Numbers: [69, 19]
Generated Node #3: [69, 19] from Operation: 38-19=19
Current State: 88:[69, 19], Operations: ['72-3=69', '38-19=19']
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[72, 3, 19, 38], Operations: []
Exploring Operation: 72+19=91, Resulting Numbers: [3, 38, 91]
Generated Node #0,0: 88:[3, 38, 91] Operation: 72+19=91
Exploring Operation: 72-38=34, Resulting Numbers: [3, 19, 34]
Generated Node #0,1: 88:[3, 19, 34] Operation: 72-38=34
Exploring Operation: 72/3=24, Resulting Numbers: [19, 38, 24]
Generated Node #0,2: 88:[19, 38, 24] Operation: 72/3=24
Exploring Operation: 72-19=53, Resulting Numbers: [3, 38, 53]
Generated Node #0,3: 88:[3, 38, 53] Operation: 72-19=53
Exploring Operation: 38/19=2, Resulting Numbers: [72, 3, 2]
Generated Node #0,4: 88:[72, 3, 2] Operation: 38/19=2
Moving to Node #0,0
Current State: 88:[3, 38, 91], Operations: ['72+19=91']
Exploring Operation: 3+91=94, Resulting Numbers: [38, 94]
Generated Node #0,0,0: 88:[38, 94] Operation: 3+91=94
Exploring Operation: 91-3=88, Resulting Numbers: [38, 88]
Generated Node #0,0,1: 88:[38, 88] Operation: 91-3=88
Exploring Operation: 38-3=35, Resulting Numbers: [91, 35]
Generated Node #0,0,2: 88:[91, 35] Operation: 38-3=35
Exploring Operation: 3+38=41, Resulting Numbers: [91, 41]
Generated Node #0,0,3: 88:[91, 41] Operation: 3+38=41
Exploring Operation: 91-38=53, Resulting Numbers: [3, 53]
Generated Node #0,0,4: 88:[3, 53] Operation: 91-38=53
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[38, 88], Operations: ['72+19=91', '91-3=88']
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[91, 41], Operations: ['72+19=91', '3+38=41']
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,88 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[3, 53], Operations: ['72+19=91', '91-38=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[38, 94], Operations: ['72+19=91', '3+91=94']
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[91, 35], Operations: ['72+19=91', '38-3=35']
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,88 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: 88:[19, 38, 24], Operations: ['72/3=24']
Exploring Operation: 38-19=19, Resulting Numbers: [24, 19]
Generated Node #0,2,0: 88:[24, 19] Operation: 38-19=19
Exploring Operation: 24-19=5, Resulting Numbers: [38, 5]
Generated Node #0,2,1: 88:[38, 5] Operation: 24-19=5
Exploring Operation: 38-24=14, Resulting Numbers: [19, 14]
Generated Node #0,2,2: 88:[19, 14] Operation: 38-24=14
Exploring Operation: 19+24=43, Resulting Numbers: [38, 43]
Generated Node #0,2,3: 88:[38, 43] Operation: 19+24=43
Exploring Operation: 38/19=2, Resulting Numbers: [24, 2]
Generated Node #0,2,4: 88:[24, 2] Operation: 38/19=2
Moving to Node #0,1
Current State: 88:[3, 19, 34], Operations: ['72-38=34']
Exploring Operation: 34-3=31, Resulting Numbers: [19, 31]
Generated Node #0,1,0: 88:[19, 31] Operation: 34-3=31
Exploring Operation: 34-19=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 88:[3, 15] Operation: 34-19=15
Exploring Operation: 3+34=37, Resulting Numbers: [19, 37]
Generated Node #0,1,2: 88:[19, 37] Operation: 3+34=37
Exploring Operation: 3+19=22, Resulting Numbers: [34, 22]
Generated Node #0,1,3: 88:[34, 22] Operation: 3+19=22
Exploring Operation: 19+34=53, Resulting Numbers: [3, 53]
Generated Node #0,1,4: 88:[3, 53] Operation: 19+34=53
Moving to Node #0,3
Current State: 88:[3, 38, 53], Operations: ['72-19=53']
Exploring Operation: 38-3=35, Resulting Numbers: [53, 35]
Generated Node #0,3,0: 88:[53, 35] Operation: 38-3=35
Exploring Operation: 38+53=91, Resulting Numbers: [3, 91]
Generated Node #0,3,1: 88:[3, 91] Operation: 38+53=91
Exploring Operation: 53-38=15, Resulting Numbers: [3, 15]
Generated Node #0,3,2: 88:[3, 15] Operation: 53-38=15
Exploring Operation: 53-3=50, Resulting Numbers: [38, 50]
Generated Node #0,3,3: 88:[38, 50] Operation: 53-3=50
Exploring Operation: 3+38=41, Resulting Numbers: [53, 41]
Generated Node #0,3,4: 88:[53, 41] Operation: 3+38=41
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[3, 91], Operations: ['72-19=53', '38+53=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[72, 3, 19, 38], Operations: []
Exploring Operation: 72-19=53, Resulting Numbers: [3, 38, 53]
Generated Node #0,3: 88:[3, 38, 53] Operation: 72-19=53
Moving to Node #0,3
Current State: 88:[3, 38, 53], Operations: ['72-19=53']
Exploring Operation: 38+53=91, Resulting Numbers: [3, 91]
Generated Node #0,3,1: 88:[3, 91] Operation: 38+53=91
Moving to Node #0,3,1
Current State: 88:[3, 91], Operations: ['72-19=53', '38+53=91']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
41,
63,
45,
52
] | 76 | [
"45-41=4",
"52/4=13",
"63+13=76"
] | Current State: 76:[41, 63, 45, 52], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [63, 52, 4]
Generated Node #2: [63, 52, 4] from Operation: 45-41=4
Current State: 76:[63, 52, 4], Operations: ['45-41=4']
Exploring Operation: 52/4=13, Resulting Numbers: [63, 13]
Generated Node #3: [63, 13] from Operation: 52/4=13
Current State: 76:[63, 13], Operations: ['45-41=4', '52/4=13']
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[41, 63, 45, 52], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [41, 45, 11]
Generated Node #0,0: 76:[41, 45, 11] Operation: 63-52=11
Exploring Operation: 63-45=18, Resulting Numbers: [41, 52, 18]
Generated Node #0,1: 76:[41, 52, 18] Operation: 63-45=18
Moving to Node #0,0
Current State: 76:[41, 45, 11], Operations: ['63-52=11']
Exploring Operation: 45-11=34, Resulting Numbers: [41, 34]
Generated Node #0,0,0: 76:[41, 34] Operation: 45-11=34
Exploring Operation: 45-41=4, Resulting Numbers: [11, 4]
Generated Node #0,0,1: 76:[11, 4] Operation: 45-41=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[41, 34], Operations: ['63-52=11', '45-11=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,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,0,1
Current State: 76:[11, 4], Operations: ['63-52=11', '45-41=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,76 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: 76:[41, 52, 18], Operations: ['63-45=18']
Exploring Operation: 52-18=34, Resulting Numbers: [41, 34]
Generated Node #0,1,0: 76:[41, 34] Operation: 52-18=34
Exploring Operation: 52-41=11, Resulting Numbers: [18, 11]
Generated Node #0,1,1: 76:[18, 11] Operation: 52-41=11
Moving to Node #0,1,0
Current State: 76:[41, 34], Operations: ['63-45=18', '52-18=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[18, 11], Operations: ['63-45=18', '52-41=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
81,
13,
34
] | 99 | [
"81-3=78",
"34-13=21",
"78+21=99"
] | Current State: 99:[3, 81, 13, 34], Operations: []
Exploring Operation: 81-3=78, Resulting Numbers: [13, 34, 78]
Generated Node #2: [13, 34, 78] from Operation: 81-3=78
Current State: 99:[13, 34, 78], Operations: ['81-3=78']
Exploring Operation: 34-13=21, Resulting Numbers: [78, 21]
Generated Node #3: [78, 21] from Operation: 34-13=21
Current State: 99:[78, 21], Operations: ['81-3=78', '34-13=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 81, 13, 34], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [3, 13, 47]
Generated Node #0,0: 99:[3, 13, 47] Operation: 81-34=47
Exploring Operation: 81+34=115, Resulting Numbers: [3, 13, 115]
Generated Node #0,1: 99:[3, 13, 115] Operation: 81+34=115
Exploring Operation: 3+81=84, Resulting Numbers: [13, 34, 84]
Generated Node #0,2: 99:[13, 34, 84] Operation: 3+81=84
Exploring Operation: 81/3=27, Resulting Numbers: [13, 34, 27]
Generated Node #0,3: 99:[13, 34, 27] Operation: 81/3=27
Exploring Operation: 81+13=94, Resulting Numbers: [3, 34, 94]
Generated Node #0,4: 99:[3, 34, 94] Operation: 81+13=94
Moving to Node #0,4
Current State: 99:[3, 34, 94], Operations: ['81+13=94']
Exploring Operation: 3+94=97, Resulting Numbers: [34, 97]
Generated Node #0,4,0: 99:[34, 97] Operation: 3+94=97
Exploring Operation: 3*34=102, Resulting Numbers: [94, 102]
Generated Node #0,4,1: 99:[94, 102] Operation: 3*34=102
Exploring Operation: 3+34=37, Resulting Numbers: [94, 37]
Generated Node #0,4,2: 99:[94, 37] Operation: 3+34=37
Exploring Operation: 34-3=31, Resulting Numbers: [94, 31]
Generated Node #0,4,3: 99:[94, 31] Operation: 34-3=31
Exploring Operation: 94-3=91, Resulting Numbers: [34, 91]
Generated Node #0,4,4: 99:[34, 91] Operation: 94-3=91
Moving to Node #0,3
Current State: 99:[13, 34, 27], Operations: ['81/3=27']
Exploring Operation: 13+27=40, Resulting Numbers: [34, 40]
Generated Node #0,3,0: 99:[34, 40] Operation: 13+27=40
Exploring Operation: 34-27=7, Resulting Numbers: [13, 7]
Generated Node #0,3,1: 99:[13, 7] Operation: 34-27=7
Exploring Operation: 34-13=21, Resulting Numbers: [27, 21]
Generated Node #0,3,2: 99:[27, 21] Operation: 34-13=21
Exploring Operation: 13+34=47, Resulting Numbers: [27, 47]
Generated Node #0,3,3: 99:[27, 47] Operation: 13+34=47
Exploring Operation: 27-13=14, Resulting Numbers: [34, 14]
Generated Node #0,3,4: 99:[34, 14] Operation: 27-13=14
Moving to Node #0,0
Current State: 99:[3, 13, 47], Operations: ['81-34=47']
Exploring Operation: 3+47=50, Resulting Numbers: [13, 50]
Generated Node #0,0,0: 99:[13, 50] Operation: 3+47=50
Exploring Operation: 13-3=10, Resulting Numbers: [47, 10]
Generated Node #0,0,1: 99:[47, 10] Operation: 13-3=10
Exploring Operation: 47-13=34, Resulting Numbers: [3, 34]
Generated Node #0,0,2: 99:[3, 34] Operation: 47-13=34
Exploring Operation: 3+13=16, Resulting Numbers: [47, 16]
Generated Node #0,0,3: 99:[47, 16] Operation: 3+13=16
Exploring Operation: 47-3=44, Resulting Numbers: [13, 44]
Generated Node #0,0,4: 99:[13, 44] Operation: 47-3=44
Moving to Node #0,1
Current State: 99:[3, 13, 115], Operations: ['81+34=115']
Exploring Operation: 13-3=10, Resulting Numbers: [115, 10]
Generated Node #0,1,0: 99:[115, 10] Operation: 13-3=10
Exploring Operation: 115-3=112, Resulting Numbers: [13, 112]
Generated Node #0,1,1: 99:[13, 112] Operation: 115-3=112
Exploring Operation: 3+13=16, Resulting Numbers: [115, 16]
Generated Node #0,1,2: 99:[115, 16] Operation: 3+13=16
Exploring Operation: 3+115=118, Resulting Numbers: [13, 118]
Generated Node #0,1,3: 99:[13, 118] Operation: 3+115=118
Exploring Operation: 115-13=102, Resulting Numbers: [3, 102]
Generated Node #0,1,4: 99:[3, 102] Operation: 115-13=102
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 99:[3, 102], Operations: ['81+34=115', '115-13=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[3, 81, 13, 34], Operations: []
Exploring Operation: 81+34=115, Resulting Numbers: [3, 13, 115]
Generated Node #0,1: 99:[3, 13, 115] Operation: 81+34=115
Moving to Node #0,1
Current State: 99:[3, 13, 115], Operations: ['81+34=115']
Exploring Operation: 115-13=102, Resulting Numbers: [3, 102]
Generated Node #0,1,4: 99:[3, 102] Operation: 115-13=102
Moving to Node #0,1,4
Current State: 99:[3, 102], Operations: ['81+34=115', '115-13=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.