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 |
|---|---|---|---|---|---|---|---|---|
[
22,
75,
61,
38
] | 75 | [
"61-22=39",
"39-38=1",
"75*1=75"
] | Current State: 75:[22, 75, 61, 38], Operations: []
Exploring Operation: 61-22=39, Resulting Numbers: [75, 38, 39]
Generated Node #2: [75, 38, 39] from Operation: 61-22=39
Current State: 75:[75, 38, 39], Operations: ['61-22=39']
Exploring Operation: 39-38=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 39-38=1
Current State: 75:[75, 1], Operations: ['61-22=39', '39-38=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[22, 75, 61, 38], Operations: []
Exploring Operation: 61-38=23, Resulting Numbers: [22, 75, 23]
Generated Node #0,0: 75:[22, 75, 23] Operation: 61-38=23
Moving to Node #0,0
Current State: 75:[22, 75, 23], Operations: ['61-38=23']
Exploring Operation: 23-22=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 75:[75, 1] Operation: 23-22=1
Moving to Node #0,0,0
Current State: 75:[75, 1], Operations: ['61-38=23', '23-22=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[22, 75, 61, 38], Operations: []
Exploring Operation: 61-38=23, Resulting Numbers: [22, 75, 23]
Generated Node #0,0: 75:[22, 75, 23] Operation: 61-38=23
Moving to Node #0,0
Current State: 75:[22, 75, 23], Operations: ['61-38=23']
Exploring Operation: 23-22=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 75:[75, 1] Operation: 23-22=1
Moving to Node #0,0,0
Current State: 75:[75, 1], Operations: ['61-38=23', '23-22=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
70,
53,
12,
1
] | 30 | [
"70-53=17",
"12+1=13",
"17+13=30"
] | Current State: 30:[70, 53, 12, 1], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [12, 1, 17]
Generated Node #2: [12, 1, 17] from Operation: 70-53=17
Current State: 30:[12, 1, 17], Operations: ['70-53=17']
Exploring Operation: 12+1=13, Resulting Numbers: [17, 13]
Generated Node #3: [17, 13] from Operation: 12+1=13
Current State: 30:[17, 13], Operations: ['70-53=17', '12+1=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 53, 12, 1], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [12, 1, 17]
Generated Node #0,0: 30:[12, 1, 17] Operation: 70-53=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[12, 1, 17], Operations: ['70-53=17']
Exploring Operation: 17-12=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 30:[1, 5] Operation: 17-12=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[1, 5], Operations: ['70-53=17', '17-12=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
72,
40,
6
] | 72 | [
"46+72=118",
"40+6=46",
"118-46=72"
] | Current State: 72:[46, 72, 40, 6], Operations: []
Exploring Operation: 46+72=118, Resulting Numbers: [40, 6, 118]
Generated Node #2: [40, 6, 118] from Operation: 46+72=118
Current State: 72:[40, 6, 118], Operations: ['46+72=118']
Exploring Operation: 40+6=46, Resulting Numbers: [118, 46]
Generated Node #3: [118, 46] from Operation: 40+6=46
Current State: 72:[118, 46], Operations: ['46+72=118', '40+6=46']
Exploring Operation: 118-46=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[46, 72, 40, 6], Operations: []
Exploring Operation: 46-6=40, Resulting Numbers: [72, 40, 40]
Generated Node #0,0: 72:[72, 40, 40] Operation: 46-6=40
Exploring Operation: 72-46=26, Resulting Numbers: [40, 6, 26]
Generated Node #0,1: 72:[40, 6, 26] Operation: 72-46=26
Exploring Operation: 46-40=6, Resulting Numbers: [72, 6, 6]
Generated Node #0,2: 72:[72, 6, 6] Operation: 46-40=6
Moving to Node #0,2
Current State: 72:[72, 6, 6], Operations: ['46-40=6']
Exploring Operation: 72/6=12, Resulting Numbers: [6, 12]
Generated Node #0,2,0: 72:[6, 12] Operation: 72/6=12
Exploring Operation: 6+6=12, Resulting Numbers: [72, 12]
Generated Node #0,2,1: 72:[72, 12] Operation: 6+6=12
Exploring Operation: 72/6=12, Resulting Numbers: [6, 12]
Generated Node #0,2,2: 72:[6, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[6, 12], Operations: ['46-40=6', '72/6=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[46, 72, 40, 6], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [72, 6, 6]
Generated Node #0,2: 72:[72, 6, 6] Operation: 46-40=6
Moving to Node #0,2
Current State: 72:[72, 6, 6], Operations: ['46-40=6']
Exploring Operation: 72/6=12, Resulting Numbers: [6, 12]
Generated Node #0,2,0: 72:[6, 12] Operation: 72/6=12
Moving to Node #0,2,0
Current State: 72:[6, 12], Operations: ['46-40=6', '72/6=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
57,
61,
77,
69
] | 12 | [
"61-57=4",
"77-69=8",
"4+8=12"
] | Current State: 12:[57, 61, 77, 69], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [77, 69, 4]
Generated Node #2: [77, 69, 4] from Operation: 61-57=4
Current State: 12:[77, 69, 4], Operations: ['61-57=4']
Exploring Operation: 77-69=8, Resulting Numbers: [4, 8]
Generated Node #3: [4, 8] from Operation: 77-69=8
Current State: 12:[4, 8], Operations: ['61-57=4', '77-69=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[57, 61, 77, 69], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [57, 61, 8]
Generated Node #0,0: 12:[57, 61, 8] Operation: 77-69=8
Exploring Operation: 69-61=8, Resulting Numbers: [57, 77, 8]
Generated Node #0,1: 12:[57, 77, 8] Operation: 69-61=8
Exploring Operation: 77-61=16, Resulting Numbers: [57, 69, 16]
Generated Node #0,2: 12:[57, 69, 16] Operation: 77-61=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[57, 61, 8], Operations: ['77-69=8']
Exploring Operation: 61-57=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 12:[8, 4] Operation: 61-57=4
Exploring Operation: 61-8=53, Resulting Numbers: [57, 53]
Generated Node #0,0,1: 12:[57, 53] Operation: 61-8=53
Exploring Operation: 57-8=49, Resulting Numbers: [61, 49]
Generated Node #0,0,2: 12:[61, 49] Operation: 57-8=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[8, 4], Operations: ['77-69=8', '61-57=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[57, 61, 77, 69], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [57, 61, 8]
Generated Node #0,0: 12:[57, 61, 8] Operation: 77-69=8
Moving to Node #0,0
Current State: 12:[57, 61, 8], Operations: ['77-69=8']
Exploring Operation: 61-57=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 12:[8, 4] Operation: 61-57=4
Moving to Node #0,0,0
Current State: 12:[8, 4], Operations: ['77-69=8', '61-57=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
3,
60,
43,
26
] | 27 | [
"60-43=17",
"26-17=9",
"3*9=27"
] | Current State: 27:[3, 60, 43, 26], Operations: []
Exploring Operation: 60-43=17, Resulting Numbers: [3, 26, 17]
Generated Node #2: [3, 26, 17] from Operation: 60-43=17
Current State: 27:[3, 26, 17], Operations: ['60-43=17']
Exploring Operation: 26-17=9, Resulting Numbers: [3, 9]
Generated Node #3: [3, 9] from Operation: 26-17=9
Current State: 27:[3, 9], Operations: ['60-43=17', '26-17=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[3, 60, 43, 26], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [3, 43, 34]
Generated Node #0,0: 27:[3, 43, 34] Operation: 60-26=34
Exploring Operation: 60-3=57, Resulting Numbers: [43, 26, 57]
Generated Node #0,1: 27:[43, 26, 57] Operation: 60-3=57
Exploring Operation: 60-43=17, Resulting Numbers: [3, 26, 17]
Generated Node #0,2: 27:[3, 26, 17] Operation: 60-43=17
Exploring Operation: 60/3=20, Resulting Numbers: [43, 26, 20]
Generated Node #0,3: 27:[43, 26, 20] Operation: 60/3=20
Exploring Operation: 43-26=17, Resulting Numbers: [3, 60, 17]
Generated Node #0,4: 27:[3, 60, 17] Operation: 43-26=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[3, 26, 17], Operations: ['60-43=17']
Exploring Operation: 26-17=9, Resulting Numbers: [3, 9]
Generated Node #0,2,0: 27:[3, 9] Operation: 26-17=9
Exploring Operation: 3+17=20, Resulting Numbers: [26, 20]
Generated Node #0,2,1: 27:[26, 20] Operation: 3+17=20
Exploring Operation: 17-3=14, Resulting Numbers: [26, 14]
Generated Node #0,2,2: 27:[26, 14] Operation: 17-3=14
Exploring Operation: 3+26=29, Resulting Numbers: [17, 29]
Generated Node #0,2,3: 27:[17, 29] Operation: 3+26=29
Exploring Operation: 26-3=23, Resulting Numbers: [17, 23]
Generated Node #0,2,4: 27:[17, 23] Operation: 26-3=23
Moving to Node #0,2,0
Current State: 27:[3, 9], Operations: ['60-43=17', '26-17=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[3, 60, 43, 26], Operations: []
Exploring Operation: 60-43=17, Resulting Numbers: [3, 26, 17]
Generated Node #0,2: 27:[3, 26, 17] Operation: 60-43=17
Moving to Node #0,2
Current State: 27:[3, 26, 17], Operations: ['60-43=17']
Exploring Operation: 26-17=9, Resulting Numbers: [3, 9]
Generated Node #0,2,0: 27:[3, 9] Operation: 26-17=9
Moving to Node #0,2,0
Current State: 27:[3, 9], Operations: ['60-43=17', '26-17=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
4,
12,
54,
14
] | 98 | [
"4*14=56",
"54-12=42",
"56+42=98"
] | Current State: 98:[4, 12, 54, 14], Operations: []
Exploring Operation: 4*14=56, Resulting Numbers: [12, 54, 56]
Generated Node #2: [12, 54, 56] from Operation: 4*14=56
Current State: 98:[12, 54, 56], Operations: ['4*14=56']
Exploring Operation: 54-12=42, Resulting Numbers: [56, 42]
Generated Node #3: [56, 42] from Operation: 54-12=42
Current State: 98:[56, 42], Operations: ['4*14=56', '54-12=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[4, 12, 54, 14], Operations: []
Exploring Operation: 4*12=48, Resulting Numbers: [54, 14, 48]
Generated Node #0,0: 98:[54, 14, 48] Operation: 4*12=48
Exploring Operation: 54-4=50, Resulting Numbers: [12, 14, 50]
Generated Node #0,1: 98:[12, 14, 50] Operation: 54-4=50
Exploring Operation: 12-4=8, Resulting Numbers: [54, 14, 8]
Generated Node #0,2: 98:[54, 14, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [54, 14, 3]
Generated Node #0,3: 98:[54, 14, 3] Operation: 12/4=3
Exploring Operation: 4+12=16, Resulting Numbers: [54, 14, 16]
Generated Node #0,4: 98:[54, 14, 16] Operation: 4+12=16
Moving to Node #0,1
Current State: 98:[12, 14, 50], Operations: ['54-4=50']
Exploring Operation: 14-12=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 98:[50, 2] Operation: 14-12=2
Exploring Operation: 50-14=36, Resulting Numbers: [12, 36]
Generated Node #0,1,1: 98:[12, 36] Operation: 50-14=36
Exploring Operation: 50-12=38, Resulting Numbers: [14, 38]
Generated Node #0,1,2: 98:[14, 38] Operation: 50-12=38
Exploring Operation: 12+14=26, Resulting Numbers: [50, 26]
Generated Node #0,1,3: 98:[50, 26] Operation: 12+14=26
Exploring Operation: 12+50=62, Resulting Numbers: [14, 62]
Generated Node #0,1,4: 98:[14, 62] Operation: 12+50=62
Moving to Node #0,2
Current State: 98:[54, 14, 8], Operations: ['12-4=8']
Exploring Operation: 54-8=46, Resulting Numbers: [14, 46]
Generated Node #0,2,0: 98:[14, 46] Operation: 54-8=46
Exploring Operation: 54-14=40, Resulting Numbers: [8, 40]
Generated Node #0,2,1: 98:[8, 40] Operation: 54-14=40
Exploring Operation: 14+8=22, Resulting Numbers: [54, 22]
Generated Node #0,2,2: 98:[54, 22] Operation: 14+8=22
Exploring Operation: 54+8=62, Resulting Numbers: [14, 62]
Generated Node #0,2,3: 98:[14, 62] Operation: 54+8=62
Exploring Operation: 14-8=6, Resulting Numbers: [54, 6]
Generated Node #0,2,4: 98:[54, 6] Operation: 14-8=6
Moving to Node #0,0
Current State: 98:[54, 14, 48], Operations: ['4*12=48']
Exploring Operation: 54+48=102, Resulting Numbers: [14, 102]
Generated Node #0,0,0: 98:[14, 102] Operation: 54+48=102
Exploring Operation: 54-14=40, Resulting Numbers: [48, 40]
Generated Node #0,0,1: 98:[48, 40] Operation: 54-14=40
Exploring Operation: 54-48=6, Resulting Numbers: [14, 6]
Generated Node #0,0,2: 98:[14, 6] Operation: 54-48=6
Exploring Operation: 14+48=62, Resulting Numbers: [54, 62]
Generated Node #0,0,3: 98:[54, 62] Operation: 14+48=62
Exploring Operation: 54+14=68, Resulting Numbers: [48, 68]
Generated Node #0,0,4: 98:[48, 68] Operation: 54+14=68
Moving to Node #0,3
Current State: 98:[54, 14, 3], Operations: ['12/4=3']
Exploring Operation: 14-3=11, Resulting Numbers: [54, 11]
Generated Node #0,3,0: 98:[54, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [54, 17]
Generated Node #0,3,1: 98:[54, 17] Operation: 14+3=17
Exploring Operation: 54-3=51, Resulting Numbers: [14, 51]
Generated Node #0,3,2: 98:[14, 51] Operation: 54-3=51
Exploring Operation: 54+3=57, Resulting Numbers: [14, 57]
Generated Node #0,3,3: 98:[14, 57] Operation: 54+3=57
Exploring Operation: 54/3=18, Resulting Numbers: [14, 18]
Generated Node #0,3,4: 98:[14, 18] Operation: 54/3=18
Moving to Node #0,4
Current State: 98:[54, 14, 16], Operations: ['4+12=16']
Exploring Operation: 16-14=2, Resulting Numbers: [54, 2]
Generated Node #0,4,0: 98:[54, 2] Operation: 16-14=2
Exploring Operation: 54+16=70, Resulting Numbers: [14, 70]
Generated Node #0,4,1: 98:[14, 70] Operation: 54+16=70
Exploring Operation: 54-14=40, Resulting Numbers: [16, 40]
Generated Node #0,4,2: 98:[16, 40] Operation: 54-14=40
Exploring Operation: 54+14=68, Resulting Numbers: [16, 68]
Generated Node #0,4,3: 98:[16, 68] Operation: 54+14=68
Exploring Operation: 54-16=38, Resulting Numbers: [14, 38]
Generated Node #0,4,4: 98:[14, 38] Operation: 54-16=38
Moving to Node #0,1,0
Current State: 98:[50, 2], Operations: ['54-4=50', '14-12=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[14, 6], Operations: ['4*12=48', '54-48=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[14, 51], Operations: ['12/4=3', '54-3=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,98 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[14, 46], Operations: ['12-4=8', '54-8=46']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[14, 102], Operations: ['4*12=48', '54+48=102']
Exploring Operation: 14*102=1428, Resulting Numbers: [1428]
1428,98 unequal: No Solution
Exploring Operation: 14+102=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 102-14=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[14, 18], Operations: ['12/4=3', '54/3=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,98 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[54, 2], Operations: ['4+12=16', '16-14=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[54, 6], Operations: ['12-4=8', '14-8=6']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,98 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[14, 57], Operations: ['12/4=3', '54+3=57']
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,98 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[54, 11], Operations: ['12/4=3', '14-3=11']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[54, 17], Operations: ['12/4=3', '14+3=17']
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,98 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[48, 40], Operations: ['4*12=48', '54-14=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,98 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[8, 40], Operations: ['12-4=8', '54-14=40']
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,98 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[14, 38], Operations: ['4+12=16', '54-16=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,98 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[16, 40], Operations: ['4+12=16', '54-14=40']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[14, 38], Operations: ['54-4=50', '50-12=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[14, 62], Operations: ['12-4=8', '54+8=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[50, 26], Operations: ['54-4=50', '12+14=26']
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,98 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[54, 22], Operations: ['12-4=8', '14+8=22']
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[14, 62], Operations: ['54-4=50', '12+50=62']
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,98 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[12, 36], Operations: ['54-4=50', '50-14=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,98 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[54, 62], Operations: ['4*12=48', '14+48=62']
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,98 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[48, 68], Operations: ['4*12=48', '54+14=68']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[16, 68], Operations: ['4+12=16', '54+14=68']
Exploring Operation: 16+68=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 16*68=1088, Resulting Numbers: [1088]
1088,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[14, 70], Operations: ['4+12=16', '54+16=70']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,98 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
87,
39,
29,
14
] | 87 | [
"87*14=1218",
"39*29=1131",
"1218-1131=87"
] | Current State: 87:[87, 39, 29, 14], Operations: []
Exploring Operation: 87*14=1218, Resulting Numbers: [39, 29, 1218]
Generated Node #2: [39, 29, 1218] from Operation: 87*14=1218
Current State: 87:[39, 29, 1218], Operations: ['87*14=1218']
Exploring Operation: 39*29=1131, Resulting Numbers: [1218, 1131]
Generated Node #3: [1218, 1131] from Operation: 39*29=1131
Current State: 87:[1218, 1131], Operations: ['87*14=1218', '39*29=1131']
Exploring Operation: 1218-1131=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[87, 39, 29, 14], Operations: []
Exploring Operation: 29-14=15, Resulting Numbers: [87, 39, 15]
Generated Node #0,0: 87:[87, 39, 15] Operation: 29-14=15
Exploring Operation: 39-14=25, Resulting Numbers: [87, 29, 25]
Generated Node #0,1: 87:[87, 29, 25] Operation: 39-14=25
Exploring Operation: 87/29=3, Resulting Numbers: [39, 14, 3]
Generated Node #0,2: 87:[39, 14, 3] Operation: 87/29=3
Exploring Operation: 39-29=10, Resulting Numbers: [87, 14, 10]
Generated Node #0,3: 87:[87, 14, 10] Operation: 39-29=10
Exploring Operation: 87+14=101, Resulting Numbers: [39, 29, 101]
Generated Node #0,4: 87:[39, 29, 101] Operation: 87+14=101
Moving to Node #0,1
Current State: 87:[87, 29, 25], Operations: ['39-14=25']
Exploring Operation: 87+25=112, Resulting Numbers: [29, 112]
Generated Node #0,1,0: 87:[29, 112] Operation: 87+25=112
Exploring Operation: 29-25=4, Resulting Numbers: [87, 4]
Generated Node #0,1,1: 87:[87, 4] Operation: 29-25=4
Exploring Operation: 87-25=62, Resulting Numbers: [29, 62]
Generated Node #0,1,2: 87:[29, 62] Operation: 87-25=62
Exploring Operation: 29+25=54, Resulting Numbers: [87, 54]
Generated Node #0,1,3: 87:[87, 54] Operation: 29+25=54
Exploring Operation: 87/29=3, Resulting Numbers: [25, 3]
Generated Node #0,1,4: 87:[25, 3] Operation: 87/29=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[87, 4], Operations: ['39-14=25', '29-25=4']
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,87 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,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:[25, 3], Operations: ['39-14=25', '87/29=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,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,0
Current State: 87:[29, 112], Operations: ['39-14=25', '87+25=112']
Exploring Operation: 112-29=83, Resulting Numbers: [83]
83,87 unequal: No Solution
Exploring Operation: 29*112=3248, Resulting Numbers: [3248]
3248,87 unequal: No Solution
Exploring Operation: 29+112=141, Resulting Numbers: [141]
141,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:[29, 62], Operations: ['39-14=25', '87-25=62']
Exploring Operation: 29*62=1798, Resulting Numbers: [1798]
1798,87 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,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:[87, 54], Operations: ['39-14=25', '29+25=54']
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 87*54=4698, Resulting Numbers: [4698]
4698,87 unequal: No Solution
Exploring Operation: 87+54=141, Resulting Numbers: [141]
141,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:[87, 14, 10], Operations: ['39-29=10']
Exploring Operation: 14-10=4, Resulting Numbers: [87, 4]
Generated Node #0,3,0: 87:[87, 4] Operation: 14-10=4
Exploring Operation: 87+14=101, Resulting Numbers: [10, 101]
Generated Node #0,3,1: 87:[10, 101] Operation: 87+14=101
Exploring Operation: 87-14=73, Resulting Numbers: [10, 73]
Generated Node #0,3,2: 87:[10, 73] Operation: 87-14=73
Exploring Operation: 87+10=97, Resulting Numbers: [14, 97]
Generated Node #0,3,3: 87:[14, 97] Operation: 87+10=97
Exploring Operation: 14+10=24, Resulting Numbers: [87, 24]
Generated Node #0,3,4: 87:[87, 24] Operation: 14+10=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[87, 4], Operations: ['39-29=10', '14-10=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,87 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,87 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,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:[87, 24], Operations: ['39-29=10', '14+10=24']
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,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:[10, 101], Operations: ['39-29=10', '87+14=101']
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 10+101=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 10*101=1010, Resulting Numbers: [1010]
1010,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:[10, 73], Operations: ['39-29=10', '87-14=73']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,87 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,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:[14, 97], Operations: ['39-29=10', '87+10=97']
Exploring Operation: 14*97=1358, Resulting Numbers: [1358]
1358,87 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,87 unequal: No Solution
Exploring Operation: 14+97=111, Resulting Numbers: [111]
111,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:[39, 14, 3], Operations: ['87/29=3']
Exploring Operation: 14-3=11, Resulting Numbers: [39, 11]
Generated Node #0,2,0: 87:[39, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [39, 17]
Generated Node #0,2,1: 87:[39, 17] Operation: 14+3=17
Exploring Operation: 39-3=36, Resulting Numbers: [14, 36]
Generated Node #0,2,2: 87:[14, 36] Operation: 39-3=36
Exploring Operation: 39/3=13, Resulting Numbers: [14, 13]
Generated Node #0,2,3: 87:[14, 13] Operation: 39/3=13
Exploring Operation: 39-14=25, Resulting Numbers: [3, 25]
Generated Node #0,2,4: 87:[3, 25] Operation: 39-14=25
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[3, 25], Operations: ['87/29=3', '39-14=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,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:[39, 11], Operations: ['87/29=3', '14-3=11']
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,87 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,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:[14, 36], Operations: ['87/29=3', '39-3=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,87 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,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,3
Current State: 87:[14, 13], Operations: ['87/29=3', '39/3=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,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:[39, 17], Operations: ['87/29=3', '14+3=17']
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,87 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,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:[87, 39, 15], Operations: ['29-14=15']
Exploring Operation: 87+15=102, Resulting Numbers: [39, 102]
Generated Node #0,0,0: 87:[39, 102] Operation: 87+15=102
Exploring Operation: 39+15=54, Resulting Numbers: [87, 54]
Generated Node #0,0,1: 87:[87, 54] Operation: 39+15=54
Exploring Operation: 87-39=48, Resulting Numbers: [15, 48]
Generated Node #0,0,2: 87:[15, 48] Operation: 87-39=48
Exploring Operation: 87-15=72, Resulting Numbers: [39, 72]
Generated Node #0,0,3: 87:[39, 72] Operation: 87-15=72
Exploring Operation: 39-15=24, Resulting Numbers: [87, 24]
Generated Node #0,0,4: 87:[87, 24] Operation: 39-15=24
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 87:[87, 24], Operations: ['29-14=15', '39-15=24']
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,87 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,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:[39, 102], Operations: ['29-14=15', '87+15=102']
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,87 unequal: No Solution
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,87 unequal: No Solution
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,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:[87, 54], Operations: ['29-14=15', '39+15=54']
Exploring Operation: 87+54=141, Resulting Numbers: [141]
141,87 unequal: No Solution
Exploring Operation: 87*54=4698, Resulting Numbers: [4698]
4698,87 unequal: No Solution
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,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:[39, 72], Operations: ['29-14=15', '87-15=72']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,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,2
Current State: 87:[15, 48], Operations: ['29-14=15', '87-39=48']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,87 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,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:[39, 29, 101], Operations: ['87+14=101']
Exploring Operation: 101-29=72, Resulting Numbers: [39, 72]
Generated Node #0,4,0: 87:[39, 72] Operation: 101-29=72
Exploring Operation: 39-29=10, Resulting Numbers: [101, 10]
Generated Node #0,4,1: 87:[101, 10] Operation: 39-29=10
Exploring Operation: 101-39=62, Resulting Numbers: [29, 62]
Generated Node #0,4,2: 87:[29, 62] Operation: 101-39=62
Exploring Operation: 39+29=68, Resulting Numbers: [101, 68]
Generated Node #0,4,3: 87:[101, 68] Operation: 39+29=68
Exploring Operation: 39+101=140, Resulting Numbers: [29, 140]
Generated Node #0,4,4: 87:[29, 140] Operation: 39+101=140
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[101, 10], Operations: ['87+14=101', '39-29=10']
Exploring Operation: 101*10=1010, Resulting Numbers: [1010]
1010,87 unequal: No Solution
Exploring Operation: 101+10=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,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:[39, 72], Operations: ['87+14=101', '101-29=72']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,87 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,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:[29, 62], Operations: ['87+14=101', '101-39=62']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 29*62=1798, Resulting Numbers: [1798]
1798,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:[101, 68], Operations: ['87+14=101', '39+29=68']
Exploring Operation: 101-68=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 101+68=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 101*68=6868, Resulting Numbers: [6868]
6868,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:[29, 140], Operations: ['87+14=101', '39+101=140']
Exploring Operation: 29*140=4060, Resulting Numbers: [4060]
4060,87 unequal: No Solution
Exploring Operation: 29+140=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 140-29=111, Resulting Numbers: [111]
111,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
11,
14,
15
] | 61 | [
"15-11=4",
"14*4=56",
"5+56=61"
] | Current State: 61:[5, 11, 14, 15], Operations: []
Exploring Operation: 15-11=4, Resulting Numbers: [5, 14, 4]
Generated Node #2: [5, 14, 4] from Operation: 15-11=4
Current State: 61:[5, 14, 4], Operations: ['15-11=4']
Exploring Operation: 14*4=56, Resulting Numbers: [5, 56]
Generated Node #3: [5, 56] from Operation: 14*4=56
Current State: 61:[5, 56], Operations: ['15-11=4', '14*4=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 11, 14, 15], Operations: []
Exploring Operation: 5*11=55, Resulting Numbers: [14, 15, 55]
Generated Node #0,0: 61:[14, 15, 55] Operation: 5*11=55
Exploring Operation: 5*14=70, Resulting Numbers: [11, 15, 70]
Generated Node #0,1: 61:[11, 15, 70] Operation: 5*14=70
Moving to Node #0,0
Current State: 61:[14, 15, 55], Operations: ['5*11=55']
Exploring Operation: 14+55=69, Resulting Numbers: [15, 69]
Generated Node #0,0,0: 61:[15, 69] Operation: 14+55=69
Exploring Operation: 14+15=29, Resulting Numbers: [55, 29]
Generated Node #0,0,1: 61:[55, 29] Operation: 14+15=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[55, 29], Operations: ['5*11=55', '14+15=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[15, 69], Operations: ['5*11=55', '14+55=69']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[11, 15, 70], Operations: ['5*14=70']
Exploring Operation: 70-11=59, Resulting Numbers: [15, 59]
Generated Node #0,1,0: 61:[15, 59] Operation: 70-11=59
Exploring Operation: 11+15=26, Resulting Numbers: [70, 26]
Generated Node #0,1,1: 61:[70, 26] Operation: 11+15=26
Moving to Node #0,1,1
Current State: 61:[70, 26], Operations: ['5*14=70', '11+15=26']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[15, 59], Operations: ['5*14=70', '70-11=59']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
50,
22,
68,
50
] | 91 | [
"50/50=1",
"22+68=90",
"1+90=91"
] | Current State: 91:[50, 22, 68, 50], Operations: []
Exploring Operation: 50/50=1, Resulting Numbers: [22, 68, 1]
Generated Node #2: [22, 68, 1] from Operation: 50/50=1
Current State: 91:[22, 68, 1], Operations: ['50/50=1']
Exploring Operation: 22+68=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 22+68=90
Current State: 91:[1, 90], Operations: ['50/50=1', '22+68=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[50, 22, 68, 50], Operations: []
Exploring Operation: 50/50=1, Resulting Numbers: [22, 68, 1]
Generated Node #0,0: 91:[22, 68, 1] Operation: 50/50=1
Exploring Operation: 50-50=0, Resulting Numbers: [22, 68, 0]
Generated Node #0,1: 91:[22, 68, 0] Operation: 50-50=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[22, 68, 1], Operations: ['50/50=1']
Exploring Operation: 22+68=90, Resulting Numbers: [1, 90]
Generated Node #0,0,0: 91:[1, 90] Operation: 22+68=90
Exploring Operation: 22-1=21, Resulting Numbers: [68, 21]
Generated Node #0,0,1: 91:[68, 21] Operation: 22-1=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[1, 90], Operations: ['50/50=1', '22+68=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[50, 22, 68, 50], Operations: []
Exploring Operation: 50/50=1, Resulting Numbers: [22, 68, 1]
Generated Node #0,0: 91:[22, 68, 1] Operation: 50/50=1
Moving to Node #0,0
Current State: 91:[22, 68, 1], Operations: ['50/50=1']
Exploring Operation: 22+68=90, Resulting Numbers: [1, 90]
Generated Node #0,0,0: 91:[1, 90] Operation: 22+68=90
Moving to Node #0,0,0
Current State: 91:[1, 90], Operations: ['50/50=1', '22+68=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
42,
4,
33,
68
] | 67 | [
"42*4=168",
"33+68=101",
"168-101=67"
] | Current State: 67:[42, 4, 33, 68], Operations: []
Exploring Operation: 42*4=168, Resulting Numbers: [33, 68, 168]
Generated Node #2: [33, 68, 168] from Operation: 42*4=168
Current State: 67:[33, 68, 168], Operations: ['42*4=168']
Exploring Operation: 33+68=101, Resulting Numbers: [168, 101]
Generated Node #3: [168, 101] from Operation: 33+68=101
Current State: 67:[168, 101], Operations: ['42*4=168', '33+68=101']
Exploring Operation: 168-101=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[42, 4, 33, 68], Operations: []
Exploring Operation: 42+4=46, Resulting Numbers: [33, 68, 46]
Generated Node #0,0: 67:[33, 68, 46] Operation: 42+4=46
Exploring Operation: 68-4=64, Resulting Numbers: [42, 33, 64]
Generated Node #0,1: 67:[42, 33, 64] Operation: 68-4=64
Exploring Operation: 4+33=37, Resulting Numbers: [42, 68, 37]
Generated Node #0,2: 67:[42, 68, 37] Operation: 4+33=37
Moving to Node #0,0
Current State: 67:[33, 68, 46], Operations: ['42+4=46']
Exploring Operation: 68-33=35, Resulting Numbers: [46, 35]
Generated Node #0,0,0: 67:[46, 35] Operation: 68-33=35
Exploring Operation: 33+46=79, Resulting Numbers: [68, 79]
Generated Node #0,0,1: 67:[68, 79] Operation: 33+46=79
Exploring Operation: 33+68=101, Resulting Numbers: [46, 101]
Generated Node #0,0,2: 67:[46, 101] Operation: 33+68=101
Moving to Node #0,2
Current State: 67:[42, 68, 37], Operations: ['4+33=37']
Exploring Operation: 68-37=31, Resulting Numbers: [42, 31]
Generated Node #0,2,0: 67:[42, 31] Operation: 68-37=31
Exploring Operation: 42+37=79, Resulting Numbers: [68, 79]
Generated Node #0,2,1: 67:[68, 79] Operation: 42+37=79
Exploring Operation: 42-37=5, Resulting Numbers: [68, 5]
Generated Node #0,2,2: 67:[68, 5] Operation: 42-37=5
Moving to Node #0,1
Current State: 67:[42, 33, 64], Operations: ['68-4=64']
Exploring Operation: 42+33=75, Resulting Numbers: [64, 75]
Generated Node #0,1,0: 67:[64, 75] Operation: 42+33=75
Exploring Operation: 42-33=9, Resulting Numbers: [64, 9]
Generated Node #0,1,1: 67:[64, 9] Operation: 42-33=9
Exploring Operation: 33+64=97, Resulting Numbers: [42, 97]
Generated Node #0,1,2: 67:[42, 97] Operation: 33+64=97
Moving to Node #0,1,0
Current State: 67:[64, 75], Operations: ['68-4=64', '42+33=75']
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,67 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[68, 79], Operations: ['42+4=46', '33+46=79']
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,67 unequal: No Solution
Exploring Operation: 68*79=5372, Resulting Numbers: [5372]
5372,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[68, 79], Operations: ['4+33=37', '42+37=79']
Exploring Operation: 68*79=5372, Resulting Numbers: [5372]
5372,67 unequal: No Solution
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,67 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[46, 35], Operations: ['42+4=46', '68-33=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,67 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[46, 101], Operations: ['42+4=46', '33+68=101']
Exploring Operation: 46+101=147, Resulting Numbers: [147]
147,67 unequal: No Solution
Exploring Operation: 46*101=4646, Resulting Numbers: [4646]
4646,67 unequal: No Solution
Exploring Operation: 101-46=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[42, 97], Operations: ['68-4=64', '33+64=97']
Exploring Operation: 42*97=4074, Resulting Numbers: [4074]
4074,67 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 42+97=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[64, 9], Operations: ['68-4=64', '42-33=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,67 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[42, 31], Operations: ['4+33=37', '68-37=31']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,67 unequal: No Solution
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[68, 5], Operations: ['4+33=37', '42-37=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,67 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,67 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
51,
58,
39
] | 77 | [
"39-28=11",
"58-51=7",
"11*7=77"
] | Current State: 77:[28, 51, 58, 39], Operations: []
Exploring Operation: 39-28=11, Resulting Numbers: [51, 58, 11]
Generated Node #2: [51, 58, 11] from Operation: 39-28=11
Current State: 77:[51, 58, 11], Operations: ['39-28=11']
Exploring Operation: 58-51=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 58-51=7
Current State: 77:[11, 7], Operations: ['39-28=11', '58-51=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[28, 51, 58, 39], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [28, 39, 7]
Generated Node #0,0: 77:[28, 39, 7] Operation: 58-51=7
Exploring Operation: 39-28=11, Resulting Numbers: [51, 58, 11]
Generated Node #0,1: 77:[51, 58, 11] Operation: 39-28=11
Exploring Operation: 51+39=90, Resulting Numbers: [28, 58, 90]
Generated Node #0,2: 77:[28, 58, 90] Operation: 51+39=90
Exploring Operation: 28+51=79, Resulting Numbers: [58, 39, 79]
Generated Node #0,3: 77:[58, 39, 79] Operation: 28+51=79
Exploring Operation: 51-39=12, Resulting Numbers: [28, 58, 12]
Generated Node #0,4: 77:[28, 58, 12] Operation: 51-39=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[28, 58, 12], Operations: ['51-39=12']
Exploring Operation: 28-12=16, Resulting Numbers: [58, 16]
Generated Node #0,4,0: 77:[58, 16] Operation: 28-12=16
Exploring Operation: 28+12=40, Resulting Numbers: [58, 40]
Generated Node #0,4,1: 77:[58, 40] Operation: 28+12=40
Exploring Operation: 58-28=30, Resulting Numbers: [12, 30]
Generated Node #0,4,2: 77:[12, 30] Operation: 58-28=30
Exploring Operation: 58+12=70, Resulting Numbers: [28, 70]
Generated Node #0,4,3: 77:[28, 70] Operation: 58+12=70
Exploring Operation: 28+58=86, Resulting Numbers: [12, 86]
Generated Node #0,4,4: 77:[12, 86] Operation: 28+58=86
Moving to Node #0,4,4
Current State: 77:[12, 86], Operations: ['51-39=12', '28+58=86']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,77 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[12, 30], Operations: ['51-39=12', '58-28=30']
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,77 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[58, 16], Operations: ['51-39=12', '28-12=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[28, 70], Operations: ['51-39=12', '58+12=70']
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,77 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[58, 40], Operations: ['51-39=12', '28+12=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,77 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[28, 39, 7], Operations: ['58-51=7']
Exploring Operation: 28+39=67, Resulting Numbers: [7, 67]
Generated Node #0,0,0: 77:[7, 67] Operation: 28+39=67
Exploring Operation: 39-28=11, Resulting Numbers: [7, 11]
Generated Node #0,0,1: 77:[7, 11] Operation: 39-28=11
Exploring Operation: 28-7=21, Resulting Numbers: [39, 21]
Generated Node #0,0,2: 77:[39, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [39, 4]
Generated Node #0,0,3: 77:[39, 4] Operation: 28/7=4
Exploring Operation: 39-7=32, Resulting Numbers: [28, 32]
Generated Node #0,0,4: 77:[28, 32] Operation: 39-7=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[7, 11], Operations: ['58-51=7', '39-28=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[28, 51, 58, 39], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [28, 39, 7]
Generated Node #0,0: 77:[28, 39, 7] Operation: 58-51=7
Moving to Node #0,0
Current State: 77:[28, 39, 7], Operations: ['58-51=7']
Exploring Operation: 39-28=11, Resulting Numbers: [7, 11]
Generated Node #0,0,1: 77:[7, 11] Operation: 39-28=11
Moving to Node #0,0,1
Current State: 77:[7, 11], Operations: ['58-51=7', '39-28=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
3,
98,
83,
98
] | 28 | [
"98/98=1",
"83+1=84",
"84/3=28"
] | Current State: 28:[3, 98, 83, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [3, 83, 1]
Generated Node #2: [3, 83, 1] from Operation: 98/98=1
Current State: 28:[3, 83, 1], Operations: ['98/98=1']
Exploring Operation: 83+1=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 83+1=84
Current State: 28:[3, 84], Operations: ['98/98=1', '83+1=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[3, 98, 83, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [3, 83, 1]
Generated Node #0,0: 28:[3, 83, 1] Operation: 98/98=1
Exploring Operation: 98-83=15, Resulting Numbers: [3, 98, 15]
Generated Node #0,1: 28:[3, 98, 15] Operation: 98-83=15
Exploring Operation: 98-98=0, Resulting Numbers: [3, 83, 0]
Generated Node #0,2: 28:[3, 83, 0] Operation: 98-98=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[3, 83, 1], Operations: ['98/98=1']
Exploring Operation: 3-1=2, Resulting Numbers: [83, 2]
Generated Node #0,0,0: 28:[83, 2] Operation: 3-1=2
Exploring Operation: 3+1=4, Resulting Numbers: [83, 4]
Generated Node #0,0,1: 28:[83, 4] Operation: 3+1=4
Exploring Operation: 83-3=80, Resulting Numbers: [1, 80]
Generated Node #0,0,2: 28:[1, 80] Operation: 83-3=80
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[1, 80], Operations: ['98/98=1', '83-3=80']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[83, 2], Operations: ['98/98=1', '3-1=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,28 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[83, 4], Operations: ['98/98=1', '3+1=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,28 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[3, 83, 0], Operations: ['98-98=0']
Exploring Operation: 3+0=3, Resulting Numbers: [83, 3]
Generated Node #0,2,0: 28:[83, 3] Operation: 3+0=3
Exploring Operation: 83*0=0, Resulting Numbers: [3, 0]
Generated Node #0,2,1: 28:[3, 0] Operation: 83*0=0
Exploring Operation: 83-3=80, Resulting Numbers: [0, 80]
Generated Node #0,2,2: 28:[0, 80] Operation: 83-3=80
Moving to Node #0,2,1
Current State: 28:[3, 0], Operations: ['98-98=0', '83*0=0']
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[0, 80], Operations: ['98-98=0', '83-3=80']
Exploring Operation: 0+80=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 0*80=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[83, 3], Operations: ['98-98=0', '3+0=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,28 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,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
Current State: 28:[3, 98, 15], Operations: ['98-83=15']
Exploring Operation: 98-15=83, Resulting Numbers: [3, 83]
Generated Node #0,1,0: 28:[3, 83] Operation: 98-15=83
Exploring Operation: 98-3=95, Resulting Numbers: [15, 95]
Generated Node #0,1,1: 28:[15, 95] Operation: 98-3=95
Exploring Operation: 15/3=5, Resulting Numbers: [98, 5]
Generated Node #0,1,2: 28:[98, 5] Operation: 15/3=5
Moving to Node #0,1,0
Current State: 28:[3, 83], Operations: ['98-83=15', '98-15=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[15, 95], Operations: ['98-83=15', '98-3=95']
Exploring Operation: 15+95=110, Resulting Numbers: [110]
110,28 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 15*95=1425, Resulting Numbers: [1425]
1425,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[98, 5], Operations: ['98-83=15', '15/3=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,28 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,28 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 |
[
30,
91,
13,
10
] | 47 | [
"30+10=40",
"91/13=7",
"40+7=47"
] | Current State: 47:[30, 91, 13, 10], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [91, 13, 40]
Generated Node #2: [91, 13, 40] from Operation: 30+10=40
Current State: 47:[91, 13, 40], Operations: ['30+10=40']
Exploring Operation: 91/13=7, Resulting Numbers: [40, 7]
Generated Node #3: [40, 7] from Operation: 91/13=7
Current State: 47:[40, 7], Operations: ['30+10=40', '91/13=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[30, 91, 13, 10], Operations: []
Exploring Operation: 91-30=61, Resulting Numbers: [13, 10, 61]
Generated Node #0,0: 47:[13, 10, 61] Operation: 91-30=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[13, 10, 61], Operations: ['91-30=61']
Exploring Operation: 13+10=23, Resulting Numbers: [61, 23]
Generated Node #0,0,0: 47:[61, 23] Operation: 13+10=23
Moving to Node #0,0,0
Current State: 47:[61, 23], Operations: ['91-30=61', '13+10=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,47 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 |
[
33,
12,
77,
37
] | 19 | [
"33-12=21",
"77-37=40",
"40-21=19"
] | Current State: 19:[33, 12, 77, 37], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [77, 37, 21]
Generated Node #2: [77, 37, 21] from Operation: 33-12=21
Current State: 19:[77, 37, 21], Operations: ['33-12=21']
Exploring Operation: 77-37=40, Resulting Numbers: [21, 40]
Generated Node #3: [21, 40] from Operation: 77-37=40
Current State: 19:[21, 40], Operations: ['33-12=21', '77-37=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[33, 12, 77, 37], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [33, 12, 40]
Generated Node #0,0: 19:[33, 12, 40] Operation: 77-37=40
Exploring Operation: 77-33=44, Resulting Numbers: [12, 37, 44]
Generated Node #0,1: 19:[12, 37, 44] Operation: 77-33=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[33, 12, 40], Operations: ['77-37=40']
Exploring Operation: 33-12=21, Resulting Numbers: [40, 21]
Generated Node #0,0,0: 19:[40, 21] Operation: 33-12=21
Exploring Operation: 40-33=7, Resulting Numbers: [12, 7]
Generated Node #0,0,1: 19:[12, 7] Operation: 40-33=7
Moving to Node #0,0,1
Current State: 19:[12, 7], Operations: ['77-37=40', '40-33=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[33, 12, 77, 37], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [33, 12, 40]
Generated Node #0,0: 19:[33, 12, 40] Operation: 77-37=40
Moving to Node #0,0
Current State: 19:[33, 12, 40], Operations: ['77-37=40']
Exploring Operation: 40-33=7, Resulting Numbers: [12, 7]
Generated Node #0,0,1: 19:[12, 7] Operation: 40-33=7
Moving to Node #0,0,1
Current State: 19:[12, 7], Operations: ['77-37=40', '40-33=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
81,
38,
71,
1
] | 29 | [
"81-38=43",
"71+1=72",
"72-43=29"
] | Current State: 29:[81, 38, 71, 1], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [71, 1, 43]
Generated Node #2: [71, 1, 43] from Operation: 81-38=43
Current State: 29:[71, 1, 43], Operations: ['81-38=43']
Exploring Operation: 71+1=72, Resulting Numbers: [43, 72]
Generated Node #3: [43, 72] from Operation: 71+1=72
Current State: 29:[43, 72], Operations: ['81-38=43', '71+1=72']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[81, 38, 71, 1], Operations: []
Exploring Operation: 38-1=37, Resulting Numbers: [81, 71, 37]
Generated Node #0,0: 29:[81, 71, 37] Operation: 38-1=37
Exploring Operation: 81-1=80, Resulting Numbers: [38, 71, 80]
Generated Node #0,1: 29:[38, 71, 80] Operation: 81-1=80
Exploring Operation: 81-38=43, Resulting Numbers: [71, 1, 43]
Generated Node #0,2: 29:[71, 1, 43] Operation: 81-38=43
Exploring Operation: 81-71=10, Resulting Numbers: [38, 1, 10]
Generated Node #0,3: 29:[38, 1, 10] Operation: 81-71=10
Exploring Operation: 71-38=33, Resulting Numbers: [81, 1, 33]
Generated Node #0,4: 29:[81, 1, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[38, 1, 10], Operations: ['81-71=10']
Exploring Operation: 38-1=37, Resulting Numbers: [10, 37]
Generated Node #0,3,0: 29:[10, 37] Operation: 38-1=37
Exploring Operation: 38*1=38, Resulting Numbers: [10, 38]
Generated Node #0,3,1: 29:[10, 38] Operation: 38*1=38
Exploring Operation: 38/1=38, Resulting Numbers: [10, 38]
Generated Node #0,3,2: 29:[10, 38] Operation: 38/1=38
Exploring Operation: 1+10=11, Resulting Numbers: [38, 11]
Generated Node #0,3,3: 29:[38, 11] Operation: 1+10=11
Exploring Operation: 1*10=10, Resulting Numbers: [38, 10]
Generated Node #0,3,4: 29:[38, 10] Operation: 1*10=10
Moving to Node #0,3,0
Current State: 29:[10, 37], Operations: ['81-71=10', '38-1=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,29 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[38, 11], Operations: ['81-71=10', '1+10=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[10, 38], Operations: ['81-71=10', '38*1=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,29 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[10, 38], Operations: ['81-71=10', '38/1=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,29 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[38, 10], Operations: ['81-71=10', '1*10=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,29 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,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,2
Current State: 29:[71, 1, 43], Operations: ['81-38=43']
Exploring Operation: 71-1=70, Resulting Numbers: [43, 70]
Generated Node #0,2,0: 29:[43, 70] Operation: 71-1=70
Exploring Operation: 71/1=71, Resulting Numbers: [43, 71]
Generated Node #0,2,1: 29:[43, 71] Operation: 71/1=71
Exploring Operation: 71-43=28, Resulting Numbers: [1, 28]
Generated Node #0,2,2: 29:[1, 28] Operation: 71-43=28
Exploring Operation: 43-1=42, Resulting Numbers: [71, 42]
Generated Node #0,2,3: 29:[71, 42] Operation: 43-1=42
Exploring Operation: 71*1=71, Resulting Numbers: [43, 71]
Generated Node #0,2,4: 29:[43, 71] Operation: 71*1=71
Moving to Node #0,2,2
Current State: 29:[1, 28], Operations: ['81-38=43', '71-43=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[81, 38, 71, 1], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [71, 1, 43]
Generated Node #0,2: 29:[71, 1, 43] Operation: 81-38=43
Moving to Node #0,2
Current State: 29:[71, 1, 43], Operations: ['81-38=43']
Exploring Operation: 71-43=28, Resulting Numbers: [1, 28]
Generated Node #0,2,2: 29:[1, 28] Operation: 71-43=28
Moving to Node #0,2,2
Current State: 29:[1, 28], Operations: ['81-38=43', '71-43=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
44,
50,
93,
77
] | 22 | [
"50-44=6",
"93-77=16",
"6+16=22"
] | Current State: 22:[44, 50, 93, 77], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [93, 77, 6]
Generated Node #2: [93, 77, 6] from Operation: 50-44=6
Current State: 22:[93, 77, 6], Operations: ['50-44=6']
Exploring Operation: 93-77=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 93-77=16
Current State: 22:[6, 16], Operations: ['50-44=6', '93-77=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[44, 50, 93, 77], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [50, 77, 49]
Generated Node #0,0: 22:[50, 77, 49] Operation: 93-44=49
Exploring Operation: 93-77=16, Resulting Numbers: [44, 50, 16]
Generated Node #0,1: 22:[44, 50, 16] Operation: 93-77=16
Exploring Operation: 77-50=27, Resulting Numbers: [44, 93, 27]
Generated Node #0,2: 22:[44, 93, 27] Operation: 77-50=27
Exploring Operation: 93-50=43, Resulting Numbers: [44, 77, 43]
Generated Node #0,3: 22:[44, 77, 43] Operation: 93-50=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[44, 50, 16], Operations: ['93-77=16']
Exploring Operation: 50-16=34, Resulting Numbers: [44, 34]
Generated Node #0,1,0: 22:[44, 34] Operation: 50-16=34
Exploring Operation: 44+16=60, Resulting Numbers: [50, 60]
Generated Node #0,1,1: 22:[50, 60] Operation: 44+16=60
Exploring Operation: 44-16=28, Resulting Numbers: [50, 28]
Generated Node #0,1,2: 22:[50, 28] Operation: 44-16=28
Exploring Operation: 50-44=6, Resulting Numbers: [16, 6]
Generated Node #0,1,3: 22:[16, 6] Operation: 50-44=6
Moving to Node #0,1,3
Current State: 22:[16, 6], Operations: ['93-77=16', '50-44=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[44, 50, 93, 77], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [44, 50, 16]
Generated Node #0,1: 22:[44, 50, 16] Operation: 93-77=16
Moving to Node #0,1
Current State: 22:[44, 50, 16], Operations: ['93-77=16']
Exploring Operation: 50-44=6, Resulting Numbers: [16, 6]
Generated Node #0,1,3: 22:[16, 6] Operation: 50-44=6
Moving to Node #0,1,3
Current State: 22:[16, 6], Operations: ['93-77=16', '50-44=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
4,
2,
13,
98
] | 60 | [
"98-4=94",
"94/2=47",
"13+47=60"
] | Current State: 60:[4, 2, 13, 98], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [2, 13, 94]
Generated Node #2: [2, 13, 94] from Operation: 98-4=94
Current State: 60:[2, 13, 94], Operations: ['98-4=94']
Exploring Operation: 94/2=47, Resulting Numbers: [13, 47]
Generated Node #3: [13, 47] from Operation: 94/2=47
Current State: 60:[13, 47], Operations: ['98-4=94', '94/2=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[4, 2, 13, 98], Operations: []
Exploring Operation: 98-13=85, Resulting Numbers: [4, 2, 85]
Generated Node #0,0: 60:[4, 2, 85] Operation: 98-13=85
Exploring Operation: 98/2=49, Resulting Numbers: [4, 13, 49]
Generated Node #0,1: 60:[4, 13, 49] Operation: 98/2=49
Moving to Node #0,1
Current State: 60:[4, 13, 49], Operations: ['98/2=49']
Exploring Operation: 13+49=62, Resulting Numbers: [4, 62]
Generated Node #0,1,0: 60:[4, 62] Operation: 13+49=62
Exploring Operation: 49-13=36, Resulting Numbers: [4, 36]
Generated Node #0,1,1: 60:[4, 36] Operation: 49-13=36
Moving to Node #0,0
Current State: 60:[4, 2, 85], Operations: ['98-13=85']
Exploring Operation: 85-4=81, Resulting Numbers: [2, 81]
Generated Node #0,0,0: 60:[2, 81] Operation: 85-4=81
Exploring Operation: 85-2=83, Resulting Numbers: [4, 83]
Generated Node #0,0,1: 60:[4, 83] Operation: 85-2=83
Moving to Node #0,1,0
Current State: 60:[4, 62], Operations: ['98/2=49', '13+49=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[4, 36], Operations: ['98/2=49', '49-13=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[2, 81], Operations: ['98-13=85', '85-4=81']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[4, 83], Operations: ['98-13=85', '85-2=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,60 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
32,
96,
15
] | 54 | [
"42-32=10",
"15*10=150",
"150-96=54"
] | Current State: 54:[42, 32, 96, 15], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [96, 15, 10]
Generated Node #2: [96, 15, 10] from Operation: 42-32=10
Current State: 54:[96, 15, 10], Operations: ['42-32=10']
Exploring Operation: 15*10=150, Resulting Numbers: [96, 150]
Generated Node #3: [96, 150] from Operation: 15*10=150
Current State: 54:[96, 150], Operations: ['42-32=10', '15*10=150']
Exploring Operation: 150-96=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[42, 32, 96, 15], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [32, 15, 54]
Generated Node #0,0: 54:[32, 15, 54] Operation: 96-42=54
Exploring Operation: 96-32=64, Resulting Numbers: [42, 15, 64]
Generated Node #0,1: 54:[42, 15, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [42, 15, 3]
Generated Node #0,2: 54:[42, 15, 3] Operation: 96/32=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[32, 15, 54], Operations: ['96-42=54']
Exploring Operation: 32-15=17, Resulting Numbers: [54, 17]
Generated Node #0,0,0: 54:[54, 17] Operation: 32-15=17
Exploring Operation: 32+15=47, Resulting Numbers: [54, 47]
Generated Node #0,0,1: 54:[54, 47] Operation: 32+15=47
Exploring Operation: 54-32=22, Resulting Numbers: [15, 22]
Generated Node #0,0,2: 54:[15, 22] Operation: 54-32=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[54, 17], Operations: ['96-42=54', '32-15=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,54 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,54 unequal: No Solution
No 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: 54:[54, 47], Operations: ['96-42=54', '32+15=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,54 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,54 unequal: No Solution
No 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: 54:[15, 22], Operations: ['96-42=54', '54-32=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,54 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: 54:[42, 15, 3], Operations: ['96/32=3']
Exploring Operation: 42-15=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 54:[3, 27] Operation: 42-15=27
Exploring Operation: 42/3=14, Resulting Numbers: [15, 14]
Generated Node #0,2,1: 54:[15, 14] Operation: 42/3=14
Exploring Operation: 42+15=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 54:[3, 57] Operation: 42+15=57
Moving to Node #0,2,0
Current State: 54:[3, 27], Operations: ['96/32=3', '42-15=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[3, 57], Operations: ['96/32=3', '42+15=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[42, 32, 96, 15], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [42, 15, 3]
Generated Node #0,2: 54:[42, 15, 3] Operation: 96/32=3
Moving to Node #0,2
Current State: 54:[42, 15, 3], Operations: ['96/32=3']
Exploring Operation: 42+15=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 54:[3, 57] Operation: 42+15=57
Moving to Node #0,2,2
Current State: 54:[3, 57], Operations: ['96/32=3', '42+15=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
25,
81,
60,
83
] | 55 | [
"83-81=2",
"60/2=30",
"25+30=55"
] | Current State: 55:[25, 81, 60, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [25, 60, 2]
Generated Node #2: [25, 60, 2] from Operation: 83-81=2
Current State: 55:[25, 60, 2], Operations: ['83-81=2']
Exploring Operation: 60/2=30, Resulting Numbers: [25, 30]
Generated Node #3: [25, 30] from Operation: 60/2=30
Current State: 55:[25, 30], Operations: ['83-81=2', '60/2=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[25, 81, 60, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [25, 60, 2]
Generated Node #0,0: 55:[25, 60, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[25, 60, 2], Operations: ['83-81=2']
Exploring Operation: 25*2=50, Resulting Numbers: [60, 50]
Generated Node #0,0,0: 55:[60, 50] Operation: 25*2=50
Moving to Node #0,0,0
Current State: 55:[60, 50], Operations: ['83-81=2', '25*2=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,55 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 |
[
66,
65,
26,
66
] | 40 | [
"66-65=1",
"66-26=40",
"1*40=40"
] | Current State: 40:[66, 65, 26, 66], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [26, 1]
Generated Node #2: [26, 1] from Operation: 66-65=1
Current State: 40:[26, 1], Operations: ['66-65=1']
Exploring Operation: 66-26=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 66-26=40
Current State: 40:[1, 40], Operations: ['66-65=1', '66-26=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[66, 65, 26, 66], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [65, 26, 0]
Generated Node #0,0: 40:[65, 26, 0] Operation: 66-66=0
Exploring Operation: 66/66=1, Resulting Numbers: [65, 26, 1]
Generated Node #0,1: 40:[65, 26, 1] Operation: 66/66=1
Exploring Operation: 66-65=1, Resulting Numbers: [26, 66, 1]
Generated Node #0,2: 40:[26, 66, 1] Operation: 66-65=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[65, 26, 1], Operations: ['66/66=1']
Exploring Operation: 26-1=25, Resulting Numbers: [65, 25]
Generated Node #0,1,0: 40:[65, 25] Operation: 26-1=25
Exploring Operation: 65-1=64, Resulting Numbers: [26, 64]
Generated Node #0,1,1: 40:[26, 64] Operation: 65-1=64
Exploring Operation: 65-26=39, Resulting Numbers: [1, 39]
Generated Node #0,1,2: 40:[1, 39] Operation: 65-26=39
Moving to Node #0,1,2
Current State: 40:[1, 39], Operations: ['66/66=1', '65-26=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[66, 65, 26, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [65, 26, 1]
Generated Node #0,1: 40:[65, 26, 1] Operation: 66/66=1
Moving to Node #0,1
Current State: 40:[65, 26, 1], Operations: ['66/66=1']
Exploring Operation: 65-26=39, Resulting Numbers: [1, 39]
Generated Node #0,1,2: 40:[1, 39] Operation: 65-26=39
Moving to Node #0,1,2
Current State: 40:[1, 39], Operations: ['66/66=1', '65-26=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
81,
13,
15,
34
] | 80 | [
"81+34=115",
"13*15=195",
"195-115=80"
] | Current State: 80:[81, 13, 15, 34], Operations: []
Exploring Operation: 81+34=115, Resulting Numbers: [13, 15, 115]
Generated Node #2: [13, 15, 115] from Operation: 81+34=115
Current State: 80:[13, 15, 115], Operations: ['81+34=115']
Exploring Operation: 13*15=195, Resulting Numbers: [115, 195]
Generated Node #3: [115, 195] from Operation: 13*15=195
Current State: 80:[115, 195], Operations: ['81+34=115', '13*15=195']
Exploring Operation: 195-115=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[81, 13, 15, 34], Operations: []
Exploring Operation: 34-15=19, Resulting Numbers: [81, 13, 19]
Generated Node #0,0: 80:[81, 13, 19] Operation: 34-15=19
Exploring Operation: 34-13=21, Resulting Numbers: [81, 15, 21]
Generated Node #0,1: 80:[81, 15, 21] Operation: 34-13=21
Exploring Operation: 13+34=47, Resulting Numbers: [81, 15, 47]
Generated Node #0,2: 80:[81, 15, 47] Operation: 13+34=47
Exploring Operation: 15-13=2, Resulting Numbers: [81, 34, 2]
Generated Node #0,3: 80:[81, 34, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[81, 15, 21], Operations: ['34-13=21']
Exploring Operation: 15+21=36, Resulting Numbers: [81, 36]
Generated Node #0,1,0: 80:[81, 36] Operation: 15+21=36
Exploring Operation: 81+15=96, Resulting Numbers: [21, 96]
Generated Node #0,1,1: 80:[21, 96] Operation: 81+15=96
Exploring Operation: 21-15=6, Resulting Numbers: [81, 6]
Generated Node #0,1,2: 80:[81, 6] Operation: 21-15=6
Exploring Operation: 81-15=66, Resulting Numbers: [21, 66]
Generated Node #0,1,3: 80:[21, 66] Operation: 81-15=66
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[81, 6], Operations: ['34-13=21', '21-15=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[81, 36], Operations: ['34-13=21', '15+21=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,80 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,80 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[21, 66], Operations: ['34-13=21', '81-15=66']
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,80 unequal: No Solution
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[21, 96], Operations: ['34-13=21', '81+15=96']
Exploring Operation: 21+96=117, Resulting Numbers: [117]
117,80 unequal: No Solution
Exploring Operation: 21*96=2016, Resulting Numbers: [2016]
2016,80 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[81, 13, 19], Operations: ['34-15=19']
Exploring Operation: 81+13=94, Resulting Numbers: [19, 94]
Generated Node #0,0,0: 80:[19, 94] Operation: 81+13=94
Exploring Operation: 19-13=6, Resulting Numbers: [81, 6]
Generated Node #0,0,1: 80:[81, 6] Operation: 19-13=6
Exploring Operation: 81-13=68, Resulting Numbers: [19, 68]
Generated Node #0,0,2: 80:[19, 68] Operation: 81-13=68
Exploring Operation: 13+19=32, Resulting Numbers: [81, 32]
Generated Node #0,0,3: 80:[81, 32] Operation: 13+19=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[81, 6], Operations: ['34-15=19', '19-13=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,80 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 80:[81, 32], Operations: ['34-15=19', '13+19=32']
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,80 unequal: No Solution
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[19, 68], Operations: ['34-15=19', '81-13=68']
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,80 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[19, 94], Operations: ['34-15=19', '81+13=94']
Exploring Operation: 19+94=113, Resulting Numbers: [113]
113,80 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 19*94=1786, Resulting Numbers: [1786]
1786,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[81, 34, 2], Operations: ['15-13=2']
Exploring Operation: 34+2=36, Resulting Numbers: [81, 36]
Generated Node #0,3,0: 80:[81, 36] Operation: 34+2=36
Exploring Operation: 81-34=47, Resulting Numbers: [2, 47]
Generated Node #0,3,1: 80:[2, 47] Operation: 81-34=47
Exploring Operation: 34/2=17, Resulting Numbers: [81, 17]
Generated Node #0,3,2: 80:[81, 17] Operation: 34/2=17
Exploring Operation: 81-2=79, Resulting Numbers: [34, 79]
Generated Node #0,3,3: 80:[34, 79] Operation: 81-2=79
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 80:[81, 17], Operations: ['15-13=2', '34/2=17']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,80 unequal: No Solution
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 80:[81, 36], Operations: ['15-13=2', '34+2=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,80 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 80:[2, 47], Operations: ['15-13=2', '81-34=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,80 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 80:[34, 79], Operations: ['15-13=2', '81-2=79']
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,80 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[81, 15, 47], Operations: ['13+34=47']
Exploring Operation: 15+47=62, Resulting Numbers: [81, 62]
Generated Node #0,2,0: 80:[81, 62] Operation: 15+47=62
Exploring Operation: 47-15=32, Resulting Numbers: [81, 32]
Generated Node #0,2,1: 80:[81, 32] Operation: 47-15=32
Exploring Operation: 81-15=66, Resulting Numbers: [47, 66]
Generated Node #0,2,2: 80:[47, 66] Operation: 81-15=66
Exploring Operation: 81-47=34, Resulting Numbers: [15, 34]
Generated Node #0,2,3: 80:[15, 34] Operation: 81-47=34
Moving to Node #0,2,3
Current State: 80:[15, 34], Operations: ['13+34=47', '81-47=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,80 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[81, 32], Operations: ['13+34=47', '47-15=32']
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,80 unequal: No Solution
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,80 unequal: No Solution
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[81, 62], Operations: ['13+34=47', '15+47=62']
Exploring Operation: 81+62=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 81*62=5022, Resulting Numbers: [5022]
5022,80 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[47, 66], Operations: ['13+34=47', '81-15=66']
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 47+66=113, Resulting Numbers: [113]
113,80 unequal: No Solution
Exploring Operation: 47*66=3102, Resulting Numbers: [3102]
3102,80 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 |
[
64,
32,
49,
46
] | 29 | [
"64-32=32",
"49-46=3",
"32-3=29"
] | Current State: 29:[64, 32, 49, 46], Operations: []
Exploring Operation: 64-32=32, Resulting Numbers: [49, 46, 32]
Generated Node #2: [49, 46, 32] from Operation: 64-32=32
Current State: 29:[49, 46, 32], Operations: ['64-32=32']
Exploring Operation: 49-46=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 49-46=3
Current State: 29:[32, 3], Operations: ['64-32=32', '49-46=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[64, 32, 49, 46], Operations: []
Exploring Operation: 64-49=15, Resulting Numbers: [32, 46, 15]
Generated Node #0,0: 29:[32, 46, 15] Operation: 64-49=15
Moving to Node #0,0
Current State: 29:[32, 46, 15], Operations: ['64-49=15']
Exploring Operation: 46-15=31, Resulting Numbers: [32, 31]
Generated Node #0,0,0: 29:[32, 31] Operation: 46-15=31
Moving to Node #0,0,0
Current State: 29:[32, 31], Operations: ['64-49=15', '46-15=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
40,
53,
12
] | 75 | [
"40-6=34",
"53-12=41",
"34+41=75"
] | Current State: 75:[6, 40, 53, 12], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [53, 12, 34]
Generated Node #2: [53, 12, 34] from Operation: 40-6=34
Current State: 75:[53, 12, 34], Operations: ['40-6=34']
Exploring Operation: 53-12=41, Resulting Numbers: [34, 41]
Generated Node #3: [34, 41] from Operation: 53-12=41
Current State: 75:[34, 41], Operations: ['40-6=34', '53-12=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[6, 40, 53, 12], Operations: []
Exploring Operation: 53-40=13, Resulting Numbers: [6, 12, 13]
Generated Node #0,0: 75:[6, 12, 13] Operation: 53-40=13
Moving to Node #0,0
Current State: 75:[6, 12, 13], Operations: ['53-40=13']
Exploring Operation: 12+13=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 75:[6, 25] Operation: 12+13=25
Moving to Node #0,0,0
Current State: 75:[6, 25], Operations: ['53-40=13', '12+13=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
18,
56,
58
] | 61 | [
"56-2=54",
"54/18=3",
"58+3=61"
] | Current State: 61:[2, 18, 56, 58], Operations: []
Exploring Operation: 56-2=54, Resulting Numbers: [18, 58, 54]
Generated Node #2: [18, 58, 54] from Operation: 56-2=54
Current State: 61:[18, 58, 54], Operations: ['56-2=54']
Exploring Operation: 54/18=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 54/18=3
Current State: 61:[58, 3], Operations: ['56-2=54', '54/18=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[2, 18, 56, 58], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [56, 58, 36]
Generated Node #0,0: 61:[56, 58, 36] Operation: 2*18=36
Exploring Operation: 2+18=20, Resulting Numbers: [56, 58, 20]
Generated Node #0,1: 61:[56, 58, 20] Operation: 2+18=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[56, 58, 36], Operations: ['2*18=36']
Exploring Operation: 56+36=92, Resulting Numbers: [58, 92]
Generated Node #0,0,0: 61:[58, 92] Operation: 56+36=92
Exploring Operation: 58+36=94, Resulting Numbers: [56, 94]
Generated Node #0,0,1: 61:[56, 94] Operation: 58+36=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[58, 92], Operations: ['2*18=36', '56+36=92']
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[56, 94], Operations: ['2*18=36', '58+36=94']
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 56+94=150, Resulting Numbers: [150]
150,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[56, 58, 20], Operations: ['2+18=20']
Exploring Operation: 56+20=76, Resulting Numbers: [58, 76]
Generated Node #0,1,0: 61:[58, 76] Operation: 56+20=76
Exploring Operation: 58+20=78, Resulting Numbers: [56, 78]
Generated Node #0,1,1: 61:[56, 78] Operation: 58+20=78
Moving to Node #0,1,0
Current State: 61:[58, 76], Operations: ['2+18=20', '56+20=76']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[56, 78], Operations: ['2+18=20', '58+20=78']
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,61 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 |
[
86,
79,
3,
45
] | 70 | [
"86+79=165",
"45+165=210",
"210/3=70"
] | Current State: 70:[86, 79, 3, 45], Operations: []
Exploring Operation: 86+79=165, Resulting Numbers: [3, 45, 165]
Generated Node #2: [3, 45, 165] from Operation: 86+79=165
Current State: 70:[3, 45, 165], Operations: ['86+79=165']
Exploring Operation: 45+165=210, Resulting Numbers: [3, 210]
Generated Node #3: [3, 210] from Operation: 45+165=210
Current State: 70:[3, 210], Operations: ['86+79=165', '45+165=210']
Exploring Operation: 210/3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[86, 79, 3, 45], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [79, 3, 41]
Generated Node #0,0: 70:[79, 3, 41] Operation: 86-45=41
Exploring Operation: 86-79=7, Resulting Numbers: [3, 45, 7]
Generated Node #0,1: 70:[3, 45, 7] Operation: 86-79=7
Moving to Node #0,1
Current State: 70:[3, 45, 7], Operations: ['86-79=7']
Exploring Operation: 45/3=15, Resulting Numbers: [7, 15]
Generated Node #0,1,0: 70:[7, 15] Operation: 45/3=15
Exploring Operation: 45-7=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 70:[3, 38] Operation: 45-7=38
Moving to Node #0,0
Current State: 70:[79, 3, 41], Operations: ['86-45=41']
Exploring Operation: 79-41=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 70:[3, 38] Operation: 79-41=38
Exploring Operation: 79-3=76, Resulting Numbers: [41, 76]
Generated Node #0,0,1: 70:[41, 76] Operation: 79-3=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 38], Operations: ['86-45=41', '79-41=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[41, 76], Operations: ['86-45=41', '79-3=76']
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,70 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,70 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: 70:[7, 15], Operations: ['86-79=7', '45/3=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[3, 38], Operations: ['86-79=7', '45-7=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
89,
67,
6,
79
] | 39 | [
"89+79=168",
"168/6=28",
"67-28=39"
] | Current State: 39:[89, 67, 6, 79], Operations: []
Exploring Operation: 89+79=168, Resulting Numbers: [67, 6, 168]
Generated Node #2: [67, 6, 168] from Operation: 89+79=168
Current State: 39:[67, 6, 168], Operations: ['89+79=168']
Exploring Operation: 168/6=28, Resulting Numbers: [67, 28]
Generated Node #3: [67, 28] from Operation: 168/6=28
Current State: 39:[67, 28], Operations: ['89+79=168', '168/6=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[89, 67, 6, 79], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [67, 6, 10]
Generated Node #0,0: 39:[67, 6, 10] Operation: 89-79=10
Moving to Node #0,0
Current State: 39:[67, 6, 10], Operations: ['89-79=10']
Exploring Operation: 67-10=57, Resulting Numbers: [6, 57]
Generated Node #0,0,0: 39:[6, 57] Operation: 67-10=57
Moving to Node #0,0,0
Current State: 39:[6, 57], Operations: ['89-79=10', '67-10=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,39 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
5,
43,
89
] | 54 | [
"95+5=100",
"89-43=46",
"100-46=54"
] | Current State: 54:[95, 5, 43, 89], Operations: []
Exploring Operation: 95+5=100, Resulting Numbers: [43, 89, 100]
Generated Node #2: [43, 89, 100] from Operation: 95+5=100
Current State: 54:[43, 89, 100], Operations: ['95+5=100']
Exploring Operation: 89-43=46, Resulting Numbers: [100, 46]
Generated Node #3: [100, 46] from Operation: 89-43=46
Current State: 54:[100, 46], Operations: ['95+5=100', '89-43=46']
Exploring Operation: 100-46=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[95, 5, 43, 89], Operations: []
Exploring Operation: 89-43=46, Resulting Numbers: [95, 5, 46]
Generated Node #0,0: 54:[95, 5, 46] Operation: 89-43=46
Exploring Operation: 95-89=6, Resulting Numbers: [5, 43, 6]
Generated Node #0,1: 54:[5, 43, 6] Operation: 95-89=6
Exploring Operation: 95/5=19, Resulting Numbers: [43, 89, 19]
Generated Node #0,2: 54:[43, 89, 19] Operation: 95/5=19
Exploring Operation: 95-43=52, Resulting Numbers: [5, 89, 52]
Generated Node #0,3: 54:[5, 89, 52] Operation: 95-43=52
Moving to Node #0,1
Current State: 54:[5, 43, 6], Operations: ['95-89=6']
Exploring Operation: 43-6=37, Resulting Numbers: [5, 37]
Generated Node #0,1,0: 54:[5, 37] Operation: 43-6=37
Exploring Operation: 43+6=49, Resulting Numbers: [5, 49]
Generated Node #0,1,1: 54:[5, 49] Operation: 43+6=49
Exploring Operation: 5+43=48, Resulting Numbers: [6, 48]
Generated Node #0,1,2: 54:[6, 48] Operation: 5+43=48
Exploring Operation: 43-5=38, Resulting Numbers: [6, 38]
Generated Node #0,1,3: 54:[6, 38] Operation: 43-5=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[5, 49], Operations: ['95-89=6', '43+6=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,54 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[95, 5, 43, 89], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [5, 43, 6]
Generated Node #0,1: 54:[5, 43, 6] Operation: 95-89=6
Moving to Node #0,1
Current State: 54:[5, 43, 6], Operations: ['95-89=6']
Exploring Operation: 43+6=49, Resulting Numbers: [5, 49]
Generated Node #0,1,1: 54:[5, 49] Operation: 43+6=49
Moving to Node #0,1,1
Current State: 54:[5, 49], Operations: ['95-89=6', '43+6=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
39,
63,
26,
76
] | 74 | [
"63-39=24",
"76-26=50",
"24+50=74"
] | Current State: 74:[39, 63, 26, 76], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [26, 76, 24]
Generated Node #2: [26, 76, 24] from Operation: 63-39=24
Current State: 74:[26, 76, 24], Operations: ['63-39=24']
Exploring Operation: 76-26=50, Resulting Numbers: [24, 50]
Generated Node #3: [24, 50] from Operation: 76-26=50
Current State: 74:[24, 50], Operations: ['63-39=24', '76-26=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[39, 63, 26, 76], Operations: []
Exploring Operation: 39+26=65, Resulting Numbers: [63, 76, 65]
Generated Node #0,0: 74:[63, 76, 65] Operation: 39+26=65
Exploring Operation: 63+26=89, Resulting Numbers: [39, 76, 89]
Generated Node #0,1: 74:[39, 76, 89] Operation: 63+26=89
Exploring Operation: 63-26=37, Resulting Numbers: [39, 76, 37]
Generated Node #0,2: 74:[39, 76, 37] Operation: 63-26=37
Moving to Node #0,2
Current State: 74:[39, 76, 37], Operations: ['63-26=37']
Exploring Operation: 39-37=2, Resulting Numbers: [76, 2]
Generated Node #0,2,0: 74:[76, 2] Operation: 39-37=2
Exploring Operation: 76-39=37, Resulting Numbers: [37, 37]
Generated Node #0,2,1: 74:[37, 37] Operation: 76-39=37
Exploring Operation: 39+37=76, Resulting Numbers: [76, 76]
Generated Node #0,2,2: 74:[76, 76] Operation: 39+37=76
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[37, 37], Operations: ['63-26=37', '76-39=37']
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[39, 63, 26, 76], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [39, 76, 37]
Generated Node #0,2: 74:[39, 76, 37] Operation: 63-26=37
Moving to Node #0,2
Current State: 74:[39, 76, 37], Operations: ['63-26=37']
Exploring Operation: 76-39=37, Resulting Numbers: [37, 37]
Generated Node #0,2,1: 74:[37, 37] Operation: 76-39=37
Moving to Node #0,2,1
Current State: 74:[37, 37], Operations: ['63-26=37', '76-39=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
70,
78,
95,
85
] | 75 | [
"95-78=17",
"85/17=5",
"70+5=75"
] | Current State: 75:[70, 78, 95, 85], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [70, 85, 17]
Generated Node #2: [70, 85, 17] from Operation: 95-78=17
Current State: 75:[70, 85, 17], Operations: ['95-78=17']
Exploring Operation: 85/17=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 85/17=5
Current State: 75:[70, 5], Operations: ['95-78=17', '85/17=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[70, 78, 95, 85], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [78, 85, 25]
Generated Node #0,0: 75:[78, 85, 25] Operation: 95-70=25
Moving to Node #0,0
Current State: 75:[78, 85, 25], Operations: ['95-70=25']
Exploring Operation: 85-78=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 75:[25, 7] Operation: 85-78=7
Moving to Node #0,0,0
Current State: 75:[25, 7], Operations: ['95-70=25', '85-78=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
16,
20,
16
] | 87 | [
"20-16=4",
"16/4=4",
"83+4=87"
] | Current State: 87:[83, 16, 20, 16], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [83, 4]
Generated Node #2: [83, 4] from Operation: 20-16=4
Current State: 87:[83, 4], Operations: ['20-16=4']
Exploring Operation: 16/4=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 16/4=4
Current State: 87:[83, 4], Operations: ['20-16=4', '16/4=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[83, 16, 20, 16], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [83, 20, 32]
Generated Node #0,0: 87:[83, 20, 32] Operation: 16+16=32
Exploring Operation: 20-16=4, Resulting Numbers: [83, 16, 4]
Generated Node #0,1: 87:[83, 16, 4] Operation: 20-16=4
Exploring Operation: 16-16=0, Resulting Numbers: [83, 20, 0]
Generated Node #0,2: 87:[83, 20, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [83, 20, 1]
Generated Node #0,3: 87:[83, 20, 1] Operation: 16/16=1
Moving to Node #0,3
Current State: 87:[83, 20, 1], Operations: ['16/16=1']
Exploring Operation: 83*1=83, Resulting Numbers: [20, 83]
Generated Node #0,3,0: 87:[20, 83] Operation: 83*1=83
Exploring Operation: 83/1=83, Resulting Numbers: [20, 83]
Generated Node #0,3,1: 87:[20, 83] Operation: 83/1=83
Exploring Operation: 20+1=21, Resulting Numbers: [83, 21]
Generated Node #0,3,2: 87:[83, 21] Operation: 20+1=21
Exploring Operation: 83+1=84, Resulting Numbers: [20, 84]
Generated Node #0,3,3: 87:[20, 84] Operation: 83+1=84
Moving to Node #0,2
Current State: 87:[83, 20, 0], Operations: ['16-16=0']
Exploring Operation: 83+0=83, Resulting Numbers: [20, 83]
Generated Node #0,2,0: 87:[20, 83] Operation: 83+0=83
Exploring Operation: 83*0=0, Resulting Numbers: [20, 0]
Generated Node #0,2,1: 87:[20, 0] Operation: 83*0=0
Exploring Operation: 83-0=83, Resulting Numbers: [20, 83]
Generated Node #0,2,2: 87:[20, 83] Operation: 83-0=83
Exploring Operation: 20*0=0, Resulting Numbers: [83, 0]
Generated Node #0,2,3: 87:[83, 0] Operation: 20*0=0
Moving to Node #0,0
Current State: 87:[83, 20, 32], Operations: ['16+16=32']
Exploring Operation: 20+32=52, Resulting Numbers: [83, 52]
Generated Node #0,0,0: 87:[83, 52] Operation: 20+32=52
Exploring Operation: 83-20=63, Resulting Numbers: [32, 63]
Generated Node #0,0,1: 87:[32, 63] Operation: 83-20=63
Exploring Operation: 32-20=12, Resulting Numbers: [83, 12]
Generated Node #0,0,2: 87:[83, 12] Operation: 32-20=12
Exploring Operation: 83+20=103, Resulting Numbers: [32, 103]
Generated Node #0,0,3: 87:[32, 103] Operation: 83+20=103
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[83, 12], Operations: ['16+16=32', '32-20=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,87 unequal: No Solution
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,87 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,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:[32, 103], Operations: ['16+16=32', '83+20=103']
Exploring Operation: 32*103=3296, Resulting Numbers: [3296]
3296,87 unequal: No Solution
Exploring Operation: 32+103=135, Resulting Numbers: [135]
135,87 unequal: No Solution
Exploring Operation: 103-32=71, Resulting Numbers: [71]
71,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:[83, 52], Operations: ['16+16=32', '20+32=52']
Exploring Operation: 83*52=4316, Resulting Numbers: [4316]
4316,87 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 83+52=135, Resulting Numbers: [135]
135,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:[32, 63], Operations: ['16+16=32', '83-20=63']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,87 unequal: No Solution
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,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:[83, 16, 4], Operations: ['20-16=4']
Exploring Operation: 16+4=20, Resulting Numbers: [83, 20]
Generated Node #0,1,0: 87:[83, 20] Operation: 16+4=20
Exploring Operation: 83+4=87, Resulting Numbers: [16, 87]
Generated Node #0,1,1: 87:[16, 87] Operation: 83+4=87
Exploring Operation: 83+16=99, Resulting Numbers: [4, 99]
Generated Node #0,1,2: 87:[4, 99] Operation: 83+16=99
Exploring Operation: 16/4=4, Resulting Numbers: [83, 4]
Generated Node #0,1,3: 87:[83, 4] Operation: 16/4=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[83, 4], Operations: ['20-16=4', '16/4=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[83, 16, 20, 16], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [83, 16, 4]
Generated Node #0,1: 87:[83, 16, 4] Operation: 20-16=4
Moving to Node #0,1
Current State: 87:[83, 16, 4], Operations: ['20-16=4']
Exploring Operation: 16/4=4, Resulting Numbers: [83, 4]
Generated Node #0,1,3: 87:[83, 4] Operation: 16/4=4
Moving to Node #0,1,3
Current State: 87:[83, 4], Operations: ['20-16=4', '16/4=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
26,
74,
8,
67
] | 26 | [
"74-8=66",
"67-66=1",
"26*1=26"
] | Current State: 26:[26, 74, 8, 67], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [26, 67, 66]
Generated Node #2: [26, 67, 66] from Operation: 74-8=66
Current State: 26:[26, 67, 66], Operations: ['74-8=66']
Exploring Operation: 67-66=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 67-66=1
Current State: 26:[26, 1], Operations: ['74-8=66', '67-66=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[26, 74, 8, 67], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [8, 67, 48]
Generated Node #0,0: 26:[8, 67, 48] Operation: 74-26=48
Exploring Operation: 67-8=59, Resulting Numbers: [26, 74, 59]
Generated Node #0,1: 26:[26, 74, 59] Operation: 67-8=59
Exploring Operation: 74-67=7, Resulting Numbers: [26, 8, 7]
Generated Node #0,2: 26:[26, 8, 7] Operation: 74-67=7
Exploring Operation: 74-8=66, Resulting Numbers: [26, 67, 66]
Generated Node #0,3: 26:[26, 67, 66] Operation: 74-8=66
Exploring Operation: 67-26=41, Resulting Numbers: [74, 8, 41]
Generated Node #0,4: 26:[74, 8, 41] Operation: 67-26=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[26, 8, 7], Operations: ['74-67=7']
Exploring Operation: 26-8=18, Resulting Numbers: [7, 18]
Generated Node #0,2,0: 26:[7, 18] Operation: 26-8=18
Exploring Operation: 26-7=19, Resulting Numbers: [8, 19]
Generated Node #0,2,1: 26:[8, 19] Operation: 26-7=19
Exploring Operation: 8+7=15, Resulting Numbers: [26, 15]
Generated Node #0,2,2: 26:[26, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [26, 1]
Generated Node #0,2,3: 26:[26, 1] Operation: 8-7=1
Exploring Operation: 26+7=33, Resulting Numbers: [8, 33]
Generated Node #0,2,4: 26:[8, 33] Operation: 26+7=33
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[26, 1], Operations: ['74-67=7', '8-7=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[26, 74, 8, 67], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [26, 8, 7]
Generated Node #0,2: 26:[26, 8, 7] Operation: 74-67=7
Moving to Node #0,2
Current State: 26:[26, 8, 7], Operations: ['74-67=7']
Exploring Operation: 8-7=1, Resulting Numbers: [26, 1]
Generated Node #0,2,3: 26:[26, 1] Operation: 8-7=1
Moving to Node #0,2,3
Current State: 26:[26, 1], Operations: ['74-67=7', '8-7=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
19,
50,
55,
17
] | 100 | [
"55-17=38",
"38/19=2",
"50*2=100"
] | Current State: 100:[19, 50, 55, 17], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [19, 50, 38]
Generated Node #2: [19, 50, 38] from Operation: 55-17=38
Current State: 100:[19, 50, 38], Operations: ['55-17=38']
Exploring Operation: 38/19=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 38/19=2
Current State: 100:[50, 2], Operations: ['55-17=38', '38/19=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[19, 50, 55, 17], Operations: []
Exploring Operation: 50+55=105, Resulting Numbers: [19, 17, 105]
Generated Node #0,0: 100:[19, 17, 105] Operation: 50+55=105
Exploring Operation: 55-17=38, Resulting Numbers: [19, 50, 38]
Generated Node #0,1: 100:[19, 50, 38] Operation: 55-17=38
Exploring Operation: 55-50=5, Resulting Numbers: [19, 17, 5]
Generated Node #0,2: 100:[19, 17, 5] Operation: 55-50=5
Exploring Operation: 19-17=2, Resulting Numbers: [50, 55, 2]
Generated Node #0,3: 100:[50, 55, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[19, 17, 5], Operations: ['55-50=5']
Exploring Operation: 17+5=22, Resulting Numbers: [19, 22]
Generated Node #0,2,0: 100:[19, 22] Operation: 17+5=22
Exploring Operation: 19+5=24, Resulting Numbers: [17, 24]
Generated Node #0,2,1: 100:[17, 24] Operation: 19+5=24
Exploring Operation: 17-5=12, Resulting Numbers: [19, 12]
Generated Node #0,2,2: 100:[19, 12] Operation: 17-5=12
Exploring Operation: 19-17=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 100:[5, 2] Operation: 19-17=2
Moving to Node #0,2,3
Current State: 100:[5, 2], Operations: ['55-50=5', '19-17=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[19, 12], Operations: ['55-50=5', '17-5=12']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,100 unequal: No Solution
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[19, 22], Operations: ['55-50=5', '17+5=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[17, 24], Operations: ['55-50=5', '19+5=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[50, 55, 2], Operations: ['19-17=2']
Exploring Operation: 55-2=53, Resulting Numbers: [50, 53]
Generated Node #0,3,0: 100:[50, 53] Operation: 55-2=53
Exploring Operation: 55-50=5, Resulting Numbers: [2, 5]
Generated Node #0,3,1: 100:[2, 5] Operation: 55-50=5
Exploring Operation: 50*2=100, Resulting Numbers: [55, 100]
Generated Node #0,3,2: 100:[55, 100] Operation: 50*2=100
Exploring Operation: 50+55=105, Resulting Numbers: [2, 105]
Generated Node #0,3,3: 100:[2, 105] Operation: 50+55=105
Moving to Node #0,3,1
Current State: 100:[2, 5], Operations: ['19-17=2', '55-50=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[50, 53], Operations: ['19-17=2', '55-2=53']
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,100 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[2, 105], Operations: ['19-17=2', '50+55=105']
Exploring Operation: 105-2=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 2+105=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 2*105=210, Resulting Numbers: [210]
210,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[55, 100], Operations: ['19-17=2', '50*2=100']
Exploring Operation: 100-55=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 55*100=5500, Resulting Numbers: [5500]
5500,100 unequal: No Solution
Exploring Operation: 55+100=155, Resulting Numbers: [155]
155,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[19, 17, 105], Operations: ['50+55=105']
Exploring Operation: 19+17=36, Resulting Numbers: [105, 36]
Generated Node #0,0,0: 100:[105, 36] Operation: 19+17=36
Exploring Operation: 105-19=86, Resulting Numbers: [17, 86]
Generated Node #0,0,1: 100:[17, 86] Operation: 105-19=86
Exploring Operation: 19-17=2, Resulting Numbers: [105, 2]
Generated Node #0,0,2: 100:[105, 2] Operation: 19-17=2
Exploring Operation: 105-17=88, Resulting Numbers: [19, 88]
Generated Node #0,0,3: 100:[19, 88] Operation: 105-17=88
Moving to Node #0,0,2
Current State: 100:[105, 2], Operations: ['50+55=105', '19-17=2']
Exploring Operation: 105-2=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 105*2=210, Resulting Numbers: [210]
210,100 unequal: No Solution
Exploring Operation: 105+2=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[19, 88], Operations: ['50+55=105', '105-17=88']
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Exploring Operation: 19*88=1672, Resulting Numbers: [1672]
1672,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[105, 36], Operations: ['50+55=105', '19+17=36']
Exploring Operation: 105*36=3780, Resulting Numbers: [3780]
3780,100 unequal: No Solution
Exploring Operation: 105+36=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 105-36=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[17, 86], Operations: ['50+55=105', '105-19=86']
Exploring Operation: 17*86=1462, Resulting Numbers: [1462]
1462,100 unequal: No Solution
Exploring Operation: 17+86=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[19, 50, 38], Operations: ['55-17=38']
Exploring Operation: 38/19=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 100:[50, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [50, 19]
Generated Node #0,1,1: 100:[50, 19] Operation: 38-19=19
Exploring Operation: 50-38=12, Resulting Numbers: [19, 12]
Generated Node #0,1,2: 100:[19, 12] Operation: 50-38=12
Exploring Operation: 19+38=57, Resulting Numbers: [50, 57]
Generated Node #0,1,3: 100:[50, 57] Operation: 19+38=57
Moving to Node #0,1,0
Current State: 100:[50, 2], Operations: ['55-17=38', '38/19=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[19, 50, 55, 17], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [19, 50, 38]
Generated Node #0,1: 100:[19, 50, 38] Operation: 55-17=38
Moving to Node #0,1
Current State: 100:[19, 50, 38], Operations: ['55-17=38']
Exploring Operation: 38/19=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 100:[50, 2] Operation: 38/19=2
Moving to Node #0,1,0
Current State: 100:[50, 2], Operations: ['55-17=38', '38/19=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_4 | sum_heuristic |
[
37,
82,
2,
49
] | 58 | [
"49-37=12",
"2*12=24",
"82-24=58"
] | Current State: 58:[37, 82, 2, 49], Operations: []
Exploring Operation: 49-37=12, Resulting Numbers: [82, 2, 12]
Generated Node #2: [82, 2, 12] from Operation: 49-37=12
Current State: 58:[82, 2, 12], Operations: ['49-37=12']
Exploring Operation: 2*12=24, Resulting Numbers: [82, 24]
Generated Node #3: [82, 24] from Operation: 2*12=24
Current State: 58:[82, 24], Operations: ['49-37=12', '2*12=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[37, 82, 2, 49], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [37, 2, 33]
Generated Node #0,0: 58:[37, 2, 33] Operation: 82-49=33
Exploring Operation: 82-37=45, Resulting Numbers: [2, 49, 45]
Generated Node #0,1: 58:[2, 49, 45] Operation: 82-37=45
Exploring Operation: 82/2=41, Resulting Numbers: [37, 49, 41]
Generated Node #0,2: 58:[37, 49, 41] Operation: 82/2=41
Exploring Operation: 49-37=12, Resulting Numbers: [82, 2, 12]
Generated Node #0,3: 58:[82, 2, 12] Operation: 49-37=12
Moving to Node #0,0
Current State: 58:[37, 2, 33], Operations: ['82-49=33']
Exploring Operation: 37+33=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 58:[2, 70] Operation: 37+33=70
Exploring Operation: 33-2=31, Resulting Numbers: [37, 31]
Generated Node #0,0,1: 58:[37, 31] Operation: 33-2=31
Exploring Operation: 37-33=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 58:[2, 4] Operation: 37-33=4
Exploring Operation: 37-2=35, Resulting Numbers: [33, 35]
Generated Node #0,0,3: 58:[33, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[2, 4], Operations: ['82-49=33', '37-33=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[37, 31], Operations: ['82-49=33', '33-2=31']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,58 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[33, 35], Operations: ['82-49=33', '37-2=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[2, 70], Operations: ['82-49=33', '37+33=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,58 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,58 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: 58:[2, 49, 45], Operations: ['82-37=45']
Exploring Operation: 49-45=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 58:[2, 4] Operation: 49-45=4
Exploring Operation: 2+45=47, Resulting Numbers: [49, 47]
Generated Node #0,1,1: 58:[49, 47] Operation: 2+45=47
Exploring Operation: 2+49=51, Resulting Numbers: [45, 51]
Generated Node #0,1,2: 58:[45, 51] Operation: 2+49=51
Exploring Operation: 45-2=43, Resulting Numbers: [49, 43]
Generated Node #0,1,3: 58:[49, 43] Operation: 45-2=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[2, 4], Operations: ['82-37=45', '49-45=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,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,1
Current State: 58:[49, 47], Operations: ['82-37=45', '2+45=47']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,58 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,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,2
Current State: 58:[45, 51], Operations: ['82-37=45', '2+49=51']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,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,3
Current State: 58:[49, 43], Operations: ['82-37=45', '45-2=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,58 unequal: No Solution
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,58 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,58 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: 58:[37, 49, 41], Operations: ['82/2=41']
Exploring Operation: 37+41=78, Resulting Numbers: [49, 78]
Generated Node #0,2,0: 58:[49, 78] Operation: 37+41=78
Exploring Operation: 49-37=12, Resulting Numbers: [41, 12]
Generated Node #0,2,1: 58:[41, 12] Operation: 49-37=12
Exploring Operation: 41-37=4, Resulting Numbers: [49, 4]
Generated Node #0,2,2: 58:[49, 4] Operation: 41-37=4
Exploring Operation: 49-41=8, Resulting Numbers: [37, 8]
Generated Node #0,2,3: 58:[37, 8] Operation: 49-41=8
Moving to Node #0,3
Current State: 58:[82, 2, 12], Operations: ['49-37=12']
Exploring Operation: 2*12=24, Resulting Numbers: [82, 24]
Generated Node #0,3,0: 58:[82, 24] Operation: 2*12=24
Exploring Operation: 82/2=41, Resulting Numbers: [12, 41]
Generated Node #0,3,1: 58:[12, 41] Operation: 82/2=41
Exploring Operation: 12/2=6, Resulting Numbers: [82, 6]
Generated Node #0,3,2: 58:[82, 6] Operation: 12/2=6
Exploring Operation: 82-12=70, Resulting Numbers: [2, 70]
Generated Node #0,3,3: 58:[2, 70] Operation: 82-12=70
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[2, 70], Operations: ['49-37=12', '82-12=70']
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,58 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,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,1
Current State: 58:[12, 41], Operations: ['49-37=12', '82/2=41']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,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,2
Current State: 58:[82, 6], Operations: ['49-37=12', '12/2=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,58 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,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,0
Current State: 58:[82, 24], Operations: ['49-37=12', '2*12=24']
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,58 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[37, 82, 2, 49], Operations: []
Exploring Operation: 49-37=12, Resulting Numbers: [82, 2, 12]
Generated Node #0,3: 58:[82, 2, 12] Operation: 49-37=12
Moving to Node #0,3
Current State: 58:[82, 2, 12], Operations: ['49-37=12']
Exploring Operation: 2*12=24, Resulting Numbers: [82, 24]
Generated Node #0,3,0: 58:[82, 24] Operation: 2*12=24
Moving to Node #0,3,0
Current State: 58:[82, 24], Operations: ['49-37=12', '2*12=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_4 | sum_heuristic |
[
2,
7,
94,
12
] | 93 | [
"12/2=6",
"94-7=87",
"6+87=93"
] | Current State: 93:[2, 7, 94, 12], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [7, 94, 6]
Generated Node #2: [7, 94, 6] from Operation: 12/2=6
Current State: 93:[7, 94, 6], Operations: ['12/2=6']
Exploring Operation: 94-7=87, Resulting Numbers: [6, 87]
Generated Node #3: [6, 87] from Operation: 94-7=87
Current State: 93:[6, 87], Operations: ['12/2=6', '94-7=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[2, 7, 94, 12], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [7, 94, 6]
Generated Node #0,0: 93:[7, 94, 6] Operation: 12/2=6
Exploring Operation: 12-7=5, Resulting Numbers: [2, 94, 5]
Generated Node #0,1: 93:[2, 94, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[2, 94, 5], Operations: ['12-7=5']
Exploring Operation: 94-2=92, Resulting Numbers: [5, 92]
Generated Node #0,1,0: 93:[5, 92] Operation: 94-2=92
Exploring Operation: 5-2=3, Resulting Numbers: [94, 3]
Generated Node #0,1,1: 93:[94, 3] Operation: 5-2=3
Moving to Node #0,1,1
Current State: 93:[94, 3], Operations: ['12-7=5', '5-2=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[5, 92], Operations: ['12-7=5', '94-2=92']
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[7, 94, 6], Operations: ['12/2=6']
Exploring Operation: 94-7=87, Resulting Numbers: [6, 87]
Generated Node #0,0,0: 93:[6, 87] Operation: 94-7=87
Exploring Operation: 7-6=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 93:[94, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[94, 1], Operations: ['12/2=6', '7-6=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[2, 7, 94, 12], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [7, 94, 6]
Generated Node #0,0: 93:[7, 94, 6] Operation: 12/2=6
Moving to Node #0,0
Current State: 93:[7, 94, 6], Operations: ['12/2=6']
Exploring Operation: 7-6=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 93:[94, 1] Operation: 7-6=1
Moving to Node #0,0,1
Current State: 93:[94, 1], Operations: ['12/2=6', '7-6=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
83,
56,
75,
13
] | 48 | [
"83-75=8",
"13*8=104",
"104-56=48"
] | Current State: 48:[83, 56, 75, 13], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [56, 13, 8]
Generated Node #2: [56, 13, 8] from Operation: 83-75=8
Current State: 48:[56, 13, 8], Operations: ['83-75=8']
Exploring Operation: 13*8=104, Resulting Numbers: [56, 104]
Generated Node #3: [56, 104] from Operation: 13*8=104
Current State: 48:[56, 104], Operations: ['83-75=8', '13*8=104']
Exploring Operation: 104-56=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[83, 56, 75, 13], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [75, 13, 27]
Generated Node #0,0: 48:[75, 13, 27] Operation: 83-56=27
Exploring Operation: 83-75=8, Resulting Numbers: [56, 13, 8]
Generated Node #0,1: 48:[56, 13, 8] Operation: 83-75=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[56, 13, 8], Operations: ['83-75=8']
Exploring Operation: 56-8=48, Resulting Numbers: [13, 48]
Generated Node #0,1,0: 48:[13, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [13, 7]
Generated Node #0,1,1: 48:[13, 7] Operation: 56/8=7
Moving to Node #0,1,0
Current State: 48:[13, 48], Operations: ['83-75=8', '56-8=48']
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[13, 7], Operations: ['83-75=8', '56/8=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,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
Current State: 48:[75, 13, 27], Operations: ['83-56=27']
Exploring Operation: 75-13=62, Resulting Numbers: [27, 62]
Generated Node #0,0,0: 48:[27, 62] Operation: 75-13=62
Exploring Operation: 75-27=48, Resulting Numbers: [13, 48]
Generated Node #0,0,1: 48:[13, 48] Operation: 75-27=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[13, 48], Operations: ['83-56=27', '75-27=48']
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[27, 62], Operations: ['83-56=27', '75-13=62']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,48 unequal: No Solution
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
94,
37,
60
] | 58 | [
"94-59=35",
"60-37=23",
"35+23=58"
] | Current State: 58:[59, 94, 37, 60], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [37, 60, 35]
Generated Node #2: [37, 60, 35] from Operation: 94-59=35
Current State: 58:[37, 60, 35], Operations: ['94-59=35']
Exploring Operation: 60-37=23, Resulting Numbers: [35, 23]
Generated Node #3: [35, 23] from Operation: 60-37=23
Current State: 58:[35, 23], Operations: ['94-59=35', '60-37=23']
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[59, 94, 37, 60], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [59, 60, 57]
Generated Node #0,0: 58:[59, 60, 57] Operation: 94-37=57
Exploring Operation: 94-59=35, Resulting Numbers: [37, 60, 35]
Generated Node #0,1: 58:[37, 60, 35] Operation: 94-59=35
Exploring Operation: 94-60=34, Resulting Numbers: [59, 37, 34]
Generated Node #0,2: 58:[59, 37, 34] Operation: 94-60=34
Moving to Node #0,0
Current State: 58:[59, 60, 57], Operations: ['94-37=57']
Exploring Operation: 59-57=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 58:[60, 2] Operation: 59-57=2
Exploring Operation: 60-59=1, Resulting Numbers: [57, 1]
Generated Node #0,0,1: 58:[57, 1] Operation: 60-59=1
Exploring Operation: 60-57=3, Resulting Numbers: [59, 3]
Generated Node #0,0,2: 58:[59, 3] Operation: 60-57=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[60, 2], Operations: ['94-37=57', '59-57=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[59, 94, 37, 60], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [59, 60, 57]
Generated Node #0,0: 58:[59, 60, 57] Operation: 94-37=57
Moving to Node #0,0
Current State: 58:[59, 60, 57], Operations: ['94-37=57']
Exploring Operation: 59-57=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 58:[60, 2] Operation: 59-57=2
Moving to Node #0,0,0
Current State: 58:[60, 2], Operations: ['94-37=57', '59-57=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
42,
64,
3,
21
] | 63 | [
"42/21=2",
"64-3=61",
"2+61=63"
] | Current State: 63:[42, 64, 3, 21], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [64, 3, 2]
Generated Node #2: [64, 3, 2] from Operation: 42/21=2
Current State: 63:[64, 3, 2], Operations: ['42/21=2']
Exploring Operation: 64-3=61, Resulting Numbers: [2, 61]
Generated Node #3: [2, 61] from Operation: 64-3=61
Current State: 63:[2, 61], Operations: ['42/21=2', '64-3=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[42, 64, 3, 21], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [3, 21, 22]
Generated Node #0,0: 63:[3, 21, 22] Operation: 64-42=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[3, 21, 22], Operations: ['64-42=22']
Exploring Operation: 3*21=63, Resulting Numbers: [22, 63]
Generated Node #0,0,0: 63:[22, 63] Operation: 3*21=63
Moving to Node #0,0,0
Current State: 63:[22, 63], Operations: ['64-42=22', '3*21=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,63 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 |
[
52,
41,
78,
4
] | 34 | [
"52-41=11",
"4*11=44",
"78-44=34"
] | Current State: 34:[52, 41, 78, 4], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [78, 4, 11]
Generated Node #2: [78, 4, 11] from Operation: 52-41=11
Current State: 34:[78, 4, 11], Operations: ['52-41=11']
Exploring Operation: 4*11=44, Resulting Numbers: [78, 44]
Generated Node #3: [78, 44] from Operation: 4*11=44
Current State: 34:[78, 44], Operations: ['52-41=11', '4*11=44']
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[52, 41, 78, 4], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [41, 4, 26]
Generated Node #0,0: 34:[41, 4, 26] Operation: 78-52=26
Exploring Operation: 52/4=13, Resulting Numbers: [41, 78, 13]
Generated Node #0,1: 34:[41, 78, 13] Operation: 52/4=13
Exploring Operation: 78-41=37, Resulting Numbers: [52, 4, 37]
Generated Node #0,2: 34:[52, 4, 37] Operation: 78-41=37
Exploring Operation: 52-4=48, Resulting Numbers: [41, 78, 48]
Generated Node #0,3: 34:[41, 78, 48] Operation: 52-4=48
Exploring Operation: 52-41=11, Resulting Numbers: [78, 4, 11]
Generated Node #0,4: 34:[78, 4, 11] Operation: 52-41=11
Moving to Node #0,0
Current State: 34:[41, 4, 26], Operations: ['78-52=26']
Exploring Operation: 26-4=22, Resulting Numbers: [41, 22]
Generated Node #0,0,0: 34:[41, 22] Operation: 26-4=22
Exploring Operation: 41-4=37, Resulting Numbers: [26, 37]
Generated Node #0,0,1: 34:[26, 37] Operation: 41-4=37
Exploring Operation: 41+4=45, Resulting Numbers: [26, 45]
Generated Node #0,0,2: 34:[26, 45] Operation: 41+4=45
Exploring Operation: 4+26=30, Resulting Numbers: [41, 30]
Generated Node #0,0,3: 34:[41, 30] Operation: 4+26=30
Exploring Operation: 41-26=15, Resulting Numbers: [4, 15]
Generated Node #0,0,4: 34:[4, 15] Operation: 41-26=15
Moving to Node #0,2
Current State: 34:[52, 4, 37], Operations: ['78-41=37']
Exploring Operation: 52-4=48, Resulting Numbers: [37, 48]
Generated Node #0,2,0: 34:[37, 48] Operation: 52-4=48
Exploring Operation: 37-4=33, Resulting Numbers: [52, 33]
Generated Node #0,2,1: 34:[52, 33] Operation: 37-4=33
Exploring Operation: 52-37=15, Resulting Numbers: [4, 15]
Generated Node #0,2,2: 34:[4, 15] Operation: 52-37=15
Exploring Operation: 52+4=56, Resulting Numbers: [37, 56]
Generated Node #0,2,3: 34:[37, 56] Operation: 52+4=56
Exploring Operation: 52/4=13, Resulting Numbers: [37, 13]
Generated Node #0,2,4: 34:[37, 13] Operation: 52/4=13
Moving to Node #0,4
Current State: 34:[78, 4, 11], Operations: ['52-41=11']
Exploring Operation: 78-11=67, Resulting Numbers: [4, 67]
Generated Node #0,4,0: 34:[4, 67] Operation: 78-11=67
Exploring Operation: 11-4=7, Resulting Numbers: [78, 7]
Generated Node #0,4,1: 34:[78, 7] Operation: 11-4=7
Exploring Operation: 4+11=15, Resulting Numbers: [78, 15]
Generated Node #0,4,2: 34:[78, 15] Operation: 4+11=15
Exploring Operation: 78+4=82, Resulting Numbers: [11, 82]
Generated Node #0,4,3: 34:[11, 82] Operation: 78+4=82
Exploring Operation: 78-4=74, Resulting Numbers: [11, 74]
Generated Node #0,4,4: 34:[11, 74] Operation: 78-4=74
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 34:[4, 67], Operations: ['52-41=11', '78-11=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,34 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[78, 15], Operations: ['52-41=11', '4+11=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[11, 74], Operations: ['52-41=11', '78-4=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,34 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[78, 7], Operations: ['52-41=11', '11-4=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,34 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[11, 82], Operations: ['52-41=11', '78+4=82']
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,34 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,34 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: 34:[41, 78, 13], Operations: ['52/4=13']
Exploring Operation: 78-41=37, Resulting Numbers: [13, 37]
Generated Node #0,1,0: 34:[13, 37] Operation: 78-41=37
Exploring Operation: 78/13=6, Resulting Numbers: [41, 6]
Generated Node #0,1,1: 34:[41, 6] Operation: 78/13=6
Exploring Operation: 41-13=28, Resulting Numbers: [78, 28]
Generated Node #0,1,2: 34:[78, 28] Operation: 41-13=28
Exploring Operation: 41+13=54, Resulting Numbers: [78, 54]
Generated Node #0,1,3: 34:[78, 54] Operation: 41+13=54
Exploring Operation: 78-13=65, Resulting Numbers: [41, 65]
Generated Node #0,1,4: 34:[41, 65] Operation: 78-13=65
Moving to Node #0,3
Current State: 34:[41, 78, 48], Operations: ['52-4=48']
Exploring Operation: 48-41=7, Resulting Numbers: [78, 7]
Generated Node #0,3,0: 34:[78, 7] Operation: 48-41=7
Exploring Operation: 78-48=30, Resulting Numbers: [41, 30]
Generated Node #0,3,1: 34:[41, 30] Operation: 78-48=30
Exploring Operation: 78-41=37, Resulting Numbers: [48, 37]
Generated Node #0,3,2: 34:[48, 37] Operation: 78-41=37
Exploring Operation: 41+48=89, Resulting Numbers: [78, 89]
Generated Node #0,3,3: 34:[78, 89] Operation: 41+48=89
Exploring Operation: 41+78=119, Resulting Numbers: [48, 119]
Generated Node #0,3,4: 34:[48, 119] Operation: 41+78=119
Moving to Node #0,0,4
Current State: 34:[4, 15], Operations: ['78-52=26', '41-26=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[4, 15], Operations: ['78-41=37', '52-37=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[37, 13], Operations: ['78-41=37', '52/4=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,34 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[13, 37], Operations: ['52/4=13', '78-41=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,34 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[41, 30], Operations: ['78-52=26', '4+26=30']
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,34 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[41, 6], Operations: ['52/4=13', '78/13=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[26, 37], Operations: ['78-52=26', '41-4=37']
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,34 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[41, 30], Operations: ['52-4=48', '78-48=30']
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,34 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[41, 22], Operations: ['78-52=26', '26-4=22']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[48, 37], Operations: ['52-4=48', '78-41=37']
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,34 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[37, 48], Operations: ['78-41=37', '52-4=48']
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,34 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[26, 45], Operations: ['78-52=26', '41+4=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[52, 33], Operations: ['78-41=37', '37-4=33']
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[37, 56], Operations: ['78-41=37', '52+4=56']
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,34 unequal: No Solution
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Moving to Node #0,1,4
Current State: 34:[41, 65], Operations: ['52/4=13', '78-13=65']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,34 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[78, 7], Operations: ['52-4=48', '48-41=7']
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,34 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[78, 28], Operations: ['52/4=13', '41-13=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,34 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[78, 54], Operations: ['52/4=13', '41+13=54']
Exploring Operation: 78*54=4212, Resulting Numbers: [4212]
4212,34 unequal: No Solution
Exploring Operation: 78+54=132, Resulting Numbers: [132]
132,34 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[48, 119], Operations: ['52-4=48', '41+78=119']
Exploring Operation: 48*119=5712, Resulting Numbers: [5712]
5712,34 unequal: No Solution
Exploring Operation: 48+119=167, Resulting Numbers: [167]
167,34 unequal: No Solution
Exploring Operation: 119-48=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[78, 89], Operations: ['52-4=48', '41+48=89']
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 78+89=167, Resulting Numbers: [167]
167,34 unequal: No Solution
Exploring Operation: 78*89=6942, Resulting Numbers: [6942]
6942,34 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
89,
27,
58,
24
] | 12 | [
"89+27=116",
"58*24=1392",
"1392/116=12"
] | Current State: 12:[89, 27, 58, 24], Operations: []
Exploring Operation: 89+27=116, Resulting Numbers: [58, 24, 116]
Generated Node #2: [58, 24, 116] from Operation: 89+27=116
Current State: 12:[58, 24, 116], Operations: ['89+27=116']
Exploring Operation: 58*24=1392, Resulting Numbers: [116, 1392]
Generated Node #3: [116, 1392] from Operation: 58*24=1392
Current State: 12:[116, 1392], Operations: ['89+27=116', '58*24=1392']
Exploring Operation: 1392/116=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[89, 27, 58, 24], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [27, 58, 65]
Generated Node #0,0: 12:[27, 58, 65] Operation: 89-24=65
Exploring Operation: 89-58=31, Resulting Numbers: [27, 24, 31]
Generated Node #0,1: 12:[27, 24, 31] Operation: 89-58=31
Exploring Operation: 58-27=31, Resulting Numbers: [89, 24, 31]
Generated Node #0,2: 12:[89, 24, 31] Operation: 58-27=31
Exploring Operation: 89-27=62, Resulting Numbers: [58, 24, 62]
Generated Node #0,3: 12:[58, 24, 62] Operation: 89-27=62
Moving to Node #0,1
Current State: 12:[27, 24, 31], Operations: ['89-58=31']
Exploring Operation: 31-24=7, Resulting Numbers: [27, 7]
Generated Node #0,1,0: 12:[27, 7] Operation: 31-24=7
Exploring Operation: 27+24=51, Resulting Numbers: [31, 51]
Generated Node #0,1,1: 12:[31, 51] Operation: 27+24=51
Exploring Operation: 31-27=4, Resulting Numbers: [24, 4]
Generated Node #0,1,2: 12:[24, 4] Operation: 31-27=4
Exploring Operation: 27-24=3, Resulting Numbers: [31, 3]
Generated Node #0,1,3: 12:[31, 3] Operation: 27-24=3
Moving to Node #0,3
Current State: 12:[58, 24, 62], Operations: ['89-27=62']
Exploring Operation: 58+24=82, Resulting Numbers: [62, 82]
Generated Node #0,3,0: 12:[62, 82] Operation: 58+24=82
Exploring Operation: 58-24=34, Resulting Numbers: [62, 34]
Generated Node #0,3,1: 12:[62, 34] Operation: 58-24=34
Exploring Operation: 62-24=38, Resulting Numbers: [58, 38]
Generated Node #0,3,2: 12:[58, 38] Operation: 62-24=38
Exploring Operation: 62-58=4, Resulting Numbers: [24, 4]
Generated Node #0,3,3: 12:[24, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[24, 4], Operations: ['89-27=62', '62-58=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,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,3,1
Current State: 12:[62, 34], Operations: ['89-27=62', '58-24=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,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,3,2
Current State: 12:[58, 38], Operations: ['89-27=62', '62-24=38']
Exploring Operation: 58*38=2204, Resulting Numbers: [2204]
2204,12 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,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,3,0
Current State: 12:[62, 82], Operations: ['89-27=62', '58+24=82']
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,12 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,12 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: 12:[89, 24, 31], Operations: ['58-27=31']
Exploring Operation: 89-31=58, Resulting Numbers: [24, 58]
Generated Node #0,2,0: 12:[24, 58] Operation: 89-31=58
Exploring Operation: 31-24=7, Resulting Numbers: [89, 7]
Generated Node #0,2,1: 12:[89, 7] Operation: 31-24=7
Exploring Operation: 89-24=65, Resulting Numbers: [31, 65]
Generated Node #0,2,2: 12:[31, 65] Operation: 89-24=65
Exploring Operation: 89+24=113, Resulting Numbers: [31, 113]
Generated Node #0,2,3: 12:[31, 113] Operation: 89+24=113
Moving to Node #0,0
Current State: 12:[27, 58, 65], Operations: ['89-24=65']
Exploring Operation: 27+58=85, Resulting Numbers: [65, 85]
Generated Node #0,0,0: 12:[65, 85] Operation: 27+58=85
Exploring Operation: 65-27=38, Resulting Numbers: [58, 38]
Generated Node #0,0,1: 12:[58, 38] Operation: 65-27=38
Exploring Operation: 65-58=7, Resulting Numbers: [27, 7]
Generated Node #0,0,2: 12:[27, 7] Operation: 65-58=7
Exploring Operation: 58-27=31, Resulting Numbers: [65, 31]
Generated Node #0,0,3: 12:[65, 31] Operation: 58-27=31
Moving to Node #0,1,2
Current State: 12:[24, 4], Operations: ['89-58=31', '31-27=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[27, 7], Operations: ['89-58=31', '31-24=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,12 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[27, 7], Operations: ['89-24=65', '65-58=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,12 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[31, 3], Operations: ['89-58=31', '27-24=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[24, 58], Operations: ['58-27=31', '89-31=58']
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,12 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[31, 51], Operations: ['89-58=31', '27+24=51']
Exploring Operation: 31+51=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 31*51=1581, Resulting Numbers: [1581]
1581,12 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[31, 65], Operations: ['58-27=31', '89-24=65']
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,12 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[65, 31], Operations: ['89-24=65', '58-27=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,12 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[58, 38], Operations: ['89-24=65', '65-27=38']
Exploring Operation: 58*38=2204, Resulting Numbers: [2204]
2204,12 unequal: No Solution
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[89, 7], Operations: ['58-27=31', '31-24=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[31, 113], Operations: ['58-27=31', '89+24=113']
Exploring Operation: 113-31=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 31*113=3503, Resulting Numbers: [3503]
3503,12 unequal: No Solution
Exploring Operation: 31+113=144, Resulting Numbers: [144]
144,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[65, 85], Operations: ['89-24=65', '27+58=85']
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,12 unequal: No Solution
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,12 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
74,
49,
72,
97
] | 98 | [
"74+49=123",
"97-72=25",
"123-25=98"
] | Current State: 98:[74, 49, 72, 97], Operations: []
Exploring Operation: 74+49=123, Resulting Numbers: [72, 97, 123]
Generated Node #2: [72, 97, 123] from Operation: 74+49=123
Current State: 98:[72, 97, 123], Operations: ['74+49=123']
Exploring Operation: 97-72=25, Resulting Numbers: [123, 25]
Generated Node #3: [123, 25] from Operation: 97-72=25
Current State: 98:[123, 25], Operations: ['74+49=123', '97-72=25']
Exploring Operation: 123-25=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[74, 49, 72, 97], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [49, 97, 2]
Generated Node #0,0: 98:[49, 97, 2] Operation: 74-72=2
Exploring Operation: 97-74=23, Resulting Numbers: [49, 72, 23]
Generated Node #0,1: 98:[49, 72, 23] Operation: 97-74=23
Moving to Node #0,0
Current State: 98:[49, 97, 2], Operations: ['74-72=2']
Exploring Operation: 97-49=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 98:[2, 48] Operation: 97-49=48
Exploring Operation: 49*2=98, Resulting Numbers: [97, 98]
Generated Node #0,0,1: 98:[97, 98] Operation: 49*2=98
Moving to Node #0,1
Current State: 98:[49, 72, 23], Operations: ['97-74=23']
Exploring Operation: 72-23=49, Resulting Numbers: [49, 49]
Generated Node #0,1,0: 98:[49, 49] Operation: 72-23=49
Exploring Operation: 72+23=95, Resulting Numbers: [49, 95]
Generated Node #0,1,1: 98:[49, 95] Operation: 72+23=95
Moving to Node #0,1,0
Current State: 98:[49, 49], Operations: ['97-74=23', '72-23=49']
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[74, 49, 72, 97], Operations: []
Exploring Operation: 97-74=23, Resulting Numbers: [49, 72, 23]
Generated Node #0,1: 98:[49, 72, 23] Operation: 97-74=23
Moving to Node #0,1
Current State: 98:[49, 72, 23], Operations: ['97-74=23']
Exploring Operation: 72-23=49, Resulting Numbers: [49, 49]
Generated Node #0,1,0: 98:[49, 49] Operation: 72-23=49
Moving to Node #0,1,0
Current State: 98:[49, 49], Operations: ['97-74=23', '72-23=49']
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
12,
96,
43,
5
] | 10 | [
"43+5=48",
"96/48=2",
"12-2=10"
] | Current State: 10:[12, 96, 43, 5], Operations: []
Exploring Operation: 43+5=48, Resulting Numbers: [12, 96, 48]
Generated Node #2: [12, 96, 48] from Operation: 43+5=48
Current State: 10:[12, 96, 48], Operations: ['43+5=48']
Exploring Operation: 96/48=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 96/48=2
Current State: 10:[12, 2], Operations: ['43+5=48', '96/48=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[12, 96, 43, 5], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [43, 5, 8]
Generated Node #0,0: 10:[43, 5, 8] Operation: 96/12=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[43, 5, 8], Operations: ['96/12=8']
Exploring Operation: 43-8=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 10:[5, 35] Operation: 43-8=35
Moving to Node #0,0,0
Current State: 10:[5, 35], Operations: ['96/12=8', '43-8=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,10 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 |
[
96,
98,
84,
47
] | 89 | [
"98-96=2",
"84/2=42",
"47+42=89"
] | Current State: 89:[96, 98, 84, 47], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [84, 47, 2]
Generated Node #2: [84, 47, 2] from Operation: 98-96=2
Current State: 89:[84, 47, 2], Operations: ['98-96=2']
Exploring Operation: 84/2=42, Resulting Numbers: [47, 42]
Generated Node #3: [47, 42] from Operation: 84/2=42
Current State: 89:[47, 42], Operations: ['98-96=2', '84/2=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[96, 98, 84, 47], Operations: []
Exploring Operation: 84+47=131, Resulting Numbers: [96, 98, 131]
Generated Node #0,0: 89:[96, 98, 131] Operation: 84+47=131
Exploring Operation: 98-47=51, Resulting Numbers: [96, 84, 51]
Generated Node #0,1: 89:[96, 84, 51] Operation: 98-47=51
Exploring Operation: 96-47=49, Resulting Numbers: [98, 84, 49]
Generated Node #0,2: 89:[98, 84, 49] Operation: 96-47=49
Moving to Node #0,1
Current State: 89:[96, 84, 51], Operations: ['98-47=51']
Exploring Operation: 96-51=45, Resulting Numbers: [84, 45]
Generated Node #0,1,0: 89:[84, 45] Operation: 96-51=45
Exploring Operation: 84+51=135, Resulting Numbers: [96, 135]
Generated Node #0,1,1: 89:[96, 135] Operation: 84+51=135
Exploring Operation: 96+51=147, Resulting Numbers: [84, 147]
Generated Node #0,1,2: 89:[84, 147] Operation: 96+51=147
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[84, 45], Operations: ['98-47=51', '96-51=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[96, 135], Operations: ['98-47=51', '84+51=135']
Exploring Operation: 96*135=12960, Resulting Numbers: [12960]
12960,89 unequal: No Solution
Exploring Operation: 96+135=231, Resulting Numbers: [231]
231,89 unequal: No Solution
Exploring Operation: 135-96=39, Resulting Numbers: [39]
39,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[84, 147], Operations: ['98-47=51', '96+51=147']
Exploring Operation: 147-84=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 84*147=12348, Resulting Numbers: [12348]
12348,89 unequal: No Solution
Exploring Operation: 84+147=231, Resulting Numbers: [231]
231,89 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: 89:[98, 84, 49], Operations: ['96-47=49']
Exploring Operation: 98+49=147, Resulting Numbers: [84, 147]
Generated Node #0,2,0: 89:[84, 147] Operation: 98+49=147
Exploring Operation: 84+49=133, Resulting Numbers: [98, 133]
Generated Node #0,2,1: 89:[98, 133] Operation: 84+49=133
Exploring Operation: 98-49=49, Resulting Numbers: [84, 49]
Generated Node #0,2,2: 89:[84, 49] Operation: 98-49=49
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[84, 49], Operations: ['96-47=49', '98-49=49']
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,89 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[98, 133], Operations: ['96-47=49', '84+49=133']
Exploring Operation: 133-98=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 98*133=13034, Resulting Numbers: [13034]
13034,89 unequal: No Solution
Exploring Operation: 98+133=231, Resulting Numbers: [231]
231,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[84, 147], Operations: ['96-47=49', '98+49=147']
Exploring Operation: 147-84=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 84+147=231, Resulting Numbers: [231]
231,89 unequal: No Solution
Exploring Operation: 84*147=12348, Resulting Numbers: [12348]
12348,89 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: 89:[96, 98, 131], Operations: ['84+47=131']
Exploring Operation: 98-96=2, Resulting Numbers: [131, 2]
Generated Node #0,0,0: 89:[131, 2] Operation: 98-96=2
Exploring Operation: 131-98=33, Resulting Numbers: [96, 33]
Generated Node #0,0,1: 89:[96, 33] Operation: 131-98=33
Exploring Operation: 131-96=35, Resulting Numbers: [98, 35]
Generated Node #0,0,2: 89:[98, 35] Operation: 131-96=35
Moving to Node #0,0,1
Current State: 89:[96, 33], Operations: ['84+47=131', '131-98=33']
Exploring Operation: 96*33=3168, Resulting Numbers: [3168]
3168,89 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 96+33=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[98, 35], Operations: ['84+47=131', '131-96=35']
Exploring Operation: 98*35=3430, Resulting Numbers: [3430]
3430,89 unequal: No Solution
Exploring Operation: 98+35=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[131, 2], Operations: ['84+47=131', '98-96=2']
Exploring Operation: 131+2=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 131*2=262, Resulting Numbers: [262]
262,89 unequal: No Solution
Exploring Operation: 131-2=129, Resulting Numbers: [129]
129,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
46,
2,
76,
53
] | 16 | [
"46+76=122",
"2*53=106",
"122-106=16"
] | Current State: 16:[46, 2, 76, 53], Operations: []
Exploring Operation: 46+76=122, Resulting Numbers: [2, 53, 122]
Generated Node #2: [2, 53, 122] from Operation: 46+76=122
Current State: 16:[2, 53, 122], Operations: ['46+76=122']
Exploring Operation: 2*53=106, Resulting Numbers: [122, 106]
Generated Node #3: [122, 106] from Operation: 2*53=106
Current State: 16:[122, 106], Operations: ['46+76=122', '2*53=106']
Exploring Operation: 122-106=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[46, 2, 76, 53], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [76, 53, 23]
Generated Node #0,0: 16:[76, 53, 23] Operation: 46/2=23
Exploring Operation: 53-46=7, Resulting Numbers: [2, 76, 7]
Generated Node #0,1: 16:[2, 76, 7] Operation: 53-46=7
Exploring Operation: 76/2=38, Resulting Numbers: [46, 53, 38]
Generated Node #0,2: 16:[46, 53, 38] Operation: 76/2=38
Exploring Operation: 76-53=23, Resulting Numbers: [46, 2, 23]
Generated Node #0,3: 16:[46, 2, 23] Operation: 76-53=23
Exploring Operation: 76-46=30, Resulting Numbers: [2, 53, 30]
Generated Node #0,4: 16:[2, 53, 30] Operation: 76-46=30
Moving to Node #0,3
Current State: 16:[46, 2, 23], Operations: ['76-53=23']
Exploring Operation: 46-23=23, Resulting Numbers: [2, 23]
Generated Node #0,3,0: 16:[2, 23] Operation: 46-23=23
Exploring Operation: 23-2=21, Resulting Numbers: [46, 21]
Generated Node #0,3,1: 16:[46, 21] Operation: 23-2=21
Exploring Operation: 46/23=2, Resulting Numbers: [2, 2]
Generated Node #0,3,2: 16:[2, 2] Operation: 46/23=2
Exploring Operation: 46-2=44, Resulting Numbers: [23, 44]
Generated Node #0,3,3: 16:[23, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [23, 23]
Generated Node #0,3,4: 16:[23, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[2, 2], Operations: ['76-53=23', '46/23=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[2, 23], Operations: ['76-53=23', '46-23=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 16:[23, 23], Operations: ['76-53=23', '46/2=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,16 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[46, 21], Operations: ['76-53=23', '23-2=21']
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,16 unequal: No Solution
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[23, 44], Operations: ['76-53=23', '46-2=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,16 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: 16:[2, 53, 30], Operations: ['76-46=30']
Exploring Operation: 2+53=55, Resulting Numbers: [30, 55]
Generated Node #0,4,0: 16:[30, 55] Operation: 2+53=55
Exploring Operation: 30-2=28, Resulting Numbers: [53, 28]
Generated Node #0,4,1: 16:[53, 28] Operation: 30-2=28
Exploring Operation: 53-2=51, Resulting Numbers: [30, 51]
Generated Node #0,4,2: 16:[30, 51] Operation: 53-2=51
Exploring Operation: 53-30=23, Resulting Numbers: [2, 23]
Generated Node #0,4,3: 16:[2, 23] Operation: 53-30=23
Exploring Operation: 30/2=15, Resulting Numbers: [53, 15]
Generated Node #0,4,4: 16:[53, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 16:[2, 23], Operations: ['76-46=30', '53-30=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 16:[53, 15], Operations: ['76-46=30', '30/2=15']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 53*15=795, Resulting Numbers: [795]
795,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 16:[53, 28], Operations: ['76-46=30', '30-2=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,16 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 16:[30, 51], Operations: ['76-46=30', '53-2=51']
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,16 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 16:[30, 55], Operations: ['76-46=30', '2+53=55']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 30*55=1650, Resulting Numbers: [1650]
1650,16 unequal: No Solution
Exploring Operation: 30+55=85, Resulting Numbers: [85]
85,16 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: 16:[2, 76, 7], Operations: ['53-46=7']
Exploring Operation: 2+7=9, Resulting Numbers: [76, 9]
Generated Node #0,1,0: 16:[76, 9] Operation: 2+7=9
Exploring Operation: 76/2=38, Resulting Numbers: [7, 38]
Generated Node #0,1,1: 16:[7, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [7, 74]
Generated Node #0,1,2: 16:[7, 74] Operation: 76-2=74
Exploring Operation: 76-7=69, Resulting Numbers: [2, 69]
Generated Node #0,1,3: 16:[2, 69] Operation: 76-7=69
Exploring Operation: 7-2=5, Resulting Numbers: [76, 5]
Generated Node #0,1,4: 16:[76, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[7, 38], Operations: ['53-46=7', '76/2=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,16 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[2, 69], Operations: ['53-46=7', '76-7=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[7, 74], Operations: ['53-46=7', '76-2=74']
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,16 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[76, 9], Operations: ['53-46=7', '2+7=9']
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,16 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 16:[76, 5], Operations: ['53-46=7', '7-2=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,16 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: 16:[46, 53, 38], Operations: ['76/2=38']
Exploring Operation: 46+53=99, Resulting Numbers: [38, 99]
Generated Node #0,2,0: 16:[38, 99] Operation: 46+53=99
Exploring Operation: 46-38=8, Resulting Numbers: [53, 8]
Generated Node #0,2,1: 16:[53, 8] Operation: 46-38=8
Exploring Operation: 46+38=84, Resulting Numbers: [53, 84]
Generated Node #0,2,2: 16:[53, 84] Operation: 46+38=84
Exploring Operation: 53-46=7, Resulting Numbers: [38, 7]
Generated Node #0,2,3: 16:[38, 7] Operation: 53-46=7
Exploring Operation: 53-38=15, Resulting Numbers: [46, 15]
Generated Node #0,2,4: 16:[46, 15] Operation: 53-38=15
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[38, 7], Operations: ['76/2=38', '53-46=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,16 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[46, 15], Operations: ['76/2=38', '53-38=15']
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,16 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[53, 8], Operations: ['76/2=38', '46-38=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,16 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[38, 99], Operations: ['76/2=38', '46+53=99']
Exploring Operation: 38*99=3762, Resulting Numbers: [3762]
3762,16 unequal: No Solution
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[53, 84], Operations: ['76/2=38', '46+38=84']
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,16 unequal: No Solution
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,16 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,16 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: 16:[76, 53, 23], Operations: ['46/2=23']
Exploring Operation: 53-23=30, Resulting Numbers: [76, 30]
Generated Node #0,0,0: 16:[76, 30] Operation: 53-23=30
Exploring Operation: 76+23=99, Resulting Numbers: [53, 99]
Generated Node #0,0,1: 16:[53, 99] Operation: 76+23=99
Exploring Operation: 76+53=129, Resulting Numbers: [23, 129]
Generated Node #0,0,2: 16:[23, 129] Operation: 76+53=129
Exploring Operation: 76-53=23, Resulting Numbers: [23, 23]
Generated Node #0,0,3: 16:[23, 23] Operation: 76-53=23
Exploring Operation: 76-23=53, Resulting Numbers: [53, 53]
Generated Node #0,0,4: 16:[53, 53] Operation: 76-23=53
Moving to Node #0,0,3
Current State: 16:[23, 23], Operations: ['46/2=23', '76-53=23']
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,16 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[53, 53], Operations: ['46/2=23', '76-23=53']
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,16 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[76, 30], Operations: ['46/2=23', '53-23=30']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[53, 99], Operations: ['46/2=23', '76+23=99']
Exploring Operation: 53*99=5247, Resulting Numbers: [5247]
5247,16 unequal: No Solution
Exploring Operation: 53+99=152, Resulting Numbers: [152]
152,16 unequal: No Solution
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[23, 129], Operations: ['46/2=23', '76+53=129']
Exploring Operation: 129-23=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 23*129=2967, Resulting Numbers: [2967]
2967,16 unequal: No Solution
Exploring Operation: 23+129=152, Resulting Numbers: [152]
152,16 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
34,
30,
18,
15
] | 30 | [
"34-18=16",
"16-15=1",
"30*1=30"
] | Current State: 30:[34, 30, 18, 15], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [30, 15, 16]
Generated Node #2: [30, 15, 16] from Operation: 34-18=16
Current State: 30:[30, 15, 16], Operations: ['34-18=16']
Exploring Operation: 16-15=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 16-15=1
Current State: 30:[30, 1], Operations: ['34-18=16', '16-15=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[34, 30, 18, 15], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [30, 15, 16]
Generated Node #0,0: 30:[30, 15, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[30, 15, 16], Operations: ['34-18=16']
Exploring Operation: 30-15=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 30:[16, 15] Operation: 30-15=15
Moving to Node #0,0,0
Current State: 30:[16, 15], Operations: ['34-18=16', '30-15=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,30 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 |
[
92,
64,
26,
2
] | 80 | [
"92-64=28",
"26*2=52",
"28+52=80"
] | Current State: 80:[92, 64, 26, 2], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [26, 2, 28]
Generated Node #2: [26, 2, 28] from Operation: 92-64=28
Current State: 80:[26, 2, 28], Operations: ['92-64=28']
Exploring Operation: 26*2=52, Resulting Numbers: [28, 52]
Generated Node #3: [28, 52] from Operation: 26*2=52
Current State: 80:[28, 52], Operations: ['92-64=28', '26*2=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[92, 64, 26, 2], Operations: []
Exploring Operation: 64+26=90, Resulting Numbers: [92, 2, 90]
Generated Node #0,0: 80:[92, 2, 90] Operation: 64+26=90
Exploring Operation: 92-64=28, Resulting Numbers: [26, 2, 28]
Generated Node #0,1: 80:[26, 2, 28] Operation: 92-64=28
Exploring Operation: 64-26=38, Resulting Numbers: [92, 2, 38]
Generated Node #0,2: 80:[92, 2, 38] Operation: 64-26=38
Exploring Operation: 92/2=46, Resulting Numbers: [64, 26, 46]
Generated Node #0,3: 80:[64, 26, 46] Operation: 92/2=46
Exploring Operation: 64/2=32, Resulting Numbers: [92, 26, 32]
Generated Node #0,4: 80:[92, 26, 32] Operation: 64/2=32
Moving to Node #0,1
Current State: 80:[26, 2, 28], Operations: ['92-64=28']
Exploring Operation: 26/2=13, Resulting Numbers: [28, 13]
Generated Node #0,1,0: 80:[28, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 80:[28, 24] Operation: 26-2=24
Exploring Operation: 28/2=14, Resulting Numbers: [26, 14]
Generated Node #0,1,2: 80:[26, 14] Operation: 28/2=14
Exploring Operation: 28-26=2, Resulting Numbers: [2, 2]
Generated Node #0,1,3: 80:[2, 2] Operation: 28-26=2
Exploring Operation: 28-2=26, Resulting Numbers: [26, 26]
Generated Node #0,1,4: 80:[26, 26] Operation: 28-2=26
Moving to Node #0,2
Current State: 80:[92, 2, 38], Operations: ['64-26=38']
Exploring Operation: 92-38=54, Resulting Numbers: [2, 54]
Generated Node #0,2,0: 80:[2, 54] Operation: 92-38=54
Exploring Operation: 92-2=90, Resulting Numbers: [38, 90]
Generated Node #0,2,1: 80:[38, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [38, 46]
Generated Node #0,2,2: 80:[38, 46] Operation: 92/2=46
Exploring Operation: 38/2=19, Resulting Numbers: [92, 19]
Generated Node #0,2,3: 80:[92, 19] Operation: 38/2=19
Exploring Operation: 2+38=40, Resulting Numbers: [92, 40]
Generated Node #0,2,4: 80:[92, 40] Operation: 2+38=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[38, 46], Operations: ['64-26=38', '92/2=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,80 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,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,2,1
Current State: 80:[38, 90], Operations: ['64-26=38', '92-2=90']
Exploring Operation: 38*90=3420, Resulting Numbers: [3420]
3420,80 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 38+90=128, Resulting Numbers: [128]
128,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,2,4
Current State: 80:[92, 40], Operations: ['64-26=38', '2+38=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 92+40=132, Resulting Numbers: [132]
132,80 unequal: No Solution
Exploring Operation: 92*40=3680, Resulting Numbers: [3680]
3680,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,2,3
Current State: 80:[92, 19], Operations: ['64-26=38', '38/2=19']
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,80 unequal: No Solution
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,80 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,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,2,0
Current State: 80:[2, 54], Operations: ['64-26=38', '92-38=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,80 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: 80:[92, 2, 90], Operations: ['64+26=90']
Exploring Operation: 92/2=46, Resulting Numbers: [90, 46]
Generated Node #0,0,0: 80:[90, 46] Operation: 92/2=46
Exploring Operation: 90-2=88, Resulting Numbers: [92, 88]
Generated Node #0,0,1: 80:[92, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [92, 45]
Generated Node #0,0,2: 80:[92, 45] Operation: 90/2=45
Exploring Operation: 92-90=2, Resulting Numbers: [2, 2]
Generated Node #0,0,3: 80:[2, 2] Operation: 92-90=2
Exploring Operation: 92-2=90, Resulting Numbers: [90, 90]
Generated Node #0,0,4: 80:[90, 90] Operation: 92-2=90
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[2, 2], Operations: ['64+26=90', '92-90=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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,0
Current State: 80:[90, 46], Operations: ['64+26=90', '92/2=46']
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,80 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,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,2
Current State: 80:[92, 45], Operations: ['64+26=90', '90/2=45']
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,80 unequal: No Solution
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,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:[92, 88], Operations: ['64+26=90', '90-2=88']
Exploring Operation: 92*88=8096, Resulting Numbers: [8096]
8096,80 unequal: No Solution
Exploring Operation: 92+88=180, Resulting Numbers: [180]
180,80 unequal: No Solution
Exploring Operation: 92-88=4, Resulting Numbers: [4]
4,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,4
Current State: 80:[90, 90], Operations: ['64+26=90', '92-2=90']
Exploring Operation: 90*90=8100, Resulting Numbers: [8100]
8100,80 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,80 unequal: No Solution
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,80 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: 80:[92, 26, 32], Operations: ['64/2=32']
Exploring Operation: 92+26=118, Resulting Numbers: [32, 118]
Generated Node #0,4,0: 80:[32, 118] Operation: 92+26=118
Exploring Operation: 92-32=60, Resulting Numbers: [26, 60]
Generated Node #0,4,1: 80:[26, 60] Operation: 92-32=60
Exploring Operation: 92-26=66, Resulting Numbers: [32, 66]
Generated Node #0,4,2: 80:[32, 66] Operation: 92-26=66
Exploring Operation: 26+32=58, Resulting Numbers: [92, 58]
Generated Node #0,4,3: 80:[92, 58] Operation: 26+32=58
Exploring Operation: 32-26=6, Resulting Numbers: [92, 6]
Generated Node #0,4,4: 80:[92, 6] Operation: 32-26=6
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[92, 6], Operations: ['64/2=32', '32-26=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,80 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,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,4,2
Current State: 80:[32, 66], Operations: ['64/2=32', '92-26=66']
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,80 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,80 unequal: No Solution
Exploring Operation: 66-32=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,4,1
Current State: 80:[26, 60], Operations: ['64/2=32', '92-32=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 26*60=1560, Resulting Numbers: [1560]
1560,80 unequal: No Solution
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,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,4,3
Current State: 80:[92, 58], Operations: ['64/2=32', '26+32=58']
Exploring Operation: 92+58=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 92*58=5336, Resulting Numbers: [5336]
5336,80 unequal: No Solution
Exploring Operation: 92-58=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,4,0
Current State: 80:[32, 118], Operations: ['64/2=32', '92+26=118']
Exploring Operation: 32+118=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 32*118=3776, Resulting Numbers: [3776]
3776,80 unequal: No Solution
Exploring Operation: 118-32=86, Resulting Numbers: [86]
86,80 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: 80:[64, 26, 46], Operations: ['92/2=46']
Exploring Operation: 46-26=20, Resulting Numbers: [64, 20]
Generated Node #0,3,0: 80:[64, 20] Operation: 46-26=20
Exploring Operation: 64-26=38, Resulting Numbers: [46, 38]
Generated Node #0,3,1: 80:[46, 38] Operation: 64-26=38
Exploring Operation: 26+46=72, Resulting Numbers: [64, 72]
Generated Node #0,3,2: 80:[64, 72] Operation: 26+46=72
Exploring Operation: 64+26=90, Resulting Numbers: [46, 90]
Generated Node #0,3,3: 80:[46, 90] Operation: 64+26=90
Exploring Operation: 64-46=18, Resulting Numbers: [26, 18]
Generated Node #0,3,4: 80:[26, 18] Operation: 64-46=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[46, 38], Operations: ['92/2=46', '64-26=38']
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,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,3,4
Current State: 80:[26, 18], Operations: ['92/2=46', '64-46=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,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,3,0
Current State: 80:[64, 20], Operations: ['92/2=46', '46-26=20']
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,80 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,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,3,3
Current State: 80:[46, 90], Operations: ['92/2=46', '64+26=90']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,80 unequal: No Solution
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,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,3,2
Current State: 80:[64, 72], Operations: ['92/2=46', '26+46=72']
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 80:[2, 2], Operations: ['92-64=28', '28-26=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[26, 14], Operations: ['92-64=28', '28/2=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,80 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[28, 13], Operations: ['92-64=28', '26/2=13']
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,80 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[28, 24], Operations: ['92-64=28', '26-2=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,80 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[26, 26], Operations: ['92-64=28', '28-2=26']
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,80 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
78,
79,
95,
26
] | 48 | [
"78/26=3",
"95-79=16",
"3*16=48"
] | Current State: 48:[78, 79, 95, 26], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [79, 95, 3]
Generated Node #2: [79, 95, 3] from Operation: 78/26=3
Current State: 48:[79, 95, 3], Operations: ['78/26=3']
Exploring Operation: 95-79=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 95-79=16
Current State: 48:[3, 16], Operations: ['78/26=3', '95-79=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[78, 79, 95, 26], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [78, 26, 16]
Generated Node #0,0: 48:[78, 26, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 48:[78, 26, 16], Operations: ['95-79=16']
Exploring Operation: 78/26=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 48:[16, 3] Operation: 78/26=3
Moving to Node #0,0,0
Current State: 48:[16, 3], Operations: ['95-79=16', '78/26=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[78, 79, 95, 26], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [78, 26, 16]
Generated Node #0,0: 48:[78, 26, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 48:[78, 26, 16], Operations: ['95-79=16']
Exploring Operation: 78/26=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 48:[16, 3] Operation: 78/26=3
Moving to Node #0,0,0
Current State: 48:[16, 3], Operations: ['95-79=16', '78/26=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
17,
61,
13,
86
] | 29 | [
"61-17=44",
"86-13=73",
"73-44=29"
] | Current State: 29:[17, 61, 13, 86], Operations: []
Exploring Operation: 61-17=44, Resulting Numbers: [13, 86, 44]
Generated Node #2: [13, 86, 44] from Operation: 61-17=44
Current State: 29:[13, 86, 44], Operations: ['61-17=44']
Exploring Operation: 86-13=73, Resulting Numbers: [44, 73]
Generated Node #3: [44, 73] from Operation: 86-13=73
Current State: 29:[44, 73], Operations: ['61-17=44', '86-13=73']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[17, 61, 13, 86], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [61, 13, 69]
Generated Node #0,0: 29:[61, 13, 69] Operation: 86-17=69
Exploring Operation: 86-61=25, Resulting Numbers: [17, 13, 25]
Generated Node #0,1: 29:[17, 13, 25] Operation: 86-61=25
Exploring Operation: 86-13=73, Resulting Numbers: [17, 61, 73]
Generated Node #0,2: 29:[17, 61, 73] Operation: 86-13=73
Exploring Operation: 61-13=48, Resulting Numbers: [17, 86, 48]
Generated Node #0,3: 29:[17, 86, 48] Operation: 61-13=48
Exploring Operation: 61-17=44, Resulting Numbers: [13, 86, 44]
Generated Node #0,4: 29:[13, 86, 44] Operation: 61-17=44
Moving to Node #0,1
Current State: 29:[17, 13, 25], Operations: ['86-61=25']
Exploring Operation: 25-13=12, Resulting Numbers: [17, 12]
Generated Node #0,1,0: 29:[17, 12] Operation: 25-13=12
Exploring Operation: 13+25=38, Resulting Numbers: [17, 38]
Generated Node #0,1,1: 29:[17, 38] Operation: 13+25=38
Exploring Operation: 17+13=30, Resulting Numbers: [25, 30]
Generated Node #0,1,2: 29:[25, 30] Operation: 17+13=30
Exploring Operation: 17+25=42, Resulting Numbers: [13, 42]
Generated Node #0,1,3: 29:[13, 42] Operation: 17+25=42
Exploring Operation: 17-13=4, Resulting Numbers: [25, 4]
Generated Node #0,1,4: 29:[25, 4] Operation: 17-13=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[25, 30], Operations: ['86-61=25', '17+13=30']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,29 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,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:[17, 38], Operations: ['86-61=25', '13+25=38']
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,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:[17, 12], Operations: ['86-61=25', '25-13=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[17, 61, 13, 86], Operations: []
Exploring Operation: 86-61=25, Resulting Numbers: [17, 13, 25]
Generated Node #0,1: 29:[17, 13, 25] Operation: 86-61=25
Moving to Node #0,1
Current State: 29:[17, 13, 25], Operations: ['86-61=25']
Exploring Operation: 25-13=12, Resulting Numbers: [17, 12]
Generated Node #0,1,0: 29:[17, 12] Operation: 25-13=12
Moving to Node #0,1,0
Current State: 29:[17, 12], Operations: ['86-61=25', '25-13=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
90,
1,
24,
74
] | 41 | [
"90+1=91",
"74-24=50",
"91-50=41"
] | Current State: 41:[90, 1, 24, 74], Operations: []
Exploring Operation: 90+1=91, Resulting Numbers: [24, 74, 91]
Generated Node #2: [24, 74, 91] from Operation: 90+1=91
Current State: 41:[24, 74, 91], Operations: ['90+1=91']
Exploring Operation: 74-24=50, Resulting Numbers: [91, 50]
Generated Node #3: [91, 50] from Operation: 74-24=50
Current State: 41:[91, 50], Operations: ['90+1=91', '74-24=50']
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[90, 1, 24, 74], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [1, 24, 16]
Generated Node #0,0: 41:[1, 24, 16] Operation: 90-74=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[1, 24, 16], Operations: ['90-74=16']
Exploring Operation: 1+24=25, Resulting Numbers: [16, 25]
Generated Node #0,0,0: 41:[16, 25] Operation: 1+24=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[16, 25], Operations: ['90-74=16', '1+24=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[90, 1, 24, 74], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [1, 24, 16]
Generated Node #0,0: 41:[1, 24, 16] Operation: 90-74=16
Moving to Node #0,0
Current State: 41:[1, 24, 16], Operations: ['90-74=16']
Exploring Operation: 1+24=25, Resulting Numbers: [16, 25]
Generated Node #0,0,0: 41:[16, 25] Operation: 1+24=25
Moving to Node #0,0,0
Current State: 41:[16, 25], Operations: ['90-74=16', '1+24=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
60,
2,
75
] | 90 | [
"45+60=105",
"75+105=180",
"180/2=90"
] | Current State: 90:[45, 60, 2, 75], Operations: []
Exploring Operation: 45+60=105, Resulting Numbers: [2, 75, 105]
Generated Node #2: [2, 75, 105] from Operation: 45+60=105
Current State: 90:[2, 75, 105], Operations: ['45+60=105']
Exploring Operation: 75+105=180, Resulting Numbers: [2, 180]
Generated Node #3: [2, 180] from Operation: 75+105=180
Current State: 90:[2, 180], Operations: ['45+60=105', '75+105=180']
Exploring Operation: 180/2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[45, 60, 2, 75], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [45, 2, 15]
Generated Node #0,0: 90:[45, 2, 15] Operation: 75-60=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[45, 2, 15], Operations: ['75-60=15']
Exploring Operation: 45*2=90, Resulting Numbers: [15, 90]
Generated Node #0,0,0: 90:[15, 90] Operation: 45*2=90
Moving to Node #0,0,0
Current State: 90:[15, 90], Operations: ['75-60=15', '45*2=90']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
34,
6,
99
] | 97 | [
"62+6=68",
"68/34=2",
"99-2=97"
] | Current State: 97:[62, 34, 6, 99], Operations: []
Exploring Operation: 62+6=68, Resulting Numbers: [34, 99, 68]
Generated Node #2: [34, 99, 68] from Operation: 62+6=68
Current State: 97:[34, 99, 68], Operations: ['62+6=68']
Exploring Operation: 68/34=2, Resulting Numbers: [99, 2]
Generated Node #3: [99, 2] from Operation: 68/34=2
Current State: 97:[99, 2], Operations: ['62+6=68', '68/34=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[62, 34, 6, 99], Operations: []
Exploring Operation: 99-6=93, Resulting Numbers: [62, 34, 93]
Generated Node #0,0: 97:[62, 34, 93] Operation: 99-6=93
Exploring Operation: 62+34=96, Resulting Numbers: [6, 99, 96]
Generated Node #0,1: 97:[6, 99, 96] Operation: 62+34=96
Exploring Operation: 62-6=56, Resulting Numbers: [34, 99, 56]
Generated Node #0,2: 97:[34, 99, 56] Operation: 62-6=56
Exploring Operation: 34+6=40, Resulting Numbers: [62, 99, 40]
Generated Node #0,3: 97:[62, 99, 40] Operation: 34+6=40
Exploring Operation: 62+6=68, Resulting Numbers: [34, 99, 68]
Generated Node #0,4: 97:[34, 99, 68] Operation: 62+6=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[6, 99, 96], Operations: ['62+34=96']
Exploring Operation: 96/6=16, Resulting Numbers: [99, 16]
Generated Node #0,1,0: 97:[99, 16] Operation: 96/6=16
Exploring Operation: 6+96=102, Resulting Numbers: [99, 102]
Generated Node #0,1,1: 97:[99, 102] Operation: 6+96=102
Exploring Operation: 96-6=90, Resulting Numbers: [99, 90]
Generated Node #0,1,2: 97:[99, 90] Operation: 96-6=90
Exploring Operation: 99-6=93, Resulting Numbers: [96, 93]
Generated Node #0,1,3: 97:[96, 93] Operation: 99-6=93
Exploring Operation: 6+99=105, Resulting Numbers: [96, 105]
Generated Node #0,1,4: 97:[96, 105] Operation: 6+99=105
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[96, 93], Operations: ['62+34=96', '99-6=93']
Exploring Operation: 96+93=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 96*93=8928, Resulting Numbers: [8928]
8928,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[99, 102], Operations: ['62+34=96', '6+96=102']
Exploring Operation: 99+102=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 102-99=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 99*102=10098, Resulting Numbers: [10098]
10098,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[99, 90], Operations: ['62+34=96', '96-6=90']
Exploring Operation: 99*90=8910, Resulting Numbers: [8910]
8910,97 unequal: No Solution
Exploring Operation: 99+90=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Exploring Operation: 99-90=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 97:[96, 105], Operations: ['62+34=96', '6+99=105']
Exploring Operation: 96+105=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 96*105=10080, Resulting Numbers: [10080]
10080,97 unequal: No Solution
Exploring Operation: 105-96=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[99, 16], Operations: ['62+34=96', '96/6=16']
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,97 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,97 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: 97:[62, 99, 40], Operations: ['34+6=40']
Exploring Operation: 62+40=102, Resulting Numbers: [99, 102]
Generated Node #0,3,0: 97:[99, 102] Operation: 62+40=102
Exploring Operation: 99-40=59, Resulting Numbers: [62, 59]
Generated Node #0,3,1: 97:[62, 59] Operation: 99-40=59
Exploring Operation: 62-40=22, Resulting Numbers: [99, 22]
Generated Node #0,3,2: 97:[99, 22] Operation: 62-40=22
Exploring Operation: 99+40=139, Resulting Numbers: [62, 139]
Generated Node #0,3,3: 97:[62, 139] Operation: 99+40=139
Exploring Operation: 99-62=37, Resulting Numbers: [40, 37]
Generated Node #0,3,4: 97:[40, 37] Operation: 99-62=37
Moving to Node #0,3,0
Current State: 97:[99, 102], Operations: ['34+6=40', '62+40=102']
Exploring Operation: 99*102=10098, Resulting Numbers: [10098]
10098,97 unequal: No Solution
Exploring Operation: 102-99=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 99+102=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[62, 59], Operations: ['34+6=40', '99-40=59']
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,97 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,97 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[99, 22], Operations: ['34+6=40', '62-40=22']
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,97 unequal: No Solution
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[62, 139], Operations: ['34+6=40', '99+40=139']
Exploring Operation: 62*139=8618, Resulting Numbers: [8618]
8618,97 unequal: No Solution
Exploring Operation: 139-62=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 62+139=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[40, 37], Operations: ['34+6=40', '99-62=37']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,97 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 97:[34, 99, 68], Operations: ['62+6=68']
Exploring Operation: 34+99=133, Resulting Numbers: [68, 133]
Generated Node #0,4,0: 97:[68, 133] Operation: 34+99=133
Exploring Operation: 99-34=65, Resulting Numbers: [68, 65]
Generated Node #0,4,1: 97:[68, 65] Operation: 99-34=65
Exploring Operation: 34+68=102, Resulting Numbers: [99, 102]
Generated Node #0,4,2: 97:[99, 102] Operation: 34+68=102
Exploring Operation: 68/34=2, Resulting Numbers: [99, 2]
Generated Node #0,4,3: 97:[99, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [99, 34]
Generated Node #0,4,4: 97:[99, 34] Operation: 68-34=34
Moving to Node #0,4,2
Current State: 97:[99, 102], Operations: ['62+6=68', '34+68=102']
Exploring Operation: 102-99=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 99+102=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 99*102=10098, Resulting Numbers: [10098]
10098,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[68, 65], Operations: ['62+6=68', '99-34=65']
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,97 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[68, 133], Operations: ['62+6=68', '34+99=133']
Exploring Operation: 68+133=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 133-68=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 68*133=9044, Resulting Numbers: [9044]
9044,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[99, 34], Operations: ['62+6=68', '68-34=34']
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,97 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[99, 2], Operations: ['62+6=68', '68/34=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[62, 34, 6, 99], Operations: []
Exploring Operation: 62+6=68, Resulting Numbers: [34, 99, 68]
Generated Node #0,4: 97:[34, 99, 68] Operation: 62+6=68
Moving to Node #0,4
Current State: 97:[34, 99, 68], Operations: ['62+6=68']
Exploring Operation: 68/34=2, Resulting Numbers: [99, 2]
Generated Node #0,4,3: 97:[99, 2] Operation: 68/34=2
Moving to Node #0,4,3
Current State: 97:[99, 2], Operations: ['62+6=68', '68/34=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | mult_heuristic |
[
29,
20,
10,
66
] | 35 | [
"66-29=37",
"20/10=2",
"37-2=35"
] | Current State: 35:[29, 20, 10, 66], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [20, 10, 37]
Generated Node #2: [20, 10, 37] from Operation: 66-29=37
Current State: 35:[20, 10, 37], Operations: ['66-29=37']
Exploring Operation: 20/10=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 20/10=2
Current State: 35:[37, 2], Operations: ['66-29=37', '20/10=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[29, 20, 10, 66], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [20, 10, 37]
Generated Node #0,0: 35:[20, 10, 37] Operation: 66-29=37
Moving to Node #0,0
Current State: 35:[20, 10, 37], Operations: ['66-29=37']
Exploring Operation: 20-10=10, Resulting Numbers: [37, 10]
Generated Node #0,0,0: 35:[37, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[37, 10], Operations: ['66-29=37', '20-10=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
14,
13,
40
] | 83 | [
"40-14=26",
"26/13=2",
"85-2=83"
] | Current State: 83:[85, 14, 13, 40], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [85, 13, 26]
Generated Node #2: [85, 13, 26] from Operation: 40-14=26
Current State: 83:[85, 13, 26], Operations: ['40-14=26']
Exploring Operation: 26/13=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 26/13=2
Current State: 83:[85, 2], Operations: ['40-14=26', '26/13=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[85, 14, 13, 40], Operations: []
Exploring Operation: 14+13=27, Resulting Numbers: [85, 40, 27]
Generated Node #0,0: 83:[85, 40, 27] Operation: 14+13=27
Exploring Operation: 14+40=54, Resulting Numbers: [85, 13, 54]
Generated Node #0,1: 83:[85, 13, 54] Operation: 14+40=54
Exploring Operation: 13+40=53, Resulting Numbers: [85, 14, 53]
Generated Node #0,2: 83:[85, 14, 53] Operation: 13+40=53
Exploring Operation: 85-13=72, Resulting Numbers: [14, 40, 72]
Generated Node #0,3: 83:[14, 40, 72] Operation: 85-13=72
Moving to Node #0,0
Current State: 83:[85, 40, 27], Operations: ['14+13=27']
Exploring Operation: 40+27=67, Resulting Numbers: [85, 67]
Generated Node #0,0,0: 83:[85, 67] Operation: 40+27=67
Exploring Operation: 40-27=13, Resulting Numbers: [85, 13]
Generated Node #0,0,1: 83:[85, 13] Operation: 40-27=13
Exploring Operation: 85+27=112, Resulting Numbers: [40, 112]
Generated Node #0,0,2: 83:[40, 112] Operation: 85+27=112
Exploring Operation: 85-27=58, Resulting Numbers: [40, 58]
Generated Node #0,0,3: 83:[40, 58] Operation: 85-27=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[85, 67], Operations: ['14+13=27', '40+27=67']
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[40, 58], Operations: ['14+13=27', '85-27=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[85, 13], Operations: ['14+13=27', '40-27=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,83 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[40, 112], Operations: ['14+13=27', '85+27=112']
Exploring Operation: 112-40=72, Resulting Numbers: [72]
72,83 unequal: No Solution
Exploring Operation: 40+112=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 40*112=4480, Resulting Numbers: [4480]
4480,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 83:[85, 14, 53], Operations: ['13+40=53']
Exploring Operation: 53-14=39, Resulting Numbers: [85, 39]
Generated Node #0,2,0: 83:[85, 39] Operation: 53-14=39
Exploring Operation: 85-14=71, Resulting Numbers: [53, 71]
Generated Node #0,2,1: 83:[53, 71] Operation: 85-14=71
Exploring Operation: 14+53=67, Resulting Numbers: [85, 67]
Generated Node #0,2,2: 83:[85, 67] Operation: 14+53=67
Exploring Operation: 85+14=99, Resulting Numbers: [53, 99]
Generated Node #0,2,3: 83:[53, 99] Operation: 85+14=99
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[85, 67], Operations: ['13+40=53', '14+53=67']
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,83 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[53, 71], Operations: ['13+40=53', '85-14=71']
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[85, 39], Operations: ['13+40=53', '53-14=39']
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[53, 99], Operations: ['13+40=53', '85+14=99']
Exploring Operation: 53*99=5247, Resulting Numbers: [5247]
5247,83 unequal: No Solution
Exploring Operation: 53+99=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[85, 13, 54], Operations: ['14+40=54']
Exploring Operation: 85-13=72, Resulting Numbers: [54, 72]
Generated Node #0,1,0: 83:[54, 72] Operation: 85-13=72
Exploring Operation: 85+13=98, Resulting Numbers: [54, 98]
Generated Node #0,1,1: 83:[54, 98] Operation: 85+13=98
Exploring Operation: 13+54=67, Resulting Numbers: [85, 67]
Generated Node #0,1,2: 83:[85, 67] Operation: 13+54=67
Exploring Operation: 54-13=41, Resulting Numbers: [85, 41]
Generated Node #0,1,3: 83:[85, 41] Operation: 54-13=41
Moving to Node #0,3
Current State: 83:[14, 40, 72], Operations: ['85-13=72']
Exploring Operation: 14+40=54, Resulting Numbers: [72, 54]
Generated Node #0,3,0: 83:[72, 54] Operation: 14+40=54
Exploring Operation: 72-14=58, Resulting Numbers: [40, 58]
Generated Node #0,3,1: 83:[40, 58] Operation: 72-14=58
Exploring Operation: 40-14=26, Resulting Numbers: [72, 26]
Generated Node #0,3,2: 83:[72, 26] Operation: 40-14=26
Exploring Operation: 14+72=86, Resulting Numbers: [40, 86]
Generated Node #0,3,3: 83:[40, 86] Operation: 14+72=86
Moving to Node #0,1,2
Current State: 83:[85, 67], Operations: ['14+40=54', '13+54=67']
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[54, 72], Operations: ['14+40=54', '85-13=72']
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,83 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[72, 54], Operations: ['85-13=72', '14+40=54']
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,83 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[54, 98], Operations: ['14+40=54', '85+13=98']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[85, 41], Operations: ['14+40=54', '54-13=41']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 85*41=3485, Resulting Numbers: [3485]
3485,83 unequal: No Solution
Exploring Operation: 85+41=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[40, 86], Operations: ['85-13=72', '14+72=86']
Exploring Operation: 40*86=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 40+86=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[40, 58], Operations: ['85-13=72', '72-14=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[72, 26], Operations: ['85-13=72', '40-14=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
93,
14,
85,
13
] | 90 | [
"93-85=8",
"13*8=104",
"104-14=90"
] | Current State: 90:[93, 14, 85, 13], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [14, 13, 8]
Generated Node #2: [14, 13, 8] from Operation: 93-85=8
Current State: 90:[14, 13, 8], Operations: ['93-85=8']
Exploring Operation: 13*8=104, Resulting Numbers: [14, 104]
Generated Node #3: [14, 104] from Operation: 13*8=104
Current State: 90:[14, 104], Operations: ['93-85=8', '13*8=104']
Exploring Operation: 104-14=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[93, 14, 85, 13], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [93, 85, 1]
Generated Node #0,0: 90:[93, 85, 1] Operation: 14-13=1
Exploring Operation: 93-85=8, Resulting Numbers: [14, 13, 8]
Generated Node #0,1: 90:[14, 13, 8] Operation: 93-85=8
Exploring Operation: 85+13=98, Resulting Numbers: [93, 14, 98]
Generated Node #0,2: 90:[93, 14, 98] Operation: 85+13=98
Exploring Operation: 14+13=27, Resulting Numbers: [93, 85, 27]
Generated Node #0,3: 90:[93, 85, 27] Operation: 14+13=27
Moving to Node #0,1
Current State: 90:[14, 13, 8], Operations: ['93-85=8']
Exploring Operation: 14+13=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 90:[8, 27] Operation: 14+13=27
Exploring Operation: 14-13=1, Resulting Numbers: [8, 1]
Generated Node #0,1,1: 90:[8, 1] Operation: 14-13=1
Exploring Operation: 14-8=6, Resulting Numbers: [13, 6]
Generated Node #0,1,2: 90:[13, 6] Operation: 14-8=6
Exploring Operation: 13-8=5, Resulting Numbers: [14, 5]
Generated Node #0,1,3: 90:[14, 5] Operation: 13-8=5
Moving to Node #0,0
Current State: 90:[93, 85, 1], Operations: ['14-13=1']
Exploring Operation: 93-85=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 90:[1, 8] Operation: 93-85=8
Exploring Operation: 85+1=86, Resulting Numbers: [93, 86]
Generated Node #0,0,1: 90:[93, 86] Operation: 85+1=86
Exploring Operation: 93*1=93, Resulting Numbers: [85, 93]
Generated Node #0,0,2: 90:[85, 93] Operation: 93*1=93
Exploring Operation: 93-1=92, Resulting Numbers: [85, 92]
Generated Node #0,0,3: 90:[85, 92] Operation: 93-1=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[1, 8], Operations: ['14-13=1', '93-85=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[93, 86], Operations: ['14-13=1', '85+1=86']
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 93+86=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 93*86=7998, Resulting Numbers: [7998]
7998,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[85, 92], Operations: ['14-13=1', '93-1=92']
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 85+92=177, Resulting Numbers: [177]
177,90 unequal: No Solution
Exploring Operation: 85*92=7820, Resulting Numbers: [7820]
7820,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[85, 93], Operations: ['14-13=1', '93*1=93']
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,90 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,90 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: 90:[93, 85, 27], Operations: ['14+13=27']
Exploring Operation: 93-27=66, Resulting Numbers: [85, 66]
Generated Node #0,3,0: 90:[85, 66] Operation: 93-27=66
Exploring Operation: 85+27=112, Resulting Numbers: [93, 112]
Generated Node #0,3,1: 90:[93, 112] Operation: 85+27=112
Exploring Operation: 85-27=58, Resulting Numbers: [93, 58]
Generated Node #0,3,2: 90:[93, 58] Operation: 85-27=58
Exploring Operation: 93-85=8, Resulting Numbers: [27, 8]
Generated Node #0,3,3: 90:[27, 8] Operation: 93-85=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[27, 8], Operations: ['14+13=27', '93-85=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[93, 58], Operations: ['14+13=27', '85-27=58']
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,90 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[93, 112], Operations: ['14+13=27', '85+27=112']
Exploring Operation: 93*112=10416, Resulting Numbers: [10416]
10416,90 unequal: No Solution
Exploring Operation: 112-93=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 93+112=205, Resulting Numbers: [205]
205,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[85, 66], Operations: ['14+13=27', '93-27=66']
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,90 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,90 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: 90:[93, 14, 98], Operations: ['85+13=98']
Exploring Operation: 98/14=7, Resulting Numbers: [93, 7]
Generated Node #0,2,0: 90:[93, 7] Operation: 98/14=7
Exploring Operation: 98-93=5, Resulting Numbers: [14, 5]
Generated Node #0,2,1: 90:[14, 5] Operation: 98-93=5
Exploring Operation: 93-14=79, Resulting Numbers: [98, 79]
Generated Node #0,2,2: 90:[98, 79] Operation: 93-14=79
Exploring Operation: 98-14=84, Resulting Numbers: [93, 84]
Generated Node #0,2,3: 90:[93, 84] Operation: 98-14=84
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[14, 5], Operations: ['85+13=98', '98-93=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[93, 7], Operations: ['85+13=98', '98/14=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[93, 84], Operations: ['85+13=98', '98-14=84']
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,90 unequal: No Solution
Exploring Operation: 93*84=7812, Resulting Numbers: [7812]
7812,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[98, 79], Operations: ['85+13=98', '93-14=79']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 98+79=177, Resulting Numbers: [177]
177,90 unequal: No Solution
Exploring Operation: 98*79=7742, Resulting Numbers: [7742]
7742,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 90:[14, 5], Operations: ['93-85=8', '13-8=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[13, 6], Operations: ['93-85=8', '14-8=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[8, 1], Operations: ['93-85=8', '14-13=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[8, 27], Operations: ['93-85=8', '14+13=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
33,
2,
5,
34
] | 27 | [
"33+2=35",
"35/5=7",
"34-7=27"
] | Current State: 27:[33, 2, 5, 34], Operations: []
Exploring Operation: 33+2=35, Resulting Numbers: [5, 34, 35]
Generated Node #2: [5, 34, 35] from Operation: 33+2=35
Current State: 27:[5, 34, 35], Operations: ['33+2=35']
Exploring Operation: 35/5=7, Resulting Numbers: [34, 7]
Generated Node #3: [34, 7] from Operation: 35/5=7
Current State: 27:[34, 7], Operations: ['33+2=35', '35/5=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[33, 2, 5, 34], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [2, 5, 1]
Generated Node #0,0: 27:[2, 5, 1] Operation: 34-33=1
Exploring Operation: 34-5=29, Resulting Numbers: [33, 2, 29]
Generated Node #0,1: 27:[33, 2, 29] Operation: 34-5=29
Exploring Operation: 33-5=28, Resulting Numbers: [2, 34, 28]
Generated Node #0,2: 27:[2, 34, 28] Operation: 33-5=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[2, 5, 1], Operations: ['34-33=1']
Exploring Operation: 2+1=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 27:[5, 3] Operation: 2+1=3
Exploring Operation: 5-2=3, Resulting Numbers: [1, 3]
Generated Node #0,0,1: 27:[1, 3] Operation: 5-2=3
Exploring Operation: 5-1=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 27:[2, 4] Operation: 5-1=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[5, 3], Operations: ['34-33=1', '2+1=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[1, 3], Operations: ['34-33=1', '5-2=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[2, 4], Operations: ['34-33=1', '5-1=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[33, 2, 29], Operations: ['34-5=29']
Exploring Operation: 33-29=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 27:[2, 4] Operation: 33-29=4
Exploring Operation: 33-2=31, Resulting Numbers: [29, 31]
Generated Node #0,1,1: 27:[29, 31] Operation: 33-2=31
Exploring Operation: 29-2=27, Resulting Numbers: [33, 27]
Generated Node #0,1,2: 27:[33, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[2, 4], Operations: ['34-5=29', '33-29=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[29, 31], Operations: ['34-5=29', '33-2=31']
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,27 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[33, 27], Operations: ['34-5=29', '29-2=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,27 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[2, 34, 28], Operations: ['33-5=28']
Exploring Operation: 34-28=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 27:[2, 6] Operation: 34-28=6
Exploring Operation: 34-2=32, Resulting Numbers: [28, 32]
Generated Node #0,2,1: 27:[28, 32] Operation: 34-2=32
Exploring Operation: 28-2=26, Resulting Numbers: [34, 26]
Generated Node #0,2,2: 27:[34, 26] Operation: 28-2=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[2, 6], Operations: ['33-5=28', '34-28=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[28, 32], Operations: ['33-5=28', '34-2=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,27 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[34, 26], Operations: ['33-5=28', '28-2=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,27 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
98,
36,
51,
17
] | 28 | [
"98-36=62",
"51-17=34",
"62-34=28"
] | Current State: 28:[98, 36, 51, 17], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [51, 17, 62]
Generated Node #2: [51, 17, 62] from Operation: 98-36=62
Current State: 28:[51, 17, 62], Operations: ['98-36=62']
Exploring Operation: 51-17=34, Resulting Numbers: [62, 34]
Generated Node #3: [62, 34] from Operation: 51-17=34
Current State: 28:[62, 34], Operations: ['98-36=62', '51-17=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[98, 36, 51, 17], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [51, 17, 62]
Generated Node #0,0: 28:[51, 17, 62] Operation: 98-36=62
Exploring Operation: 51-36=15, Resulting Numbers: [98, 17, 15]
Generated Node #0,1: 28:[98, 17, 15] Operation: 51-36=15
Exploring Operation: 98-51=47, Resulting Numbers: [36, 17, 47]
Generated Node #0,2: 28:[36, 17, 47] Operation: 98-51=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[36, 17, 47], Operations: ['98-51=47']
Exploring Operation: 47-36=11, Resulting Numbers: [17, 11]
Generated Node #0,2,0: 28:[17, 11] Operation: 47-36=11
Exploring Operation: 36-17=19, Resulting Numbers: [47, 19]
Generated Node #0,2,1: 28:[47, 19] Operation: 36-17=19
Exploring Operation: 47-17=30, Resulting Numbers: [36, 30]
Generated Node #0,2,2: 28:[36, 30] Operation: 47-17=30
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[17, 11], Operations: ['98-51=47', '47-36=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[98, 36, 51, 17], Operations: []
Exploring Operation: 98-51=47, Resulting Numbers: [36, 17, 47]
Generated Node #0,2: 28:[36, 17, 47] Operation: 98-51=47
Moving to Node #0,2
Current State: 28:[36, 17, 47], Operations: ['98-51=47']
Exploring Operation: 47-36=11, Resulting Numbers: [17, 11]
Generated Node #0,2,0: 28:[17, 11] Operation: 47-36=11
Moving to Node #0,2,0
Current State: 28:[17, 11], Operations: ['98-51=47', '47-36=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
20,
46,
51,
42
] | 17 | [
"46-20=26",
"51-42=9",
"26-9=17"
] | Current State: 17:[20, 46, 51, 42], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [51, 42, 26]
Generated Node #2: [51, 42, 26] from Operation: 46-20=26
Current State: 17:[51, 42, 26], Operations: ['46-20=26']
Exploring Operation: 51-42=9, Resulting Numbers: [26, 9]
Generated Node #3: [26, 9] from Operation: 51-42=9
Current State: 17:[26, 9], Operations: ['46-20=26', '51-42=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[20, 46, 51, 42], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [20, 42, 5]
Generated Node #0,0: 17:[20, 42, 5] Operation: 51-46=5
Exploring Operation: 46-42=4, Resulting Numbers: [20, 51, 4]
Generated Node #0,1: 17:[20, 51, 4] Operation: 46-42=4
Exploring Operation: 46-20=26, Resulting Numbers: [51, 42, 26]
Generated Node #0,2: 17:[51, 42, 26] Operation: 46-20=26
Exploring Operation: 51-42=9, Resulting Numbers: [20, 46, 9]
Generated Node #0,3: 17:[20, 46, 9] Operation: 51-42=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[20, 42, 5], Operations: ['51-46=5']
Exploring Operation: 20-5=15, Resulting Numbers: [42, 15]
Generated Node #0,0,0: 17:[42, 15] Operation: 20-5=15
Exploring Operation: 20+5=25, Resulting Numbers: [42, 25]
Generated Node #0,0,1: 17:[42, 25] Operation: 20+5=25
Exploring Operation: 42-5=37, Resulting Numbers: [20, 37]
Generated Node #0,0,2: 17:[20, 37] Operation: 42-5=37
Exploring Operation: 42-20=22, Resulting Numbers: [5, 22]
Generated Node #0,0,3: 17:[5, 22] Operation: 42-20=22
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[5, 22], Operations: ['51-46=5', '42-20=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[20, 46, 51, 42], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [20, 42, 5]
Generated Node #0,0: 17:[20, 42, 5] Operation: 51-46=5
Moving to Node #0,0
Current State: 17:[20, 42, 5], Operations: ['51-46=5']
Exploring Operation: 42-20=22, Resulting Numbers: [5, 22]
Generated Node #0,0,3: 17:[5, 22] Operation: 42-20=22
Moving to Node #0,0,3
Current State: 17:[5, 22], Operations: ['51-46=5', '42-20=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
32,
66,
74,
79
] | 29 | [
"66-32=34",
"79-74=5",
"34-5=29"
] | Current State: 29:[32, 66, 74, 79], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [74, 79, 34]
Generated Node #2: [74, 79, 34] from Operation: 66-32=34
Current State: 29:[74, 79, 34], Operations: ['66-32=34']
Exploring Operation: 79-74=5, Resulting Numbers: [34, 5]
Generated Node #3: [34, 5] from Operation: 79-74=5
Current State: 29:[34, 5], Operations: ['66-32=34', '79-74=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[32, 66, 74, 79], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [32, 74, 13]
Generated Node #0,0: 29:[32, 74, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 29:[32, 74, 13], Operations: ['79-66=13']
Exploring Operation: 74-32=42, Resulting Numbers: [13, 42]
Generated Node #0,0,0: 29:[13, 42] Operation: 74-32=42
Moving to Node #0,0,0
Current State: 29:[13, 42], Operations: ['79-66=13', '74-32=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[32, 66, 74, 79], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [32, 74, 13]
Generated Node #0,0: 29:[32, 74, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 29:[32, 74, 13], Operations: ['79-66=13']
Exploring Operation: 74-32=42, Resulting Numbers: [13, 42]
Generated Node #0,0,0: 29:[13, 42] Operation: 74-32=42
Moving to Node #0,0,0
Current State: 29:[13, 42], Operations: ['79-66=13', '74-32=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
68,
35,
36,
52
] | 33 | [
"68+36=104",
"104/52=2",
"35-2=33"
] | Current State: 33:[68, 35, 36, 52], Operations: []
Exploring Operation: 68+36=104, Resulting Numbers: [35, 52, 104]
Generated Node #2: [35, 52, 104] from Operation: 68+36=104
Current State: 33:[35, 52, 104], Operations: ['68+36=104']
Exploring Operation: 104/52=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 104/52=2
Current State: 33:[35, 2], Operations: ['68+36=104', '104/52=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[68, 35, 36, 52], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [35, 52, 32]
Generated Node #0,0: 33:[35, 52, 32] Operation: 68-36=32
Exploring Operation: 68-35=33, Resulting Numbers: [36, 52, 33]
Generated Node #0,1: 33:[36, 52, 33] Operation: 68-35=33
Exploring Operation: 52-35=17, Resulting Numbers: [68, 36, 17]
Generated Node #0,2: 33:[68, 36, 17] Operation: 52-35=17
Exploring Operation: 68-52=16, Resulting Numbers: [35, 36, 16]
Generated Node #0,3: 33:[35, 36, 16] Operation: 68-52=16
Exploring Operation: 52-36=16, Resulting Numbers: [68, 35, 16]
Generated Node #0,4: 33:[68, 35, 16] Operation: 52-36=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[35, 36, 16], Operations: ['68-52=16']
Exploring Operation: 36+16=52, Resulting Numbers: [35, 52]
Generated Node #0,3,0: 33:[35, 52] Operation: 36+16=52
Exploring Operation: 36-16=20, Resulting Numbers: [35, 20]
Generated Node #0,3,1: 33:[35, 20] Operation: 36-16=20
Exploring Operation: 35+16=51, Resulting Numbers: [36, 51]
Generated Node #0,3,2: 33:[36, 51] Operation: 35+16=51
Exploring Operation: 36-35=1, Resulting Numbers: [16, 1]
Generated Node #0,3,3: 33:[16, 1] Operation: 36-35=1
Exploring Operation: 35-16=19, Resulting Numbers: [36, 19]
Generated Node #0,3,4: 33:[36, 19] Operation: 35-16=19
Moving to Node #0,3,3
Current State: 33:[16, 1], Operations: ['68-52=16', '36-35=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[36, 19], Operations: ['68-52=16', '35-16=19']
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,33 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[35, 20], Operations: ['68-52=16', '36-16=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,33 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[35, 52], Operations: ['68-52=16', '36+16=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,33 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[36, 51], Operations: ['68-52=16', '35+16=51']
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,33 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[35, 52, 32], Operations: ['68-36=32']
Exploring Operation: 52+32=84, Resulting Numbers: [35, 84]
Generated Node #0,0,0: 33:[35, 84] Operation: 52+32=84
Exploring Operation: 52-32=20, Resulting Numbers: [35, 20]
Generated Node #0,0,1: 33:[35, 20] Operation: 52-32=20
Exploring Operation: 35-32=3, Resulting Numbers: [52, 3]
Generated Node #0,0,2: 33:[52, 3] Operation: 35-32=3
Exploring Operation: 35+32=67, Resulting Numbers: [52, 67]
Generated Node #0,0,3: 33:[52, 67] Operation: 35+32=67
Exploring Operation: 52-35=17, Resulting Numbers: [32, 17]
Generated Node #0,0,4: 33:[32, 17] Operation: 52-35=17
Moving to Node #0,0,4
Current State: 33:[32, 17], Operations: ['68-36=32', '52-35=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,33 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[35, 20], Operations: ['68-36=32', '52-32=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,33 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[52, 3], Operations: ['68-36=32', '35-32=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,33 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[35, 84], Operations: ['68-36=32', '52+32=84']
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[52, 67], Operations: ['68-36=32', '35+32=67']
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,33 unequal: No Solution
No 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: 33:[36, 52, 33], Operations: ['68-35=33']
Exploring Operation: 52-36=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 33:[33, 16] Operation: 52-36=16
Exploring Operation: 36+33=69, Resulting Numbers: [52, 69]
Generated Node #0,1,1: 33:[52, 69] Operation: 36+33=69
Exploring Operation: 36+52=88, Resulting Numbers: [33, 88]
Generated Node #0,1,2: 33:[33, 88] Operation: 36+52=88
Exploring Operation: 52-33=19, Resulting Numbers: [36, 19]
Generated Node #0,1,3: 33:[36, 19] Operation: 52-33=19
Exploring Operation: 36-33=3, Resulting Numbers: [52, 3]
Generated Node #0,1,4: 33:[52, 3] Operation: 36-33=3
Moving to Node #0,1,0
Current State: 33:[33, 16], Operations: ['68-35=33', '52-36=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,33 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[36, 19], Operations: ['68-35=33', '52-33=19']
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,33 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[52, 3], Operations: ['68-35=33', '36-33=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,33 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[52, 69], Operations: ['68-35=33', '36+33=69']
Exploring Operation: 52+69=121, Resulting Numbers: [121]
121,33 unequal: No Solution
Exploring Operation: 52*69=3588, Resulting Numbers: [3588]
3588,33 unequal: No Solution
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[33, 88], Operations: ['68-35=33', '36+52=88']
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,33 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,33 unequal: No Solution
No 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: 33:[68, 35, 16], Operations: ['52-36=16']
Exploring Operation: 68-35=33, Resulting Numbers: [16, 33]
Generated Node #0,4,0: 33:[16, 33] Operation: 68-35=33
Exploring Operation: 35+16=51, Resulting Numbers: [68, 51]
Generated Node #0,4,1: 33:[68, 51] Operation: 35+16=51
Exploring Operation: 68-16=52, Resulting Numbers: [35, 52]
Generated Node #0,4,2: 33:[35, 52] Operation: 68-16=52
Exploring Operation: 68+16=84, Resulting Numbers: [35, 84]
Generated Node #0,4,3: 33:[35, 84] Operation: 68+16=84
Exploring Operation: 35-16=19, Resulting Numbers: [68, 19]
Generated Node #0,4,4: 33:[68, 19] Operation: 35-16=19
Moving to Node #0,4,0
Current State: 33:[16, 33], Operations: ['52-36=16', '68-35=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,33 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[35, 52], Operations: ['52-36=16', '68-16=52']
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[68, 19], Operations: ['52-36=16', '35-16=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[68, 51], Operations: ['52-36=16', '35+16=51']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[35, 84], Operations: ['52-36=16', '68+16=84']
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,33 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,33 unequal: No Solution
No 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: 33:[68, 36, 17], Operations: ['52-35=17']
Exploring Operation: 68-17=51, Resulting Numbers: [36, 51]
Generated Node #0,2,0: 33:[36, 51] Operation: 68-17=51
Exploring Operation: 68-36=32, Resulting Numbers: [17, 32]
Generated Node #0,2,1: 33:[17, 32] Operation: 68-36=32
Exploring Operation: 68/17=4, Resulting Numbers: [36, 4]
Generated Node #0,2,2: 33:[36, 4] Operation: 68/17=4
Exploring Operation: 68+17=85, Resulting Numbers: [36, 85]
Generated Node #0,2,3: 33:[36, 85] Operation: 68+17=85
Exploring Operation: 36-17=19, Resulting Numbers: [68, 19]
Generated Node #0,2,4: 33:[68, 19] Operation: 36-17=19
Moving to Node #0,2,2
Current State: 33:[36, 4], Operations: ['52-35=17', '68/17=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[17, 32], Operations: ['52-35=17', '68-36=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[36, 51], Operations: ['52-35=17', '68-17=51']
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,33 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[68, 19], Operations: ['52-35=17', '36-17=19']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[36, 85], Operations: ['52-35=17', '68+17=85']
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,33 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,33 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 |
[
77,
48,
40,
85
] | 43 | [
"85-77=8",
"40/8=5",
"48-5=43"
] | Current State: 43:[77, 48, 40, 85], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [48, 40, 8]
Generated Node #2: [48, 40, 8] from Operation: 85-77=8
Current State: 43:[48, 40, 8], Operations: ['85-77=8']
Exploring Operation: 40/8=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 40/8=5
Current State: 43:[48, 5], Operations: ['85-77=8', '40/8=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[77, 48, 40, 85], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [77, 40, 37]
Generated Node #0,0: 43:[77, 40, 37] Operation: 85-48=37
Exploring Operation: 85-77=8, Resulting Numbers: [48, 40, 8]
Generated Node #0,1: 43:[48, 40, 8] Operation: 85-77=8
Exploring Operation: 85-40=45, Resulting Numbers: [77, 48, 45]
Generated Node #0,2: 43:[77, 48, 45] Operation: 85-40=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[77, 48, 45], Operations: ['85-40=45']
Exploring Operation: 77-45=32, Resulting Numbers: [48, 32]
Generated Node #0,2,0: 43:[48, 32] Operation: 77-45=32
Exploring Operation: 48-45=3, Resulting Numbers: [77, 3]
Generated Node #0,2,1: 43:[77, 3] Operation: 48-45=3
Exploring Operation: 77-48=29, Resulting Numbers: [45, 29]
Generated Node #0,2,2: 43:[45, 29] Operation: 77-48=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[48, 32], Operations: ['85-40=45', '77-45=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[45, 29], Operations: ['85-40=45', '77-48=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,43 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[77, 3], Operations: ['85-40=45', '48-45=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[77, 40, 37], Operations: ['85-48=37']
Exploring Operation: 77-40=37, Resulting Numbers: [37, 37]
Generated Node #0,0,0: 43:[37, 37] Operation: 77-40=37
Exploring Operation: 77-37=40, Resulting Numbers: [40, 40]
Generated Node #0,0,1: 43:[40, 40] Operation: 77-37=40
Exploring Operation: 40+37=77, Resulting Numbers: [77, 77]
Generated Node #0,0,2: 43:[77, 77] Operation: 40+37=77
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[40, 40], Operations: ['85-48=37', '77-37=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[37, 37], Operations: ['85-48=37', '77-40=37']
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[77, 77], Operations: ['85-48=37', '40+37=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[48, 40, 8], Operations: ['85-77=8']
Exploring Operation: 40+8=48, Resulting Numbers: [48, 48]
Generated Node #0,1,0: 43:[48, 48] Operation: 40+8=48
Exploring Operation: 48+8=56, Resulting Numbers: [40, 56]
Generated Node #0,1,1: 43:[40, 56] Operation: 48+8=56
Exploring Operation: 48-8=40, Resulting Numbers: [40, 40]
Generated Node #0,1,2: 43:[40, 40] Operation: 48-8=40
Moving to Node #0,1,2
Current State: 43:[40, 40], Operations: ['85-77=8', '48-8=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[48, 48], Operations: ['85-77=8', '40+8=48']
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[40, 56], Operations: ['85-77=8', '48+8=56']
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,43 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,43 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 |
[
58,
40,
43,
80
] | 73 | [
"58*80=4640",
"4640/40=116",
"116-43=73"
] | Current State: 73:[58, 40, 43, 80], Operations: []
Exploring Operation: 58*80=4640, Resulting Numbers: [40, 43, 4640]
Generated Node #2: [40, 43, 4640] from Operation: 58*80=4640
Current State: 73:[40, 43, 4640], Operations: ['58*80=4640']
Exploring Operation: 4640/40=116, Resulting Numbers: [43, 116]
Generated Node #3: [43, 116] from Operation: 4640/40=116
Current State: 73:[43, 116], Operations: ['58*80=4640', '4640/40=116']
Exploring Operation: 116-43=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[58, 40, 43, 80], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [58, 40, 37]
Generated Node #0,0: 73:[58, 40, 37] Operation: 80-43=37
Exploring Operation: 80-40=40, Resulting Numbers: [58, 43, 40]
Generated Node #0,1: 73:[58, 43, 40] Operation: 80-40=40
Exploring Operation: 40+43=83, Resulting Numbers: [58, 80, 83]
Generated Node #0,2: 73:[58, 80, 83] Operation: 40+43=83
Exploring Operation: 58+40=98, Resulting Numbers: [43, 80, 98]
Generated Node #0,3: 73:[43, 80, 98] Operation: 58+40=98
Exploring Operation: 58+43=101, Resulting Numbers: [40, 80, 101]
Generated Node #0,4: 73:[40, 80, 101] Operation: 58+43=101
Moving to Node #0,2
Current State: 73:[58, 80, 83], Operations: ['40+43=83']
Exploring Operation: 83-58=25, Resulting Numbers: [80, 25]
Generated Node #0,2,0: 73:[80, 25] Operation: 83-58=25
Exploring Operation: 58+80=138, Resulting Numbers: [83, 138]
Generated Node #0,2,1: 73:[83, 138] Operation: 58+80=138
Exploring Operation: 83-80=3, Resulting Numbers: [58, 3]
Generated Node #0,2,2: 73:[58, 3] Operation: 83-80=3
Exploring Operation: 58+83=141, Resulting Numbers: [80, 141]
Generated Node #0,2,3: 73:[80, 141] Operation: 58+83=141
Exploring Operation: 80-58=22, Resulting Numbers: [83, 22]
Generated Node #0,2,4: 73:[83, 22] Operation: 80-58=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[80, 25], Operations: ['40+43=83', '83-58=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,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,4
Current State: 73:[83, 22], Operations: ['40+43=83', '80-58=22']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,73 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,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,1
Current State: 73:[83, 138], Operations: ['40+43=83', '58+80=138']
Exploring Operation: 83*138=11454, Resulting Numbers: [11454]
11454,73 unequal: No Solution
Exploring Operation: 138-83=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 83+138=221, Resulting Numbers: [221]
221,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,3
Current State: 73:[80, 141], Operations: ['40+43=83', '58+83=141']
Exploring Operation: 141-80=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 80+141=221, Resulting Numbers: [221]
221,73 unequal: No Solution
Exploring Operation: 80*141=11280, Resulting Numbers: [11280]
11280,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,2
Current State: 73:[58, 3], Operations: ['40+43=83', '83-80=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,73 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: 73:[43, 80, 98], Operations: ['58+40=98']
Exploring Operation: 43+98=141, Resulting Numbers: [80, 141]
Generated Node #0,3,0: 73:[80, 141] Operation: 43+98=141
Exploring Operation: 98-80=18, Resulting Numbers: [43, 18]
Generated Node #0,3,1: 73:[43, 18] Operation: 98-80=18
Exploring Operation: 80-43=37, Resulting Numbers: [98, 37]
Generated Node #0,3,2: 73:[98, 37] Operation: 80-43=37
Exploring Operation: 43+80=123, Resulting Numbers: [98, 123]
Generated Node #0,3,3: 73:[98, 123] Operation: 43+80=123
Exploring Operation: 98-43=55, Resulting Numbers: [80, 55]
Generated Node #0,3,4: 73:[80, 55] Operation: 98-43=55
Moving to Node #0,4
Current State: 73:[40, 80, 101], Operations: ['58+43=101']
Exploring Operation: 80-40=40, Resulting Numbers: [101, 40]
Generated Node #0,4,0: 73:[101, 40] Operation: 80-40=40
Exploring Operation: 40+80=120, Resulting Numbers: [101, 120]
Generated Node #0,4,1: 73:[101, 120] Operation: 40+80=120
Exploring Operation: 40+101=141, Resulting Numbers: [80, 141]
Generated Node #0,4,2: 73:[80, 141] Operation: 40+101=141
Exploring Operation: 101-40=61, Resulting Numbers: [80, 61]
Generated Node #0,4,3: 73:[80, 61] Operation: 101-40=61
Exploring Operation: 101-80=21, Resulting Numbers: [40, 21]
Generated Node #0,4,4: 73:[40, 21] Operation: 101-80=21
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[80, 61], Operations: ['58+43=101', '101-40=61']
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,73 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,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,4,0
Current State: 73:[101, 40], Operations: ['58+43=101', '80-40=40']
Exploring Operation: 101-40=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 101+40=141, Resulting Numbers: [141]
141,73 unequal: No Solution
Exploring Operation: 101*40=4040, Resulting Numbers: [4040]
4040,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,4,1
Current State: 73:[101, 120], Operations: ['58+43=101', '40+80=120']
Exploring Operation: 120-101=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 101+120=221, Resulting Numbers: [221]
221,73 unequal: No Solution
Exploring Operation: 101*120=12120, Resulting Numbers: [12120]
12120,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,4,2
Current State: 73:[80, 141], Operations: ['58+43=101', '40+101=141']
Exploring Operation: 80+141=221, Resulting Numbers: [221]
221,73 unequal: No Solution
Exploring Operation: 80*141=11280, Resulting Numbers: [11280]
11280,73 unequal: No Solution
Exploring Operation: 141-80=61, Resulting Numbers: [61]
61,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,4,4
Current State: 73:[40, 21], Operations: ['58+43=101', '101-80=21']
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,73 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[58, 43, 40], Operations: ['80-40=40']
Exploring Operation: 43-40=3, Resulting Numbers: [58, 3]
Generated Node #0,1,0: 73:[58, 3] Operation: 43-40=3
Exploring Operation: 43+40=83, Resulting Numbers: [58, 83]
Generated Node #0,1,1: 73:[58, 83] Operation: 43+40=83
Exploring Operation: 58+40=98, Resulting Numbers: [43, 98]
Generated Node #0,1,2: 73:[43, 98] Operation: 58+40=98
Exploring Operation: 58+43=101, Resulting Numbers: [40, 101]
Generated Node #0,1,3: 73:[40, 101] Operation: 58+43=101
Exploring Operation: 58-40=18, Resulting Numbers: [43, 18]
Generated Node #0,1,4: 73:[43, 18] Operation: 58-40=18
Moving to Node #0,0
Current State: 73:[58, 40, 37], Operations: ['80-43=37']
Exploring Operation: 40+37=77, Resulting Numbers: [58, 77]
Generated Node #0,0,0: 73:[58, 77] Operation: 40+37=77
Exploring Operation: 40-37=3, Resulting Numbers: [58, 3]
Generated Node #0,0,1: 73:[58, 3] Operation: 40-37=3
Exploring Operation: 58+37=95, Resulting Numbers: [40, 95]
Generated Node #0,0,2: 73:[40, 95] Operation: 58+37=95
Exploring Operation: 58-37=21, Resulting Numbers: [40, 21]
Generated Node #0,0,3: 73:[40, 21] Operation: 58-37=21
Exploring Operation: 58+40=98, Resulting Numbers: [37, 98]
Generated Node #0,0,4: 73:[37, 98] Operation: 58+40=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[58, 77], Operations: ['80-43=37', '40+37=77']
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[40, 95], Operations: ['80-43=37', '58+37=95']
Exploring Operation: 40*95=3800, Resulting Numbers: [3800]
3800,73 unequal: No Solution
Exploring Operation: 40+95=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 73:[37, 98], Operations: ['80-43=37', '58+40=98']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 37*98=3626, Resulting Numbers: [3626]
3626,73 unequal: No Solution
Exploring Operation: 37+98=135, Resulting Numbers: [135]
135,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[58, 3], Operations: ['80-43=37', '40-37=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[40, 21], Operations: ['80-43=37', '58-37=21']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,73 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 73:[80, 55], Operations: ['58+40=98', '98-43=55']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[58, 83], Operations: ['80-40=40', '43+40=83']
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,73 unequal: No Solution
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,73 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[43, 98], Operations: ['80-40=40', '58+40=98']
Exploring Operation: 43*98=4214, Resulting Numbers: [4214]
4214,73 unequal: No Solution
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 43+98=141, Resulting Numbers: [141]
141,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[98, 37], Operations: ['58+40=98', '80-43=37']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 98*37=3626, Resulting Numbers: [3626]
3626,73 unequal: No Solution
Exploring Operation: 98+37=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[40, 101], Operations: ['80-40=40', '58+43=101']
Exploring Operation: 40*101=4040, Resulting Numbers: [4040]
4040,73 unequal: No Solution
Exploring Operation: 101-40=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 40+101=141, Resulting Numbers: [141]
141,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[80, 141], Operations: ['58+40=98', '43+98=141']
Exploring Operation: 80+141=221, Resulting Numbers: [221]
221,73 unequal: No Solution
Exploring Operation: 141-80=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 80*141=11280, Resulting Numbers: [11280]
11280,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[98, 123], Operations: ['58+40=98', '43+80=123']
Exploring Operation: 98+123=221, Resulting Numbers: [221]
221,73 unequal: No Solution
Exploring Operation: 123-98=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 98*123=12054, Resulting Numbers: [12054]
12054,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[58, 3], Operations: ['80-40=40', '43-40=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[43, 18], Operations: ['80-40=40', '58-40=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[43, 18], Operations: ['58+40=98', '98-80=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,73 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,73 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
5,
27,
57
] | 54 | [
"5+57=62",
"62/31=2",
"27*2=54"
] | Current State: 54:[31, 5, 27, 57], Operations: []
Exploring Operation: 5+57=62, Resulting Numbers: [31, 27, 62]
Generated Node #2: [31, 27, 62] from Operation: 5+57=62
Current State: 54:[31, 27, 62], Operations: ['5+57=62']
Exploring Operation: 62/31=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 62/31=2
Current State: 54:[27, 2], Operations: ['5+57=62', '62/31=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[31, 5, 27, 57], Operations: []
Exploring Operation: 57-31=26, Resulting Numbers: [5, 27, 26]
Generated Node #0,0: 54:[5, 27, 26] Operation: 57-31=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[5, 27, 26], Operations: ['57-31=26']
Exploring Operation: 27+26=53, Resulting Numbers: [5, 53]
Generated Node #0,0,0: 54:[5, 53] Operation: 27+26=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[5, 53], Operations: ['57-31=26', '27+26=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,54 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 |
[
79,
50,
19,
93
] | 45 | [
"79-50=29",
"93-19=74",
"74-29=45"
] | Current State: 45:[79, 50, 19, 93], Operations: []
Exploring Operation: 79-50=29, Resulting Numbers: [19, 93, 29]
Generated Node #2: [19, 93, 29] from Operation: 79-50=29
Current State: 45:[19, 93, 29], Operations: ['79-50=29']
Exploring Operation: 93-19=74, Resulting Numbers: [29, 74]
Generated Node #3: [29, 74] from Operation: 93-19=74
Current State: 45:[29, 74], Operations: ['79-50=29', '93-19=74']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[79, 50, 19, 93], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [50, 19, 14]
Generated Node #0,0: 45:[50, 19, 14] Operation: 93-79=14
Exploring Operation: 79-19=60, Resulting Numbers: [50, 93, 60]
Generated Node #0,1: 45:[50, 93, 60] Operation: 79-19=60
Exploring Operation: 93-50=43, Resulting Numbers: [79, 19, 43]
Generated Node #0,2: 45:[79, 19, 43] Operation: 93-50=43
Exploring Operation: 79-50=29, Resulting Numbers: [19, 93, 29]
Generated Node #0,3: 45:[19, 93, 29] Operation: 79-50=29
Moving to Node #0,0
Current State: 45:[50, 19, 14], Operations: ['93-79=14']
Exploring Operation: 19+14=33, Resulting Numbers: [50, 33]
Generated Node #0,0,0: 45:[50, 33] Operation: 19+14=33
Exploring Operation: 50-14=36, Resulting Numbers: [19, 36]
Generated Node #0,0,1: 45:[19, 36] Operation: 50-14=36
Exploring Operation: 19-14=5, Resulting Numbers: [50, 5]
Generated Node #0,0,2: 45:[50, 5] Operation: 19-14=5
Exploring Operation: 50-19=31, Resulting Numbers: [14, 31]
Generated Node #0,0,3: 45:[14, 31] Operation: 50-19=31
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[50, 5], Operations: ['93-79=14', '19-14=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,45 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[79, 50, 19, 93], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [50, 19, 14]
Generated Node #0,0: 45:[50, 19, 14] Operation: 93-79=14
Moving to Node #0,0
Current State: 45:[50, 19, 14], Operations: ['93-79=14']
Exploring Operation: 19-14=5, Resulting Numbers: [50, 5]
Generated Node #0,0,2: 45:[50, 5] Operation: 19-14=5
Moving to Node #0,0,2
Current State: 45:[50, 5], Operations: ['93-79=14', '19-14=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
96,
91,
32,
75
] | 94 | [
"91-75=16",
"32/16=2",
"96-2=94"
] | Current State: 94:[96, 91, 32, 75], Operations: []
Exploring Operation: 91-75=16, Resulting Numbers: [96, 32, 16]
Generated Node #2: [96, 32, 16] from Operation: 91-75=16
Current State: 94:[96, 32, 16], Operations: ['91-75=16']
Exploring Operation: 32/16=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 32/16=2
Current State: 94:[96, 2], Operations: ['91-75=16', '32/16=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[96, 91, 32, 75], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [96, 91, 43]
Generated Node #0,0: 94:[96, 91, 43] Operation: 75-32=43
Exploring Operation: 32+75=107, Resulting Numbers: [96, 91, 107]
Generated Node #0,1: 94:[96, 91, 107] Operation: 32+75=107
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[96, 91, 43], Operations: ['75-32=43']
Exploring Operation: 96-91=5, Resulting Numbers: [43, 5]
Generated Node #0,0,0: 94:[43, 5] Operation: 96-91=5
Exploring Operation: 91-43=48, Resulting Numbers: [96, 48]
Generated Node #0,0,1: 94:[96, 48] Operation: 91-43=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[96, 48], Operations: ['75-32=43', '91-43=48']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[43, 5], Operations: ['75-32=43', '96-91=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[96, 91, 107], Operations: ['32+75=107']
Exploring Operation: 107-96=11, Resulting Numbers: [91, 11]
Generated Node #0,1,0: 94:[91, 11] Operation: 107-96=11
Exploring Operation: 96-91=5, Resulting Numbers: [107, 5]
Generated Node #0,1,1: 94:[107, 5] Operation: 96-91=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[91, 11], Operations: ['32+75=107', '107-96=11']
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[107, 5], Operations: ['32+75=107', '96-91=5']
Exploring Operation: 107-5=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 107+5=112, Resulting Numbers: [112]
112,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
33,
88,
45
] | 48 | [
"58+33=91",
"88-45=43",
"91-43=48"
] | Current State: 48:[58, 33, 88, 45], Operations: []
Exploring Operation: 58+33=91, Resulting Numbers: [88, 45, 91]
Generated Node #2: [88, 45, 91] from Operation: 58+33=91
Current State: 48:[88, 45, 91], Operations: ['58+33=91']
Exploring Operation: 88-45=43, Resulting Numbers: [91, 43]
Generated Node #3: [91, 43] from Operation: 88-45=43
Current State: 48:[91, 43], Operations: ['58+33=91', '88-45=43']
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[58, 33, 88, 45], Operations: []
Exploring Operation: 88-33=55, Resulting Numbers: [58, 45, 55]
Generated Node #0,0: 48:[58, 45, 55] Operation: 88-33=55
Exploring Operation: 88-58=30, Resulting Numbers: [33, 45, 30]
Generated Node #0,1: 48:[33, 45, 30] Operation: 88-58=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[33, 45, 30], Operations: ['88-58=30']
Exploring Operation: 33-30=3, Resulting Numbers: [45, 3]
Generated Node #0,1,0: 48:[45, 3] Operation: 33-30=3
Exploring Operation: 45-33=12, Resulting Numbers: [30, 12]
Generated Node #0,1,1: 48:[30, 12] Operation: 45-33=12
Moving to Node #0,1,0
Current State: 48:[45, 3], Operations: ['88-58=30', '33-30=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[58, 33, 88, 45], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [33, 45, 30]
Generated Node #0,1: 48:[33, 45, 30] Operation: 88-58=30
Moving to Node #0,1
Current State: 48:[33, 45, 30], Operations: ['88-58=30']
Exploring Operation: 33-30=3, Resulting Numbers: [45, 3]
Generated Node #0,1,0: 48:[45, 3] Operation: 33-30=3
Moving to Node #0,1,0
Current State: 48:[45, 3], Operations: ['88-58=30', '33-30=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
43,
74,
36,
91
] | 62 | [
"43+74=117",
"91-36=55",
"117-55=62"
] | Current State: 62:[43, 74, 36, 91], Operations: []
Exploring Operation: 43+74=117, Resulting Numbers: [36, 91, 117]
Generated Node #2: [36, 91, 117] from Operation: 43+74=117
Current State: 62:[36, 91, 117], Operations: ['43+74=117']
Exploring Operation: 91-36=55, Resulting Numbers: [117, 55]
Generated Node #3: [117, 55] from Operation: 91-36=55
Current State: 62:[117, 55], Operations: ['43+74=117', '91-36=55']
Exploring Operation: 117-55=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[43, 74, 36, 91], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [74, 36, 48]
Generated Node #0,0: 62:[74, 36, 48] Operation: 91-43=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[74, 36, 48], Operations: ['91-43=48']
Exploring Operation: 74-48=26, Resulting Numbers: [36, 26]
Generated Node #0,0,0: 62:[36, 26] Operation: 74-48=26
Moving to Node #0,0,0
Current State: 62:[36, 26], Operations: ['91-43=48', '74-48=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[43, 74, 36, 91], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [74, 36, 48]
Generated Node #0,0: 62:[74, 36, 48] Operation: 91-43=48
Moving to Node #0,0
Current State: 62:[74, 36, 48], Operations: ['91-43=48']
Exploring Operation: 74-48=26, Resulting Numbers: [36, 26]
Generated Node #0,0,0: 62:[36, 26] Operation: 74-48=26
Moving to Node #0,0,0
Current State: 62:[36, 26], Operations: ['91-43=48', '74-48=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
28,
73,
36,
94
] | 29 | [
"28+73=101",
"36+94=130",
"130-101=29"
] | Current State: 29:[28, 73, 36, 94], Operations: []
Exploring Operation: 28+73=101, Resulting Numbers: [36, 94, 101]
Generated Node #2: [36, 94, 101] from Operation: 28+73=101
Current State: 29:[36, 94, 101], Operations: ['28+73=101']
Exploring Operation: 36+94=130, Resulting Numbers: [101, 130]
Generated Node #3: [101, 130] from Operation: 36+94=130
Current State: 29:[101, 130], Operations: ['28+73=101', '36+94=130']
Exploring Operation: 130-101=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[28, 73, 36, 94], Operations: []
Exploring Operation: 73-28=45, Resulting Numbers: [36, 94, 45]
Generated Node #0,0: 29:[36, 94, 45] Operation: 73-28=45
Exploring Operation: 73-36=37, Resulting Numbers: [28, 94, 37]
Generated Node #0,1: 29:[28, 94, 37] Operation: 73-36=37
Exploring Operation: 94-36=58, Resulting Numbers: [28, 73, 58]
Generated Node #0,2: 29:[28, 73, 58] Operation: 94-36=58
Exploring Operation: 94-73=21, Resulting Numbers: [28, 36, 21]
Generated Node #0,3: 29:[28, 36, 21] Operation: 94-73=21
Exploring Operation: 94-28=66, Resulting Numbers: [73, 36, 66]
Generated Node #0,4: 29:[73, 36, 66] Operation: 94-28=66
Moving to Node #0,3
Current State: 29:[28, 36, 21], Operations: ['94-73=21']
Exploring Operation: 28-21=7, Resulting Numbers: [36, 7]
Generated Node #0,3,0: 29:[36, 7] Operation: 28-21=7
Exploring Operation: 36-21=15, Resulting Numbers: [28, 15]
Generated Node #0,3,1: 29:[28, 15] Operation: 36-21=15
Exploring Operation: 36-28=8, Resulting Numbers: [21, 8]
Generated Node #0,3,2: 29:[21, 8] Operation: 36-28=8
Exploring Operation: 28+21=49, Resulting Numbers: [36, 49]
Generated Node #0,3,3: 29:[36, 49] Operation: 28+21=49
Exploring Operation: 36+21=57, Resulting Numbers: [28, 57]
Generated Node #0,3,4: 29:[28, 57] Operation: 36+21=57
Moving to Node #0,2
Current State: 29:[28, 73, 58], Operations: ['94-36=58']
Exploring Operation: 28+58=86, Resulting Numbers: [73, 86]
Generated Node #0,2,0: 29:[73, 86] Operation: 28+58=86
Exploring Operation: 73-28=45, Resulting Numbers: [58, 45]
Generated Node #0,2,1: 29:[58, 45] Operation: 73-28=45
Exploring Operation: 58-28=30, Resulting Numbers: [73, 30]
Generated Node #0,2,2: 29:[73, 30] Operation: 58-28=30
Exploring Operation: 73-58=15, Resulting Numbers: [28, 15]
Generated Node #0,2,3: 29:[28, 15] Operation: 73-58=15
Exploring Operation: 28+73=101, Resulting Numbers: [58, 101]
Generated Node #0,2,4: 29:[58, 101] Operation: 28+73=101
Moving to Node #0,1
Current State: 29:[28, 94, 37], Operations: ['73-36=37']
Exploring Operation: 94-37=57, Resulting Numbers: [28, 57]
Generated Node #0,1,0: 29:[28, 57] Operation: 94-37=57
Exploring Operation: 37-28=9, Resulting Numbers: [94, 9]
Generated Node #0,1,1: 29:[94, 9] Operation: 37-28=9
Exploring Operation: 28+94=122, Resulting Numbers: [37, 122]
Generated Node #0,1,2: 29:[37, 122] Operation: 28+94=122
Exploring Operation: 94-28=66, Resulting Numbers: [37, 66]
Generated Node #0,1,3: 29:[37, 66] Operation: 94-28=66
Exploring Operation: 28+37=65, Resulting Numbers: [94, 65]
Generated Node #0,1,4: 29:[94, 65] Operation: 28+37=65
Moving to Node #0,0
Current State: 29:[36, 94, 45], Operations: ['73-28=45']
Exploring Operation: 94-45=49, Resulting Numbers: [36, 49]
Generated Node #0,0,0: 29:[36, 49] Operation: 94-45=49
Exploring Operation: 94-36=58, Resulting Numbers: [45, 58]
Generated Node #0,0,1: 29:[45, 58] Operation: 94-36=58
Exploring Operation: 36+45=81, Resulting Numbers: [94, 81]
Generated Node #0,0,2: 29:[94, 81] Operation: 36+45=81
Exploring Operation: 36+94=130, Resulting Numbers: [45, 130]
Generated Node #0,0,3: 29:[45, 130] Operation: 36+94=130
Exploring Operation: 45-36=9, Resulting Numbers: [94, 9]
Generated Node #0,0,4: 29:[94, 9] Operation: 45-36=9
Moving to Node #0,4
Current State: 29:[73, 36, 66], Operations: ['94-28=66']
Exploring Operation: 73-66=7, Resulting Numbers: [36, 7]
Generated Node #0,4,0: 29:[36, 7] Operation: 73-66=7
Exploring Operation: 73+66=139, Resulting Numbers: [36, 139]
Generated Node #0,4,1: 29:[36, 139] Operation: 73+66=139
Exploring Operation: 73+36=109, Resulting Numbers: [66, 109]
Generated Node #0,4,2: 29:[66, 109] Operation: 73+36=109
Exploring Operation: 73-36=37, Resulting Numbers: [66, 37]
Generated Node #0,4,3: 29:[66, 37] Operation: 73-36=37
Exploring Operation: 66-36=30, Resulting Numbers: [73, 30]
Generated Node #0,4,4: 29:[73, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[36, 7], Operations: ['94-28=66', '73-66=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,29 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[28, 73, 36, 94], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [73, 36, 66]
Generated Node #0,4: 29:[73, 36, 66] Operation: 94-28=66
Moving to Node #0,4
Current State: 29:[73, 36, 66], Operations: ['94-28=66']
Exploring Operation: 73-66=7, Resulting Numbers: [36, 7]
Generated Node #0,4,0: 29:[36, 7] Operation: 73-66=7
Moving to Node #0,4,0
Current State: 29:[36, 7], Operations: ['94-28=66', '73-66=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
78,
24,
48,
69
] | 36 | [
"48+69=117",
"24*117=2808",
"2808/78=36"
] | Current State: 36:[78, 24, 48, 69], Operations: []
Exploring Operation: 48+69=117, Resulting Numbers: [78, 24, 117]
Generated Node #2: [78, 24, 117] from Operation: 48+69=117
Current State: 36:[78, 24, 117], Operations: ['48+69=117']
Exploring Operation: 24*117=2808, Resulting Numbers: [78, 2808]
Generated Node #3: [78, 2808] from Operation: 24*117=2808
Current State: 36:[78, 2808], Operations: ['48+69=117', '24*117=2808']
Exploring Operation: 2808/78=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[78, 24, 48, 69], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [78, 48, 45]
Generated Node #0,0: 36:[78, 48, 45] Operation: 69-24=45
Exploring Operation: 78-48=30, Resulting Numbers: [24, 69, 30]
Generated Node #0,1: 36:[24, 69, 30] Operation: 78-48=30
Exploring Operation: 78-69=9, Resulting Numbers: [24, 48, 9]
Generated Node #0,2: 36:[24, 48, 9] Operation: 78-69=9
Exploring Operation: 78-24=54, Resulting Numbers: [48, 69, 54]
Generated Node #0,3: 36:[48, 69, 54] Operation: 78-24=54
Exploring Operation: 69-48=21, Resulting Numbers: [78, 24, 21]
Generated Node #0,4: 36:[78, 24, 21] Operation: 69-48=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[24, 48, 9], Operations: ['78-69=9']
Exploring Operation: 48-9=39, Resulting Numbers: [24, 39]
Generated Node #0,2,0: 36:[24, 39] Operation: 48-9=39
Exploring Operation: 24-9=15, Resulting Numbers: [48, 15]
Generated Node #0,2,1: 36:[48, 15] Operation: 24-9=15
Exploring Operation: 48/24=2, Resulting Numbers: [9, 2]
Generated Node #0,2,2: 36:[9, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [9, 24]
Generated Node #0,2,3: 36:[9, 24] Operation: 48-24=24
Exploring Operation: 24+9=33, Resulting Numbers: [48, 33]
Generated Node #0,2,4: 36:[48, 33] Operation: 24+9=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[9, 2], Operations: ['78-69=9', '48/24=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,36 unequal: No Solution
No 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: 36:[9, 24], Operations: ['78-69=9', '48-24=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,36 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,36 unequal: No Solution
No 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: 36:[24, 39], Operations: ['78-69=9', '48-9=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,36 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,36 unequal: No Solution
No 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: 36:[48, 15], Operations: ['78-69=9', '24-9=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 36:[48, 33], Operations: ['78-69=9', '24+9=33']
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,36 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,36 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: 36:[24, 69, 30], Operations: ['78-48=30']
Exploring Operation: 24+69=93, Resulting Numbers: [30, 93]
Generated Node #0,1,0: 36:[30, 93] Operation: 24+69=93
Exploring Operation: 30-24=6, Resulting Numbers: [69, 6]
Generated Node #0,1,1: 36:[69, 6] Operation: 30-24=6
Exploring Operation: 69-24=45, Resulting Numbers: [30, 45]
Generated Node #0,1,2: 36:[30, 45] Operation: 69-24=45
Exploring Operation: 24+30=54, Resulting Numbers: [69, 54]
Generated Node #0,1,3: 36:[69, 54] Operation: 24+30=54
Exploring Operation: 69-30=39, Resulting Numbers: [24, 39]
Generated Node #0,1,4: 36:[24, 39] Operation: 69-30=39
Moving to Node #0,1,4
Current State: 36:[24, 39], Operations: ['78-48=30', '69-30=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,36 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[30, 45], Operations: ['78-48=30', '69-24=45']
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,36 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[69, 6], Operations: ['78-48=30', '30-24=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,36 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[69, 54], Operations: ['78-48=30', '24+30=54']
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,36 unequal: No Solution
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,36 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[30, 93], Operations: ['78-48=30', '24+69=93']
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 30*93=2790, Resulting Numbers: [2790]
2790,36 unequal: No Solution
Exploring Operation: 30+93=123, Resulting Numbers: [123]
123,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[78, 24, 21], Operations: ['69-48=21']
Exploring Operation: 24+21=45, Resulting Numbers: [78, 45]
Generated Node #0,4,0: 36:[78, 45] Operation: 24+21=45
Exploring Operation: 78-21=57, Resulting Numbers: [24, 57]
Generated Node #0,4,1: 36:[24, 57] Operation: 78-21=57
Exploring Operation: 78-24=54, Resulting Numbers: [21, 54]
Generated Node #0,4,2: 36:[21, 54] Operation: 78-24=54
Exploring Operation: 24-21=3, Resulting Numbers: [78, 3]
Generated Node #0,4,3: 36:[78, 3] Operation: 24-21=3
Exploring Operation: 78+24=102, Resulting Numbers: [21, 102]
Generated Node #0,4,4: 36:[21, 102] Operation: 78+24=102
Moving to Node #0,4,2
Current State: 36:[21, 54], Operations: ['69-48=21', '78-24=54']
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[24, 57], Operations: ['69-48=21', '78-21=57']
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,36 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[78, 3], Operations: ['69-48=21', '24-21=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[78, 45], Operations: ['69-48=21', '24+21=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,36 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[21, 102], Operations: ['69-48=21', '78+24=102']
Exploring Operation: 21*102=2142, Resulting Numbers: [2142]
2142,36 unequal: No Solution
Exploring Operation: 21+102=123, Resulting Numbers: [123]
123,36 unequal: No Solution
Exploring Operation: 102-21=81, Resulting Numbers: [81]
81,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[78, 48, 45], Operations: ['69-24=45']
Exploring Operation: 48-45=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 36:[78, 3] Operation: 48-45=3
Exploring Operation: 78+45=123, Resulting Numbers: [48, 123]
Generated Node #0,0,1: 36:[48, 123] Operation: 78+45=123
Exploring Operation: 78+48=126, Resulting Numbers: [45, 126]
Generated Node #0,0,2: 36:[45, 126] Operation: 78+48=126
Exploring Operation: 78-48=30, Resulting Numbers: [45, 30]
Generated Node #0,0,3: 36:[45, 30] Operation: 78-48=30
Exploring Operation: 78-45=33, Resulting Numbers: [48, 33]
Generated Node #0,0,4: 36:[48, 33] Operation: 78-45=33
Moving to Node #0,0,3
Current State: 36:[45, 30], Operations: ['69-24=45', '78-48=30']
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,36 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[48, 33], Operations: ['69-24=45', '78-45=33']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[78, 3], Operations: ['69-24=45', '48-45=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,36 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[48, 123], Operations: ['69-24=45', '78+45=123']
Exploring Operation: 123-48=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 48+123=171, Resulting Numbers: [171]
171,36 unequal: No Solution
Exploring Operation: 48*123=5904, Resulting Numbers: [5904]
5904,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[45, 126], Operations: ['69-24=45', '78+48=126']
Exploring Operation: 126-45=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 45*126=5670, Resulting Numbers: [5670]
5670,36 unequal: No Solution
Exploring Operation: 45+126=171, Resulting Numbers: [171]
171,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[48, 69, 54], Operations: ['78-24=54']
Exploring Operation: 54-48=6, Resulting Numbers: [69, 6]
Generated Node #0,3,0: 36:[69, 6] Operation: 54-48=6
Exploring Operation: 69-54=15, Resulting Numbers: [48, 15]
Generated Node #0,3,1: 36:[48, 15] Operation: 69-54=15
Exploring Operation: 48+54=102, Resulting Numbers: [69, 102]
Generated Node #0,3,2: 36:[69, 102] Operation: 48+54=102
Exploring Operation: 69-48=21, Resulting Numbers: [54, 21]
Generated Node #0,3,3: 36:[54, 21] Operation: 69-48=21
Exploring Operation: 48+69=117, Resulting Numbers: [54, 117]
Generated Node #0,3,4: 36:[54, 117] Operation: 48+69=117
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[48, 15], Operations: ['78-24=54', '69-54=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No 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: 36:[54, 21], Operations: ['78-24=54', '69-48=21']
Exploring Operation: 54*21=1134, Resulting Numbers: [1134]
1134,36 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,36 unequal: No Solution
No 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: 36:[69, 6], Operations: ['78-24=54', '54-48=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,36 unequal: No Solution
No 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: 36:[69, 102], Operations: ['78-24=54', '48+54=102']
Exploring Operation: 69*102=7038, Resulting Numbers: [7038]
7038,36 unequal: No Solution
Exploring Operation: 102-69=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 69+102=171, Resulting Numbers: [171]
171,36 unequal: No Solution
No 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: 36:[54, 117], Operations: ['78-24=54', '48+69=117']
Exploring Operation: 54+117=171, Resulting Numbers: [171]
171,36 unequal: No Solution
Exploring Operation: 117-54=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 54*117=6318, Resulting Numbers: [6318]
6318,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
57,
65,
10,
49
] | 20 | [
"65+49=114",
"114/57=2",
"10*2=20"
] | Current State: 20:[57, 65, 10, 49], Operations: []
Exploring Operation: 65+49=114, Resulting Numbers: [57, 10, 114]
Generated Node #2: [57, 10, 114] from Operation: 65+49=114
Current State: 20:[57, 10, 114], Operations: ['65+49=114']
Exploring Operation: 114/57=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 114/57=2
Current State: 20:[10, 2], Operations: ['65+49=114', '114/57=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[57, 65, 10, 49], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [57, 49, 55]
Generated Node #0,0: 20:[57, 49, 55] Operation: 65-10=55
Exploring Operation: 57-49=8, Resulting Numbers: [65, 10, 8]
Generated Node #0,1: 20:[65, 10, 8] Operation: 57-49=8
Exploring Operation: 65-57=8, Resulting Numbers: [10, 49, 8]
Generated Node #0,2: 20:[10, 49, 8] Operation: 65-57=8
Exploring Operation: 57-10=47, Resulting Numbers: [65, 49, 47]
Generated Node #0,3: 20:[65, 49, 47] Operation: 57-10=47
Exploring Operation: 65-49=16, Resulting Numbers: [57, 10, 16]
Generated Node #0,4: 20:[57, 10, 16] Operation: 65-49=16
Moving to Node #0,2
Current State: 20:[10, 49, 8], Operations: ['65-57=8']
Exploring Operation: 49-10=39, Resulting Numbers: [8, 39]
Generated Node #0,2,0: 20:[8, 39] Operation: 49-10=39
Exploring Operation: 49-8=41, Resulting Numbers: [10, 41]
Generated Node #0,2,1: 20:[10, 41] Operation: 49-8=41
Exploring Operation: 10+8=18, Resulting Numbers: [49, 18]
Generated Node #0,2,2: 20:[49, 18] Operation: 10+8=18
Exploring Operation: 10-8=2, Resulting Numbers: [49, 2]
Generated Node #0,2,3: 20:[49, 2] Operation: 10-8=2
Exploring Operation: 49+8=57, Resulting Numbers: [10, 57]
Generated Node #0,2,4: 20:[10, 57] Operation: 49+8=57
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[8, 39], Operations: ['65-57=8', '49-10=39']
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,20 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[10, 41], Operations: ['65-57=8', '49-8=41']
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,20 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[49, 2], Operations: ['65-57=8', '10-8=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,20 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[49, 18], Operations: ['65-57=8', '10+8=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[10, 57], Operations: ['65-57=8', '49+8=57']
Exploring Operation: 10*57=570, Resulting Numbers: [570]
570,20 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 10+57=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 20:[57, 10, 16], Operations: ['65-49=16']
Exploring Operation: 16-10=6, Resulting Numbers: [57, 6]
Generated Node #0,4,0: 20:[57, 6] Operation: 16-10=6
Exploring Operation: 57-16=41, Resulting Numbers: [10, 41]
Generated Node #0,4,1: 20:[10, 41] Operation: 57-16=41
Exploring Operation: 57-10=47, Resulting Numbers: [16, 47]
Generated Node #0,4,2: 20:[16, 47] Operation: 57-10=47
Exploring Operation: 10+16=26, Resulting Numbers: [57, 26]
Generated Node #0,4,3: 20:[57, 26] Operation: 10+16=26
Exploring Operation: 57+10=67, Resulting Numbers: [16, 67]
Generated Node #0,4,4: 20:[16, 67] Operation: 57+10=67
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 20:[10, 41], Operations: ['65-49=16', '57-16=41']
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,20 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[16, 47], Operations: ['65-49=16', '57-10=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[57, 6], Operations: ['65-49=16', '16-10=6']
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[57, 26], Operations: ['65-49=16', '10+16=26']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[16, 67], Operations: ['65-49=16', '57+10=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[65, 10, 8], Operations: ['57-49=8']
Exploring Operation: 65-10=55, Resulting Numbers: [8, 55]
Generated Node #0,1,0: 20:[8, 55] Operation: 65-10=55
Exploring Operation: 65+8=73, Resulting Numbers: [10, 73]
Generated Node #0,1,1: 20:[10, 73] Operation: 65+8=73
Exploring Operation: 10-8=2, Resulting Numbers: [65, 2]
Generated Node #0,1,2: 20:[65, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [65, 18]
Generated Node #0,1,3: 20:[65, 18] Operation: 10+8=18
Exploring Operation: 65-8=57, Resulting Numbers: [10, 57]
Generated Node #0,1,4: 20:[10, 57] Operation: 65-8=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[8, 55], Operations: ['57-49=8', '65-10=55']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 8*55=440, Resulting Numbers: [440]
440,20 unequal: No Solution
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[10, 57], Operations: ['57-49=8', '65-8=57']
Exploring Operation: 10*57=570, Resulting Numbers: [570]
570,20 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 10+57=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[65, 2], Operations: ['57-49=8', '10-8=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[65, 18], Operations: ['57-49=8', '10+8=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[10, 73], Operations: ['57-49=8', '65+8=73']
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,20 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 20:[57, 49, 55], Operations: ['65-10=55']
Exploring Operation: 57-49=8, Resulting Numbers: [55, 8]
Generated Node #0,0,0: 20:[55, 8] Operation: 57-49=8
Exploring Operation: 57+55=112, Resulting Numbers: [49, 112]
Generated Node #0,0,1: 20:[49, 112] Operation: 57+55=112
Exploring Operation: 57+49=106, Resulting Numbers: [55, 106]
Generated Node #0,0,2: 20:[55, 106] Operation: 57+49=106
Exploring Operation: 55-49=6, Resulting Numbers: [57, 6]
Generated Node #0,0,3: 20:[57, 6] Operation: 55-49=6
Exploring Operation: 57-55=2, Resulting Numbers: [49, 2]
Generated Node #0,0,4: 20:[49, 2] Operation: 57-55=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[49, 2], Operations: ['65-10=55', '57-55=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,20 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[55, 8], Operations: ['65-10=55', '57-49=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[57, 6], Operations: ['65-10=55', '55-49=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[49, 112], Operations: ['65-10=55', '57+55=112']
Exploring Operation: 49*112=5488, Resulting Numbers: [5488]
5488,20 unequal: No Solution
Exploring Operation: 112-49=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 49+112=161, Resulting Numbers: [161]
161,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[55, 106], Operations: ['65-10=55', '57+49=106']
Exploring Operation: 106-55=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 55+106=161, Resulting Numbers: [161]
161,20 unequal: No Solution
Exploring Operation: 55*106=5830, Resulting Numbers: [5830]
5830,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 20:[65, 49, 47], Operations: ['57-10=47']
Exploring Operation: 65-47=18, Resulting Numbers: [49, 18]
Generated Node #0,3,0: 20:[49, 18] Operation: 65-47=18
Exploring Operation: 49-47=2, Resulting Numbers: [65, 2]
Generated Node #0,3,1: 20:[65, 2] Operation: 49-47=2
Exploring Operation: 65-49=16, Resulting Numbers: [47, 16]
Generated Node #0,3,2: 20:[47, 16] Operation: 65-49=16
Exploring Operation: 65+49=114, Resulting Numbers: [47, 114]
Generated Node #0,3,3: 20:[47, 114] Operation: 65+49=114
Exploring Operation: 65+47=112, Resulting Numbers: [49, 112]
Generated Node #0,3,4: 20:[49, 112] Operation: 65+47=112
Moving to Node #0,3,0
Current State: 20:[49, 18], Operations: ['57-10=47', '65-47=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[47, 16], Operations: ['57-10=47', '65-49=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,20 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[65, 2], Operations: ['57-10=47', '49-47=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[47, 114], Operations: ['57-10=47', '65+49=114']
Exploring Operation: 47+114=161, Resulting Numbers: [161]
161,20 unequal: No Solution
Exploring Operation: 47*114=5358, Resulting Numbers: [5358]
5358,20 unequal: No Solution
Exploring Operation: 114-47=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[49, 112], Operations: ['57-10=47', '65+47=112']
Exploring Operation: 49*112=5488, Resulting Numbers: [5488]
5488,20 unequal: No Solution
Exploring Operation: 112-49=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 49+112=161, Resulting Numbers: [161]
161,20 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
45,
5,
63
] | 73 | [
"45/5=9",
"63/9=7",
"66+7=73"
] | Current State: 73:[66, 45, 5, 63], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [66, 63, 9]
Generated Node #2: [66, 63, 9] from Operation: 45/5=9
Current State: 73:[66, 63, 9], Operations: ['45/5=9']
Exploring Operation: 63/9=7, Resulting Numbers: [66, 7]
Generated Node #3: [66, 7] from Operation: 63/9=7
Current State: 73:[66, 7], Operations: ['45/5=9', '63/9=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[66, 45, 5, 63], Operations: []
Exploring Operation: 66+5=71, Resulting Numbers: [45, 63, 71]
Generated Node #0,0: 73:[45, 63, 71] Operation: 66+5=71
Exploring Operation: 45+5=50, Resulting Numbers: [66, 63, 50]
Generated Node #0,1: 73:[66, 63, 50] Operation: 45+5=50
Exploring Operation: 5+63=68, Resulting Numbers: [66, 45, 68]
Generated Node #0,2: 73:[66, 45, 68] Operation: 5+63=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[45, 63, 71], Operations: ['66+5=71']
Exploring Operation: 45+71=116, Resulting Numbers: [63, 116]
Generated Node #0,0,0: 73:[63, 116] Operation: 45+71=116
Exploring Operation: 45+63=108, Resulting Numbers: [71, 108]
Generated Node #0,0,1: 73:[71, 108] Operation: 45+63=108
Exploring Operation: 63-45=18, Resulting Numbers: [71, 18]
Generated Node #0,0,2: 73:[71, 18] Operation: 63-45=18
Moving to Node #0,0,1
Current State: 73:[71, 108], Operations: ['66+5=71', '45+63=108']
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 71+108=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 71*108=7668, Resulting Numbers: [7668]
7668,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[63, 116], Operations: ['66+5=71', '45+71=116']
Exploring Operation: 63*116=7308, Resulting Numbers: [7308]
7308,73 unequal: No Solution
Exploring Operation: 116-63=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 63+116=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[71, 18], Operations: ['66+5=71', '63-45=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[66, 63, 50], Operations: ['45+5=50']
Exploring Operation: 66+50=116, Resulting Numbers: [63, 116]
Generated Node #0,1,0: 73:[63, 116] Operation: 66+50=116
Exploring Operation: 66-50=16, Resulting Numbers: [63, 16]
Generated Node #0,1,1: 73:[63, 16] Operation: 66-50=16
Exploring Operation: 63+50=113, Resulting Numbers: [66, 113]
Generated Node #0,1,2: 73:[66, 113] Operation: 63+50=113
Moving to Node #0,1,2
Current State: 73:[66, 113], Operations: ['45+5=50', '63+50=113']
Exploring Operation: 66*113=7458, Resulting Numbers: [7458]
7458,73 unequal: No Solution
Exploring Operation: 66+113=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 113-66=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[63, 116], Operations: ['45+5=50', '66+50=116']
Exploring Operation: 116-63=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 63+116=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 63*116=7308, Resulting Numbers: [7308]
7308,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[63, 16], Operations: ['45+5=50', '66-50=16']
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,73 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,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:[66, 45, 68], Operations: ['5+63=68']
Exploring Operation: 45+68=113, Resulting Numbers: [66, 113]
Generated Node #0,2,0: 73:[66, 113] Operation: 45+68=113
Exploring Operation: 66-45=21, Resulting Numbers: [68, 21]
Generated Node #0,2,1: 73:[68, 21] Operation: 66-45=21
Exploring Operation: 66+45=111, Resulting Numbers: [68, 111]
Generated Node #0,2,2: 73:[68, 111] Operation: 66+45=111
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[68, 111], Operations: ['5+63=68', '66+45=111']
Exploring Operation: 111-68=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 68*111=7548, Resulting Numbers: [7548]
7548,73 unequal: No Solution
Exploring Operation: 68+111=179, Resulting Numbers: [179]
179,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,2,0
Current State: 73:[66, 113], Operations: ['5+63=68', '45+68=113']
Exploring Operation: 66+113=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 113-66=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 66*113=7458, Resulting Numbers: [7458]
7458,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,2,1
Current State: 73:[68, 21], Operations: ['5+63=68', '66-45=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,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_3 | mult_heuristic |
[
25,
70,
6,
19
] | 11 | [
"25+70=95",
"95/19=5",
"6+5=11"
] | Current State: 11:[25, 70, 6, 19], Operations: []
Exploring Operation: 25+70=95, Resulting Numbers: [6, 19, 95]
Generated Node #2: [6, 19, 95] from Operation: 25+70=95
Current State: 11:[6, 19, 95], Operations: ['25+70=95']
Exploring Operation: 95/19=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 95/19=5
Current State: 11:[6, 5], Operations: ['25+70=95', '95/19=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[25, 70, 6, 19], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [6, 19, 45]
Generated Node #0,0: 11:[6, 19, 45] Operation: 70-25=45
Exploring Operation: 70-19=51, Resulting Numbers: [25, 6, 51]
Generated Node #0,1: 11:[25, 6, 51] Operation: 70-19=51
Moving to Node #0,0
Current State: 11:[6, 19, 45], Operations: ['70-25=45']
Exploring Operation: 19-6=13, Resulting Numbers: [45, 13]
Generated Node #0,0,0: 11:[45, 13] Operation: 19-6=13
Exploring Operation: 45-19=26, Resulting Numbers: [6, 26]
Generated Node #0,0,1: 11:[6, 26] Operation: 45-19=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[6, 26], Operations: ['70-25=45', '45-19=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[45, 13], Operations: ['70-25=45', '19-6=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 11:[25, 6, 51], Operations: ['70-19=51']
Exploring Operation: 25-6=19, Resulting Numbers: [51, 19]
Generated Node #0,1,0: 11:[51, 19] Operation: 25-6=19
Exploring Operation: 51-25=26, Resulting Numbers: [6, 26]
Generated Node #0,1,1: 11:[6, 26] Operation: 51-25=26
Moving to Node #0,1,1
Current State: 11:[6, 26], Operations: ['70-19=51', '51-25=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[51, 19], Operations: ['70-19=51', '25-6=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
63,
87,
37
] | 53 | [
"66-63=3",
"87-37=50",
"3+50=53"
] | Current State: 53:[66, 63, 87, 37], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [87, 37, 3]
Generated Node #2: [87, 37, 3] from Operation: 66-63=3
Current State: 53:[87, 37, 3], Operations: ['66-63=3']
Exploring Operation: 87-37=50, Resulting Numbers: [3, 50]
Generated Node #3: [3, 50] from Operation: 87-37=50
Current State: 53:[3, 50], Operations: ['66-63=3', '87-37=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[66, 63, 87, 37], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [66, 63, 50]
Generated Node #0,0: 53:[66, 63, 50] Operation: 87-37=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[66, 63, 50], Operations: ['87-37=50']
Exploring Operation: 66-50=16, Resulting Numbers: [63, 16]
Generated Node #0,0,0: 53:[63, 16] Operation: 66-50=16
Moving to Node #0,0,0
Current State: 53:[63, 16], Operations: ['87-37=50', '66-50=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,53 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,
78,
79,
77
] | 68 | [
"77-9=68",
"79-78=1",
"68*1=68"
] | Current State: 68:[9, 78, 79, 77], Operations: []
Exploring Operation: 77-9=68, Resulting Numbers: [78, 79, 68]
Generated Node #2: [78, 79, 68] from Operation: 77-9=68
Current State: 68:[78, 79, 68], Operations: ['77-9=68']
Exploring Operation: 79-78=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 79-78=1
Current State: 68:[68, 1], Operations: ['77-9=68', '79-78=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[9, 78, 79, 77], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [9, 78, 2]
Generated Node #0,0: 68:[9, 78, 2] Operation: 79-77=2
Exploring Operation: 78-77=1, Resulting Numbers: [9, 79, 1]
Generated Node #0,1: 68:[9, 79, 1] Operation: 78-77=1
Exploring Operation: 79-78=1, Resulting Numbers: [9, 77, 1]
Generated Node #0,2: 68:[9, 77, 1] Operation: 79-78=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[9, 78, 2], Operations: ['79-77=2']
Exploring Operation: 78-9=69, Resulting Numbers: [2, 69]
Generated Node #0,0,0: 68:[2, 69] Operation: 78-9=69
Exploring Operation: 78/2=39, Resulting Numbers: [9, 39]
Generated Node #0,0,1: 68:[9, 39] Operation: 78/2=39
Exploring Operation: 9*2=18, Resulting Numbers: [78, 18]
Generated Node #0,0,2: 68:[78, 18] Operation: 9*2=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[2, 69], Operations: ['79-77=2', '78-9=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,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:[9, 39], Operations: ['79-77=2', '78/2=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,68 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,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,2
Current State: 68:[78, 18], Operations: ['79-77=2', '9*2=18']
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,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,2
Current State: 68:[9, 77, 1], Operations: ['79-78=1']
Exploring Operation: 77-9=68, Resulting Numbers: [1, 68]
Generated Node #0,2,0: 68:[1, 68] Operation: 77-9=68
Exploring Operation: 9-1=8, Resulting Numbers: [77, 8]
Generated Node #0,2,1: 68:[77, 8] Operation: 9-1=8
Exploring Operation: 77-1=76, Resulting Numbers: [9, 76]
Generated Node #0,2,2: 68:[9, 76] Operation: 77-1=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[1, 68], Operations: ['79-78=1', '77-9=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[9, 78, 79, 77], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [9, 77, 1]
Generated Node #0,2: 68:[9, 77, 1] Operation: 79-78=1
Moving to Node #0,2
Current State: 68:[9, 77, 1], Operations: ['79-78=1']
Exploring Operation: 77-9=68, Resulting Numbers: [1, 68]
Generated Node #0,2,0: 68:[1, 68] Operation: 77-9=68
Moving to Node #0,2,0
Current State: 68:[1, 68], Operations: ['79-78=1', '77-9=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
57,
57,
23,
4
] | 77 | [
"57+23=80",
"80/4=20",
"57+20=77"
] | Current State: 77:[57, 57, 23, 4], Operations: []
Exploring Operation: 57+23=80, Resulting Numbers: [4, 80]
Generated Node #2: [4, 80] from Operation: 57+23=80
Current State: 77:[4, 80], Operations: ['57+23=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,77 equal: Goal Reached
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[57, 57, 23, 4], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [23, 4, 0]
Generated Node #0,0: 77:[23, 4, 0] Operation: 57-57=0
Exploring Operation: 57/57=1, Resulting Numbers: [23, 4, 1]
Generated Node #0,1: 77:[23, 4, 1] Operation: 57/57=1
Moving to Node #0,1
Current State: 77:[23, 4, 1], Operations: ['57/57=1']
Exploring Operation: 23-1=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 77:[4, 22] Operation: 23-1=22
Exploring Operation: 23-4=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 77:[1, 19] Operation: 23-4=19
Moving to Node #0,0
Current State: 77:[23, 4, 0], Operations: ['57-57=0']
Exploring Operation: 23-4=19, Resulting Numbers: [0, 19]
Generated Node #0,0,0: 77:[0, 19] Operation: 23-4=19
Exploring Operation: 23*0=0, Resulting Numbers: [4, 0]
Generated Node #0,0,1: 77:[4, 0] Operation: 23*0=0
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[4, 0], Operations: ['57-57=0', '23*0=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[0, 19], Operations: ['57-57=0', '23-4=19']
Exploring Operation: 0+19=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 0*19=0, Resulting Numbers: [0]
0,77 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: 77:[4, 22], Operations: ['57/57=1', '23-1=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[1, 19], Operations: ['57/57=1', '23-4=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,77 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
64,
81,
22,
94
] | 89 | [
"81-64=17",
"94-22=72",
"17+72=89"
] | Current State: 89:[64, 81, 22, 94], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [22, 94, 17]
Generated Node #2: [22, 94, 17] from Operation: 81-64=17
Current State: 89:[22, 94, 17], Operations: ['81-64=17']
Exploring Operation: 94-22=72, Resulting Numbers: [17, 72]
Generated Node #3: [17, 72] from Operation: 94-22=72
Current State: 89:[17, 72], Operations: ['81-64=17', '94-22=72']
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[64, 81, 22, 94], Operations: []
Exploring Operation: 81+22=103, Resulting Numbers: [64, 94, 103]
Generated Node #0,0: 89:[64, 94, 103] Operation: 81+22=103
Exploring Operation: 64+22=86, Resulting Numbers: [81, 94, 86]
Generated Node #0,1: 89:[81, 94, 86] Operation: 64+22=86
Moving to Node #0,1
Current State: 89:[81, 94, 86], Operations: ['64+22=86']
Exploring Operation: 94-81=13, Resulting Numbers: [86, 13]
Generated Node #0,1,0: 89:[86, 13] Operation: 94-81=13
Exploring Operation: 81+86=167, Resulting Numbers: [94, 167]
Generated Node #0,1,1: 89:[94, 167] Operation: 81+86=167
Moving to Node #0,0
Current State: 89:[64, 94, 103], Operations: ['81+22=103']
Exploring Operation: 94-64=30, Resulting Numbers: [103, 30]
Generated Node #0,0,0: 89:[103, 30] Operation: 94-64=30
Exploring Operation: 103-64=39, Resulting Numbers: [94, 39]
Generated Node #0,0,1: 89:[94, 39] Operation: 103-64=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[94, 39], Operations: ['81+22=103', '103-64=39']
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 94+39=133, Resulting Numbers: [133]
133,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[103, 30], Operations: ['81+22=103', '94-64=30']
Exploring Operation: 103+30=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 89:[86, 13], Operations: ['64+22=86', '94-81=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[94, 167], Operations: ['64+22=86', '81+86=167']
Exploring Operation: 94+167=261, Resulting Numbers: [261]
261,89 unequal: No Solution
Exploring Operation: 167-94=73, Resulting Numbers: [73]
73,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
39,
26,
8
] | 37 | [
"58-39=19",
"26-8=18",
"19+18=37"
] | Current State: 37:[58, 39, 26, 8], Operations: []
Exploring Operation: 58-39=19, Resulting Numbers: [26, 8, 19]
Generated Node #2: [26, 8, 19] from Operation: 58-39=19
Current State: 37:[26, 8, 19], Operations: ['58-39=19']
Exploring Operation: 26-8=18, Resulting Numbers: [19, 18]
Generated Node #3: [19, 18] from Operation: 26-8=18
Current State: 37:[19, 18], Operations: ['58-39=19', '26-8=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[58, 39, 26, 8], Operations: []
Exploring Operation: 58-8=50, Resulting Numbers: [39, 26, 50]
Generated Node #0,0: 37:[39, 26, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[39, 26, 50], Operations: ['58-8=50']
Exploring Operation: 50-26=24, Resulting Numbers: [39, 24]
Generated Node #0,0,0: 37:[39, 24] Operation: 50-26=24
Moving to Node #0,0,0
Current State: 37:[39, 24], Operations: ['58-8=50', '50-26=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,37 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 |
[
55,
96,
90,
32
] | 81 | [
"96-55=41",
"90+32=122",
"122-41=81"
] | Current State: 81:[55, 96, 90, 32], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [90, 32, 41]
Generated Node #2: [90, 32, 41] from Operation: 96-55=41
Current State: 81:[90, 32, 41], Operations: ['96-55=41']
Exploring Operation: 90+32=122, Resulting Numbers: [41, 122]
Generated Node #3: [41, 122] from Operation: 90+32=122
Current State: 81:[41, 122], Operations: ['96-55=41', '90+32=122']
Exploring Operation: 122-41=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[55, 96, 90, 32], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [96, 32, 35]
Generated Node #0,0: 81:[96, 32, 35] Operation: 90-55=35
Exploring Operation: 96-55=41, Resulting Numbers: [90, 32, 41]
Generated Node #0,1: 81:[90, 32, 41] Operation: 96-55=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[96, 32, 35], Operations: ['90-55=35']
Exploring Operation: 35-32=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 81:[96, 3] Operation: 35-32=3
Exploring Operation: 96/32=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 81:[35, 3] Operation: 96/32=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[35, 3], Operations: ['90-55=35', '96/32=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[96, 3], Operations: ['90-55=35', '35-32=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[90, 32, 41], Operations: ['96-55=41']
Exploring Operation: 41-32=9, Resulting Numbers: [90, 9]
Generated Node #0,1,0: 81:[90, 9] Operation: 41-32=9
Exploring Operation: 32+41=73, Resulting Numbers: [90, 73]
Generated Node #0,1,1: 81:[90, 73] Operation: 32+41=73
Moving to Node #0,1,0
Current State: 81:[90, 9], Operations: ['96-55=41', '41-32=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[55, 96, 90, 32], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [90, 32, 41]
Generated Node #0,1: 81:[90, 32, 41] Operation: 96-55=41
Moving to Node #0,1
Current State: 81:[90, 32, 41], Operations: ['96-55=41']
Exploring Operation: 41-32=9, Resulting Numbers: [90, 9]
Generated Node #0,1,0: 81:[90, 9] Operation: 41-32=9
Moving to Node #0,1,0
Current State: 81:[90, 9], Operations: ['96-55=41', '41-32=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
99,
71,
49,
3
] | 63 | [
"99-71=28",
"49-28=21",
"3*21=63"
] | Current State: 63:[99, 71, 49, 3], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [49, 3, 28]
Generated Node #2: [49, 3, 28] from Operation: 99-71=28
Current State: 63:[49, 3, 28], Operations: ['99-71=28']
Exploring Operation: 49-28=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 49-28=21
Current State: 63:[3, 21], Operations: ['99-71=28', '49-28=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[99, 71, 49, 3], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [49, 3, 28]
Generated Node #0,0: 63:[49, 3, 28] Operation: 99-71=28
Exploring Operation: 99-49=50, Resulting Numbers: [71, 3, 50]
Generated Node #0,1: 63:[71, 3, 50] Operation: 99-49=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[49, 3, 28], Operations: ['99-71=28']
Exploring Operation: 49-28=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 63:[3, 21] Operation: 49-28=21
Exploring Operation: 49+28=77, Resulting Numbers: [3, 77]
Generated Node #0,0,1: 63:[3, 77] Operation: 49+28=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[3, 21], Operations: ['99-71=28', '49-28=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[99, 71, 49, 3], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [49, 3, 28]
Generated Node #0,0: 63:[49, 3, 28] Operation: 99-71=28
Moving to Node #0,0
Current State: 63:[49, 3, 28], Operations: ['99-71=28']
Exploring Operation: 49-28=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 63:[3, 21] Operation: 49-28=21
Moving to Node #0,0,0
Current State: 63:[3, 21], Operations: ['99-71=28', '49-28=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
64,
48,
87,
72
] | 97 | [
"64+48=112",
"87-72=15",
"112-15=97"
] | Current State: 97:[64, 48, 87, 72], Operations: []
Exploring Operation: 64+48=112, Resulting Numbers: [87, 72, 112]
Generated Node #2: [87, 72, 112] from Operation: 64+48=112
Current State: 97:[87, 72, 112], Operations: ['64+48=112']
Exploring Operation: 87-72=15, Resulting Numbers: [112, 15]
Generated Node #3: [112, 15] from Operation: 87-72=15
Current State: 97:[112, 15], Operations: ['64+48=112', '87-72=15']
Exploring Operation: 112-15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[64, 48, 87, 72], Operations: []
Exploring Operation: 48+72=120, Resulting Numbers: [64, 87, 120]
Generated Node #0,0: 97:[64, 87, 120] Operation: 48+72=120
Exploring Operation: 64+48=112, Resulting Numbers: [87, 72, 112]
Generated Node #0,1: 97:[87, 72, 112] Operation: 64+48=112
Exploring Operation: 48+87=135, Resulting Numbers: [64, 72, 135]
Generated Node #0,2: 97:[64, 72, 135] Operation: 48+87=135
Moving to Node #0,1
Current State: 97:[87, 72, 112], Operations: ['64+48=112']
Exploring Operation: 87-72=15, Resulting Numbers: [112, 15]
Generated Node #0,1,0: 97:[112, 15] Operation: 87-72=15
Exploring Operation: 112-72=40, Resulting Numbers: [87, 40]
Generated Node #0,1,1: 97:[87, 40] Operation: 112-72=40
Exploring Operation: 87+72=159, Resulting Numbers: [112, 159]
Generated Node #0,1,2: 97:[112, 159] Operation: 87+72=159
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[87, 40], Operations: ['64+48=112', '112-72=40']
Exploring Operation: 87*40=3480, Resulting Numbers: [3480]
3480,97 unequal: No Solution
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[112, 159], Operations: ['64+48=112', '87+72=159']
Exploring Operation: 112+159=271, Resulting Numbers: [271]
271,97 unequal: No Solution
Exploring Operation: 159-112=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 112*159=17808, Resulting Numbers: [17808]
17808,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[112, 15], Operations: ['64+48=112', '87-72=15']
Exploring Operation: 112*15=1680, Resulting Numbers: [1680]
1680,97 unequal: No Solution
Exploring Operation: 112+15=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 112-15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[64, 48, 87, 72], Operations: []
Exploring Operation: 64+48=112, Resulting Numbers: [87, 72, 112]
Generated Node #0,1: 97:[87, 72, 112] Operation: 64+48=112
Moving to Node #0,1
Current State: 97:[87, 72, 112], Operations: ['64+48=112']
Exploring Operation: 87-72=15, Resulting Numbers: [112, 15]
Generated Node #0,1,0: 97:[112, 15] Operation: 87-72=15
Moving to Node #0,1,0
Current State: 97:[112, 15], Operations: ['64+48=112', '87-72=15']
Exploring Operation: 112-15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
93,
20,
20,
23
] | 11 | [
"23-20=3",
"93/3=31",
"31-20=11"
] | Current State: 11:[93, 20, 20, 23], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [93, 3]
Generated Node #2: [93, 3] from Operation: 23-20=3
Current State: 11:[93, 3], Operations: ['23-20=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,11 equal: Goal Reached
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[93, 20, 20, 23], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [20, 20, 70]
Generated Node #0,0: 11:[20, 20, 70] Operation: 93-23=70
Exploring Operation: 93-20=73, Resulting Numbers: [20, 23, 73]
Generated Node #0,1: 11:[20, 23, 73] Operation: 93-20=73
Exploring Operation: 93-20=73, Resulting Numbers: [20, 23, 73]
Generated Node #0,2: 11:[20, 23, 73] Operation: 93-20=73
Moving to Node #0,0
Current State: 11:[20, 20, 70], Operations: ['93-23=70']
Exploring Operation: 20/20=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 11:[70, 1] Operation: 20/20=1
Exploring Operation: 70-20=50, Resulting Numbers: [20, 50]
Generated Node #0,0,1: 11:[20, 50] Operation: 70-20=50
Exploring Operation: 70-20=50, Resulting Numbers: [20, 50]
Generated Node #0,0,2: 11:[20, 50] Operation: 70-20=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[20, 50], Operations: ['93-23=70', '70-20=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,11 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,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,2
Current State: 11:[20, 50], Operations: ['93-23=70', '70-20=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,11 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[70, 1], Operations: ['93-23=70', '20/20=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 11:[20, 23, 73], Operations: ['93-20=73']
Exploring Operation: 73-23=50, Resulting Numbers: [20, 50]
Generated Node #0,1,0: 11:[20, 50] Operation: 73-23=50
Exploring Operation: 73-20=53, Resulting Numbers: [23, 53]
Generated Node #0,1,1: 11:[23, 53] Operation: 73-20=53
Exploring Operation: 23-20=3, Resulting Numbers: [73, 3]
Generated Node #0,1,2: 11:[73, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[20, 50], Operations: ['93-20=73', '73-23=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,11 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[23, 53], Operations: ['93-20=73', '73-20=53']
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,11 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[73, 3], Operations: ['93-20=73', '23-20=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,11 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 11:[20, 23, 73], Operations: ['93-20=73']
Exploring Operation: 73-23=50, Resulting Numbers: [20, 50]
Generated Node #0,2,0: 11:[20, 50] Operation: 73-23=50
Exploring Operation: 23-20=3, Resulting Numbers: [73, 3]
Generated Node #0,2,1: 11:[73, 3] Operation: 23-20=3
Exploring Operation: 73-20=53, Resulting Numbers: [23, 53]
Generated Node #0,2,2: 11:[23, 53] Operation: 73-20=53
Moving to Node #0,2,0
Current State: 11:[20, 50], Operations: ['93-20=73', '73-23=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,11 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[23, 53], Operations: ['93-20=73', '73-20=53']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,11 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[73, 3], Operations: ['93-20=73', '23-20=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
11,
84,
33
] | 60 | [
"46+11=57",
"84+33=117",
"117-57=60"
] | Current State: 60:[46, 11, 84, 33], Operations: []
Exploring Operation: 46+11=57, Resulting Numbers: [84, 33, 57]
Generated Node #2: [84, 33, 57] from Operation: 46+11=57
Current State: 60:[84, 33, 57], Operations: ['46+11=57']
Exploring Operation: 84+33=117, Resulting Numbers: [57, 117]
Generated Node #3: [57, 117] from Operation: 84+33=117
Current State: 60:[57, 117], Operations: ['46+11=57', '84+33=117']
Exploring Operation: 117-57=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[46, 11, 84, 33], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [11, 33, 38]
Generated Node #0,0: 60:[11, 33, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 60:[11, 33, 38], Operations: ['84-46=38']
Exploring Operation: 38-33=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 60:[11, 5] Operation: 38-33=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[11, 5], Operations: ['84-46=38', '38-33=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,60 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 |
[
83,
51,
20,
1
] | 52 | [
"83-51=32",
"20*1=20",
"32+20=52"
] | Current State: 52:[83, 51, 20, 1], Operations: []
Exploring Operation: 83-51=32, Resulting Numbers: [20, 1, 32]
Generated Node #2: [20, 1, 32] from Operation: 83-51=32
Current State: 52:[20, 1, 32], Operations: ['83-51=32']
Exploring Operation: 20*1=20, Resulting Numbers: [32, 20]
Generated Node #3: [32, 20] from Operation: 20*1=20
Current State: 52:[32, 20], Operations: ['83-51=32', '20*1=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[83, 51, 20, 1], Operations: []
Exploring Operation: 51+1=52, Resulting Numbers: [83, 20, 52]
Generated Node #0,0: 52:[83, 20, 52] Operation: 51+1=52
Exploring Operation: 83-20=63, Resulting Numbers: [51, 1, 63]
Generated Node #0,1: 52:[51, 1, 63] Operation: 83-20=63
Exploring Operation: 83-1=82, Resulting Numbers: [51, 20, 82]
Generated Node #0,2: 52:[51, 20, 82] Operation: 83-1=82
Exploring Operation: 51-20=31, Resulting Numbers: [83, 1, 31]
Generated Node #0,3: 52:[83, 1, 31] Operation: 51-20=31
Exploring Operation: 83-51=32, Resulting Numbers: [20, 1, 32]
Generated Node #0,4: 52:[20, 1, 32] Operation: 83-51=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[51, 1, 63], Operations: ['83-20=63']
Exploring Operation: 51/1=51, Resulting Numbers: [63, 51]
Generated Node #0,1,0: 52:[63, 51] Operation: 51/1=51
Exploring Operation: 51+1=52, Resulting Numbers: [63, 52]
Generated Node #0,1,1: 52:[63, 52] Operation: 51+1=52
Exploring Operation: 63-1=62, Resulting Numbers: [51, 62]
Generated Node #0,1,2: 52:[51, 62] Operation: 63-1=62
Exploring Operation: 51*1=51, Resulting Numbers: [63, 51]
Generated Node #0,1,3: 52:[63, 51] Operation: 51*1=51
Exploring Operation: 63-51=12, Resulting Numbers: [1, 12]
Generated Node #0,1,4: 52:[1, 12] Operation: 63-51=12
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 52:[1, 12], Operations: ['83-20=63', '63-51=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,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:[63, 52], Operations: ['83-20=63', '51+1=52']
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,52 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,52 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,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,2
Current State: 52:[51, 62], Operations: ['83-20=63', '63-1=62']
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,52 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,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,0
Current State: 52:[63, 51], Operations: ['83-20=63', '51/1=51']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,52 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,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,3
Current State: 52:[63, 51], Operations: ['83-20=63', '51*1=51']
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,52 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,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,4
Current State: 52:[20, 1, 32], Operations: ['83-51=32']
Exploring Operation: 20+1=21, Resulting Numbers: [32, 21]
Generated Node #0,4,0: 52:[32, 21] Operation: 20+1=21
Exploring Operation: 20*1=20, Resulting Numbers: [32, 20]
Generated Node #0,4,1: 52:[32, 20] Operation: 20*1=20
Exploring Operation: 32-20=12, Resulting Numbers: [1, 12]
Generated Node #0,4,2: 52:[1, 12] Operation: 32-20=12
Exploring Operation: 32-1=31, Resulting Numbers: [20, 31]
Generated Node #0,4,3: 52:[20, 31] Operation: 32-1=31
Exploring Operation: 20+32=52, Resulting Numbers: [1, 52]
Generated Node #0,4,4: 52:[1, 52] Operation: 20+32=52
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 52:[1, 52], Operations: ['83-51=32', '20+32=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[83, 51, 20, 1], Operations: []
Exploring Operation: 83-51=32, Resulting Numbers: [20, 1, 32]
Generated Node #0,4: 52:[20, 1, 32] Operation: 83-51=32
Moving to Node #0,4
Current State: 52:[20, 1, 32], Operations: ['83-51=32']
Exploring Operation: 20+32=52, Resulting Numbers: [1, 52]
Generated Node #0,4,4: 52:[1, 52] Operation: 20+32=52
Moving to Node #0,4,4
Current State: 52:[1, 52], Operations: ['83-51=32', '20+32=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
50,
18,
68,
14
] | 67 | [
"18-14=4",
"68/4=17",
"50+17=67"
] | Current State: 67:[50, 18, 68, 14], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [50, 68, 4]
Generated Node #2: [50, 68, 4] from Operation: 18-14=4
Current State: 67:[50, 68, 4], Operations: ['18-14=4']
Exploring Operation: 68/4=17, Resulting Numbers: [50, 17]
Generated Node #3: [50, 17] from Operation: 68/4=17
Current State: 67:[50, 17], Operations: ['18-14=4', '68/4=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[50, 18, 68, 14], Operations: []
Exploring Operation: 50+18=68, Resulting Numbers: [68, 14, 68]
Generated Node #0,0: 67:[68, 14, 68] Operation: 50+18=68
Exploring Operation: 18+14=32, Resulting Numbers: [50, 68, 32]
Generated Node #0,1: 67:[50, 68, 32] Operation: 18+14=32
Exploring Operation: 50+14=64, Resulting Numbers: [18, 68, 64]
Generated Node #0,2: 67:[18, 68, 64] Operation: 50+14=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[50, 68, 32], Operations: ['18+14=32']
Exploring Operation: 50+32=82, Resulting Numbers: [68, 82]
Generated Node #0,1,0: 67:[68, 82] Operation: 50+32=82
Exploring Operation: 50-32=18, Resulting Numbers: [68, 18]
Generated Node #0,1,1: 67:[68, 18] Operation: 50-32=18
Exploring Operation: 68-32=36, Resulting Numbers: [50, 36]
Generated Node #0,1,2: 67:[50, 36] Operation: 68-32=36
Moving to Node #0,1,0
Current State: 67:[68, 82], Operations: ['18+14=32', '50+32=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,67 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[50, 36], Operations: ['18+14=32', '68-32=36']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,67 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[68, 18], Operations: ['18+14=32', '50-32=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[18, 68, 64], Operations: ['50+14=64']
Exploring Operation: 68-18=50, Resulting Numbers: [64, 50]
Generated Node #0,2,0: 67:[64, 50] Operation: 68-18=50
Exploring Operation: 18+64=82, Resulting Numbers: [68, 82]
Generated Node #0,2,1: 67:[68, 82] Operation: 18+64=82
Exploring Operation: 18+68=86, Resulting Numbers: [64, 86]
Generated Node #0,2,2: 67:[64, 86] Operation: 18+68=86
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[68, 82], Operations: ['50+14=64', '18+64=82']
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,67 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[64, 50], Operations: ['50+14=64', '68-18=50']
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,67 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[64, 86], Operations: ['50+14=64', '18+68=86']
Exploring Operation: 64+86=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 64*86=5504, Resulting Numbers: [5504]
5504,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[68, 14, 68], Operations: ['50+18=68']
Exploring Operation: 68+14=82, Resulting Numbers: [68, 82]
Generated Node #0,0,0: 67:[68, 82] Operation: 68+14=82
Exploring Operation: 68-14=54, Resulting Numbers: [68, 54]
Generated Node #0,0,1: 67:[68, 54] Operation: 68-14=54
Exploring Operation: 68-14=54, Resulting Numbers: [68, 54]
Generated Node #0,0,2: 67:[68, 54] Operation: 68-14=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[68, 54], Operations: ['50+18=68', '68-14=54']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,67 unequal: No Solution
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[68, 54], Operations: ['50+18=68', '68-14=54']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,67 unequal: No Solution
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[68, 82], Operations: ['50+18=68', '68+14=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,67 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
96,
44,
78
] | 14 | [
"40+96=136",
"44+78=122",
"136-122=14"
] | Current State: 14:[40, 96, 44, 78], Operations: []
Exploring Operation: 40+96=136, Resulting Numbers: [44, 78, 136]
Generated Node #2: [44, 78, 136] from Operation: 40+96=136
Current State: 14:[44, 78, 136], Operations: ['40+96=136']
Exploring Operation: 44+78=122, Resulting Numbers: [136, 122]
Generated Node #3: [136, 122] from Operation: 44+78=122
Current State: 14:[136, 122], Operations: ['40+96=136', '44+78=122']
Exploring Operation: 136-122=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[40, 96, 44, 78], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [40, 44, 18]
Generated Node #0,0: 14:[40, 44, 18] Operation: 96-78=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[40, 44, 18], Operations: ['96-78=18']
Exploring Operation: 44-40=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 14:[18, 4] Operation: 44-40=4
Moving to Node #0,0,0
Current State: 14:[18, 4], Operations: ['96-78=18', '44-40=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[40, 96, 44, 78], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [40, 44, 18]
Generated Node #0,0: 14:[40, 44, 18] Operation: 96-78=18
Moving to Node #0,0
Current State: 14:[40, 44, 18], Operations: ['96-78=18']
Exploring Operation: 44-40=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 14:[18, 4] Operation: 44-40=4
Moving to Node #0,0,0
Current State: 14:[18, 4], Operations: ['96-78=18', '44-40=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
47,
8,
44,
34
] | 94 | [
"47-44=3",
"34*3=102",
"102-8=94"
] | Current State: 94:[47, 8, 44, 34], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [8, 34, 3]
Generated Node #2: [8, 34, 3] from Operation: 47-44=3
Current State: 94:[8, 34, 3], Operations: ['47-44=3']
Exploring Operation: 34*3=102, Resulting Numbers: [8, 102]
Generated Node #3: [8, 102] from Operation: 34*3=102
Current State: 94:[8, 102], Operations: ['47-44=3', '34*3=102']
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[47, 8, 44, 34], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [47, 44, 42]
Generated Node #0,0: 94:[47, 44, 42] Operation: 8+34=42
Moving to Node #0,0
Current State: 94:[47, 44, 42], Operations: ['8+34=42']
Exploring Operation: 44-42=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 94:[47, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 94:[47, 2], Operations: ['8+34=42', '44-42=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[47, 8, 44, 34], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [47, 44, 42]
Generated Node #0,0: 94:[47, 44, 42] Operation: 8+34=42
Moving to Node #0,0
Current State: 94:[47, 44, 42], Operations: ['8+34=42']
Exploring Operation: 44-42=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 94:[47, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 94:[47, 2], Operations: ['8+34=42', '44-42=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
50,
47,
84,
44
] | 42 | [
"50+44=94",
"47*84=3948",
"3948/94=42"
] | Current State: 42:[50, 47, 84, 44], Operations: []
Exploring Operation: 50+44=94, Resulting Numbers: [47, 84, 94]
Generated Node #2: [47, 84, 94] from Operation: 50+44=94
Current State: 42:[47, 84, 94], Operations: ['50+44=94']
Exploring Operation: 47*84=3948, Resulting Numbers: [94, 3948]
Generated Node #3: [94, 3948] from Operation: 47*84=3948
Current State: 42:[94, 3948], Operations: ['50+44=94', '47*84=3948']
Exploring Operation: 3948/94=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[50, 47, 84, 44], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [47, 44, 34]
Generated Node #0,0: 42:[47, 44, 34] Operation: 84-50=34
Exploring Operation: 84-44=40, Resulting Numbers: [50, 47, 40]
Generated Node #0,1: 42:[50, 47, 40] Operation: 84-44=40
Exploring Operation: 84-47=37, Resulting Numbers: [50, 44, 37]
Generated Node #0,2: 42:[50, 44, 37] Operation: 84-47=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[47, 44, 34], Operations: ['84-50=34']
Exploring Operation: 47-44=3, Resulting Numbers: [34, 3]
Generated Node #0,0,0: 42:[34, 3] Operation: 47-44=3
Exploring Operation: 44-34=10, Resulting Numbers: [47, 10]
Generated Node #0,0,1: 42:[47, 10] Operation: 44-34=10
Exploring Operation: 47-34=13, Resulting Numbers: [44, 13]
Generated Node #0,0,2: 42:[44, 13] Operation: 47-34=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[44, 13], Operations: ['84-50=34', '47-34=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,42 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[34, 3], Operations: ['84-50=34', '47-44=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[47, 10], Operations: ['84-50=34', '44-34=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,42 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,42 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: 42:[50, 47, 40], Operations: ['84-44=40']
Exploring Operation: 47-40=7, Resulting Numbers: [50, 7]
Generated Node #0,1,0: 42:[50, 7] Operation: 47-40=7
Exploring Operation: 50-47=3, Resulting Numbers: [40, 3]
Generated Node #0,1,1: 42:[40, 3] Operation: 50-47=3
Exploring Operation: 50-40=10, Resulting Numbers: [47, 10]
Generated Node #0,1,2: 42:[47, 10] Operation: 50-40=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[40, 3], Operations: ['84-44=40', '50-47=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[50, 7], Operations: ['84-44=40', '47-40=7']
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,42 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[47, 10], Operations: ['84-44=40', '50-40=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,42 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,42 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: 42:[50, 44, 37], Operations: ['84-47=37']
Exploring Operation: 44-37=7, Resulting Numbers: [50, 7]
Generated Node #0,2,0: 42:[50, 7] Operation: 44-37=7
Exploring Operation: 50-37=13, Resulting Numbers: [44, 13]
Generated Node #0,2,1: 42:[44, 13] Operation: 50-37=13
Exploring Operation: 50-44=6, Resulting Numbers: [37, 6]
Generated Node #0,2,2: 42:[37, 6] Operation: 50-44=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[44, 13], Operations: ['84-47=37', '50-37=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,42 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[37, 6], Operations: ['84-47=37', '50-44=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[50, 7], Operations: ['84-47=37', '44-37=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,42 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 |
[
32,
58,
93,
12
] | 55 | [
"58-32=26",
"93-12=81",
"81-26=55"
] | Current State: 55:[32, 58, 93, 12], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [93, 12, 26]
Generated Node #2: [93, 12, 26] from Operation: 58-32=26
Current State: 55:[93, 12, 26], Operations: ['58-32=26']
Exploring Operation: 93-12=81, Resulting Numbers: [26, 81]
Generated Node #3: [26, 81] from Operation: 93-12=81
Current State: 55:[26, 81], Operations: ['58-32=26', '93-12=81']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[32, 58, 93, 12], Operations: []
Exploring Operation: 32-12=20, Resulting Numbers: [58, 93, 20]
Generated Node #0,0: 55:[58, 93, 20] Operation: 32-12=20
Exploring Operation: 93-12=81, Resulting Numbers: [32, 58, 81]
Generated Node #0,1: 55:[32, 58, 81] Operation: 93-12=81
Exploring Operation: 93-32=61, Resulting Numbers: [58, 12, 61]
Generated Node #0,2: 55:[58, 12, 61] Operation: 93-32=61
Exploring Operation: 93-58=35, Resulting Numbers: [32, 12, 35]
Generated Node #0,3: 55:[32, 12, 35] Operation: 93-58=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[58, 12, 61], Operations: ['93-32=61']
Exploring Operation: 61-58=3, Resulting Numbers: [12, 3]
Generated Node #0,2,0: 55:[12, 3] Operation: 61-58=3
Exploring Operation: 61-12=49, Resulting Numbers: [58, 49]
Generated Node #0,2,1: 55:[58, 49] Operation: 61-12=49
Exploring Operation: 58+12=70, Resulting Numbers: [61, 70]
Generated Node #0,2,2: 55:[61, 70] Operation: 58+12=70
Exploring Operation: 58-12=46, Resulting Numbers: [61, 46]
Generated Node #0,2,3: 55:[61, 46] Operation: 58-12=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[12, 3], Operations: ['93-32=61', '61-58=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,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,2,1
Current State: 55:[58, 49], Operations: ['93-32=61', '61-12=49']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,55 unequal: No Solution
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,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,2,3
Current State: 55:[61, 46], Operations: ['93-32=61', '58-12=46']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 61*46=2806, Resulting Numbers: [2806]
2806,55 unequal: No Solution
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,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,2,2
Current State: 55:[61, 70], Operations: ['93-32=61', '58+12=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,55 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,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,3
Current State: 55:[32, 12, 35], Operations: ['93-58=35']
Exploring Operation: 12+35=47, Resulting Numbers: [32, 47]
Generated Node #0,3,0: 55:[32, 47] Operation: 12+35=47
Exploring Operation: 35-32=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 55:[12, 3] Operation: 35-32=3
Exploring Operation: 32+35=67, Resulting Numbers: [12, 67]
Generated Node #0,3,2: 55:[12, 67] Operation: 32+35=67
Exploring Operation: 32-12=20, Resulting Numbers: [35, 20]
Generated Node #0,3,3: 55:[35, 20] Operation: 32-12=20
Moving to Node #0,3,1
Current State: 55:[12, 3], Operations: ['93-58=35', '35-32=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[12, 67], Operations: ['93-58=35', '32+35=67']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[32, 58, 93, 12], Operations: []
Exploring Operation: 93-58=35, Resulting Numbers: [32, 12, 35]
Generated Node #0,3: 55:[32, 12, 35] Operation: 93-58=35
Moving to Node #0,3
Current State: 55:[32, 12, 35], Operations: ['93-58=35']
Exploring Operation: 32+35=67, Resulting Numbers: [12, 67]
Generated Node #0,3,2: 55:[12, 67] Operation: 32+35=67
Moving to Node #0,3,2
Current State: 55:[12, 67], Operations: ['93-58=35', '32+35=67']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
52,
30,
30,
12
] | 20 | [
"52-30=22",
"30+12=42",
"42-22=20"
] | Current State: 20:[52, 30, 30, 12], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [12, 22]
Generated Node #2: [12, 22] from Operation: 52-30=22
Current State: 20:[12, 22], Operations: ['52-30=22']
Exploring Operation: 30+12=42, Resulting Numbers: [22, 42]
Generated Node #3: [22, 42] from Operation: 30+12=42
Current State: 20:[22, 42], Operations: ['52-30=22', '30+12=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[52, 30, 30, 12], Operations: []
Exploring Operation: 30/30=1, Resulting Numbers: [52, 12, 1]
Generated Node #0,0: 20:[52, 12, 1] Operation: 30/30=1
Exploring Operation: 30-30=0, Resulting Numbers: [52, 12, 0]
Generated Node #0,1: 20:[52, 12, 0] Operation: 30-30=0
Exploring Operation: 52-30=22, Resulting Numbers: [30, 12, 22]
Generated Node #0,2: 20:[30, 12, 22] Operation: 52-30=22
Exploring Operation: 52-12=40, Resulting Numbers: [30, 30, 40]
Generated Node #0,3: 20:[30, 30, 40] Operation: 52-12=40
Exploring Operation: 52-30=22, Resulting Numbers: [30, 12, 22]
Generated Node #0,4: 20:[30, 12, 22] Operation: 52-30=22
Moving to Node #0,2
Current State: 20:[30, 12, 22], Operations: ['52-30=22']
Exploring Operation: 22-12=10, Resulting Numbers: [30, 10]
Generated Node #0,2,0: 20:[30, 10] Operation: 22-12=10
Exploring Operation: 30-12=18, Resulting Numbers: [22, 18]
Generated Node #0,2,1: 20:[22, 18] Operation: 30-12=18
Exploring Operation: 30-22=8, Resulting Numbers: [12, 8]
Generated Node #0,2,2: 20:[12, 8] Operation: 30-22=8
Exploring Operation: 12+22=34, Resulting Numbers: [30, 34]
Generated Node #0,2,3: 20:[30, 34] Operation: 12+22=34
Exploring Operation: 30+12=42, Resulting Numbers: [22, 42]
Generated Node #0,2,4: 20:[22, 42] Operation: 30+12=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[22, 18], Operations: ['52-30=22', '30-12=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[12, 8], Operations: ['52-30=22', '30-22=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[52, 30, 30, 12], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [30, 12, 22]
Generated Node #0,2: 20:[30, 12, 22] Operation: 52-30=22
Moving to Node #0,2
Current State: 20:[30, 12, 22], Operations: ['52-30=22']
Exploring Operation: 30-22=8, Resulting Numbers: [12, 8]
Generated Node #0,2,2: 20:[12, 8] Operation: 30-22=8
Moving to Node #0,2,2
Current State: 20:[12, 8], Operations: ['52-30=22', '30-22=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
83,
40,
81,
19
] | 42 | [
"83-81=2",
"40-19=21",
"2*21=42"
] | Current State: 42:[83, 40, 81, 19], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [40, 19, 2]
Generated Node #2: [40, 19, 2] from Operation: 83-81=2
Current State: 42:[40, 19, 2], Operations: ['83-81=2']
Exploring Operation: 40-19=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 40-19=21
Current State: 42:[2, 21], Operations: ['83-81=2', '40-19=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[83, 40, 81, 19], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [83, 19, 41]
Generated Node #0,0: 42:[83, 19, 41] Operation: 81-40=41
Exploring Operation: 83-40=43, Resulting Numbers: [81, 19, 43]
Generated Node #0,1: 42:[81, 19, 43] Operation: 83-40=43
Exploring Operation: 83-19=64, Resulting Numbers: [40, 81, 64]
Generated Node #0,2: 42:[40, 81, 64] Operation: 83-19=64
Exploring Operation: 83-81=2, Resulting Numbers: [40, 19, 2]
Generated Node #0,3: 42:[40, 19, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[40, 19, 2], Operations: ['83-81=2']
Exploring Operation: 40/2=20, Resulting Numbers: [19, 20]
Generated Node #0,3,0: 42:[19, 20] Operation: 40/2=20
Exploring Operation: 40+2=42, Resulting Numbers: [19, 42]
Generated Node #0,3,1: 42:[19, 42] Operation: 40+2=42
Exploring Operation: 40-19=21, Resulting Numbers: [2, 21]
Generated Node #0,3,2: 42:[2, 21] Operation: 40-19=21
Exploring Operation: 19+2=21, Resulting Numbers: [40, 21]
Generated Node #0,3,3: 42:[40, 21] Operation: 19+2=21
Moving to Node #0,3,2
Current State: 42:[2, 21], Operations: ['83-81=2', '40-19=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[83, 40, 81, 19], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [40, 19, 2]
Generated Node #0,3: 42:[40, 19, 2] Operation: 83-81=2
Moving to Node #0,3
Current State: 42:[40, 19, 2], Operations: ['83-81=2']
Exploring Operation: 40-19=21, Resulting Numbers: [2, 21]
Generated Node #0,3,2: 42:[2, 21] Operation: 40-19=21
Moving to Node #0,3,2
Current State: 42:[2, 21], Operations: ['83-81=2', '40-19=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
13,
5,
89,
50
] | 21 | [
"13+5=18",
"89-50=39",
"39-18=21"
] | Current State: 21:[13, 5, 89, 50], Operations: []
Exploring Operation: 13+5=18, Resulting Numbers: [89, 50, 18]
Generated Node #2: [89, 50, 18] from Operation: 13+5=18
Current State: 21:[89, 50, 18], Operations: ['13+5=18']
Exploring Operation: 89-50=39, Resulting Numbers: [18, 39]
Generated Node #3: [18, 39] from Operation: 89-50=39
Current State: 21:[18, 39], Operations: ['13+5=18', '89-50=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[13, 5, 89, 50], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [13, 5, 39]
Generated Node #0,0: 21:[13, 5, 39] Operation: 89-50=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[13, 5, 39], Operations: ['89-50=39']
Exploring Operation: 39/13=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 21:[5, 3] Operation: 39/13=3
Moving to Node #0,0,0
Current State: 21:[5, 3], Operations: ['89-50=39', '39/13=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,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 | mult_heuristic |
[
7,
13,
72,
52
] | 11 | [
"13*72=936",
"936/52=18",
"18-7=11"
] | Current State: 11:[7, 13, 72, 52], Operations: []
Exploring Operation: 13*72=936, Resulting Numbers: [7, 52, 936]
Generated Node #2: [7, 52, 936] from Operation: 13*72=936
Current State: 11:[7, 52, 936], Operations: ['13*72=936']
Exploring Operation: 936/52=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 936/52=18
Current State: 11:[7, 18], Operations: ['13*72=936', '936/52=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[7, 13, 72, 52], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [7, 72, 4]
Generated Node #0,0: 11:[7, 72, 4] Operation: 52/13=4
Exploring Operation: 72-52=20, Resulting Numbers: [7, 13, 20]
Generated Node #0,1: 11:[7, 13, 20] Operation: 72-52=20
Moving to Node #0,1
Current State: 11:[7, 13, 20], Operations: ['72-52=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 11:[13, 13] Operation: 20-7=13
Exploring Operation: 20-13=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 11:[7, 7] Operation: 20-13=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[13, 13], Operations: ['72-52=20', '20-7=13']
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[7, 7], Operations: ['72-52=20', '20-13=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,11 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: 11:[7, 72, 4], Operations: ['52/13=4']
Exploring Operation: 72/4=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 11:[7, 18] Operation: 72/4=18
Exploring Operation: 72-7=65, Resulting Numbers: [4, 65]
Generated Node #0,0,1: 11:[4, 65] Operation: 72-7=65
Moving to Node #0,0,0
Current State: 11:[7, 18], Operations: ['52/13=4', '72/4=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[7, 13, 72, 52], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [7, 72, 4]
Generated Node #0,0: 11:[7, 72, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 11:[7, 72, 4], Operations: ['52/13=4']
Exploring Operation: 72/4=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 11:[7, 18] Operation: 72/4=18
Moving to Node #0,0,0
Current State: 11:[7, 18], Operations: ['52/13=4', '72/4=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
32,
56,
28,
7
] | 22 | [
"32+56=88",
"28/7=4",
"88/4=22"
] | Current State: 22:[32, 56, 28, 7], Operations: []
Exploring Operation: 32+56=88, Resulting Numbers: [28, 7, 88]
Generated Node #2: [28, 7, 88] from Operation: 32+56=88
Current State: 22:[28, 7, 88], Operations: ['32+56=88']
Exploring Operation: 28/7=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 28/7=4
Current State: 22:[88, 4], Operations: ['32+56=88', '28/7=4']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[32, 56, 28, 7], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [32, 7, 28]
Generated Node #0,0: 22:[32, 7, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [32, 7, 2]
Generated Node #0,1: 22:[32, 7, 2] Operation: 56/28=2
Exploring Operation: 56-32=24, Resulting Numbers: [28, 7, 24]
Generated Node #0,2: 22:[28, 7, 24] Operation: 56-32=24
Exploring Operation: 32-28=4, Resulting Numbers: [56, 7, 4]
Generated Node #0,3: 22:[56, 7, 4] Operation: 32-28=4
Exploring Operation: 56/7=8, Resulting Numbers: [32, 28, 8]
Generated Node #0,4: 22:[32, 28, 8] Operation: 56/7=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[28, 7, 24], Operations: ['56-32=24']
Exploring Operation: 28+7=35, Resulting Numbers: [24, 35]
Generated Node #0,2,0: 22:[24, 35] Operation: 28+7=35
Exploring Operation: 28-24=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 22:[7, 4] Operation: 28-24=4
Exploring Operation: 28-7=21, Resulting Numbers: [24, 21]
Generated Node #0,2,2: 22:[24, 21] Operation: 28-7=21
Exploring Operation: 24-7=17, Resulting Numbers: [28, 17]
Generated Node #0,2,3: 22:[28, 17] Operation: 24-7=17
Exploring Operation: 28/7=4, Resulting Numbers: [24, 4]
Generated Node #0,2,4: 22:[24, 4] Operation: 28/7=4
Moving to Node #0,2,2
Current State: 22:[24, 21], Operations: ['56-32=24', '28-7=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,22 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Moving to Node #0,2,4
Current State: 22:[24, 4], Operations: ['56-32=24', '28/7=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[7, 4], Operations: ['56-32=24', '28-24=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[28, 17], Operations: ['56-32=24', '24-7=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,22 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[24, 35], Operations: ['56-32=24', '28+7=35']
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,22 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[32, 7, 2], Operations: ['56/28=2']
Exploring Operation: 7+2=9, Resulting Numbers: [32, 9]
Generated Node #0,1,0: 22:[32, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [32, 14]
Generated Node #0,1,1: 22:[32, 14] Operation: 7*2=14
Exploring Operation: 32-7=25, Resulting Numbers: [2, 25]
Generated Node #0,1,2: 22:[2, 25] Operation: 32-7=25
Exploring Operation: 32-2=30, Resulting Numbers: [7, 30]
Generated Node #0,1,3: 22:[7, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [7, 16]
Generated Node #0,1,4: 22:[7, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[2, 25], Operations: ['56/28=2', '32-7=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No 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: 22:[7, 16], Operations: ['56/28=2', '32/2=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,22 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No 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: 22:[32, 9], Operations: ['56/28=2', '7+2=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,22 unequal: No Solution
No 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: 22:[7, 30], Operations: ['56/28=2', '32-2=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,22 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No 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: 22:[32, 14], Operations: ['56/28=2', '7*2=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,22 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,22 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: 22:[32, 28, 8], Operations: ['56/7=8']
Exploring Operation: 28-8=20, Resulting Numbers: [32, 20]
Generated Node #0,4,0: 22:[32, 20] Operation: 28-8=20
Exploring Operation: 32-28=4, Resulting Numbers: [8, 4]
Generated Node #0,4,1: 22:[8, 4] Operation: 32-28=4
Exploring Operation: 32-8=24, Resulting Numbers: [28, 24]
Generated Node #0,4,2: 22:[28, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [28, 4]
Generated Node #0,4,3: 22:[28, 4] Operation: 32/8=4
Exploring Operation: 32+8=40, Resulting Numbers: [28, 40]
Generated Node #0,4,4: 22:[28, 40] Operation: 32+8=40
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 22:[8, 4], Operations: ['56/7=8', '32-28=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[28, 24], Operations: ['56/7=8', '32-8=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,22 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[28, 4], Operations: ['56/7=8', '32/8=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,22 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,22 unequal: No Solution
No 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: 22:[32, 20], Operations: ['56/7=8', '28-8=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,22 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No 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: 22:[28, 40], Operations: ['56/7=8', '32+8=40']
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,22 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,22 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: 22:[32, 7, 28], Operations: ['56-28=28']
Exploring Operation: 32+7=39, Resulting Numbers: [28, 39]
Generated Node #0,0,0: 22:[28, 39] Operation: 32+7=39
Exploring Operation: 28-7=21, Resulting Numbers: [32, 21]
Generated Node #0,0,1: 22:[32, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [32, 4]
Generated Node #0,0,2: 22:[32, 4] Operation: 28/7=4
Exploring Operation: 32-28=4, Resulting Numbers: [7, 4]
Generated Node #0,0,3: 22:[7, 4] Operation: 32-28=4
Exploring Operation: 32-7=25, Resulting Numbers: [28, 25]
Generated Node #0,0,4: 22:[28, 25] Operation: 32-7=25
Moving to Node #0,0,3
Current State: 22:[7, 4], Operations: ['56-28=28', '32-28=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Moving to Node #0,0,4
Current State: 22:[28, 25], Operations: ['56-28=28', '32-7=25']
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,22 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[32, 21], Operations: ['56-28=28', '28-7=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,22 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[32, 4], Operations: ['56-28=28', '28/7=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[28, 39], Operations: ['56-28=28', '32+7=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[56, 7, 4], Operations: ['32-28=4']
Exploring Operation: 56/7=8, Resulting Numbers: [4, 8]
Generated Node #0,3,0: 22:[4, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [4, 49]
Generated Node #0,3,1: 22:[4, 49] Operation: 56-7=49
Exploring Operation: 56/4=14, Resulting Numbers: [7, 14]
Generated Node #0,3,2: 22:[7, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [7, 52]
Generated Node #0,3,3: 22:[7, 52] Operation: 56-4=52
Exploring Operation: 7+4=11, Resulting Numbers: [56, 11]
Generated Node #0,3,4: 22:[56, 11] Operation: 7+4=11
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[4, 8], Operations: ['32-28=4', '56/7=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No 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: 22:[7, 14], Operations: ['32-28=4', '56/4=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,22 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,22 unequal: No Solution
No 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: 22:[4, 49], Operations: ['32-28=4', '56-7=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,22 unequal: No Solution
No 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: 22:[7, 52], Operations: ['32-28=4', '56-4=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,22 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,22 unequal: No Solution
No 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: 22:[56, 11], Operations: ['32-28=4', '7+4=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,22 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 |
[
33,
26,
6,
52
] | 42 | [
"33+26=59",
"59-52=7",
"6*7=42"
] | Current State: 42:[33, 26, 6, 52], Operations: []
Exploring Operation: 33+26=59, Resulting Numbers: [6, 52, 59]
Generated Node #2: [6, 52, 59] from Operation: 33+26=59
Current State: 42:[6, 52, 59], Operations: ['33+26=59']
Exploring Operation: 59-52=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 59-52=7
Current State: 42:[6, 7], Operations: ['33+26=59', '59-52=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[33, 26, 6, 52], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [33, 6, 2]
Generated Node #0,0: 42:[33, 6, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [33, 6, 26]
Generated Node #0,1: 42:[33, 6, 26] Operation: 52-26=26
Exploring Operation: 52-33=19, Resulting Numbers: [26, 6, 19]
Generated Node #0,2: 42:[26, 6, 19] Operation: 52-33=19
Exploring Operation: 33-26=7, Resulting Numbers: [6, 52, 7]
Generated Node #0,3: 42:[6, 52, 7] Operation: 33-26=7
Moving to Node #0,2
Current State: 42:[26, 6, 19], Operations: ['52-33=19']
Exploring Operation: 19-6=13, Resulting Numbers: [26, 13]
Generated Node #0,2,0: 42:[26, 13] Operation: 19-6=13
Exploring Operation: 26-6=20, Resulting Numbers: [19, 20]
Generated Node #0,2,1: 42:[19, 20] Operation: 26-6=20
Exploring Operation: 26+19=45, Resulting Numbers: [6, 45]
Generated Node #0,2,2: 42:[6, 45] Operation: 26+19=45
Exploring Operation: 26-19=7, Resulting Numbers: [6, 7]
Generated Node #0,2,3: 42:[6, 7] Operation: 26-19=7
Moving to Node #0,0
Current State: 42:[33, 6, 2], Operations: ['52/26=2']
Exploring Operation: 33-6=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 42:[2, 27] Operation: 33-6=27
Exploring Operation: 33+2=35, Resulting Numbers: [6, 35]
Generated Node #0,0,1: 42:[6, 35] Operation: 33+2=35
Exploring Operation: 33+6=39, Resulting Numbers: [2, 39]
Generated Node #0,0,2: 42:[2, 39] Operation: 33+6=39
Exploring Operation: 6/2=3, Resulting Numbers: [33, 3]
Generated Node #0,0,3: 42:[33, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[2, 39], Operations: ['52/26=2', '33+6=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[2, 27], Operations: ['52/26=2', '33-6=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[6, 35], Operations: ['52/26=2', '33+2=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,42 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[33, 3], Operations: ['52/26=2', '6/2=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,42 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: 42:[6, 52, 7], Operations: ['33-26=7']
Exploring Operation: 6+7=13, Resulting Numbers: [52, 13]
Generated Node #0,3,0: 42:[52, 13] Operation: 6+7=13
Exploring Operation: 52-7=45, Resulting Numbers: [6, 45]
Generated Node #0,3,1: 42:[6, 45] Operation: 52-7=45
Exploring Operation: 52-6=46, Resulting Numbers: [7, 46]
Generated Node #0,3,2: 42:[7, 46] Operation: 52-6=46
Exploring Operation: 6*7=42, Resulting Numbers: [52, 42]
Generated Node #0,3,3: 42:[52, 42] Operation: 6*7=42
Moving to Node #0,1
Current State: 42:[33, 6, 26], Operations: ['52-26=26']
Exploring Operation: 33-6=27, Resulting Numbers: [26, 27]
Generated Node #0,1,0: 42:[26, 27] Operation: 33-6=27
Exploring Operation: 33-26=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 42:[6, 7] Operation: 33-26=7
Exploring Operation: 33+6=39, Resulting Numbers: [26, 39]
Generated Node #0,1,2: 42:[26, 39] Operation: 33+6=39
Exploring Operation: 26-6=20, Resulting Numbers: [33, 20]
Generated Node #0,1,3: 42:[33, 20] Operation: 26-6=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[6, 7], Operations: ['52-26=26', '33-26=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[33, 26, 6, 52], Operations: []
Exploring Operation: 52-26=26, Resulting Numbers: [33, 6, 26]
Generated Node #0,1: 42:[33, 6, 26] Operation: 52-26=26
Moving to Node #0,1
Current State: 42:[33, 6, 26], Operations: ['52-26=26']
Exploring Operation: 33-26=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 42:[6, 7] Operation: 33-26=7
Moving to Node #0,1,1
Current State: 42:[6, 7], Operations: ['52-26=26', '33-26=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
3,
39,
65,
85
] | 97 | [
"3*39=117",
"85-65=20",
"117-20=97"
] | Current State: 97:[3, 39, 65, 85], Operations: []
Exploring Operation: 3*39=117, Resulting Numbers: [65, 85, 117]
Generated Node #2: [65, 85, 117] from Operation: 3*39=117
Current State: 97:[65, 85, 117], Operations: ['3*39=117']
Exploring Operation: 85-65=20, Resulting Numbers: [117, 20]
Generated Node #3: [117, 20] from Operation: 85-65=20
Current State: 97:[117, 20], Operations: ['3*39=117', '85-65=20']
Exploring Operation: 117-20=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[3, 39, 65, 85], Operations: []
Exploring Operation: 3+39=42, Resulting Numbers: [65, 85, 42]
Generated Node #0,0: 97:[65, 85, 42] Operation: 3+39=42
Exploring Operation: 3+65=68, Resulting Numbers: [39, 85, 68]
Generated Node #0,1: 97:[39, 85, 68] Operation: 3+65=68
Exploring Operation: 3*39=117, Resulting Numbers: [65, 85, 117]
Generated Node #0,2: 97:[65, 85, 117] Operation: 3*39=117
Moving to Node #0,2
Current State: 97:[65, 85, 117], Operations: ['3*39=117']
Exploring Operation: 85-65=20, Resulting Numbers: [117, 20]
Generated Node #0,2,0: 97:[117, 20] Operation: 85-65=20
Exploring Operation: 65+85=150, Resulting Numbers: [117, 150]
Generated Node #0,2,1: 97:[117, 150] Operation: 65+85=150
Exploring Operation: 117-65=52, Resulting Numbers: [85, 52]
Generated Node #0,2,2: 97:[85, 52] Operation: 117-65=52
Moving to Node #0,0
Current State: 97:[65, 85, 42], Operations: ['3+39=42']
Exploring Operation: 85+42=127, Resulting Numbers: [65, 127]
Generated Node #0,0,0: 97:[65, 127] Operation: 85+42=127
Exploring Operation: 65-42=23, Resulting Numbers: [85, 23]
Generated Node #0,0,1: 97:[85, 23] Operation: 65-42=23
Exploring Operation: 65+42=107, Resulting Numbers: [85, 107]
Generated Node #0,0,2: 97:[85, 107] Operation: 65+42=107
Moving to Node #0,1
Current State: 97:[39, 85, 68], Operations: ['3+65=68']
Exploring Operation: 39+85=124, Resulting Numbers: [68, 124]
Generated Node #0,1,0: 97:[68, 124] Operation: 39+85=124
Exploring Operation: 85-39=46, Resulting Numbers: [68, 46]
Generated Node #0,1,1: 97:[68, 46] Operation: 85-39=46
Exploring Operation: 39+68=107, Resulting Numbers: [85, 107]
Generated Node #0,1,2: 97:[85, 107] Operation: 39+68=107
Moving to Node #0,0,2
Current State: 97:[85, 107], Operations: ['3+39=42', '65+42=107']
Exploring Operation: 85*107=9095, Resulting Numbers: [9095]
9095,97 unequal: No Solution
Exploring Operation: 85+107=192, Resulting Numbers: [192]
192,97 unequal: No Solution
Exploring Operation: 107-85=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[85, 107], Operations: ['3+65=68', '39+68=107']
Exploring Operation: 107-85=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 85+107=192, Resulting Numbers: [192]
192,97 unequal: No Solution
Exploring Operation: 85*107=9095, Resulting Numbers: [9095]
9095,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[68, 124], Operations: ['3+65=68', '39+85=124']
Exploring Operation: 124-68=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 68+124=192, Resulting Numbers: [192]
192,97 unequal: No Solution
Exploring Operation: 68*124=8432, Resulting Numbers: [8432]
8432,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[85, 52], Operations: ['3*39=117', '117-65=52']
Exploring Operation: 85*52=4420, Resulting Numbers: [4420]
4420,97 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 85+52=137, Resulting Numbers: [137]
137,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[65, 127], Operations: ['3+39=42', '85+42=127']
Exploring Operation: 127-65=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 65*127=8255, Resulting Numbers: [8255]
8255,97 unequal: No Solution
Exploring Operation: 65+127=192, Resulting Numbers: [192]
192,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[117, 150], Operations: ['3*39=117', '65+85=150']
Exploring Operation: 117+150=267, Resulting Numbers: [267]
267,97 unequal: No Solution
Exploring Operation: 117*150=17550, Resulting Numbers: [17550]
17550,97 unequal: No Solution
Exploring Operation: 150-117=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[68, 46], Operations: ['3+65=68', '85-39=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[85, 23], Operations: ['3+39=42', '65-42=23']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 85+23=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 85*23=1955, Resulting Numbers: [1955]
1955,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[117, 20], Operations: ['3*39=117', '85-65=20']
Exploring Operation: 117-20=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[3, 39, 65, 85], Operations: []
Exploring Operation: 3*39=117, Resulting Numbers: [65, 85, 117]
Generated Node #0,2: 97:[65, 85, 117] Operation: 3*39=117
Moving to Node #0,2
Current State: 97:[65, 85, 117], Operations: ['3*39=117']
Exploring Operation: 85-65=20, Resulting Numbers: [117, 20]
Generated Node #0,2,0: 97:[117, 20] Operation: 85-65=20
Moving to Node #0,2,0
Current State: 97:[117, 20], Operations: ['3*39=117', '85-65=20']
Exploring Operation: 117-20=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
51,
47,
83,
41
] | 56 | [
"51+47=98",
"83-41=42",
"98-42=56"
] | Current State: 56:[51, 47, 83, 41], Operations: []
Exploring Operation: 51+47=98, Resulting Numbers: [83, 41, 98]
Generated Node #2: [83, 41, 98] from Operation: 51+47=98
Current State: 56:[83, 41, 98], Operations: ['51+47=98']
Exploring Operation: 83-41=42, Resulting Numbers: [98, 42]
Generated Node #3: [98, 42] from Operation: 83-41=42
Current State: 56:[98, 42], Operations: ['51+47=98', '83-41=42']
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[51, 47, 83, 41], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [51, 83, 6]
Generated Node #0,0: 56:[51, 83, 6] Operation: 47-41=6
Exploring Operation: 51-41=10, Resulting Numbers: [47, 83, 10]
Generated Node #0,1: 56:[47, 83, 10] Operation: 51-41=10
Exploring Operation: 83-41=42, Resulting Numbers: [51, 47, 42]
Generated Node #0,2: 56:[51, 47, 42] Operation: 83-41=42
Exploring Operation: 83-47=36, Resulting Numbers: [51, 41, 36]
Generated Node #0,3: 56:[51, 41, 36] Operation: 83-47=36
Exploring Operation: 83-51=32, Resulting Numbers: [47, 41, 32]
Generated Node #0,4: 56:[47, 41, 32] Operation: 83-51=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[51, 41, 36], Operations: ['83-47=36']
Exploring Operation: 51+41=92, Resulting Numbers: [36, 92]
Generated Node #0,3,0: 56:[36, 92] Operation: 51+41=92
Exploring Operation: 41+36=77, Resulting Numbers: [51, 77]
Generated Node #0,3,1: 56:[51, 77] Operation: 41+36=77
Exploring Operation: 41-36=5, Resulting Numbers: [51, 5]
Generated Node #0,3,2: 56:[51, 5] Operation: 41-36=5
Exploring Operation: 51-41=10, Resulting Numbers: [36, 10]
Generated Node #0,3,3: 56:[36, 10] Operation: 51-41=10
Exploring Operation: 51-36=15, Resulting Numbers: [41, 15]
Generated Node #0,3,4: 56:[41, 15] Operation: 51-36=15
Moving to Node #0,3,2
Current State: 56:[51, 5], Operations: ['83-47=36', '41-36=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[51, 47, 83, 41], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [51, 41, 36]
Generated Node #0,3: 56:[51, 41, 36] Operation: 83-47=36
Moving to Node #0,3
Current State: 56:[51, 41, 36], Operations: ['83-47=36']
Exploring Operation: 41-36=5, Resulting Numbers: [51, 5]
Generated Node #0,3,2: 56:[51, 5] Operation: 41-36=5
Moving to Node #0,3,2
Current State: 56:[51, 5], Operations: ['83-47=36', '41-36=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
2,
94,
18,
57
] | 57 | [
"2+94=96",
"57-18=39",
"96-39=57"
] | Current State: 57:[2, 94, 18, 57], Operations: []
Exploring Operation: 2+94=96, Resulting Numbers: [18, 57, 96]
Generated Node #2: [18, 57, 96] from Operation: 2+94=96
Current State: 57:[18, 57, 96], Operations: ['2+94=96']
Exploring Operation: 57-18=39, Resulting Numbers: [96, 39]
Generated Node #3: [96, 39] from Operation: 57-18=39
Current State: 57:[96, 39], Operations: ['2+94=96', '57-18=39']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[2, 94, 18, 57], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [2, 18, 37]
Generated Node #0,0: 57:[2, 18, 37] Operation: 94-57=37
Exploring Operation: 94/2=47, Resulting Numbers: [18, 57, 47]
Generated Node #0,1: 57:[18, 57, 47] Operation: 94/2=47
Exploring Operation: 94-18=76, Resulting Numbers: [2, 57, 76]
Generated Node #0,2: 57:[2, 57, 76] Operation: 94-18=76
Moving to Node #0,1
Current State: 57:[18, 57, 47], Operations: ['94/2=47']
Exploring Operation: 57-47=10, Resulting Numbers: [18, 10]
Generated Node #0,1,0: 57:[18, 10] Operation: 57-47=10
Exploring Operation: 47-18=29, Resulting Numbers: [57, 29]
Generated Node #0,1,1: 57:[57, 29] Operation: 47-18=29
Exploring Operation: 18+47=65, Resulting Numbers: [57, 65]
Generated Node #0,1,2: 57:[57, 65] Operation: 18+47=65
Moving to Node #0,0
Current State: 57:[2, 18, 37], Operations: ['94-57=37']
Exploring Operation: 37-2=35, Resulting Numbers: [18, 35]
Generated Node #0,0,0: 57:[18, 35] Operation: 37-2=35
Exploring Operation: 37-18=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 57:[2, 19] Operation: 37-18=19
Exploring Operation: 18+37=55, Resulting Numbers: [2, 55]
Generated Node #0,0,2: 57:[2, 55] Operation: 18+37=55
Moving to Node #0,2
Current State: 57:[2, 57, 76], Operations: ['94-18=76']
Exploring Operation: 76-2=74, Resulting Numbers: [57, 74]
Generated Node #0,2,0: 57:[57, 74] Operation: 76-2=74
Exploring Operation: 76-57=19, Resulting Numbers: [2, 19]
Generated Node #0,2,1: 57:[2, 19] Operation: 76-57=19
Exploring Operation: 76/2=38, Resulting Numbers: [57, 38]
Generated Node #0,2,2: 57:[57, 38] Operation: 76/2=38
Moving to Node #0,0,1
Current State: 57:[2, 19], Operations: ['94-57=37', '37-18=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[2, 19], Operations: ['94-18=76', '76-57=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[2, 55], Operations: ['94-57=37', '18+37=55']
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[2, 94, 18, 57], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [2, 18, 37]
Generated Node #0,0: 57:[2, 18, 37] Operation: 94-57=37
Moving to Node #0,0
Current State: 57:[2, 18, 37], Operations: ['94-57=37']
Exploring Operation: 18+37=55, Resulting Numbers: [2, 55]
Generated Node #0,0,2: 57:[2, 55] Operation: 18+37=55
Moving to Node #0,0,2
Current State: 57:[2, 55], Operations: ['94-57=37', '18+37=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
90,
14,
87,
57
] | 15 | [
"90-87=3",
"14*3=42",
"57-42=15"
] | Current State: 15:[90, 14, 87, 57], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [14, 57, 3]
Generated Node #2: [14, 57, 3] from Operation: 90-87=3
Current State: 15:[14, 57, 3], Operations: ['90-87=3']
Exploring Operation: 14*3=42, Resulting Numbers: [57, 42]
Generated Node #3: [57, 42] from Operation: 14*3=42
Current State: 15:[57, 42], Operations: ['90-87=3', '14*3=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[90, 14, 87, 57], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [14, 57, 3]
Generated Node #0,0: 15:[14, 57, 3] Operation: 90-87=3
Moving to Node #0,0
Current State: 15:[14, 57, 3], Operations: ['90-87=3']
Exploring Operation: 57/3=19, Resulting Numbers: [14, 19]
Generated Node #0,0,0: 15:[14, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[14, 19], Operations: ['90-87=3', '57/3=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,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 |
[
19,
17,
95,
4
] | 89 | [
"19-17=2",
"95-4=91",
"91-2=89"
] | Current State: 89:[19, 17, 95, 4], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [95, 4, 2]
Generated Node #2: [95, 4, 2] from Operation: 19-17=2
Current State: 89:[95, 4, 2], Operations: ['19-17=2']
Exploring Operation: 95-4=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 95-4=91
Current State: 89:[2, 91], Operations: ['19-17=2', '95-4=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[19, 17, 95, 4], Operations: []
Exploring Operation: 19+17=36, Resulting Numbers: [95, 4, 36]
Generated Node #0,0: 89:[95, 4, 36] Operation: 19+17=36
Exploring Operation: 17*4=68, Resulting Numbers: [19, 95, 68]
Generated Node #0,1: 89:[19, 95, 68] Operation: 17*4=68
Exploring Operation: 19+4=23, Resulting Numbers: [17, 95, 23]
Generated Node #0,2: 89:[17, 95, 23] Operation: 19+4=23
Exploring Operation: 19*4=76, Resulting Numbers: [17, 95, 76]
Generated Node #0,3: 89:[17, 95, 76] Operation: 19*4=76
Moving to Node #0,3
Current State: 89:[17, 95, 76], Operations: ['19*4=76']
Exploring Operation: 76-17=59, Resulting Numbers: [95, 59]
Generated Node #0,3,0: 89:[95, 59] Operation: 76-17=59
Exploring Operation: 95-17=78, Resulting Numbers: [76, 78]
Generated Node #0,3,1: 89:[76, 78] Operation: 95-17=78
Exploring Operation: 17+76=93, Resulting Numbers: [95, 93]
Generated Node #0,3,2: 89:[95, 93] Operation: 17+76=93
Exploring Operation: 17+95=112, Resulting Numbers: [76, 112]
Generated Node #0,3,3: 89:[76, 112] Operation: 17+95=112
Moving to Node #0,1
Current State: 89:[19, 95, 68], Operations: ['17*4=68']
Exploring Operation: 19+68=87, Resulting Numbers: [95, 87]
Generated Node #0,1,0: 89:[95, 87] Operation: 19+68=87
Exploring Operation: 68-19=49, Resulting Numbers: [95, 49]
Generated Node #0,1,1: 89:[95, 49] Operation: 68-19=49
Exploring Operation: 19+95=114, Resulting Numbers: [68, 114]
Generated Node #0,1,2: 89:[68, 114] Operation: 19+95=114
Exploring Operation: 95-19=76, Resulting Numbers: [68, 76]
Generated Node #0,1,3: 89:[68, 76] Operation: 95-19=76
Moving to Node #0,2
Current State: 89:[17, 95, 23], Operations: ['19+4=23']
Exploring Operation: 17+95=112, Resulting Numbers: [23, 112]
Generated Node #0,2,0: 89:[23, 112] Operation: 17+95=112
Exploring Operation: 23-17=6, Resulting Numbers: [95, 6]
Generated Node #0,2,1: 89:[95, 6] Operation: 23-17=6
Exploring Operation: 17+23=40, Resulting Numbers: [95, 40]
Generated Node #0,2,2: 89:[95, 40] Operation: 17+23=40
Exploring Operation: 95-17=78, Resulting Numbers: [23, 78]
Generated Node #0,2,3: 89:[23, 78] Operation: 95-17=78
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[95, 40], Operations: ['19+4=23', '17+23=40']
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 95+40=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 95*40=3800, Resulting Numbers: [3800]
3800,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[23, 78], Operations: ['19+4=23', '95-17=78']
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[23, 112], Operations: ['19+4=23', '17+95=112']
Exploring Operation: 23*112=2576, Resulting Numbers: [2576]
2576,89 unequal: No Solution
Exploring Operation: 112-23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[19, 17, 95, 4], Operations: []
Exploring Operation: 19+4=23, Resulting Numbers: [17, 95, 23]
Generated Node #0,2: 89:[17, 95, 23] Operation: 19+4=23
Moving to Node #0,2
Current State: 89:[17, 95, 23], Operations: ['19+4=23']
Exploring Operation: 17+95=112, Resulting Numbers: [23, 112]
Generated Node #0,2,0: 89:[23, 112] Operation: 17+95=112
Moving to Node #0,2,0
Current State: 89:[23, 112], Operations: ['19+4=23', '17+95=112']
Exploring Operation: 112-23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | mult_heuristic |
[
71,
52,
1,
77
] | 96 | [
"71-52=19",
"1*77=77",
"19+77=96"
] | Current State: 96:[71, 52, 1, 77], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [1, 77, 19]
Generated Node #2: [1, 77, 19] from Operation: 71-52=19
Current State: 96:[1, 77, 19], Operations: ['71-52=19']
Exploring Operation: 1*77=77, Resulting Numbers: [19, 77]
Generated Node #3: [19, 77] from Operation: 1*77=77
Current State: 96:[19, 77], Operations: ['71-52=19', '1*77=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[71, 52, 1, 77], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [52, 1, 6]
Generated Node #0,0: 96:[52, 1, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[52, 1, 6], Operations: ['77-71=6']
Exploring Operation: 52-1=51, Resulting Numbers: [6, 51]
Generated Node #0,0,0: 96:[6, 51] Operation: 52-1=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[6, 51], Operations: ['77-71=6', '52-1=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
62,
25,
66
] | 63 | [
"84-62=22",
"66-25=41",
"22+41=63"
] | Current State: 63:[84, 62, 25, 66], Operations: []
Exploring Operation: 84-62=22, Resulting Numbers: [25, 66, 22]
Generated Node #2: [25, 66, 22] from Operation: 84-62=22
Current State: 63:[25, 66, 22], Operations: ['84-62=22']
Exploring Operation: 66-25=41, Resulting Numbers: [22, 41]
Generated Node #3: [22, 41] from Operation: 66-25=41
Current State: 63:[22, 41], Operations: ['84-62=22', '66-25=41']
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[84, 62, 25, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [84, 25, 4]
Generated Node #0,0: 63:[84, 25, 4] Operation: 66-62=4
Exploring Operation: 84-25=59, Resulting Numbers: [62, 66, 59]
Generated Node #0,1: 63:[62, 66, 59] Operation: 84-25=59
Exploring Operation: 84-62=22, Resulting Numbers: [25, 66, 22]
Generated Node #0,2: 63:[25, 66, 22] Operation: 84-62=22
Exploring Operation: 84-66=18, Resulting Numbers: [62, 25, 18]
Generated Node #0,3: 63:[62, 25, 18] Operation: 84-66=18
Moving to Node #0,1
Current State: 63:[62, 66, 59], Operations: ['84-25=59']
Exploring Operation: 66-59=7, Resulting Numbers: [62, 7]
Generated Node #0,1,0: 63:[62, 7] Operation: 66-59=7
Exploring Operation: 62+59=121, Resulting Numbers: [66, 121]
Generated Node #0,1,1: 63:[66, 121] Operation: 62+59=121
Exploring Operation: 62-59=3, Resulting Numbers: [66, 3]
Generated Node #0,1,2: 63:[66, 3] Operation: 62-59=3
Exploring Operation: 66-62=4, Resulting Numbers: [59, 4]
Generated Node #0,1,3: 63:[59, 4] Operation: 66-62=4
Moving to Node #0,3
Current State: 63:[62, 25, 18], Operations: ['84-66=18']
Exploring Operation: 25+18=43, Resulting Numbers: [62, 43]
Generated Node #0,3,0: 63:[62, 43] Operation: 25+18=43
Exploring Operation: 62+18=80, Resulting Numbers: [25, 80]
Generated Node #0,3,1: 63:[25, 80] Operation: 62+18=80
Exploring Operation: 25-18=7, Resulting Numbers: [62, 7]
Generated Node #0,3,2: 63:[62, 7] Operation: 25-18=7
Exploring Operation: 62-25=37, Resulting Numbers: [18, 37]
Generated Node #0,3,3: 63:[18, 37] Operation: 62-25=37
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[62, 7], Operations: ['84-66=18', '25-18=7']
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,63 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[18, 37], Operations: ['84-66=18', '62-25=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[62, 43], Operations: ['84-66=18', '25+18=43']
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,63 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[25, 80], Operations: ['84-66=18', '62+18=80']
Exploring Operation: 25+80=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 25*80=2000, Resulting Numbers: [2000]
2000,63 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,63 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: 63:[25, 66, 22], Operations: ['84-62=22']
Exploring Operation: 25+22=47, Resulting Numbers: [66, 47]
Generated Node #0,2,0: 63:[66, 47] Operation: 25+22=47
Exploring Operation: 66-25=41, Resulting Numbers: [22, 41]
Generated Node #0,2,1: 63:[22, 41] Operation: 66-25=41
Exploring Operation: 66/22=3, Resulting Numbers: [25, 3]
Generated Node #0,2,2: 63:[25, 3] Operation: 66/22=3
Exploring Operation: 25-22=3, Resulting Numbers: [66, 3]
Generated Node #0,2,3: 63:[66, 3] Operation: 25-22=3
Moving to Node #0,0
Current State: 63:[84, 25, 4], Operations: ['66-62=4']
Exploring Operation: 84-25=59, Resulting Numbers: [4, 59]
Generated Node #0,0,0: 63:[4, 59] Operation: 84-25=59
Exploring Operation: 84-4=80, Resulting Numbers: [25, 80]
Generated Node #0,0,1: 63:[25, 80] Operation: 84-4=80
Exploring Operation: 25-4=21, Resulting Numbers: [84, 21]
Generated Node #0,0,2: 63:[84, 21] Operation: 25-4=21
Exploring Operation: 84/4=21, Resulting Numbers: [25, 21]
Generated Node #0,0,3: 63:[25, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[25, 21], Operations: ['66-62=4', '84/4=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,63 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[4, 59], Operations: ['66-62=4', '84-25=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[84, 62, 25, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [84, 25, 4]
Generated Node #0,0: 63:[84, 25, 4] Operation: 66-62=4
Moving to Node #0,0
Current State: 63:[84, 25, 4], Operations: ['66-62=4']
Exploring Operation: 84-25=59, Resulting Numbers: [4, 59]
Generated Node #0,0,0: 63:[4, 59] Operation: 84-25=59
Moving to Node #0,0,0
Current State: 63:[4, 59], Operations: ['66-62=4', '84-25=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | sum_heuristic |
[
16,
93,
99,
5
] | 84 | [
"16-5=11",
"99/11=9",
"93-9=84"
] | Current State: 84:[16, 93, 99, 5], Operations: []
Exploring Operation: 16-5=11, Resulting Numbers: [93, 99, 11]
Generated Node #2: [93, 99, 11] from Operation: 16-5=11
Current State: 84:[93, 99, 11], Operations: ['16-5=11']
Exploring Operation: 99/11=9, Resulting Numbers: [93, 9]
Generated Node #3: [93, 9] from Operation: 99/11=9
Current State: 84:[93, 9], Operations: ['16-5=11', '99/11=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[16, 93, 99, 5], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [16, 5, 6]
Generated Node #0,0: 84:[16, 5, 6] Operation: 99-93=6
Exploring Operation: 99-16=83, Resulting Numbers: [93, 5, 83]
Generated Node #0,1: 84:[93, 5, 83] Operation: 99-16=83
Exploring Operation: 93-5=88, Resulting Numbers: [16, 99, 88]
Generated Node #0,2: 84:[16, 99, 88] Operation: 93-5=88
Moving to Node #0,0
Current State: 84:[16, 5, 6], Operations: ['99-93=6']
Exploring Operation: 16-5=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 84:[6, 11] Operation: 16-5=11
Exploring Operation: 16+6=22, Resulting Numbers: [5, 22]
Generated Node #0,0,1: 84:[5, 22] Operation: 16+6=22
Exploring Operation: 16+5=21, Resulting Numbers: [6, 21]
Generated Node #0,0,2: 84:[6, 21] Operation: 16+5=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[6, 21], Operations: ['99-93=6', '16+5=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[6, 11], Operations: ['99-93=6', '16-5=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[5, 22], Operations: ['99-93=6', '16+6=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,84 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,84 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: 84:[93, 5, 83], Operations: ['99-16=83']
Exploring Operation: 93-5=88, Resulting Numbers: [83, 88]
Generated Node #0,1,0: 84:[83, 88] Operation: 93-5=88
Exploring Operation: 93-83=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 84:[5, 10] Operation: 93-83=10
Exploring Operation: 5+83=88, Resulting Numbers: [93, 88]
Generated Node #0,1,2: 84:[93, 88] Operation: 5+83=88
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[5, 10], Operations: ['99-16=83', '93-83=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[83, 88], Operations: ['99-16=83', '93-5=88']
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,84 unequal: No Solution
Exploring Operation: 83*88=7304, Resulting Numbers: [7304]
7304,84 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[93, 88], Operations: ['99-16=83', '5+83=88']
Exploring Operation: 93*88=8184, Resulting Numbers: [8184]
8184,84 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 93+88=181, Resulting Numbers: [181]
181,84 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: 84:[16, 99, 88], Operations: ['93-5=88']
Exploring Operation: 99-16=83, Resulting Numbers: [88, 83]
Generated Node #0,2,0: 84:[88, 83] Operation: 99-16=83
Exploring Operation: 99-88=11, Resulting Numbers: [16, 11]
Generated Node #0,2,1: 84:[16, 11] Operation: 99-88=11
Exploring Operation: 88-16=72, Resulting Numbers: [99, 72]
Generated Node #0,2,2: 84:[99, 72] Operation: 88-16=72
Moving to Node #0,2,1
Current State: 84:[16, 11], Operations: ['93-5=88', '99-88=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[88, 83], Operations: ['93-5=88', '99-16=83']
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 88*83=7304, Resulting Numbers: [7304]
7304,84 unequal: No Solution
Exploring Operation: 88+83=171, Resulting Numbers: [171]
171,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[99, 72], Operations: ['93-5=88', '88-16=72']
Exploring Operation: 99*72=7128, Resulting Numbers: [7128]
7128,84 unequal: No Solution
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 99+72=171, Resulting Numbers: [171]
171,84 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.