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 |
|---|---|---|---|---|---|---|---|---|
[
83,
40,
52,
24
] | 33 | [
"83-40=43",
"52+24=76",
"76-43=33"
] | Current State: 33:[83, 40, 52, 24], Operations: []
Exploring Operation: 83-40=43, Resulting Numbers: [52, 24, 43]
Generated Node #2: [52, 24, 43] from Operation: 83-40=43
Current State: 33:[52, 24, 43], Operations: ['83-40=43']
Exploring Operation: 52+24=76, Resulting Numbers: [43, 76]
Generated Node #3: [43, 76] from Operation: 52+24=76
Current State: 33:[43, 76], Operations: ['83-40=43', '52+24=76']
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[83, 40, 52, 24], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [83, 40, 28]
Generated Node #0,0: 33:[83, 40, 28] Operation: 52-24=28
Exploring Operation: 52-40=12, Resulting Numbers: [83, 24, 12]
Generated Node #0,1: 33:[83, 24, 12] Operation: 52-40=12
Exploring Operation: 83-40=43, Resulting Numbers: [52, 24, 43]
Generated Node #0,2: 33:[52, 24, 43] Operation: 83-40=43
Exploring Operation: 83-52=31, Resulting Numbers: [40, 24, 31]
Generated Node #0,3: 33:[40, 24, 31] Operation: 83-52=31
Exploring Operation: 83-24=59, Resulting Numbers: [40, 52, 59]
Generated Node #0,4: 33:[40, 52, 59] Operation: 83-24=59
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[40, 24, 31], Operations: ['83-52=31']
Exploring Operation: 31-24=7, Resulting Numbers: [40, 7]
Generated Node #0,3,0: 33:[40, 7] Operation: 31-24=7
Exploring Operation: 40-24=16, Resulting Numbers: [31, 16]
Generated Node #0,3,1: 33:[31, 16] Operation: 40-24=16
Exploring Operation: 40+24=64, Resulting Numbers: [31, 64]
Generated Node #0,3,2: 33:[31, 64] Operation: 40+24=64
Exploring Operation: 40-31=9, Resulting Numbers: [24, 9]
Generated Node #0,3,3: 33:[24, 9] Operation: 40-31=9
Exploring Operation: 24+31=55, Resulting Numbers: [40, 55]
Generated Node #0,3,4: 33:[40, 55] Operation: 24+31=55
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[31, 16], Operations: ['83-52=31', '40-24=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,33 unequal: No Solution
No 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: 33:[40, 7], Operations: ['83-52=31', '31-24=7']
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,33 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[83, 40, 52, 24], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [40, 24, 31]
Generated Node #0,3: 33:[40, 24, 31] Operation: 83-52=31
Moving to Node #0,3
Current State: 33:[40, 24, 31], Operations: ['83-52=31']
Exploring Operation: 31-24=7, Resulting Numbers: [40, 7]
Generated Node #0,3,0: 33:[40, 7] Operation: 31-24=7
Moving to Node #0,3,0
Current State: 33:[40, 7], Operations: ['83-52=31', '31-24=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
49,
75,
82,
46
] | 97 | [
"49*75=3675",
"82*46=3772",
"3772-3675=97"
] | Current State: 97:[49, 75, 82, 46], Operations: []
Exploring Operation: 49*75=3675, Resulting Numbers: [82, 46, 3675]
Generated Node #2: [82, 46, 3675] from Operation: 49*75=3675
Current State: 97:[82, 46, 3675], Operations: ['49*75=3675']
Exploring Operation: 82*46=3772, Resulting Numbers: [3675, 3772]
Generated Node #3: [3675, 3772] from Operation: 82*46=3772
Current State: 97:[3675, 3772], Operations: ['49*75=3675', '82*46=3772']
Exploring Operation: 3772-3675=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[49, 75, 82, 46], Operations: []
Exploring Operation: 49+82=131, Resulting Numbers: [75, 46, 131]
Generated Node #0,0: 97:[75, 46, 131] Operation: 49+82=131
Exploring Operation: 49+46=95, Resulting Numbers: [75, 82, 95]
Generated Node #0,1: 97:[75, 82, 95] Operation: 49+46=95
Exploring Operation: 82+46=128, Resulting Numbers: [49, 75, 128]
Generated Node #0,2: 97:[49, 75, 128] Operation: 82+46=128
Exploring Operation: 75+46=121, Resulting Numbers: [49, 82, 121]
Generated Node #0,3: 97:[49, 82, 121] Operation: 75+46=121
Exploring Operation: 49+75=124, Resulting Numbers: [82, 46, 124]
Generated Node #0,4: 97:[82, 46, 124] Operation: 49+75=124
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[75, 82, 95], Operations: ['49+46=95']
Exploring Operation: 75+95=170, Resulting Numbers: [82, 170]
Generated Node #0,1,0: 97:[82, 170] Operation: 75+95=170
Exploring Operation: 95-75=20, Resulting Numbers: [82, 20]
Generated Node #0,1,1: 97:[82, 20] Operation: 95-75=20
Exploring Operation: 75+82=157, Resulting Numbers: [95, 157]
Generated Node #0,1,2: 97:[95, 157] Operation: 75+82=157
Exploring Operation: 82-75=7, Resulting Numbers: [95, 7]
Generated Node #0,1,3: 97:[95, 7] Operation: 82-75=7
Exploring Operation: 82+95=177, Resulting Numbers: [75, 177]
Generated Node #0,1,4: 97:[75, 177] Operation: 82+95=177
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[95, 157], Operations: ['49+46=95', '75+82=157']
Exploring Operation: 95+157=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 95*157=14915, Resulting Numbers: [14915]
14915,97 unequal: No Solution
Exploring Operation: 157-95=62, Resulting Numbers: [62]
62,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:[82, 170], Operations: ['49+46=95', '75+95=170']
Exploring Operation: 82*170=13940, Resulting Numbers: [13940]
13940,97 unequal: No Solution
Exploring Operation: 170-82=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 82+170=252, Resulting Numbers: [252]
252,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:[82, 20], Operations: ['49+46=95', '95-75=20']
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,97 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,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,3
Current State: 97:[95, 7], Operations: ['49+46=95', '82-75=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,97 unequal: No Solution
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,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:[75, 177], Operations: ['49+46=95', '82+95=177']
Exploring Operation: 177-75=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 75*177=13275, Resulting Numbers: [13275]
13275,97 unequal: No Solution
Exploring Operation: 75+177=252, Resulting Numbers: [252]
252,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:[49, 82, 121], Operations: ['75+46=121']
Exploring Operation: 49+121=170, Resulting Numbers: [82, 170]
Generated Node #0,3,0: 97:[82, 170] Operation: 49+121=170
Exploring Operation: 49+82=131, Resulting Numbers: [121, 131]
Generated Node #0,3,1: 97:[121, 131] Operation: 49+82=131
Exploring Operation: 121-49=72, Resulting Numbers: [82, 72]
Generated Node #0,3,2: 97:[82, 72] Operation: 121-49=72
Exploring Operation: 82-49=33, Resulting Numbers: [121, 33]
Generated Node #0,3,3: 97:[121, 33] Operation: 82-49=33
Exploring Operation: 121-82=39, Resulting Numbers: [49, 39]
Generated Node #0,3,4: 97:[49, 39] Operation: 121-82=39
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[82, 72], Operations: ['75+46=121', '121-49=72']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[121, 131], Operations: ['75+46=121', '49+82=131']
Exploring Operation: 121*131=15851, Resulting Numbers: [15851]
15851,97 unequal: No Solution
Exploring Operation: 131-121=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 121+131=252, Resulting Numbers: [252]
252,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[82, 170], Operations: ['75+46=121', '49+121=170']
Exploring Operation: 82*170=13940, Resulting Numbers: [13940]
13940,97 unequal: No Solution
Exploring Operation: 170-82=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 82+170=252, Resulting Numbers: [252]
252,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[121, 33], Operations: ['75+46=121', '82-49=33']
Exploring Operation: 121*33=3993, Resulting Numbers: [3993]
3993,97 unequal: No Solution
Exploring Operation: 121+33=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 121-33=88, Resulting Numbers: [88]
88,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 97:[49, 39], Operations: ['75+46=121', '121-82=39']
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,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,4
Current State: 97:[82, 46, 124], Operations: ['49+75=124']
Exploring Operation: 124-82=42, Resulting Numbers: [46, 42]
Generated Node #0,4,0: 97:[46, 42] Operation: 124-82=42
Exploring Operation: 46+124=170, Resulting Numbers: [82, 170]
Generated Node #0,4,1: 97:[82, 170] Operation: 46+124=170
Exploring Operation: 82-46=36, Resulting Numbers: [124, 36]
Generated Node #0,4,2: 97:[124, 36] Operation: 82-46=36
Exploring Operation: 124-46=78, Resulting Numbers: [82, 78]
Generated Node #0,4,3: 97:[82, 78] Operation: 124-46=78
Exploring Operation: 82+46=128, Resulting Numbers: [124, 128]
Generated Node #0,4,4: 97:[124, 128] Operation: 82+46=128
Moving to Node #0,4,3
Current State: 97:[82, 78], Operations: ['49+75=124', '124-46=78']
Exploring Operation: 82*78=6396, Resulting Numbers: [6396]
6396,97 unequal: No Solution
Exploring Operation: 82+78=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[124, 128], Operations: ['49+75=124', '82+46=128']
Exploring Operation: 128-124=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 124*128=15872, Resulting Numbers: [15872]
15872,97 unequal: No Solution
Exploring Operation: 124+128=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[82, 170], Operations: ['49+75=124', '46+124=170']
Exploring Operation: 82+170=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 170-82=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 82*170=13940, Resulting Numbers: [13940]
13940,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[124, 36], Operations: ['49+75=124', '82-46=36']
Exploring Operation: 124+36=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 124-36=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 124*36=4464, Resulting Numbers: [4464]
4464,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[46, 42], Operations: ['49+75=124', '124-82=42']
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,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,2
Current State: 97:[49, 75, 128], Operations: ['82+46=128']
Exploring Operation: 128-49=79, Resulting Numbers: [75, 79]
Generated Node #0,2,0: 97:[75, 79] Operation: 128-49=79
Exploring Operation: 128-75=53, Resulting Numbers: [49, 53]
Generated Node #0,2,1: 97:[49, 53] Operation: 128-75=53
Exploring Operation: 49+128=177, Resulting Numbers: [75, 177]
Generated Node #0,2,2: 97:[75, 177] Operation: 49+128=177
Exploring Operation: 75-49=26, Resulting Numbers: [128, 26]
Generated Node #0,2,3: 97:[128, 26] Operation: 75-49=26
Exploring Operation: 49+75=124, Resulting Numbers: [128, 124]
Generated Node #0,2,4: 97:[128, 124] Operation: 49+75=124
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[75, 79], Operations: ['82+46=128', '128-49=79']
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,97 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,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,2,4
Current State: 97:[128, 124], Operations: ['82+46=128', '49+75=124']
Exploring Operation: 128*124=15872, Resulting Numbers: [15872]
15872,97 unequal: No Solution
Exploring Operation: 128+124=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 128-124=4, Resulting Numbers: [4]
4,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,2,1
Current State: 97:[49, 53], Operations: ['82+46=128', '128-75=53']
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 49*53=2597, Resulting Numbers: [2597]
2597,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,2,2
Current State: 97:[75, 177], Operations: ['82+46=128', '49+128=177']
Exploring Operation: 177-75=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 75*177=13275, Resulting Numbers: [13275]
13275,97 unequal: No Solution
Exploring Operation: 75+177=252, Resulting Numbers: [252]
252,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,2,3
Current State: 97:[128, 26], Operations: ['82+46=128', '75-49=26']
Exploring Operation: 128-26=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 128+26=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 128*26=3328, Resulting Numbers: [3328]
3328,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,0
Current State: 97:[75, 46, 131], Operations: ['49+82=131']
Exploring Operation: 131-46=85, Resulting Numbers: [75, 85]
Generated Node #0,0,0: 97:[75, 85] Operation: 131-46=85
Exploring Operation: 75-46=29, Resulting Numbers: [131, 29]
Generated Node #0,0,1: 97:[131, 29] Operation: 75-46=29
Exploring Operation: 75+46=121, Resulting Numbers: [131, 121]
Generated Node #0,0,2: 97:[131, 121] Operation: 75+46=121
Exploring Operation: 131-75=56, Resulting Numbers: [46, 56]
Generated Node #0,0,3: 97:[46, 56] Operation: 131-75=56
Exploring Operation: 46+131=177, Resulting Numbers: [75, 177]
Generated Node #0,0,4: 97:[75, 177] Operation: 46+131=177
Moving to Node #0,0,0
Current State: 97:[75, 85], Operations: ['49+82=131', '131-46=85']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 75*85=6375, Resulting Numbers: [6375]
6375,97 unequal: No Solution
Exploring Operation: 75+85=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[131, 121], Operations: ['49+82=131', '75+46=121']
Exploring Operation: 131+121=252, Resulting Numbers: [252]
252,97 unequal: No Solution
Exploring Operation: 131*121=15851, Resulting Numbers: [15851]
15851,97 unequal: No Solution
Exploring Operation: 131-121=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[46, 56], Operations: ['49+82=131', '131-75=56']
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 46*56=2576, Resulting Numbers: [2576]
2576,97 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[131, 29], Operations: ['49+82=131', '75-46=29']
Exploring Operation: 131-29=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 131*29=3799, Resulting Numbers: [3799]
3799,97 unequal: No Solution
Exploring Operation: 131+29=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[75, 177], Operations: ['49+82=131', '46+131=177']
Exploring Operation: 75*177=13275, Resulting Numbers: [13275]
13275,97 unequal: No Solution
Exploring Operation: 177-75=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 75+177=252, Resulting Numbers: [252]
252,97 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 |
[
63,
83,
55,
5
] | 15 | [
"83-63=20",
"55+20=75",
"75/5=15"
] | Current State: 15:[63, 83, 55, 5], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [55, 5, 20]
Generated Node #2: [55, 5, 20] from Operation: 83-63=20
Current State: 15:[55, 5, 20], Operations: ['83-63=20']
Exploring Operation: 55+20=75, Resulting Numbers: [5, 75]
Generated Node #3: [5, 75] from Operation: 55+20=75
Current State: 15:[5, 75], Operations: ['83-63=20', '55+20=75']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[63, 83, 55, 5], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [63, 5, 28]
Generated Node #0,0: 15:[63, 5, 28] Operation: 83-55=28
Exploring Operation: 63-5=58, Resulting Numbers: [83, 55, 58]
Generated Node #0,1: 15:[83, 55, 58] Operation: 63-5=58
Exploring Operation: 63-55=8, Resulting Numbers: [83, 5, 8]
Generated Node #0,2: 15:[83, 5, 8] Operation: 63-55=8
Exploring Operation: 55/5=11, Resulting Numbers: [63, 83, 11]
Generated Node #0,3: 15:[63, 83, 11] Operation: 55/5=11
Exploring Operation: 83-63=20, Resulting Numbers: [55, 5, 20]
Generated Node #0,4: 15:[55, 5, 20] Operation: 83-63=20
Moving to Node #0,4
Current State: 15:[55, 5, 20], Operations: ['83-63=20']
Exploring Operation: 55-5=50, Resulting Numbers: [20, 50]
Generated Node #0,4,0: 15:[20, 50] Operation: 55-5=50
Exploring Operation: 55-20=35, Resulting Numbers: [5, 35]
Generated Node #0,4,1: 15:[5, 35] Operation: 55-20=35
Exploring Operation: 20-5=15, Resulting Numbers: [55, 15]
Generated Node #0,4,2: 15:[55, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [55, 4]
Generated Node #0,4,3: 15:[55, 4] Operation: 20/5=4
Exploring Operation: 55/5=11, Resulting Numbers: [20, 11]
Generated Node #0,4,4: 15:[20, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 15:[20, 11], Operations: ['83-63=20', '55/5=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,15 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 15:[5, 35], Operations: ['83-63=20', '55-20=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,15 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 15:[20, 50], Operations: ['83-63=20', '55-5=50']
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,15 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 15:[55, 15], Operations: ['83-63=20', '20-5=15']
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,15 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 15:[55, 4], Operations: ['83-63=20', '20/5=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,15 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 15:[63, 5, 28], Operations: ['83-55=28']
Exploring Operation: 5+28=33, Resulting Numbers: [63, 33]
Generated Node #0,0,0: 15:[63, 33] Operation: 5+28=33
Exploring Operation: 63+5=68, Resulting Numbers: [28, 68]
Generated Node #0,0,1: 15:[28, 68] Operation: 63+5=68
Exploring Operation: 63-5=58, Resulting Numbers: [28, 58]
Generated Node #0,0,2: 15:[28, 58] Operation: 63-5=58
Exploring Operation: 63-28=35, Resulting Numbers: [5, 35]
Generated Node #0,0,3: 15:[5, 35] Operation: 63-28=35
Exploring Operation: 28-5=23, Resulting Numbers: [63, 23]
Generated Node #0,0,4: 15:[63, 23] Operation: 28-5=23
Moving to Node #0,2
Current State: 15:[83, 5, 8], Operations: ['63-55=8']
Exploring Operation: 83+5=88, Resulting Numbers: [8, 88]
Generated Node #0,2,0: 15:[8, 88] Operation: 83+5=88
Exploring Operation: 83-5=78, Resulting Numbers: [8, 78]
Generated Node #0,2,1: 15:[8, 78] Operation: 83-5=78
Exploring Operation: 8-5=3, Resulting Numbers: [83, 3]
Generated Node #0,2,2: 15:[83, 3] Operation: 8-5=3
Exploring Operation: 5+8=13, Resulting Numbers: [83, 13]
Generated Node #0,2,3: 15:[83, 13] Operation: 5+8=13
Exploring Operation: 83-8=75, Resulting Numbers: [5, 75]
Generated Node #0,2,4: 15:[5, 75] Operation: 83-8=75
Moving to Node #0,3
Current State: 15:[63, 83, 11], Operations: ['55/5=11']
Exploring Operation: 83-11=72, Resulting Numbers: [63, 72]
Generated Node #0,3,0: 15:[63, 72] Operation: 83-11=72
Exploring Operation: 83-63=20, Resulting Numbers: [11, 20]
Generated Node #0,3,1: 15:[11, 20] Operation: 83-63=20
Exploring Operation: 63-11=52, Resulting Numbers: [83, 52]
Generated Node #0,3,2: 15:[83, 52] Operation: 63-11=52
Exploring Operation: 63+11=74, Resulting Numbers: [83, 74]
Generated Node #0,3,3: 15:[83, 74] Operation: 63+11=74
Exploring Operation: 83+11=94, Resulting Numbers: [63, 94]
Generated Node #0,3,4: 15:[63, 94] Operation: 83+11=94
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 15:[11, 20], Operations: ['55/5=11', '83-63=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,15 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[63, 72], Operations: ['55/5=11', '83-11=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,15 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[83, 52], Operations: ['55/5=11', '63-11=52']
Exploring Operation: 83*52=4316, Resulting Numbers: [4316]
4316,15 unequal: No Solution
Exploring Operation: 83+52=135, Resulting Numbers: [135]
135,15 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[83, 74], Operations: ['55/5=11', '63+11=74']
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 83*74=6142, Resulting Numbers: [6142]
6142,15 unequal: No Solution
Exploring Operation: 83+74=157, Resulting Numbers: [157]
157,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 15:[63, 94], Operations: ['55/5=11', '83+11=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,15 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,15 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[83, 55, 58], Operations: ['63-5=58']
Exploring Operation: 83+58=141, Resulting Numbers: [55, 141]
Generated Node #0,1,0: 15:[55, 141] Operation: 83+58=141
Exploring Operation: 58-55=3, Resulting Numbers: [83, 3]
Generated Node #0,1,1: 15:[83, 3] Operation: 58-55=3
Exploring Operation: 83+55=138, Resulting Numbers: [58, 138]
Generated Node #0,1,2: 15:[58, 138] Operation: 83+55=138
Exploring Operation: 83-58=25, Resulting Numbers: [55, 25]
Generated Node #0,1,3: 15:[55, 25] Operation: 83-58=25
Exploring Operation: 83-55=28, Resulting Numbers: [58, 28]
Generated Node #0,1,4: 15:[58, 28] Operation: 83-55=28
Moving to Node #0,0,3
Current State: 15:[5, 35], Operations: ['83-55=28', '63-28=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,15 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[55, 25], Operations: ['63-5=58', '83-58=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,15 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[63, 23], Operations: ['83-55=28', '28-5=23']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,15 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[58, 28], Operations: ['63-5=58', '83-55=28']
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,15 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[28, 58], Operations: ['83-55=28', '63-5=58']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,15 unequal: No Solution
Moving to Node #0,2,4
Current State: 15:[5, 75], Operations: ['63-55=8', '83-8=75']
Exploring Operation: 5*75=375, Resulting Numbers: [375]
375,15 unequal: No Solution
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[63, 83, 55, 5], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [83, 5, 8]
Generated Node #0,2: 15:[83, 5, 8] Operation: 63-55=8
Moving to Node #0,2
Current State: 15:[83, 5, 8], Operations: ['63-55=8']
Exploring Operation: 83-8=75, Resulting Numbers: [5, 75]
Generated Node #0,2,4: 15:[5, 75] Operation: 83-8=75
Moving to Node #0,2,4
Current State: 15:[5, 75], Operations: ['63-55=8', '83-8=75']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
43,
44,
8,
46
] | 94 | [
"46-44=2",
"43*2=86",
"8+86=94"
] | Current State: 94:[43, 44, 8, 46], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [43, 8, 2]
Generated Node #2: [43, 8, 2] from Operation: 46-44=2
Current State: 94:[43, 8, 2], Operations: ['46-44=2']
Exploring Operation: 43*2=86, Resulting Numbers: [8, 86]
Generated Node #3: [8, 86] from Operation: 43*2=86
Current State: 94:[8, 86], Operations: ['46-44=2', '43*2=86']
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[43, 44, 8, 46], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [44, 46, 51]
Generated Node #0,0: 94:[44, 46, 51] Operation: 43+8=51
Exploring Operation: 44+8=52, Resulting Numbers: [43, 46, 52]
Generated Node #0,1: 94:[43, 46, 52] Operation: 44+8=52
Exploring Operation: 44-43=1, Resulting Numbers: [8, 46, 1]
Generated Node #0,2: 94:[8, 46, 1] Operation: 44-43=1
Exploring Operation: 46-43=3, Resulting Numbers: [44, 8, 3]
Generated Node #0,3: 94:[44, 8, 3] Operation: 46-43=3
Exploring Operation: 46-44=2, Resulting Numbers: [43, 8, 2]
Generated Node #0,4: 94:[43, 8, 2] Operation: 46-44=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[44, 46, 51], Operations: ['43+8=51']
Exploring Operation: 46+51=97, Resulting Numbers: [44, 97]
Generated Node #0,0,0: 94:[44, 97] Operation: 46+51=97
Exploring Operation: 44+51=95, Resulting Numbers: [46, 95]
Generated Node #0,0,1: 94:[46, 95] Operation: 44+51=95
Exploring Operation: 51-46=5, Resulting Numbers: [44, 5]
Generated Node #0,0,2: 94:[44, 5] Operation: 51-46=5
Exploring Operation: 51-44=7, Resulting Numbers: [46, 7]
Generated Node #0,0,3: 94:[46, 7] Operation: 51-44=7
Exploring Operation: 46-44=2, Resulting Numbers: [51, 2]
Generated Node #0,0,4: 94:[51, 2] Operation: 46-44=2
Moving to Node #0,0,1
Current State: 94:[46, 95], Operations: ['43+8=51', '44+51=95']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[51, 2], Operations: ['43+8=51', '46-44=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[44, 97], Operations: ['43+8=51', '46+51=97']
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 44*97=4268, Resulting Numbers: [4268]
4268,94 unequal: No Solution
Exploring Operation: 44+97=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[44, 5], Operations: ['43+8=51', '51-46=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,94 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[46, 7], Operations: ['43+8=51', '51-44=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,94 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[8, 46, 1], Operations: ['44-43=1']
Exploring Operation: 8-1=7, Resulting Numbers: [46, 7]
Generated Node #0,2,0: 94:[46, 7] Operation: 8-1=7
Exploring Operation: 46*1=46, Resulting Numbers: [8, 46]
Generated Node #0,2,1: 94:[8, 46] Operation: 46*1=46
Exploring Operation: 8*1=8, Resulting Numbers: [46, 8]
Generated Node #0,2,2: 94:[46, 8] Operation: 8*1=8
Exploring Operation: 46+1=47, Resulting Numbers: [8, 47]
Generated Node #0,2,3: 94:[8, 47] Operation: 46+1=47
Exploring Operation: 8/1=8, Resulting Numbers: [46, 8]
Generated Node #0,2,4: 94:[46, 8] Operation: 8/1=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[46, 7], Operations: ['44-43=1', '8-1=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,94 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,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,2,3
Current State: 94:[8, 47], Operations: ['44-43=1', '46+1=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,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,2,1
Current State: 94:[8, 46], Operations: ['44-43=1', '46*1=46']
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,94 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,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,2,2
Current State: 94:[46, 8], Operations: ['44-43=1', '8*1=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,94 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,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,2,4
Current State: 94:[46, 8], Operations: ['44-43=1', '8/1=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,94 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,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:[43, 46, 52], Operations: ['44+8=52']
Exploring Operation: 52-46=6, Resulting Numbers: [43, 6]
Generated Node #0,1,0: 94:[43, 6] Operation: 52-46=6
Exploring Operation: 43+52=95, Resulting Numbers: [46, 95]
Generated Node #0,1,1: 94:[46, 95] Operation: 43+52=95
Exploring Operation: 52-43=9, Resulting Numbers: [46, 9]
Generated Node #0,1,2: 94:[46, 9] Operation: 52-43=9
Exploring Operation: 46-43=3, Resulting Numbers: [52, 3]
Generated Node #0,1,3: 94:[52, 3] Operation: 46-43=3
Exploring Operation: 46+52=98, Resulting Numbers: [43, 98]
Generated Node #0,1,4: 94:[43, 98] Operation: 46+52=98
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[46, 95], Operations: ['44+8=52', '43+52=95']
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,94 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,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,3
Current State: 94:[52, 3], Operations: ['44+8=52', '46-43=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,94 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,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,0
Current State: 94:[43, 6], Operations: ['44+8=52', '52-46=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,94 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,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,2
Current State: 94:[46, 9], Operations: ['44+8=52', '52-43=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,94 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,94 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,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,4
Current State: 94:[43, 98], Operations: ['44+8=52', '46+52=98']
Exploring Operation: 43+98=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 43*98=4214, Resulting Numbers: [4214]
4214,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,3
Current State: 94:[44, 8, 3], Operations: ['46-43=3']
Exploring Operation: 44+8=52, Resulting Numbers: [3, 52]
Generated Node #0,3,0: 94:[3, 52] Operation: 44+8=52
Exploring Operation: 44-8=36, Resulting Numbers: [3, 36]
Generated Node #0,3,1: 94:[3, 36] Operation: 44-8=36
Exploring Operation: 44-3=41, Resulting Numbers: [8, 41]
Generated Node #0,3,2: 94:[8, 41] Operation: 44-3=41
Exploring Operation: 44+3=47, Resulting Numbers: [8, 47]
Generated Node #0,3,3: 94:[8, 47] Operation: 44+3=47
Exploring Operation: 8-3=5, Resulting Numbers: [44, 5]
Generated Node #0,3,4: 94:[44, 5] Operation: 8-3=5
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[3, 52], Operations: ['46-43=3', '44+8=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,94 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,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,3,3
Current State: 94:[8, 47], Operations: ['46-43=3', '44+3=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,94 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,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,3,4
Current State: 94:[44, 5], Operations: ['46-43=3', '8-3=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,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,3,1
Current State: 94:[3, 36], Operations: ['46-43=3', '44-8=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,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,3,2
Current State: 94:[8, 41], Operations: ['46-43=3', '44-3=41']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,94 unequal: No Solution
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,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,4
Current State: 94:[43, 8, 2], Operations: ['46-44=2']
Exploring Operation: 43+2=45, Resulting Numbers: [8, 45]
Generated Node #0,4,0: 94:[8, 45] Operation: 43+2=45
Exploring Operation: 8/2=4, Resulting Numbers: [43, 4]
Generated Node #0,4,1: 94:[43, 4] Operation: 8/2=4
Exploring Operation: 43+8=51, Resulting Numbers: [2, 51]
Generated Node #0,4,2: 94:[2, 51] Operation: 43+8=51
Exploring Operation: 43-8=35, Resulting Numbers: [2, 35]
Generated Node #0,4,3: 94:[2, 35] Operation: 43-8=35
Exploring Operation: 8-2=6, Resulting Numbers: [43, 6]
Generated Node #0,4,4: 94:[43, 6] Operation: 8-2=6
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[2, 51], Operations: ['46-44=2', '43+8=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 2*51=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,4,1
Current State: 94:[43, 4], Operations: ['46-44=2', '8/2=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,94 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,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,4,0
Current State: 94:[8, 45], Operations: ['46-44=2', '43+2=45']
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,94 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,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,4,4
Current State: 94:[43, 6], Operations: ['46-44=2', '8-2=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,94 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,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,4,3
Current State: 94:[2, 35], Operations: ['46-44=2', '43-8=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,94 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,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_5 | mult_heuristic |
[
28,
78,
58,
99
] | 51 | [
"28+78=106",
"58+99=157",
"157-106=51"
] | Current State: 51:[28, 78, 58, 99], Operations: []
Exploring Operation: 28+78=106, Resulting Numbers: [58, 99, 106]
Generated Node #2: [58, 99, 106] from Operation: 28+78=106
Current State: 51:[58, 99, 106], Operations: ['28+78=106']
Exploring Operation: 58+99=157, Resulting Numbers: [106, 157]
Generated Node #3: [106, 157] from Operation: 58+99=157
Current State: 51:[106, 157], Operations: ['28+78=106', '58+99=157']
Exploring Operation: 157-106=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[28, 78, 58, 99], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [28, 58, 21]
Generated Node #0,0: 51:[28, 58, 21] Operation: 99-78=21
Exploring Operation: 78-58=20, Resulting Numbers: [28, 99, 20]
Generated Node #0,1: 51:[28, 99, 20] Operation: 78-58=20
Exploring Operation: 78-28=50, Resulting Numbers: [58, 99, 50]
Generated Node #0,2: 51:[58, 99, 50] Operation: 78-28=50
Exploring Operation: 99-28=71, Resulting Numbers: [78, 58, 71]
Generated Node #0,3: 51:[78, 58, 71] Operation: 99-28=71
Exploring Operation: 99-58=41, Resulting Numbers: [28, 78, 41]
Generated Node #0,4: 51:[28, 78, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[28, 58, 21], Operations: ['99-78=21']
Exploring Operation: 28+58=86, Resulting Numbers: [21, 86]
Generated Node #0,0,0: 51:[21, 86] Operation: 28+58=86
Exploring Operation: 28+21=49, Resulting Numbers: [58, 49]
Generated Node #0,0,1: 51:[58, 49] Operation: 28+21=49
Exploring Operation: 58-21=37, Resulting Numbers: [28, 37]
Generated Node #0,0,2: 51:[28, 37] Operation: 58-21=37
Exploring Operation: 28-21=7, Resulting Numbers: [58, 7]
Generated Node #0,0,3: 51:[58, 7] Operation: 28-21=7
Exploring Operation: 58-28=30, Resulting Numbers: [21, 30]
Generated Node #0,0,4: 51:[21, 30] Operation: 58-28=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[58, 49], Operations: ['99-78=21', '28+21=49']
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,51 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[58, 7], Operations: ['99-78=21', '28-21=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,51 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[28, 78, 58, 99], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [28, 58, 21]
Generated Node #0,0: 51:[28, 58, 21] Operation: 99-78=21
Moving to Node #0,0
Current State: 51:[28, 58, 21], Operations: ['99-78=21']
Exploring Operation: 28-21=7, Resulting Numbers: [58, 7]
Generated Node #0,0,3: 51:[58, 7] Operation: 28-21=7
Moving to Node #0,0,3
Current State: 51:[58, 7], Operations: ['99-78=21', '28-21=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
92,
92,
6,
91
] | 96 | [
"92/92=1",
"6+91=97",
"97-1=96"
] | Current State: 96:[92, 92, 6, 91], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [6, 91, 1]
Generated Node #2: [6, 91, 1] from Operation: 92/92=1
Current State: 96:[6, 91, 1], Operations: ['92/92=1']
Exploring Operation: 6+91=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 6+91=97
Current State: 96:[1, 97], Operations: ['92/92=1', '6+91=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[92, 92, 6, 91], Operations: []
Exploring Operation: 92-92=0, Resulting Numbers: [6, 91, 0]
Generated Node #0,0: 96:[6, 91, 0] Operation: 92-92=0
Exploring Operation: 6+91=97, Resulting Numbers: [92, 92, 97]
Generated Node #0,1: 96:[92, 92, 97] Operation: 6+91=97
Exploring Operation: 92-91=1, Resulting Numbers: [92, 6, 1]
Generated Node #0,2: 96:[92, 6, 1] Operation: 92-91=1
Exploring Operation: 92/92=1, Resulting Numbers: [6, 91, 1]
Generated Node #0,3: 96:[6, 91, 1] Operation: 92/92=1
Exploring Operation: 92-91=1, Resulting Numbers: [92, 6, 1]
Generated Node #0,4: 96:[92, 6, 1] Operation: 92-91=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[92, 6, 1], Operations: ['92-91=1']
Exploring Operation: 92+1=93, Resulting Numbers: [6, 93]
Generated Node #0,2,0: 96:[6, 93] Operation: 92+1=93
Exploring Operation: 92*1=92, Resulting Numbers: [6, 92]
Generated Node #0,2,1: 96:[6, 92] Operation: 92*1=92
Exploring Operation: 6*1=6, Resulting Numbers: [92, 6]
Generated Node #0,2,2: 96:[92, 6] Operation: 6*1=6
Exploring Operation: 92/1=92, Resulting Numbers: [6, 92]
Generated Node #0,2,3: 96:[6, 92] Operation: 92/1=92
Exploring Operation: 92+6=98, Resulting Numbers: [1, 98]
Generated Node #0,2,4: 96:[1, 98] Operation: 92+6=98
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[6, 93], Operations: ['92-91=1', '92+1=93']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,96 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[1, 98], Operations: ['92-91=1', '92+6=98']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,96 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[6, 92], Operations: ['92-91=1', '92*1=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,96 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[92, 6], Operations: ['92-91=1', '6*1=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[6, 92], Operations: ['92-91=1', '92/1=92']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[92, 6, 1], Operations: ['92-91=1']
Exploring Operation: 92+1=93, Resulting Numbers: [6, 93]
Generated Node #0,4,0: 96:[6, 93] Operation: 92+1=93
Exploring Operation: 6*1=6, Resulting Numbers: [92, 6]
Generated Node #0,4,1: 96:[92, 6] Operation: 6*1=6
Exploring Operation: 92*1=92, Resulting Numbers: [6, 92]
Generated Node #0,4,2: 96:[6, 92] Operation: 92*1=92
Exploring Operation: 92+6=98, Resulting Numbers: [1, 98]
Generated Node #0,4,3: 96:[1, 98] Operation: 92+6=98
Exploring Operation: 92/1=92, Resulting Numbers: [6, 92]
Generated Node #0,4,4: 96:[6, 92] Operation: 92/1=92
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[6, 93], Operations: ['92-91=1', '92+1=93']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,96 unequal: No Solution
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 96:[1, 98], Operations: ['92-91=1', '92+6=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 96:[92, 6], Operations: ['92-91=1', '6*1=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 96:[6, 92], Operations: ['92-91=1', '92*1=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 96:[6, 92], Operations: ['92-91=1', '92/1=92']
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,96 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[6, 91, 1], Operations: ['92/92=1']
Exploring Operation: 6*1=6, Resulting Numbers: [91, 6]
Generated Node #0,3,0: 96:[91, 6] Operation: 6*1=6
Exploring Operation: 6/1=6, Resulting Numbers: [91, 6]
Generated Node #0,3,1: 96:[91, 6] Operation: 6/1=6
Exploring Operation: 91*1=91, Resulting Numbers: [6, 91]
Generated Node #0,3,2: 96:[6, 91] Operation: 91*1=91
Exploring Operation: 6+91=97, Resulting Numbers: [1, 97]
Generated Node #0,3,3: 96:[1, 97] Operation: 6+91=97
Exploring Operation: 91+1=92, Resulting Numbers: [6, 92]
Generated Node #0,3,4: 96:[6, 92] Operation: 91+1=92
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 96:[1, 97], Operations: ['92/92=1', '6+91=97']
Exploring Operation: 1+97=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[92, 92, 6, 91], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [6, 91, 1]
Generated Node #0,3: 96:[6, 91, 1] Operation: 92/92=1
Moving to Node #0,3
Current State: 96:[6, 91, 1], Operations: ['92/92=1']
Exploring Operation: 6+91=97, Resulting Numbers: [1, 97]
Generated Node #0,3,3: 96:[1, 97] Operation: 6+91=97
Moving to Node #0,3,3
Current State: 96:[1, 97], Operations: ['92/92=1', '6+91=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
62,
18,
56,
60
] | 11 | [
"62-18=44",
"60-56=4",
"44/4=11"
] | Current State: 11:[62, 18, 56, 60], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [56, 60, 44]
Generated Node #2: [56, 60, 44] from Operation: 62-18=44
Current State: 11:[56, 60, 44], Operations: ['62-18=44']
Exploring Operation: 60-56=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 60-56=4
Current State: 11:[44, 4], Operations: ['62-18=44', '60-56=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[62, 18, 56, 60], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [18, 60, 6]
Generated Node #0,0: 11:[18, 60, 6] Operation: 62-56=6
Moving to Node #0,0
Current State: 11:[18, 60, 6], Operations: ['62-56=6']
Exploring Operation: 60/6=10, Resulting Numbers: [18, 10]
Generated Node #0,0,0: 11:[18, 10] Operation: 60/6=10
Moving to Node #0,0,0
Current State: 11:[18, 10], Operations: ['62-56=6', '60/6=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
83,
14,
43
] | 37 | [
"83-17=66",
"43-14=29",
"66-29=37"
] | Current State: 37:[17, 83, 14, 43], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [14, 43, 66]
Generated Node #2: [14, 43, 66] from Operation: 83-17=66
Current State: 37:[14, 43, 66], Operations: ['83-17=66']
Exploring Operation: 43-14=29, Resulting Numbers: [66, 29]
Generated Node #3: [66, 29] from Operation: 43-14=29
Current State: 37:[66, 29], Operations: ['83-17=66', '43-14=29']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[17, 83, 14, 43], Operations: []
Exploring Operation: 83-43=40, Resulting Numbers: [17, 14, 40]
Generated Node #0,0: 37:[17, 14, 40] Operation: 83-43=40
Moving to Node #0,0
Current State: 37:[17, 14, 40], Operations: ['83-43=40']
Exploring Operation: 17+14=31, Resulting Numbers: [40, 31]
Generated Node #0,0,0: 37:[40, 31] Operation: 17+14=31
Moving to Node #0,0,0
Current State: 37:[40, 31], Operations: ['83-43=40', '17+14=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,37 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
18,
9,
72
] | 97 | [
"18-9=9",
"72/9=8",
"89+8=97"
] | Current State: 97:[89, 18, 9, 72], Operations: []
Exploring Operation: 18-9=9, Resulting Numbers: [89, 72, 9]
Generated Node #2: [89, 72, 9] from Operation: 18-9=9
Current State: 97:[89, 72, 9], Operations: ['18-9=9']
Exploring Operation: 72/9=8, Resulting Numbers: [89, 8]
Generated Node #3: [89, 8] from Operation: 72/9=8
Current State: 97:[89, 8], Operations: ['18-9=9', '72/9=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[89, 18, 9, 72], Operations: []
Exploring Operation: 18+9=27, Resulting Numbers: [89, 72, 27]
Generated Node #0,0: 97:[89, 72, 27] Operation: 18+9=27
Exploring Operation: 18*9=162, Resulting Numbers: [89, 72, 162]
Generated Node #0,1: 97:[89, 72, 162] Operation: 18*9=162
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[89, 72, 162], Operations: ['18*9=162']
Exploring Operation: 162-72=90, Resulting Numbers: [89, 90]
Generated Node #0,1,0: 97:[89, 90] Operation: 162-72=90
Exploring Operation: 162-89=73, Resulting Numbers: [72, 73]
Generated Node #0,1,1: 97:[72, 73] Operation: 162-89=73
Moving to Node #0,1,0
Current State: 97:[89, 90], Operations: ['18*9=162', '162-72=90']
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[72, 73], Operations: ['18*9=162', '162-89=73']
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[89, 72, 27], Operations: ['18+9=27']
Exploring Operation: 89+27=116, Resulting Numbers: [72, 116]
Generated Node #0,0,0: 97:[72, 116] Operation: 89+27=116
Exploring Operation: 72+27=99, Resulting Numbers: [89, 99]
Generated Node #0,0,1: 97:[89, 99] Operation: 72+27=99
Moving to Node #0,0,1
Current State: 97:[89, 99], Operations: ['18+9=27', '72+27=99']
Exploring Operation: 89+99=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[72, 116], Operations: ['18+9=27', '89+27=116']
Exploring Operation: 72+116=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 116-72=44, Resulting Numbers: [44]
44,97 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 |
[
87,
65,
24,
29
] | 44 | [
"87/29=3",
"65-24=41",
"3+41=44"
] | Current State: 44:[87, 65, 24, 29], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [65, 24, 3]
Generated Node #2: [65, 24, 3] from Operation: 87/29=3
Current State: 44:[65, 24, 3], Operations: ['87/29=3']
Exploring Operation: 65-24=41, Resulting Numbers: [3, 41]
Generated Node #3: [3, 41] from Operation: 65-24=41
Current State: 44:[3, 41], Operations: ['87/29=3', '65-24=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[87, 65, 24, 29], Operations: []
Exploring Operation: 87-65=22, Resulting Numbers: [24, 29, 22]
Generated Node #0,0: 44:[24, 29, 22] Operation: 87-65=22
Moving to Node #0,0
Current State: 44:[24, 29, 22], Operations: ['87-65=22']
Exploring Operation: 29-24=5, Resulting Numbers: [22, 5]
Generated Node #0,0,0: 44:[22, 5] Operation: 29-24=5
Moving to Node #0,0,0
Current State: 44:[22, 5], Operations: ['87-65=22', '29-24=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,44 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
1,
52,
88
] | 14 | [
"9+1=10",
"52+88=140",
"140/10=14"
] | Current State: 14:[9, 1, 52, 88], Operations: []
Exploring Operation: 9+1=10, Resulting Numbers: [52, 88, 10]
Generated Node #2: [52, 88, 10] from Operation: 9+1=10
Current State: 14:[52, 88, 10], Operations: ['9+1=10']
Exploring Operation: 52+88=140, Resulting Numbers: [10, 140]
Generated Node #3: [10, 140] from Operation: 52+88=140
Current State: 14:[10, 140], Operations: ['9+1=10', '52+88=140']
Exploring Operation: 140/10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[9, 1, 52, 88], Operations: []
Exploring Operation: 88-9=79, Resulting Numbers: [1, 52, 79]
Generated Node #0,0: 14:[1, 52, 79] Operation: 88-9=79
Exploring Operation: 52-9=43, Resulting Numbers: [1, 88, 43]
Generated Node #0,1: 14:[1, 88, 43] Operation: 52-9=43
Exploring Operation: 88-52=36, Resulting Numbers: [9, 1, 36]
Generated Node #0,2: 14:[9, 1, 36] Operation: 88-52=36
Exploring Operation: 52-1=51, Resulting Numbers: [9, 88, 51]
Generated Node #0,3: 14:[9, 88, 51] Operation: 52-1=51
Exploring Operation: 9-1=8, Resulting Numbers: [52, 88, 8]
Generated Node #0,4: 14:[52, 88, 8] Operation: 9-1=8
Moving to Node #0,2
Current State: 14:[9, 1, 36], Operations: ['88-52=36']
Exploring Operation: 36-1=35, Resulting Numbers: [9, 35]
Generated Node #0,2,0: 14:[9, 35] Operation: 36-1=35
Exploring Operation: 9-1=8, Resulting Numbers: [36, 8]
Generated Node #0,2,1: 14:[36, 8] Operation: 9-1=8
Exploring Operation: 36-9=27, Resulting Numbers: [1, 27]
Generated Node #0,2,2: 14:[1, 27] Operation: 36-9=27
Exploring Operation: 9*1=9, Resulting Numbers: [36, 9]
Generated Node #0,2,3: 14:[36, 9] Operation: 9*1=9
Exploring Operation: 36/9=4, Resulting Numbers: [1, 4]
Generated Node #0,2,4: 14:[1, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 14:[1, 4], Operations: ['88-52=36', '36/9=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No 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: 14:[1, 27], Operations: ['88-52=36', '36-9=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No 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: 14:[9, 35], Operations: ['88-52=36', '36-1=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,14 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,14 unequal: No Solution
No 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: 14:[36, 8], Operations: ['88-52=36', '9-1=8']
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,14 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,14 unequal: No Solution
No 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: 14:[36, 9], Operations: ['88-52=36', '9*1=9']
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,14 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,14 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: 14:[1, 88, 43], Operations: ['52-9=43']
Exploring Operation: 43-1=42, Resulting Numbers: [88, 42]
Generated Node #0,1,0: 14:[88, 42] Operation: 43-1=42
Exploring Operation: 88-43=45, Resulting Numbers: [1, 45]
Generated Node #0,1,1: 14:[1, 45] Operation: 88-43=45
Exploring Operation: 88-1=87, Resulting Numbers: [43, 87]
Generated Node #0,1,2: 14:[43, 87] Operation: 88-1=87
Exploring Operation: 88/1=88, Resulting Numbers: [43, 88]
Generated Node #0,1,3: 14:[43, 88] Operation: 88/1=88
Exploring Operation: 1*88=88, Resulting Numbers: [43, 88]
Generated Node #0,1,4: 14:[43, 88] Operation: 1*88=88
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[1, 45], Operations: ['52-9=43', '88-43=45']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,14 unequal: No Solution
No 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: 14:[88, 42], Operations: ['52-9=43', '43-1=42']
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,14 unequal: No Solution
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,14 unequal: No Solution
No 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: 14:[43, 87], Operations: ['52-9=43', '88-1=87']
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,14 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,14 unequal: No Solution
No 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: 14:[43, 88], Operations: ['52-9=43', '88/1=88']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,14 unequal: No Solution
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,14 unequal: No Solution
No 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: 14:[43, 88], Operations: ['52-9=43', '1*88=88']
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,14 unequal: No Solution
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,14 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,14 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: 14:[1, 52, 79], Operations: ['88-9=79']
Exploring Operation: 1*52=52, Resulting Numbers: [79, 52]
Generated Node #0,0,0: 14:[79, 52] Operation: 1*52=52
Exploring Operation: 52/1=52, Resulting Numbers: [79, 52]
Generated Node #0,0,1: 14:[79, 52] Operation: 52/1=52
Exploring Operation: 52-1=51, Resulting Numbers: [79, 51]
Generated Node #0,0,2: 14:[79, 51] Operation: 52-1=51
Exploring Operation: 79-1=78, Resulting Numbers: [52, 78]
Generated Node #0,0,3: 14:[52, 78] Operation: 79-1=78
Exploring Operation: 79-52=27, Resulting Numbers: [1, 27]
Generated Node #0,0,4: 14:[1, 27] Operation: 79-52=27
Moving to Node #0,3
Current State: 14:[9, 88, 51], Operations: ['52-1=51']
Exploring Operation: 9+51=60, Resulting Numbers: [88, 60]
Generated Node #0,3,0: 14:[88, 60] Operation: 9+51=60
Exploring Operation: 88-9=79, Resulting Numbers: [51, 79]
Generated Node #0,3,1: 14:[51, 79] Operation: 88-9=79
Exploring Operation: 9+88=97, Resulting Numbers: [51, 97]
Generated Node #0,3,2: 14:[51, 97] Operation: 9+88=97
Exploring Operation: 51-9=42, Resulting Numbers: [88, 42]
Generated Node #0,3,3: 14:[88, 42] Operation: 51-9=42
Exploring Operation: 88-51=37, Resulting Numbers: [9, 37]
Generated Node #0,3,4: 14:[9, 37] Operation: 88-51=37
Moving to Node #0,4
Current State: 14:[52, 88, 8], Operations: ['9-1=8']
Exploring Operation: 52+8=60, Resulting Numbers: [88, 60]
Generated Node #0,4,0: 14:[88, 60] Operation: 52+8=60
Exploring Operation: 88/8=11, Resulting Numbers: [52, 11]
Generated Node #0,4,1: 14:[52, 11] Operation: 88/8=11
Exploring Operation: 88-52=36, Resulting Numbers: [8, 36]
Generated Node #0,4,2: 14:[8, 36] Operation: 88-52=36
Exploring Operation: 52-8=44, Resulting Numbers: [88, 44]
Generated Node #0,4,3: 14:[88, 44] Operation: 52-8=44
Exploring Operation: 88-8=80, Resulting Numbers: [52, 80]
Generated Node #0,4,4: 14:[52, 80] Operation: 88-8=80
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[8, 36], Operations: ['9-1=8', '88-52=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,14 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No 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: 14:[52, 11], Operations: ['9-1=8', '88/8=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,14 unequal: No Solution
No 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: 14:[88, 44], Operations: ['9-1=8', '52-8=44']
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 88*44=3872, Resulting Numbers: [3872]
3872,14 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 88+44=132, Resulting Numbers: [132]
132,14 unequal: No Solution
No 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: 14:[52, 80], Operations: ['9-1=8', '88-8=80']
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,14 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,14 unequal: No Solution
No 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: 14:[88, 60], Operations: ['9-1=8', '52+8=60']
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,14 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 14:[1, 27], Operations: ['88-9=79', '79-52=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[9, 37], Operations: ['52-1=51', '88-51=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,14 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[51, 79], Operations: ['52-1=51', '88-9=79']
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,14 unequal: No Solution
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[52, 78], Operations: ['88-9=79', '79-1=78']
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,14 unequal: No Solution
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[79, 51], Operations: ['88-9=79', '52-1=51']
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 79*51=4029, Resulting Numbers: [4029]
4029,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[88, 42], Operations: ['52-1=51', '51-9=42']
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,14 unequal: No Solution
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[79, 52], Operations: ['88-9=79', '1*52=52']
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 79+52=131, Resulting Numbers: [131]
131,14 unequal: No Solution
Exploring Operation: 79*52=4108, Resulting Numbers: [4108]
4108,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[79, 52], Operations: ['88-9=79', '52/1=52']
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 79*52=4108, Resulting Numbers: [4108]
4108,14 unequal: No Solution
Exploring Operation: 79+52=131, Resulting Numbers: [131]
131,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[51, 97], Operations: ['52-1=51', '9+88=97']
Exploring Operation: 51+97=148, Resulting Numbers: [148]
148,14 unequal: No Solution
Exploring Operation: 51*97=4947, Resulting Numbers: [4947]
4947,14 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[88, 60], Operations: ['52-1=51', '9+51=60']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,14 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,14 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
39,
51,
39,
6
] | 51 | [
"39-39=0",
"6*0=0",
"51+0=51"
] | Current State: 51:[39, 51, 39, 6], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [51, 6, 0]
Generated Node #2: [51, 6, 0] from Operation: 39-39=0
Current State: 51:[51, 6, 0], Operations: ['39-39=0']
Exploring Operation: 6*0=0, Resulting Numbers: [51, 0]
Generated Node #3: [51, 0] from Operation: 6*0=0
Current State: 51:[51, 0], Operations: ['39-39=0', '6*0=0']
Exploring Operation: 51+0=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[39, 51, 39, 6], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [51, 6, 1]
Generated Node #0,0: 51:[51, 6, 1] Operation: 39/39=1
Moving to Node #0,0
Current State: 51:[51, 6, 1], Operations: ['39/39=1']
Exploring Operation: 6-1=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 51:[51, 5] Operation: 6-1=5
Moving to Node #0,0,0
Current State: 51:[51, 5], Operations: ['39/39=1', '6-1=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
28,
30,
87
] | 50 | [
"13+87=100",
"30-28=2",
"100/2=50"
] | Current State: 50:[13, 28, 30, 87], Operations: []
Exploring Operation: 13+87=100, Resulting Numbers: [28, 30, 100]
Generated Node #2: [28, 30, 100] from Operation: 13+87=100
Current State: 50:[28, 30, 100], Operations: ['13+87=100']
Exploring Operation: 30-28=2, Resulting Numbers: [100, 2]
Generated Node #3: [100, 2] from Operation: 30-28=2
Current State: 50:[100, 2], Operations: ['13+87=100', '30-28=2']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[13, 28, 30, 87], Operations: []
Exploring Operation: 87-28=59, Resulting Numbers: [13, 30, 59]
Generated Node #0,0: 50:[13, 30, 59] Operation: 87-28=59
Exploring Operation: 87-30=57, Resulting Numbers: [13, 28, 57]
Generated Node #0,1: 50:[13, 28, 57] Operation: 87-30=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[13, 28, 57], Operations: ['87-30=57']
Exploring Operation: 57-13=44, Resulting Numbers: [28, 44]
Generated Node #0,1,0: 50:[28, 44] Operation: 57-13=44
Exploring Operation: 57-28=29, Resulting Numbers: [13, 29]
Generated Node #0,1,1: 50:[13, 29] Operation: 57-28=29
Moving to Node #0,1,1
Current State: 50:[13, 29], Operations: ['87-30=57', '57-28=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[28, 44], Operations: ['87-30=57', '57-13=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[13, 30, 59], Operations: ['87-28=59']
Exploring Operation: 59-30=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 50:[13, 29] Operation: 59-30=29
Exploring Operation: 59-13=46, Resulting Numbers: [30, 46]
Generated Node #0,0,1: 50:[30, 46] Operation: 59-13=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[13, 29], Operations: ['87-28=59', '59-30=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No 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: 50:[30, 46], Operations: ['87-28=59', '59-13=46']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
20,
2,
47
] | 63 | [
"34-20=14",
"2+47=49",
"14+49=63"
] | Current State: 63:[34, 20, 2, 47], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [2, 47, 14]
Generated Node #2: [2, 47, 14] from Operation: 34-20=14
Current State: 63:[2, 47, 14], Operations: ['34-20=14']
Exploring Operation: 2+47=49, Resulting Numbers: [14, 49]
Generated Node #3: [14, 49] from Operation: 2+47=49
Current State: 63:[14, 49], Operations: ['34-20=14', '2+47=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[34, 20, 2, 47], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [20, 47, 17]
Generated Node #0,0: 63:[20, 47, 17] Operation: 34/2=17
Exploring Operation: 34+47=81, Resulting Numbers: [20, 2, 81]
Generated Node #0,1: 63:[20, 2, 81] Operation: 34+47=81
Exploring Operation: 47-34=13, Resulting Numbers: [20, 2, 13]
Generated Node #0,2: 63:[20, 2, 13] Operation: 47-34=13
Exploring Operation: 47-20=27, Resulting Numbers: [34, 2, 27]
Generated Node #0,3: 63:[34, 2, 27] Operation: 47-20=27
Exploring Operation: 20+47=67, Resulting Numbers: [34, 2, 67]
Generated Node #0,4: 63:[34, 2, 67] Operation: 20+47=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[20, 2, 13], Operations: ['47-34=13']
Exploring Operation: 20+2=22, Resulting Numbers: [13, 22]
Generated Node #0,2,0: 63:[13, 22] Operation: 20+2=22
Exploring Operation: 2*13=26, Resulting Numbers: [20, 26]
Generated Node #0,2,1: 63:[20, 26] Operation: 2*13=26
Exploring Operation: 20-13=7, Resulting Numbers: [2, 7]
Generated Node #0,2,2: 63:[2, 7] Operation: 20-13=7
Exploring Operation: 13-2=11, Resulting Numbers: [20, 11]
Generated Node #0,2,3: 63:[20, 11] Operation: 13-2=11
Exploring Operation: 20/2=10, Resulting Numbers: [13, 10]
Generated Node #0,2,4: 63:[13, 10] Operation: 20/2=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[2, 7], Operations: ['47-34=13', '20-13=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,63 unequal: No Solution
No 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: 63:[20, 11], Operations: ['47-34=13', '13-2=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,63 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No 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: 63:[13, 22], Operations: ['47-34=13', '20+2=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,63 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,63 unequal: No Solution
No 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: 63:[13, 10], Operations: ['47-34=13', '20/2=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No 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: 63:[20, 26], Operations: ['47-34=13', '2*13=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[34, 2, 67], Operations: ['20+47=67']
Exploring Operation: 34*2=68, Resulting Numbers: [67, 68]
Generated Node #0,4,0: 63:[67, 68] Operation: 34*2=68
Exploring Operation: 67-34=33, Resulting Numbers: [2, 33]
Generated Node #0,4,1: 63:[2, 33] Operation: 67-34=33
Exploring Operation: 67-2=65, Resulting Numbers: [34, 65]
Generated Node #0,4,2: 63:[34, 65] Operation: 67-2=65
Exploring Operation: 34/2=17, Resulting Numbers: [67, 17]
Generated Node #0,4,3: 63:[67, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [67, 32]
Generated Node #0,4,4: 63:[67, 32] Operation: 34-2=32
Moving to Node #0,4,3
Current State: 63:[67, 17], Operations: ['20+47=67', '34/2=17']
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,63 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[67, 68], Operations: ['20+47=67', '34*2=68']
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,63 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[2, 33], Operations: ['20+47=67', '67-34=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[34, 65], Operations: ['20+47=67', '67-2=65']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[67, 32], Operations: ['20+47=67', '34-2=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,63 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,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,1
Current State: 63:[20, 2, 81], Operations: ['34+47=81']
Exploring Operation: 81-2=79, Resulting Numbers: [20, 79]
Generated Node #0,1,0: 63:[20, 79] Operation: 81-2=79
Exploring Operation: 20+2=22, Resulting Numbers: [81, 22]
Generated Node #0,1,1: 63:[81, 22] Operation: 20+2=22
Exploring Operation: 20/2=10, Resulting Numbers: [81, 10]
Generated Node #0,1,2: 63:[81, 10] Operation: 20/2=10
Exploring Operation: 81-20=61, Resulting Numbers: [2, 61]
Generated Node #0,1,3: 63:[2, 61] Operation: 81-20=61
Exploring Operation: 20-2=18, Resulting Numbers: [81, 18]
Generated Node #0,1,4: 63:[81, 18] Operation: 20-2=18
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[2, 61], Operations: ['34+47=81', '81-20=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[34, 20, 2, 47], Operations: []
Exploring Operation: 34+47=81, Resulting Numbers: [20, 2, 81]
Generated Node #0,1: 63:[20, 2, 81] Operation: 34+47=81
Moving to Node #0,1
Current State: 63:[20, 2, 81], Operations: ['34+47=81']
Exploring Operation: 81-20=61, Resulting Numbers: [2, 61]
Generated Node #0,1,3: 63:[2, 61] Operation: 81-20=61
Moving to Node #0,1,3
Current State: 63:[2, 61], Operations: ['34+47=81', '81-20=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
28,
81,
25,
11
] | 17 | [
"81-28=53",
"25+11=36",
"53-36=17"
] | Current State: 17:[28, 81, 25, 11], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [25, 11, 53]
Generated Node #2: [25, 11, 53] from Operation: 81-28=53
Current State: 17:[25, 11, 53], Operations: ['81-28=53']
Exploring Operation: 25+11=36, Resulting Numbers: [53, 36]
Generated Node #3: [53, 36] from Operation: 25+11=36
Current State: 17:[53, 36], Operations: ['81-28=53', '25+11=36']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 81, 25, 11], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [81, 25, 17]
Generated Node #0,0: 17:[81, 25, 17] Operation: 28-11=17
Exploring Operation: 81-25=56, Resulting Numbers: [28, 11, 56]
Generated Node #0,1: 17:[28, 11, 56] Operation: 81-25=56
Exploring Operation: 81-28=53, Resulting Numbers: [25, 11, 53]
Generated Node #0,2: 17:[25, 11, 53] Operation: 81-28=53
Moving to Node #0,2
Current State: 17:[25, 11, 53], Operations: ['81-28=53']
Exploring Operation: 25-11=14, Resulting Numbers: [53, 14]
Generated Node #0,2,0: 17:[53, 14] Operation: 25-11=14
Exploring Operation: 53-11=42, Resulting Numbers: [25, 42]
Generated Node #0,2,1: 17:[25, 42] Operation: 53-11=42
Exploring Operation: 53-25=28, Resulting Numbers: [11, 28]
Generated Node #0,2,2: 17:[11, 28] Operation: 53-25=28
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[11, 28], Operations: ['81-28=53', '53-25=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[28, 81, 25, 11], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [25, 11, 53]
Generated Node #0,2: 17:[25, 11, 53] Operation: 81-28=53
Moving to Node #0,2
Current State: 17:[25, 11, 53], Operations: ['81-28=53']
Exploring Operation: 53-25=28, Resulting Numbers: [11, 28]
Generated Node #0,2,2: 17:[11, 28] Operation: 53-25=28
Moving to Node #0,2,2
Current State: 17:[11, 28], Operations: ['81-28=53', '53-25=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
70,
25,
88,
9
] | 83 | [
"70-25=45",
"45/9=5",
"88-5=83"
] | Current State: 83:[70, 25, 88, 9], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [88, 9, 45]
Generated Node #2: [88, 9, 45] from Operation: 70-25=45
Current State: 83:[88, 9, 45], Operations: ['70-25=45']
Exploring Operation: 45/9=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 45/9=5
Current State: 83:[88, 5], Operations: ['70-25=45', '45/9=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[70, 25, 88, 9], Operations: []
Exploring Operation: 88-9=79, Resulting Numbers: [70, 25, 79]
Generated Node #0,0: 83:[70, 25, 79] Operation: 88-9=79
Exploring Operation: 70+9=79, Resulting Numbers: [25, 88, 79]
Generated Node #0,1: 83:[25, 88, 79] Operation: 70+9=79
Exploring Operation: 70-9=61, Resulting Numbers: [25, 88, 61]
Generated Node #0,2: 83:[25, 88, 61] Operation: 70-9=61
Exploring Operation: 25+9=34, Resulting Numbers: [70, 88, 34]
Generated Node #0,3: 83:[70, 88, 34] Operation: 25+9=34
Exploring Operation: 25-9=16, Resulting Numbers: [70, 88, 16]
Generated Node #0,4: 83:[70, 88, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[25, 88, 79], Operations: ['70+9=79']
Exploring Operation: 88-79=9, Resulting Numbers: [25, 9]
Generated Node #0,1,0: 83:[25, 9] Operation: 88-79=9
Exploring Operation: 88-25=63, Resulting Numbers: [79, 63]
Generated Node #0,1,1: 83:[79, 63] Operation: 88-25=63
Exploring Operation: 79-25=54, Resulting Numbers: [88, 54]
Generated Node #0,1,2: 83:[88, 54] Operation: 79-25=54
Exploring Operation: 25+88=113, Resulting Numbers: [79, 113]
Generated Node #0,1,3: 83:[79, 113] Operation: 25+88=113
Exploring Operation: 25+79=104, Resulting Numbers: [88, 104]
Generated Node #0,1,4: 83:[88, 104] Operation: 25+79=104
Moving to Node #0,1,1
Current State: 83:[79, 63], Operations: ['70+9=79', '88-25=63']
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[88, 104], Operations: ['70+9=79', '25+79=104']
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,83 unequal: No Solution
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[88, 54], Operations: ['70+9=79', '79-25=54']
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,83 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[79, 113], Operations: ['70+9=79', '25+88=113']
Exploring Operation: 79+113=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Exploring Operation: 113-79=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 79*113=8927, Resulting Numbers: [8927]
8927,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[25, 9], Operations: ['70+9=79', '88-79=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[70, 88, 34], Operations: ['25+9=34']
Exploring Operation: 88-70=18, Resulting Numbers: [34, 18]
Generated Node #0,3,0: 83:[34, 18] Operation: 88-70=18
Exploring Operation: 70+34=104, Resulting Numbers: [88, 104]
Generated Node #0,3,1: 83:[88, 104] Operation: 70+34=104
Exploring Operation: 70-34=36, Resulting Numbers: [88, 36]
Generated Node #0,3,2: 83:[88, 36] Operation: 70-34=36
Exploring Operation: 88-34=54, Resulting Numbers: [70, 54]
Generated Node #0,3,3: 83:[70, 54] Operation: 88-34=54
Exploring Operation: 88+34=122, Resulting Numbers: [70, 122]
Generated Node #0,3,4: 83:[70, 122] Operation: 88+34=122
Moving to Node #0,3,1
Current State: 83:[88, 104], Operations: ['25+9=34', '70+34=104']
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[70, 54], Operations: ['25+9=34', '88-34=54']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[88, 36], Operations: ['25+9=34', '70-34=36']
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,83 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[70, 122], Operations: ['25+9=34', '88+34=122']
Exploring Operation: 70*122=8540, Resulting Numbers: [8540]
8540,83 unequal: No Solution
Exploring Operation: 70+122=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Exploring Operation: 122-70=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[34, 18], Operations: ['25+9=34', '88-70=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,83 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,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
Current State: 83:[70, 25, 79], Operations: ['88-9=79']
Exploring Operation: 79-25=54, Resulting Numbers: [70, 54]
Generated Node #0,0,0: 83:[70, 54] Operation: 79-25=54
Exploring Operation: 70+79=149, Resulting Numbers: [25, 149]
Generated Node #0,0,1: 83:[25, 149] Operation: 70+79=149
Exploring Operation: 25+79=104, Resulting Numbers: [70, 104]
Generated Node #0,0,2: 83:[70, 104] Operation: 25+79=104
Exploring Operation: 70-25=45, Resulting Numbers: [79, 45]
Generated Node #0,0,3: 83:[79, 45] Operation: 70-25=45
Exploring Operation: 70+25=95, Resulting Numbers: [79, 95]
Generated Node #0,0,4: 83:[79, 95] Operation: 70+25=95
Moving to Node #0,0,4
Current State: 83:[79, 95], Operations: ['88-9=79', '70+25=95']
Exploring Operation: 79*95=7505, Resulting Numbers: [7505]
7505,83 unequal: No Solution
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 79+95=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[70, 104], Operations: ['88-9=79', '25+79=104']
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 70*104=7280, Resulting Numbers: [7280]
7280,83 unequal: No Solution
Exploring Operation: 70+104=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[70, 54], Operations: ['88-9=79', '79-25=54']
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,83 unequal: No Solution
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[79, 45], Operations: ['88-9=79', '70-25=45']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,83 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[25, 149], Operations: ['88-9=79', '70+79=149']
Exploring Operation: 25+149=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Exploring Operation: 25*149=3725, Resulting Numbers: [3725]
3725,83 unequal: No Solution
Exploring Operation: 149-25=124, Resulting Numbers: [124]
124,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
Current State: 83:[25, 88, 61], Operations: ['70-9=61']
Exploring Operation: 25+61=86, Resulting Numbers: [88, 86]
Generated Node #0,2,0: 83:[88, 86] Operation: 25+61=86
Exploring Operation: 25+88=113, Resulting Numbers: [61, 113]
Generated Node #0,2,1: 83:[61, 113] Operation: 25+88=113
Exploring Operation: 61-25=36, Resulting Numbers: [88, 36]
Generated Node #0,2,2: 83:[88, 36] Operation: 61-25=36
Exploring Operation: 88-61=27, Resulting Numbers: [25, 27]
Generated Node #0,2,3: 83:[25, 27] Operation: 88-61=27
Exploring Operation: 88-25=63, Resulting Numbers: [61, 63]
Generated Node #0,2,4: 83:[61, 63] Operation: 88-25=63
Moving to Node #0,2,0
Current State: 83:[88, 86], Operations: ['70-9=61', '25+61=86']
Exploring Operation: 88*86=7568, Resulting Numbers: [7568]
7568,83 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 88+86=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[61, 63], Operations: ['70-9=61', '88-25=63']
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,83 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[61, 113], Operations: ['70-9=61', '25+88=113']
Exploring Operation: 61*113=6893, Resulting Numbers: [6893]
6893,83 unequal: No Solution
Exploring Operation: 113-61=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 61+113=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[88, 36], Operations: ['70-9=61', '61-25=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[25, 27], Operations: ['70-9=61', '88-61=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,83 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,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,4
Current State: 83:[70, 88, 16], Operations: ['25-9=16']
Exploring Operation: 88+16=104, Resulting Numbers: [70, 104]
Generated Node #0,4,0: 83:[70, 104] Operation: 88+16=104
Exploring Operation: 70-16=54, Resulting Numbers: [88, 54]
Generated Node #0,4,1: 83:[88, 54] Operation: 70-16=54
Exploring Operation: 88-70=18, Resulting Numbers: [16, 18]
Generated Node #0,4,2: 83:[16, 18] Operation: 88-70=18
Exploring Operation: 88-16=72, Resulting Numbers: [70, 72]
Generated Node #0,4,3: 83:[70, 72] Operation: 88-16=72
Exploring Operation: 70+16=86, Resulting Numbers: [88, 86]
Generated Node #0,4,4: 83:[88, 86] Operation: 70+16=86
Moving to Node #0,4,4
Current State: 83:[88, 86], Operations: ['25-9=16', '70+16=86']
Exploring Operation: 88*86=7568, Resulting Numbers: [7568]
7568,83 unequal: No Solution
Exploring Operation: 88+86=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[70, 72], Operations: ['25-9=16', '88-16=72']
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 70*72=5040, Resulting Numbers: [5040]
5040,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[70, 104], Operations: ['25-9=16', '88+16=104']
Exploring Operation: 70*104=7280, Resulting Numbers: [7280]
7280,83 unequal: No Solution
Exploring Operation: 70+104=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[88, 54], Operations: ['25-9=16', '70-16=54']
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,83 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[16, 18], Operations: ['25-9=16', '88-70=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,83 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,83 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 |
[
19,
82,
16,
93
] | 46 | [
"82-19=63",
"16+93=109",
"109-63=46"
] | Current State: 46:[19, 82, 16, 93], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [16, 93, 63]
Generated Node #2: [16, 93, 63] from Operation: 82-19=63
Current State: 46:[16, 93, 63], Operations: ['82-19=63']
Exploring Operation: 16+93=109, Resulting Numbers: [63, 109]
Generated Node #3: [63, 109] from Operation: 16+93=109
Current State: 46:[63, 109], Operations: ['82-19=63', '16+93=109']
Exploring Operation: 109-63=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[19, 82, 16, 93], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [16, 93, 63]
Generated Node #0,0: 46:[16, 93, 63] Operation: 82-19=63
Exploring Operation: 93-82=11, Resulting Numbers: [19, 16, 11]
Generated Node #0,1: 46:[19, 16, 11] Operation: 93-82=11
Moving to Node #0,1
Current State: 46:[19, 16, 11], Operations: ['93-82=11']
Exploring Operation: 16+11=27, Resulting Numbers: [19, 27]
Generated Node #0,1,0: 46:[19, 27] Operation: 16+11=27
Exploring Operation: 16-11=5, Resulting Numbers: [19, 5]
Generated Node #0,1,1: 46:[19, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[19, 5], Operations: ['93-82=11', '16-11=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No 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: 46:[19, 27], Operations: ['93-82=11', '16+11=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[19, 82, 16, 93], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [19, 16, 11]
Generated Node #0,1: 46:[19, 16, 11] Operation: 93-82=11
Moving to Node #0,1
Current State: 46:[19, 16, 11], Operations: ['93-82=11']
Exploring Operation: 16+11=27, Resulting Numbers: [19, 27]
Generated Node #0,1,0: 46:[19, 27] Operation: 16+11=27
Moving to Node #0,1,0
Current State: 46:[19, 27], Operations: ['93-82=11', '16+11=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
40,
73,
11,
45
] | 15 | [
"73-40=33",
"11*45=495",
"495/33=15"
] | Current State: 15:[40, 73, 11, 45], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [11, 45, 33]
Generated Node #2: [11, 45, 33] from Operation: 73-40=33
Current State: 15:[11, 45, 33], Operations: ['73-40=33']
Exploring Operation: 11*45=495, Resulting Numbers: [33, 495]
Generated Node #3: [33, 495] from Operation: 11*45=495
Current State: 15:[33, 495], Operations: ['73-40=33', '11*45=495']
Exploring Operation: 495/33=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[40, 73, 11, 45], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [73, 11, 5]
Generated Node #0,0: 15:[73, 11, 5] Operation: 45-40=5
Exploring Operation: 73-40=33, Resulting Numbers: [11, 45, 33]
Generated Node #0,1: 15:[11, 45, 33] Operation: 73-40=33
Exploring Operation: 73-11=62, Resulting Numbers: [40, 45, 62]
Generated Node #0,2: 15:[40, 45, 62] Operation: 73-11=62
Exploring Operation: 40-11=29, Resulting Numbers: [73, 45, 29]
Generated Node #0,3: 15:[73, 45, 29] Operation: 40-11=29
Exploring Operation: 73-45=28, Resulting Numbers: [40, 11, 28]
Generated Node #0,4: 15:[40, 11, 28] Operation: 73-45=28
Start Sub Search at level 1: Moving to Node #0,4
Current State: 15:[40, 11, 28], Operations: ['73-45=28']
Exploring Operation: 11+28=39, Resulting Numbers: [40, 39]
Generated Node #0,4,0: 15:[40, 39] Operation: 11+28=39
Exploring Operation: 40-28=12, Resulting Numbers: [11, 12]
Generated Node #0,4,1: 15:[11, 12] Operation: 40-28=12
Exploring Operation: 40+11=51, Resulting Numbers: [28, 51]
Generated Node #0,4,2: 15:[28, 51] Operation: 40+11=51
Exploring Operation: 28-11=17, Resulting Numbers: [40, 17]
Generated Node #0,4,3: 15:[40, 17] Operation: 28-11=17
Exploring Operation: 40-11=29, Resulting Numbers: [28, 29]
Generated Node #0,4,4: 15:[28, 29] Operation: 40-11=29
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 15:[11, 12], Operations: ['73-45=28', '40-28=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,15 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,15 unequal: No Solution
No 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: 15:[40, 17], Operations: ['73-45=28', '28-11=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,15 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,15 unequal: No Solution
No 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: 15:[28, 29], Operations: ['73-45=28', '40-11=29']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,15 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,15 unequal: No Solution
No 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: 15:[40, 39], Operations: ['73-45=28', '11+28=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,15 unequal: No Solution
No 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: 15:[28, 51], Operations: ['73-45=28', '40+11=51']
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 28*51=1428, Resulting Numbers: [1428]
1428,15 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: 15:[11, 45, 33], Operations: ['73-40=33']
Exploring Operation: 33/11=3, Resulting Numbers: [45, 3]
Generated Node #0,1,0: 15:[45, 3] Operation: 33/11=3
Exploring Operation: 11+45=56, Resulting Numbers: [33, 56]
Generated Node #0,1,1: 15:[33, 56] Operation: 11+45=56
Exploring Operation: 45-11=34, Resulting Numbers: [33, 34]
Generated Node #0,1,2: 15:[33, 34] Operation: 45-11=34
Exploring Operation: 45-33=12, Resulting Numbers: [11, 12]
Generated Node #0,1,3: 15:[11, 12] Operation: 45-33=12
Exploring Operation: 33-11=22, Resulting Numbers: [45, 22]
Generated Node #0,1,4: 15:[45, 22] Operation: 33-11=22
Moving to Node #0,1,3
Current State: 15:[11, 12], Operations: ['73-40=33', '45-33=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,15 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[45, 3], Operations: ['73-40=33', '33/11=3']
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[40, 73, 11, 45], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [11, 45, 33]
Generated Node #0,1: 15:[11, 45, 33] Operation: 73-40=33
Moving to Node #0,1
Current State: 15:[11, 45, 33], Operations: ['73-40=33']
Exploring Operation: 33/11=3, Resulting Numbers: [45, 3]
Generated Node #0,1,0: 15:[45, 3] Operation: 33/11=3
Moving to Node #0,1,0
Current State: 15:[45, 3], Operations: ['73-40=33', '33/11=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
13,
68,
72,
62
] | 10 | [
"72-68=4",
"13*4=52",
"62-52=10"
] | Current State: 10:[13, 68, 72, 62], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [13, 62, 4]
Generated Node #2: [13, 62, 4] from Operation: 72-68=4
Current State: 10:[13, 62, 4], Operations: ['72-68=4']
Exploring Operation: 13*4=52, Resulting Numbers: [62, 52]
Generated Node #3: [62, 52] from Operation: 13*4=52
Current State: 10:[62, 52], Operations: ['72-68=4', '13*4=52']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[13, 68, 72, 62], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [13, 72, 6]
Generated Node #0,0: 10:[13, 72, 6] Operation: 68-62=6
Exploring Operation: 72-62=10, Resulting Numbers: [13, 68, 10]
Generated Node #0,1: 10:[13, 68, 10] Operation: 72-62=10
Exploring Operation: 72-68=4, Resulting Numbers: [13, 62, 4]
Generated Node #0,2: 10:[13, 62, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[13, 62, 4], Operations: ['72-68=4']
Exploring Operation: 13-4=9, Resulting Numbers: [62, 9]
Generated Node #0,2,0: 10:[62, 9] Operation: 13-4=9
Exploring Operation: 62-13=49, Resulting Numbers: [4, 49]
Generated Node #0,2,1: 10:[4, 49] Operation: 62-13=49
Exploring Operation: 62-4=58, Resulting Numbers: [13, 58]
Generated Node #0,2,2: 10:[13, 58] Operation: 62-4=58
Moving to Node #0,2,1
Current State: 10:[4, 49], Operations: ['72-68=4', '62-13=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[13, 58], Operations: ['72-68=4', '62-4=58']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[62, 9], Operations: ['72-68=4', '13-4=9']
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,10 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,10 unequal: No Solution
No 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: 10:[13, 68, 10], Operations: ['72-62=10']
Exploring Operation: 13-10=3, Resulting Numbers: [68, 3]
Generated Node #0,1,0: 10:[68, 3] Operation: 13-10=3
Exploring Operation: 68-13=55, Resulting Numbers: [10, 55]
Generated Node #0,1,1: 10:[10, 55] Operation: 68-13=55
Exploring Operation: 68-10=58, Resulting Numbers: [13, 58]
Generated Node #0,1,2: 10:[13, 58] Operation: 68-10=58
Moving to Node #0,1,1
Current State: 10:[10, 55], Operations: ['72-62=10', '68-13=55']
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,10 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[13, 58], Operations: ['72-62=10', '68-10=58']
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,10 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[68, 3], Operations: ['72-62=10', '13-10=3']
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,10 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[13, 72, 6], Operations: ['68-62=6']
Exploring Operation: 72-13=59, Resulting Numbers: [6, 59]
Generated Node #0,0,0: 10:[6, 59] Operation: 72-13=59
Exploring Operation: 72-6=66, Resulting Numbers: [13, 66]
Generated Node #0,0,1: 10:[13, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [13, 12]
Generated Node #0,0,2: 10:[13, 12] Operation: 72/6=12
Moving to Node #0,0,2
Current State: 10:[13, 12], Operations: ['68-62=6', '72/6=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,10 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[6, 59], Operations: ['68-62=6', '72-13=59']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,10 unequal: No Solution
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[13, 66], Operations: ['68-62=6', '72-6=66']
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,10 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,10 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 |
[
99,
36,
10,
24
] | 93 | [
"36+24=60",
"60/10=6",
"99-6=93"
] | Current State: 93:[99, 36, 10, 24], Operations: []
Exploring Operation: 36+24=60, Resulting Numbers: [99, 10, 60]
Generated Node #2: [99, 10, 60] from Operation: 36+24=60
Current State: 93:[99, 10, 60], Operations: ['36+24=60']
Exploring Operation: 60/10=6, Resulting Numbers: [99, 6]
Generated Node #3: [99, 6] from Operation: 60/10=6
Current State: 93:[99, 6], Operations: ['36+24=60', '60/10=6']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[99, 36, 10, 24], Operations: []
Exploring Operation: 10+24=34, Resulting Numbers: [99, 36, 34]
Generated Node #0,0: 93:[99, 36, 34] Operation: 10+24=34
Exploring Operation: 36-10=26, Resulting Numbers: [99, 24, 26]
Generated Node #0,1: 93:[99, 24, 26] Operation: 36-10=26
Exploring Operation: 99-10=89, Resulting Numbers: [36, 24, 89]
Generated Node #0,2: 93:[36, 24, 89] Operation: 99-10=89
Exploring Operation: 36-24=12, Resulting Numbers: [99, 10, 12]
Generated Node #0,3: 93:[99, 10, 12] Operation: 36-24=12
Exploring Operation: 24-10=14, Resulting Numbers: [99, 36, 14]
Generated Node #0,4: 93:[99, 36, 14] Operation: 24-10=14
Moving to Node #0,0
Current State: 93:[99, 36, 34], Operations: ['10+24=34']
Exploring Operation: 99+36=135, Resulting Numbers: [34, 135]
Generated Node #0,0,0: 93:[34, 135] Operation: 99+36=135
Exploring Operation: 99-36=63, Resulting Numbers: [34, 63]
Generated Node #0,0,1: 93:[34, 63] Operation: 99-36=63
Exploring Operation: 99-34=65, Resulting Numbers: [36, 65]
Generated Node #0,0,2: 93:[36, 65] Operation: 99-34=65
Exploring Operation: 36+34=70, Resulting Numbers: [99, 70]
Generated Node #0,0,3: 93:[99, 70] Operation: 36+34=70
Exploring Operation: 36-34=2, Resulting Numbers: [99, 2]
Generated Node #0,0,4: 93:[99, 2] Operation: 36-34=2
Moving to Node #0,2
Current State: 93:[36, 24, 89], Operations: ['99-10=89']
Exploring Operation: 89-24=65, Resulting Numbers: [36, 65]
Generated Node #0,2,0: 93:[36, 65] Operation: 89-24=65
Exploring Operation: 24+89=113, Resulting Numbers: [36, 113]
Generated Node #0,2,1: 93:[36, 113] Operation: 24+89=113
Exploring Operation: 36-24=12, Resulting Numbers: [89, 12]
Generated Node #0,2,2: 93:[89, 12] Operation: 36-24=12
Exploring Operation: 89-36=53, Resulting Numbers: [24, 53]
Generated Node #0,2,3: 93:[24, 53] Operation: 89-36=53
Exploring Operation: 36+24=60, Resulting Numbers: [89, 60]
Generated Node #0,2,4: 93:[89, 60] Operation: 36+24=60
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[89, 12], Operations: ['99-10=89', '36-24=12']
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,93 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[36, 113], Operations: ['99-10=89', '24+89=113']
Exploring Operation: 113-36=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 36*113=4068, Resulting Numbers: [4068]
4068,93 unequal: No Solution
Exploring Operation: 36+113=149, Resulting Numbers: [149]
149,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[24, 53], Operations: ['99-10=89', '89-36=53']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[36, 65], Operations: ['99-10=89', '89-24=65']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[89, 60], Operations: ['99-10=89', '36+24=60']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 89*60=5340, Resulting Numbers: [5340]
5340,93 unequal: No Solution
Exploring Operation: 89+60=149, Resulting Numbers: [149]
149,93 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: 93:[99, 24, 26], Operations: ['36-10=26']
Exploring Operation: 99+24=123, Resulting Numbers: [26, 123]
Generated Node #0,1,0: 93:[26, 123] Operation: 99+24=123
Exploring Operation: 24+26=50, Resulting Numbers: [99, 50]
Generated Node #0,1,1: 93:[99, 50] Operation: 24+26=50
Exploring Operation: 26-24=2, Resulting Numbers: [99, 2]
Generated Node #0,1,2: 93:[99, 2] Operation: 26-24=2
Exploring Operation: 99-26=73, Resulting Numbers: [24, 73]
Generated Node #0,1,3: 93:[24, 73] Operation: 99-26=73
Exploring Operation: 99-24=75, Resulting Numbers: [26, 75]
Generated Node #0,1,4: 93:[26, 75] Operation: 99-24=75
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[99, 2], Operations: ['36-10=26', '26-24=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,93 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[26, 75], Operations: ['36-10=26', '99-24=75']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[99, 50], Operations: ['36-10=26', '24+26=50']
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,93 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[24, 73], Operations: ['36-10=26', '99-26=73']
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[26, 123], Operations: ['36-10=26', '99+24=123']
Exploring Operation: 26*123=3198, Resulting Numbers: [3198]
3198,93 unequal: No Solution
Exploring Operation: 123-26=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 26+123=149, Resulting Numbers: [149]
149,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 93:[99, 10, 12], Operations: ['36-24=12']
Exploring Operation: 99-12=87, Resulting Numbers: [10, 87]
Generated Node #0,3,0: 93:[10, 87] Operation: 99-12=87
Exploring Operation: 10+12=22, Resulting Numbers: [99, 22]
Generated Node #0,3,1: 93:[99, 22] Operation: 10+12=22
Exploring Operation: 99+10=109, Resulting Numbers: [12, 109]
Generated Node #0,3,2: 93:[12, 109] Operation: 99+10=109
Exploring Operation: 12-10=2, Resulting Numbers: [99, 2]
Generated Node #0,3,3: 93:[99, 2] Operation: 12-10=2
Exploring Operation: 99-10=89, Resulting Numbers: [12, 89]
Generated Node #0,3,4: 93:[12, 89] Operation: 99-10=89
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[99, 2], Operations: ['36-24=12', '12-10=2']
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,93 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,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,3,0
Current State: 93:[10, 87], Operations: ['36-24=12', '99-12=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,93 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,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,3,4
Current State: 93:[12, 89], Operations: ['36-24=12', '99-10=89']
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,93 unequal: No Solution
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,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,3,1
Current State: 93:[99, 22], Operations: ['36-24=12', '10+12=22']
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,93 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,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,3,2
Current State: 93:[12, 109], Operations: ['36-24=12', '99+10=109']
Exploring Operation: 12*109=1308, Resulting Numbers: [1308]
1308,93 unequal: No Solution
Exploring Operation: 12+109=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 109-12=97, Resulting Numbers: [97]
97,93 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: 93:[99, 36, 14], Operations: ['24-10=14']
Exploring Operation: 99-14=85, Resulting Numbers: [36, 85]
Generated Node #0,4,0: 93:[36, 85] Operation: 99-14=85
Exploring Operation: 36-14=22, Resulting Numbers: [99, 22]
Generated Node #0,4,1: 93:[99, 22] Operation: 36-14=22
Exploring Operation: 36+14=50, Resulting Numbers: [99, 50]
Generated Node #0,4,2: 93:[99, 50] Operation: 36+14=50
Exploring Operation: 99+14=113, Resulting Numbers: [36, 113]
Generated Node #0,4,3: 93:[36, 113] Operation: 99+14=113
Exploring Operation: 99-36=63, Resulting Numbers: [14, 63]
Generated Node #0,4,4: 93:[14, 63] Operation: 99-36=63
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[36, 85], Operations: ['24-10=14', '99-14=85']
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,93 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,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,4,1
Current State: 93:[99, 22], Operations: ['24-10=14', '36-14=22']
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,93 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,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,4,2
Current State: 93:[99, 50], Operations: ['24-10=14', '36+14=50']
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,93 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,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,4,3
Current State: 93:[36, 113], Operations: ['24-10=14', '99+14=113']
Exploring Operation: 36+113=149, Resulting Numbers: [149]
149,93 unequal: No Solution
Exploring Operation: 113-36=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 36*113=4068, Resulting Numbers: [4068]
4068,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,4,4
Current State: 93:[14, 63], Operations: ['24-10=14', '99-36=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 93:[99, 2], Operations: ['10+24=34', '36-34=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,93 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[99, 70], Operations: ['10+24=34', '36+34=70']
Exploring Operation: 99*70=6930, Resulting Numbers: [6930]
6930,93 unequal: No Solution
Exploring Operation: 99-70=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 99+70=169, Resulting Numbers: [169]
169,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[34, 63], Operations: ['10+24=34', '99-36=63']
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,93 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[36, 65], Operations: ['10+24=34', '99-34=65']
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,93 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[34, 135], Operations: ['10+24=34', '99+36=135']
Exploring Operation: 135-34=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 34+135=169, Resulting Numbers: [169]
169,93 unequal: No Solution
Exploring Operation: 34*135=4590, Resulting Numbers: [4590]
4590,93 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
33,
81,
76
] | 93 | [
"31+33=64",
"81+76=157",
"157-64=93"
] | Current State: 93:[31, 33, 81, 76], Operations: []
Exploring Operation: 31+33=64, Resulting Numbers: [81, 76, 64]
Generated Node #2: [81, 76, 64] from Operation: 31+33=64
Current State: 93:[81, 76, 64], Operations: ['31+33=64']
Exploring Operation: 81+76=157, Resulting Numbers: [64, 157]
Generated Node #3: [64, 157] from Operation: 81+76=157
Current State: 93:[64, 157], Operations: ['31+33=64', '81+76=157']
Exploring Operation: 157-64=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[31, 33, 81, 76], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [31, 81, 43]
Generated Node #0,0: 93:[31, 81, 43] Operation: 76-33=43
Exploring Operation: 81-76=5, Resulting Numbers: [31, 33, 5]
Generated Node #0,1: 93:[31, 33, 5] Operation: 81-76=5
Exploring Operation: 31+76=107, Resulting Numbers: [33, 81, 107]
Generated Node #0,2: 93:[33, 81, 107] Operation: 31+76=107
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[31, 33, 5], Operations: ['81-76=5']
Exploring Operation: 31+5=36, Resulting Numbers: [33, 36]
Generated Node #0,1,0: 93:[33, 36] Operation: 31+5=36
Exploring Operation: 33-5=28, Resulting Numbers: [31, 28]
Generated Node #0,1,1: 93:[31, 28] Operation: 33-5=28
Exploring Operation: 33-31=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 93:[5, 2] Operation: 33-31=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[31, 28], Operations: ['81-76=5', '33-5=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,93 unequal: No Solution
No 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: 93:[5, 2], Operations: ['81-76=5', '33-31=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,93 unequal: No Solution
No 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: 93:[33, 36], Operations: ['81-76=5', '31+5=36']
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,93 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,93 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: 93:[31, 81, 43], Operations: ['76-33=43']
Exploring Operation: 43-31=12, Resulting Numbers: [81, 12]
Generated Node #0,0,0: 93:[81, 12] Operation: 43-31=12
Exploring Operation: 81-43=38, Resulting Numbers: [31, 38]
Generated Node #0,0,1: 93:[31, 38] Operation: 81-43=38
Exploring Operation: 31+81=112, Resulting Numbers: [43, 112]
Generated Node #0,0,2: 93:[43, 112] Operation: 31+81=112
Moving to Node #0,0,1
Current State: 93:[31, 38], Operations: ['76-33=43', '81-43=38']
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,93 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[81, 12], Operations: ['76-33=43', '43-31=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,93 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[31, 33, 81, 76], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [31, 81, 43]
Generated Node #0,0: 93:[31, 81, 43] Operation: 76-33=43
Moving to Node #0,0
Current State: 93:[31, 81, 43], Operations: ['76-33=43']
Exploring Operation: 43-31=12, Resulting Numbers: [81, 12]
Generated Node #0,0,0: 93:[81, 12] Operation: 43-31=12
Moving to Node #0,0,0
Current State: 93:[81, 12], Operations: ['76-33=43', '43-31=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
5,
35,
38,
22
] | 47 | [
"38+22=60",
"60/5=12",
"35+12=47"
] | Current State: 47:[5, 35, 38, 22], Operations: []
Exploring Operation: 38+22=60, Resulting Numbers: [5, 35, 60]
Generated Node #2: [5, 35, 60] from Operation: 38+22=60
Current State: 47:[5, 35, 60], Operations: ['38+22=60']
Exploring Operation: 60/5=12, Resulting Numbers: [35, 12]
Generated Node #3: [35, 12] from Operation: 60/5=12
Current State: 47:[35, 12], Operations: ['38+22=60', '60/5=12']
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 35, 38, 22], Operations: []
Exploring Operation: 5+38=43, Resulting Numbers: [35, 22, 43]
Generated Node #0,0: 47:[35, 22, 43] Operation: 5+38=43
Exploring Operation: 5+35=40, Resulting Numbers: [38, 22, 40]
Generated Node #0,1: 47:[38, 22, 40] Operation: 5+35=40
Exploring Operation: 5+22=27, Resulting Numbers: [35, 38, 27]
Generated Node #0,2: 47:[35, 38, 27] Operation: 5+22=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[35, 22, 43], Operations: ['5+38=43']
Exploring Operation: 22+43=65, Resulting Numbers: [35, 65]
Generated Node #0,0,0: 47:[35, 65] Operation: 22+43=65
Exploring Operation: 35-22=13, Resulting Numbers: [43, 13]
Generated Node #0,0,1: 47:[43, 13] Operation: 35-22=13
Exploring Operation: 35+22=57, Resulting Numbers: [43, 57]
Generated Node #0,0,2: 47:[43, 57] Operation: 35+22=57
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[43, 57], Operations: ['5+38=43', '35+22=57']
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,47 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,47 unequal: No Solution
No 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: 47:[35, 65], Operations: ['5+38=43', '22+43=65']
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,47 unequal: No Solution
No 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: 47:[43, 13], Operations: ['5+38=43', '35-22=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,47 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,47 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: 47:[38, 22, 40], Operations: ['5+35=40']
Exploring Operation: 22+40=62, Resulting Numbers: [38, 62]
Generated Node #0,1,0: 47:[38, 62] Operation: 22+40=62
Exploring Operation: 38+22=60, Resulting Numbers: [40, 60]
Generated Node #0,1,1: 47:[40, 60] Operation: 38+22=60
Exploring Operation: 38-22=16, Resulting Numbers: [40, 16]
Generated Node #0,1,2: 47:[40, 16] Operation: 38-22=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[40, 60], Operations: ['5+35=40', '38+22=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,47 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,47 unequal: No Solution
No 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: 47:[38, 62], Operations: ['5+35=40', '22+40=62']
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,47 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No 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: 47:[40, 16], Operations: ['5+35=40', '38-22=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,47 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,47 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: 47:[35, 38, 27], Operations: ['5+22=27']
Exploring Operation: 35+27=62, Resulting Numbers: [38, 62]
Generated Node #0,2,0: 47:[38, 62] Operation: 35+27=62
Exploring Operation: 35+38=73, Resulting Numbers: [27, 73]
Generated Node #0,2,1: 47:[27, 73] Operation: 35+38=73
Exploring Operation: 38+27=65, Resulting Numbers: [35, 65]
Generated Node #0,2,2: 47:[35, 65] Operation: 38+27=65
Moving to Node #0,2,0
Current State: 47:[38, 62], Operations: ['5+22=27', '35+27=62']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[35, 65], Operations: ['5+22=27', '38+27=65']
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,47 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[27, 73], Operations: ['5+22=27', '35+38=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 27*73=1971, Resulting Numbers: [1971]
1971,47 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,47 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 |
[
81,
72,
17,
86
] | 94 | [
"81-72=9",
"17+86=103",
"103-9=94"
] | Current State: 94:[81, 72, 17, 86], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [17, 86, 9]
Generated Node #2: [17, 86, 9] from Operation: 81-72=9
Current State: 94:[17, 86, 9], Operations: ['81-72=9']
Exploring Operation: 17+86=103, Resulting Numbers: [9, 103]
Generated Node #3: [9, 103] from Operation: 17+86=103
Current State: 94:[9, 103], Operations: ['81-72=9', '17+86=103']
Exploring Operation: 103-9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[81, 72, 17, 86], Operations: []
Exploring Operation: 81+17=98, Resulting Numbers: [72, 86, 98]
Generated Node #0,0: 94:[72, 86, 98] Operation: 81+17=98
Exploring Operation: 81-72=9, Resulting Numbers: [17, 86, 9]
Generated Node #0,1: 94:[17, 86, 9] Operation: 81-72=9
Exploring Operation: 72+17=89, Resulting Numbers: [81, 86, 89]
Generated Node #0,2: 94:[81, 86, 89] Operation: 72+17=89
Exploring Operation: 72-17=55, Resulting Numbers: [81, 86, 55]
Generated Node #0,3: 94:[81, 86, 55] Operation: 72-17=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[81, 86, 89], Operations: ['72+17=89']
Exploring Operation: 89-81=8, Resulting Numbers: [86, 8]
Generated Node #0,2,0: 94:[86, 8] Operation: 89-81=8
Exploring Operation: 86-81=5, Resulting Numbers: [89, 5]
Generated Node #0,2,1: 94:[89, 5] Operation: 86-81=5
Exploring Operation: 89-86=3, Resulting Numbers: [81, 3]
Generated Node #0,2,2: 94:[81, 3] Operation: 89-86=3
Exploring Operation: 81+86=167, Resulting Numbers: [89, 167]
Generated Node #0,2,3: 94:[89, 167] Operation: 81+86=167
Moving to Node #0,2,1
Current State: 94:[89, 5], Operations: ['72+17=89', '86-81=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[81, 72, 17, 86], Operations: []
Exploring Operation: 72+17=89, Resulting Numbers: [81, 86, 89]
Generated Node #0,2: 94:[81, 86, 89] Operation: 72+17=89
Moving to Node #0,2
Current State: 94:[81, 86, 89], Operations: ['72+17=89']
Exploring Operation: 86-81=5, Resulting Numbers: [89, 5]
Generated Node #0,2,1: 94:[89, 5] Operation: 86-81=5
Moving to Node #0,2,1
Current State: 94:[89, 5], Operations: ['72+17=89', '86-81=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
62,
36,
95,
31
] | 81 | [
"36-31=5",
"95/5=19",
"62+19=81"
] | Current State: 81:[62, 36, 95, 31], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [62, 95, 5]
Generated Node #2: [62, 95, 5] from Operation: 36-31=5
Current State: 81:[62, 95, 5], Operations: ['36-31=5']
Exploring Operation: 95/5=19, Resulting Numbers: [62, 19]
Generated Node #3: [62, 19] from Operation: 95/5=19
Current State: 81:[62, 19], Operations: ['36-31=5', '95/5=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[62, 36, 95, 31], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [36, 31, 33]
Generated Node #0,0: 81:[36, 31, 33] Operation: 95-62=33
Exploring Operation: 62+36=98, Resulting Numbers: [95, 31, 98]
Generated Node #0,1: 81:[95, 31, 98] Operation: 62+36=98
Exploring Operation: 62/31=2, Resulting Numbers: [36, 95, 2]
Generated Node #0,2: 81:[36, 95, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [36, 95, 31]
Generated Node #0,3: 81:[36, 95, 31] Operation: 62-31=31
Exploring Operation: 62-36=26, Resulting Numbers: [95, 31, 26]
Generated Node #0,4: 81:[95, 31, 26] Operation: 62-36=26
Moving to Node #0,0
Current State: 81:[36, 31, 33], Operations: ['95-62=33']
Exploring Operation: 36+31=67, Resulting Numbers: [33, 67]
Generated Node #0,0,0: 81:[33, 67] Operation: 36+31=67
Exploring Operation: 36-31=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 81:[33, 5] Operation: 36-31=5
Exploring Operation: 33-31=2, Resulting Numbers: [36, 2]
Generated Node #0,0,2: 81:[36, 2] Operation: 33-31=2
Exploring Operation: 36-33=3, Resulting Numbers: [31, 3]
Generated Node #0,0,3: 81:[31, 3] Operation: 36-33=3
Exploring Operation: 36+33=69, Resulting Numbers: [31, 69]
Generated Node #0,0,4: 81:[31, 69] Operation: 36+33=69
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[31, 3], Operations: ['95-62=33', '36-33=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[33, 5], Operations: ['95-62=33', '36-31=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,81 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[36, 2], Operations: ['95-62=33', '33-31=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 81:[31, 69], Operations: ['95-62=33', '36+33=69']
Exploring Operation: 31*69=2139, Resulting Numbers: [2139]
2139,81 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[33, 67], Operations: ['95-62=33', '36+31=67']
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,81 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,81 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: 81:[95, 31, 26], Operations: ['62-36=26']
Exploring Operation: 95-31=64, Resulting Numbers: [26, 64]
Generated Node #0,4,0: 81:[26, 64] Operation: 95-31=64
Exploring Operation: 31+26=57, Resulting Numbers: [95, 57]
Generated Node #0,4,1: 81:[95, 57] Operation: 31+26=57
Exploring Operation: 95-26=69, Resulting Numbers: [31, 69]
Generated Node #0,4,2: 81:[31, 69] Operation: 95-26=69
Exploring Operation: 31-26=5, Resulting Numbers: [95, 5]
Generated Node #0,4,3: 81:[95, 5] Operation: 31-26=5
Exploring Operation: 95+26=121, Resulting Numbers: [31, 121]
Generated Node #0,4,4: 81:[31, 121] Operation: 95+26=121
Moving to Node #0,2
Current State: 81:[36, 95, 2], Operations: ['62/31=2']
Exploring Operation: 36/2=18, Resulting Numbers: [95, 18]
Generated Node #0,2,0: 81:[95, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [95, 34]
Generated Node #0,2,1: 81:[95, 34] Operation: 36-2=34
Exploring Operation: 36*2=72, Resulting Numbers: [95, 72]
Generated Node #0,2,2: 81:[95, 72] Operation: 36*2=72
Exploring Operation: 95-36=59, Resulting Numbers: [2, 59]
Generated Node #0,2,3: 81:[2, 59] Operation: 95-36=59
Exploring Operation: 95-2=93, Resulting Numbers: [36, 93]
Generated Node #0,2,4: 81:[36, 93] Operation: 95-2=93
Moving to Node #0,3
Current State: 81:[36, 95, 31], Operations: ['62-31=31']
Exploring Operation: 36+95=131, Resulting Numbers: [31, 131]
Generated Node #0,3,0: 81:[31, 131] Operation: 36+95=131
Exploring Operation: 36-31=5, Resulting Numbers: [95, 5]
Generated Node #0,3,1: 81:[95, 5] Operation: 36-31=5
Exploring Operation: 95-31=64, Resulting Numbers: [36, 64]
Generated Node #0,3,2: 81:[36, 64] Operation: 95-31=64
Exploring Operation: 36+31=67, Resulting Numbers: [95, 67]
Generated Node #0,3,3: 81:[95, 67] Operation: 36+31=67
Exploring Operation: 95-36=59, Resulting Numbers: [31, 59]
Generated Node #0,3,4: 81:[31, 59] Operation: 95-36=59
Moving to Node #0,1
Current State: 81:[95, 31, 98], Operations: ['62+36=98']
Exploring Operation: 31+98=129, Resulting Numbers: [95, 129]
Generated Node #0,1,0: 81:[95, 129] Operation: 31+98=129
Exploring Operation: 98-95=3, Resulting Numbers: [31, 3]
Generated Node #0,1,1: 81:[31, 3] Operation: 98-95=3
Exploring Operation: 98-31=67, Resulting Numbers: [95, 67]
Generated Node #0,1,2: 81:[95, 67] Operation: 98-31=67
Exploring Operation: 95+31=126, Resulting Numbers: [98, 126]
Generated Node #0,1,3: 81:[98, 126] Operation: 95+31=126
Exploring Operation: 95-31=64, Resulting Numbers: [98, 64]
Generated Node #0,1,4: 81:[98, 64] Operation: 95-31=64
Moving to Node #0,1,1
Current State: 81:[31, 3], Operations: ['62+36=98', '98-95=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[31, 69], Operations: ['62-36=26', '95-26=69']
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 31*69=2139, Resulting Numbers: [2139]
2139,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[95, 5], Operations: ['62-31=31', '36-31=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,81 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[95, 5], Operations: ['62-36=26', '31-26=5']
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,81 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Moving to Node #0,4,0
Current State: 81:[26, 64], Operations: ['62-36=26', '95-31=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,81 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[36, 93], Operations: ['62/31=2', '95-2=93']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 36*93=3348, Resulting Numbers: [3348]
3348,81 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[95, 34], Operations: ['62/31=2', '36-2=34']
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,81 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[2, 59], Operations: ['62/31=2', '95-36=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[95, 72], Operations: ['62/31=2', '36*2=72']
Exploring Operation: 95+72=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 95*72=6840, Resulting Numbers: [6840]
6840,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[95, 18], Operations: ['62/31=2', '36/2=18']
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[31, 59], Operations: ['62-31=31', '95-36=59']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[36, 64], Operations: ['62-31=31', '95-31=64']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[95, 67], Operations: ['62-31=31', '36+31=67']
Exploring Operation: 95*67=6365, Resulting Numbers: [6365]
6365,81 unequal: No Solution
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[95, 67], Operations: ['62+36=98', '98-31=67']
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,81 unequal: No Solution
Exploring Operation: 95*67=6365, Resulting Numbers: [6365]
6365,81 unequal: No Solution
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[98, 64], Operations: ['62+36=98', '95-31=64']
Exploring Operation: 98+64=162, Resulting Numbers: [162]
162,81 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 98*64=6272, Resulting Numbers: [6272]
6272,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[95, 57], Operations: ['62-36=26', '31+26=57']
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,81 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,81 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[31, 121], Operations: ['62-36=26', '95+26=121']
Exploring Operation: 31*121=3751, Resulting Numbers: [3751]
3751,81 unequal: No Solution
Exploring Operation: 121-31=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 31+121=152, Resulting Numbers: [152]
152,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[31, 131], Operations: ['62-31=31', '36+95=131']
Exploring Operation: 31+131=162, Resulting Numbers: [162]
162,81 unequal: No Solution
Exploring Operation: 131-31=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 31*131=4061, Resulting Numbers: [4061]
4061,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[95, 129], Operations: ['62+36=98', '31+98=129']
Exploring Operation: 95*129=12255, Resulting Numbers: [12255]
12255,81 unequal: No Solution
Exploring Operation: 129-95=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 95+129=224, Resulting Numbers: [224]
224,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[98, 126], Operations: ['62+36=98', '95+31=126']
Exploring Operation: 126-98=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 98*126=12348, Resulting Numbers: [12348]
12348,81 unequal: No Solution
Exploring Operation: 98+126=224, Resulting Numbers: [224]
224,81 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
76,
22,
72,
60
] | 37 | [
"76-72=4",
"60/4=15",
"22+15=37"
] | Current State: 37:[76, 22, 72, 60], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [22, 60, 4]
Generated Node #2: [22, 60, 4] from Operation: 76-72=4
Current State: 37:[22, 60, 4], Operations: ['76-72=4']
Exploring Operation: 60/4=15, Resulting Numbers: [22, 15]
Generated Node #3: [22, 15] from Operation: 60/4=15
Current State: 37:[22, 15], Operations: ['76-72=4', '60/4=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[76, 22, 72, 60], Operations: []
Exploring Operation: 76-22=54, Resulting Numbers: [72, 60, 54]
Generated Node #0,0: 37:[72, 60, 54] Operation: 76-22=54
Exploring Operation: 76-60=16, Resulting Numbers: [22, 72, 16]
Generated Node #0,1: 37:[22, 72, 16] Operation: 76-60=16
Exploring Operation: 76-72=4, Resulting Numbers: [22, 60, 4]
Generated Node #0,2: 37:[22, 60, 4] Operation: 76-72=4
Exploring Operation: 72-22=50, Resulting Numbers: [76, 60, 50]
Generated Node #0,3: 37:[76, 60, 50] Operation: 72-22=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[22, 72, 16], Operations: ['76-60=16']
Exploring Operation: 22-16=6, Resulting Numbers: [72, 6]
Generated Node #0,1,0: 37:[72, 6] Operation: 22-16=6
Exploring Operation: 72-22=50, Resulting Numbers: [16, 50]
Generated Node #0,1,1: 37:[16, 50] Operation: 72-22=50
Exploring Operation: 72-16=56, Resulting Numbers: [22, 56]
Generated Node #0,1,2: 37:[22, 56] Operation: 72-16=56
Exploring Operation: 22+16=38, Resulting Numbers: [72, 38]
Generated Node #0,1,3: 37:[72, 38] Operation: 22+16=38
Moving to Node #0,1,1
Current State: 37:[16, 50], Operations: ['76-60=16', '72-22=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,37 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[22, 56], Operations: ['76-60=16', '72-16=56']
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,37 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[72, 38], Operations: ['76-60=16', '22+16=38']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,37 unequal: No Solution
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[72, 6], Operations: ['76-60=16', '22-16=6']
Exploring Operation: 72*6=432, Resulting Numbers: [432]
432,37 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,37 unequal: No Solution
No 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: 37:[22, 60, 4], Operations: ['76-72=4']
Exploring Operation: 60-22=38, Resulting Numbers: [4, 38]
Generated Node #0,2,0: 37:[4, 38] Operation: 60-22=38
Exploring Operation: 22+4=26, Resulting Numbers: [60, 26]
Generated Node #0,2,1: 37:[60, 26] Operation: 22+4=26
Exploring Operation: 60-4=56, Resulting Numbers: [22, 56]
Generated Node #0,2,2: 37:[22, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [22, 15]
Generated Node #0,2,3: 37:[22, 15] Operation: 60/4=15
Moving to Node #0,2,0
Current State: 37:[4, 38], Operations: ['76-72=4', '60-22=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,37 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[22, 56], Operations: ['76-72=4', '60-4=56']
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[60, 26], Operations: ['76-72=4', '22+4=26']
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,37 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[22, 15], Operations: ['76-72=4', '60/4=15']
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,37 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[76, 22, 72, 60], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [22, 60, 4]
Generated Node #0,2: 37:[22, 60, 4] Operation: 76-72=4
Moving to Node #0,2
Current State: 37:[22, 60, 4], Operations: ['76-72=4']
Exploring Operation: 60/4=15, Resulting Numbers: [22, 15]
Generated Node #0,2,3: 37:[22, 15] Operation: 60/4=15
Moving to Node #0,2,3
Current State: 37:[22, 15], Operations: ['76-72=4', '60/4=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
73,
35,
39,
68
] | 79 | [
"73+35=108",
"68-39=29",
"108-29=79"
] | Current State: 79:[73, 35, 39, 68], Operations: []
Exploring Operation: 73+35=108, Resulting Numbers: [39, 68, 108]
Generated Node #2: [39, 68, 108] from Operation: 73+35=108
Current State: 79:[39, 68, 108], Operations: ['73+35=108']
Exploring Operation: 68-39=29, Resulting Numbers: [108, 29]
Generated Node #3: [108, 29] from Operation: 68-39=29
Current State: 79:[108, 29], Operations: ['73+35=108', '68-39=29']
Exploring Operation: 108-29=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[73, 35, 39, 68], Operations: []
Exploring Operation: 35+39=74, Resulting Numbers: [73, 68, 74]
Generated Node #0,0: 79:[73, 68, 74] Operation: 35+39=74
Exploring Operation: 39+68=107, Resulting Numbers: [73, 35, 107]
Generated Node #0,1: 79:[73, 35, 107] Operation: 39+68=107
Exploring Operation: 73+35=108, Resulting Numbers: [39, 68, 108]
Generated Node #0,2: 79:[39, 68, 108] Operation: 73+35=108
Exploring Operation: 35+68=103, Resulting Numbers: [73, 39, 103]
Generated Node #0,3: 79:[73, 39, 103] Operation: 35+68=103
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[73, 68, 74], Operations: ['35+39=74']
Exploring Operation: 68+74=142, Resulting Numbers: [73, 142]
Generated Node #0,0,0: 79:[73, 142] Operation: 68+74=142
Exploring Operation: 73+68=141, Resulting Numbers: [74, 141]
Generated Node #0,0,1: 79:[74, 141] Operation: 73+68=141
Exploring Operation: 73-68=5, Resulting Numbers: [74, 5]
Generated Node #0,0,2: 79:[74, 5] Operation: 73-68=5
Exploring Operation: 73+74=147, Resulting Numbers: [68, 147]
Generated Node #0,0,3: 79:[68, 147] Operation: 73+74=147
Moving to Node #0,0,1
Current State: 79:[74, 141], Operations: ['35+39=74', '73+68=141']
Exploring Operation: 74*141=10434, Resulting Numbers: [10434]
10434,79 unequal: No Solution
Exploring Operation: 74+141=215, Resulting Numbers: [215]
215,79 unequal: No Solution
Exploring Operation: 141-74=67, Resulting Numbers: [67]
67,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[73, 142], Operations: ['35+39=74', '68+74=142']
Exploring Operation: 73*142=10366, Resulting Numbers: [10366]
10366,79 unequal: No Solution
Exploring Operation: 142-73=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 73+142=215, Resulting Numbers: [215]
215,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[68, 147], Operations: ['35+39=74', '73+74=147']
Exploring Operation: 68+147=215, Resulting Numbers: [215]
215,79 unequal: No Solution
Exploring Operation: 147-68=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[73, 35, 39, 68], Operations: []
Exploring Operation: 35+39=74, Resulting Numbers: [73, 68, 74]
Generated Node #0,0: 79:[73, 68, 74] Operation: 35+39=74
Moving to Node #0,0
Current State: 79:[73, 68, 74], Operations: ['35+39=74']
Exploring Operation: 73+74=147, Resulting Numbers: [68, 147]
Generated Node #0,0,3: 79:[68, 147] Operation: 73+74=147
Moving to Node #0,0,3
Current State: 79:[68, 147], Operations: ['35+39=74', '73+74=147']
Exploring Operation: 147-68=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
10,
29,
16,
64
] | 67 | [
"29-10=19",
"64-16=48",
"19+48=67"
] | Current State: 67:[10, 29, 16, 64], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [16, 64, 19]
Generated Node #2: [16, 64, 19] from Operation: 29-10=19
Current State: 67:[16, 64, 19], Operations: ['29-10=19']
Exploring Operation: 64-16=48, Resulting Numbers: [19, 48]
Generated Node #3: [19, 48] from Operation: 64-16=48
Current State: 67:[19, 48], Operations: ['29-10=19', '64-16=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[10, 29, 16, 64], Operations: []
Exploring Operation: 10+29=39, Resulting Numbers: [16, 64, 39]
Generated Node #0,0: 67:[16, 64, 39] Operation: 10+29=39
Exploring Operation: 29+16=45, Resulting Numbers: [10, 64, 45]
Generated Node #0,1: 67:[10, 64, 45] Operation: 29+16=45
Exploring Operation: 10+16=26, Resulting Numbers: [29, 64, 26]
Generated Node #0,2: 67:[29, 64, 26] Operation: 10+16=26
Exploring Operation: 29-10=19, Resulting Numbers: [16, 64, 19]
Generated Node #0,3: 67:[16, 64, 19] Operation: 29-10=19
Exploring Operation: 10+64=74, Resulting Numbers: [29, 16, 74]
Generated Node #0,4: 67:[29, 16, 74] Operation: 10+64=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[16, 64, 39], Operations: ['10+29=39']
Exploring Operation: 16+39=55, Resulting Numbers: [64, 55]
Generated Node #0,0,0: 67:[64, 55] Operation: 16+39=55
Exploring Operation: 39-16=23, Resulting Numbers: [64, 23]
Generated Node #0,0,1: 67:[64, 23] Operation: 39-16=23
Exploring Operation: 16+64=80, Resulting Numbers: [39, 80]
Generated Node #0,0,2: 67:[39, 80] Operation: 16+64=80
Exploring Operation: 64+39=103, Resulting Numbers: [16, 103]
Generated Node #0,0,3: 67:[16, 103] Operation: 64+39=103
Exploring Operation: 64-16=48, Resulting Numbers: [39, 48]
Generated Node #0,0,4: 67:[39, 48] Operation: 64-16=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[64, 55], Operations: ['10+29=39', '16+39=55']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,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:[39, 80], Operations: ['10+29=39', '16+64=80']
Exploring Operation: 39+80=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 39*80=3120, Resulting Numbers: [3120]
3120,67 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,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,1
Current State: 67:[64, 23], Operations: ['10+29=39', '39-16=23']
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,67 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,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,4
Current State: 67:[39, 48], Operations: ['10+29=39', '64-16=48']
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,67 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,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,3
Current State: 67:[16, 103], Operations: ['10+29=39', '64+39=103']
Exploring Operation: 103-16=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 16+103=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 16*103=1648, Resulting Numbers: [1648]
1648,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,1
Current State: 67:[10, 64, 45], Operations: ['29+16=45']
Exploring Operation: 45-10=35, Resulting Numbers: [64, 35]
Generated Node #0,1,0: 67:[64, 35] Operation: 45-10=35
Exploring Operation: 10+64=74, Resulting Numbers: [45, 74]
Generated Node #0,1,1: 67:[45, 74] Operation: 10+64=74
Exploring Operation: 64+45=109, Resulting Numbers: [10, 109]
Generated Node #0,1,2: 67:[10, 109] Operation: 64+45=109
Exploring Operation: 64-10=54, Resulting Numbers: [45, 54]
Generated Node #0,1,3: 67:[45, 54] Operation: 64-10=54
Exploring Operation: 10+45=55, Resulting Numbers: [64, 55]
Generated Node #0,1,4: 67:[64, 55] Operation: 10+45=55
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[64, 55], Operations: ['29+16=45', '10+45=55']
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,67 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[45, 74], Operations: ['29+16=45', '10+64=74']
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,67 unequal: No Solution
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[64, 35], Operations: ['29+16=45', '45-10=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[45, 54], Operations: ['29+16=45', '64-10=54']
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,67 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[10, 109], Operations: ['29+16=45', '64+45=109']
Exploring Operation: 109-10=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 10*109=1090, Resulting Numbers: [1090]
1090,67 unequal: No Solution
Exploring Operation: 10+109=119, Resulting Numbers: [119]
119,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[29, 64, 26], Operations: ['10+16=26']
Exploring Operation: 29+26=55, Resulting Numbers: [64, 55]
Generated Node #0,2,0: 67:[64, 55] Operation: 29+26=55
Exploring Operation: 29+64=93, Resulting Numbers: [26, 93]
Generated Node #0,2,1: 67:[26, 93] Operation: 29+64=93
Exploring Operation: 64-26=38, Resulting Numbers: [29, 38]
Generated Node #0,2,2: 67:[29, 38] Operation: 64-26=38
Exploring Operation: 64+26=90, Resulting Numbers: [29, 90]
Generated Node #0,2,3: 67:[29, 90] Operation: 64+26=90
Exploring Operation: 29-26=3, Resulting Numbers: [64, 3]
Generated Node #0,2,4: 67:[64, 3] Operation: 29-26=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[64, 55], Operations: ['10+16=26', '29+26=55']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,67 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[29, 90], Operations: ['10+16=26', '64+26=90']
Exploring Operation: 29*90=2610, Resulting Numbers: [2610]
2610,67 unequal: No Solution
Exploring Operation: 29+90=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[26, 93], Operations: ['10+16=26', '29+64=93']
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,67 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[10, 29, 16, 64], Operations: []
Exploring Operation: 10+16=26, Resulting Numbers: [29, 64, 26]
Generated Node #0,2: 67:[29, 64, 26] Operation: 10+16=26
Moving to Node #0,2
Current State: 67:[29, 64, 26], Operations: ['10+16=26']
Exploring Operation: 29+64=93, Resulting Numbers: [26, 93]
Generated Node #0,2,1: 67:[26, 93] Operation: 29+64=93
Moving to Node #0,2,1
Current State: 67:[26, 93], Operations: ['10+16=26', '29+64=93']
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
69,
2,
24,
13
] | 88 | [
"69-13=56",
"2*56=112",
"112-24=88"
] | Current State: 88:[69, 2, 24, 13], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [2, 24, 56]
Generated Node #2: [2, 24, 56] from Operation: 69-13=56
Current State: 88:[2, 24, 56], Operations: ['69-13=56']
Exploring Operation: 2*56=112, Resulting Numbers: [24, 112]
Generated Node #3: [24, 112] from Operation: 2*56=112
Current State: 88:[24, 112], Operations: ['69-13=56', '2*56=112']
Exploring Operation: 112-24=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[69, 2, 24, 13], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [2, 13, 45]
Generated Node #0,0: 88:[2, 13, 45] Operation: 69-24=45
Moving to Node #0,0
Current State: 88:[2, 13, 45], Operations: ['69-24=45']
Exploring Operation: 13-2=11, Resulting Numbers: [45, 11]
Generated Node #0,0,0: 88:[45, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[45, 11], Operations: ['69-24=45', '13-2=11']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
98,
4,
40
] | 43 | [
"98-65=33",
"40/4=10",
"33+10=43"
] | Current State: 43:[65, 98, 4, 40], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [4, 40, 33]
Generated Node #2: [4, 40, 33] from Operation: 98-65=33
Current State: 43:[4, 40, 33], Operations: ['98-65=33']
Exploring Operation: 40/4=10, Resulting Numbers: [33, 10]
Generated Node #3: [33, 10] from Operation: 40/4=10
Current State: 43:[33, 10], Operations: ['98-65=33', '40/4=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[65, 98, 4, 40], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [65, 40, 94]
Generated Node #0,0: 43:[65, 40, 94] Operation: 98-4=94
Exploring Operation: 65-4=61, Resulting Numbers: [98, 40, 61]
Generated Node #0,1: 43:[98, 40, 61] Operation: 65-4=61
Exploring Operation: 98-65=33, Resulting Numbers: [4, 40, 33]
Generated Node #0,2: 43:[4, 40, 33] Operation: 98-65=33
Exploring Operation: 4+40=44, Resulting Numbers: [65, 98, 44]
Generated Node #0,3: 43:[65, 98, 44] Operation: 4+40=44
Exploring Operation: 98-40=58, Resulting Numbers: [65, 4, 58]
Generated Node #0,4: 43:[65, 4, 58] Operation: 98-40=58
Moving to Node #0,2
Current State: 43:[4, 40, 33], Operations: ['98-65=33']
Exploring Operation: 40/4=10, Resulting Numbers: [33, 10]
Generated Node #0,2,0: 43:[33, 10] Operation: 40/4=10
Exploring Operation: 4+40=44, Resulting Numbers: [33, 44]
Generated Node #0,2,1: 43:[33, 44] Operation: 4+40=44
Exploring Operation: 33-4=29, Resulting Numbers: [40, 29]
Generated Node #0,2,2: 43:[40, 29] Operation: 33-4=29
Exploring Operation: 40-4=36, Resulting Numbers: [33, 36]
Generated Node #0,2,3: 43:[33, 36] Operation: 40-4=36
Exploring Operation: 4+33=37, Resulting Numbers: [40, 37]
Generated Node #0,2,4: 43:[40, 37] Operation: 4+33=37
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 43:[40, 37], Operations: ['98-65=33', '4+33=37']
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,43 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[33, 44], Operations: ['98-65=33', '4+40=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,43 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[40, 29], Operations: ['98-65=33', '33-4=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[33, 36], Operations: ['98-65=33', '40-4=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[33, 10], Operations: ['98-65=33', '40/4=10']
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,43 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[65, 98, 4, 40], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [4, 40, 33]
Generated Node #0,2: 43:[4, 40, 33] Operation: 98-65=33
Moving to Node #0,2
Current State: 43:[4, 40, 33], Operations: ['98-65=33']
Exploring Operation: 40/4=10, Resulting Numbers: [33, 10]
Generated Node #0,2,0: 43:[33, 10] Operation: 40/4=10
Moving to Node #0,2,0
Current State: 43:[33, 10], Operations: ['98-65=33', '40/4=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | sum_heuristic |
[
24,
96,
54,
67
] | 59 | [
"96-24=72",
"67-54=13",
"72-13=59"
] | Current State: 59:[24, 96, 54, 67], Operations: []
Exploring Operation: 96-24=72, Resulting Numbers: [54, 67, 72]
Generated Node #2: [54, 67, 72] from Operation: 96-24=72
Current State: 59:[54, 67, 72], Operations: ['96-24=72']
Exploring Operation: 67-54=13, Resulting Numbers: [72, 13]
Generated Node #3: [72, 13] from Operation: 67-54=13
Current State: 59:[72, 13], Operations: ['96-24=72', '67-54=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[24, 96, 54, 67], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [24, 67, 42]
Generated Node #0,0: 59:[24, 67, 42] Operation: 96-54=42
Exploring Operation: 24+54=78, Resulting Numbers: [96, 67, 78]
Generated Node #0,1: 59:[96, 67, 78] Operation: 24+54=78
Exploring Operation: 67-24=43, Resulting Numbers: [96, 54, 43]
Generated Node #0,2: 59:[96, 54, 43] Operation: 67-24=43
Exploring Operation: 96/24=4, Resulting Numbers: [54, 67, 4]
Generated Node #0,3: 59:[54, 67, 4] Operation: 96/24=4
Exploring Operation: 96-24=72, Resulting Numbers: [54, 67, 72]
Generated Node #0,4: 59:[54, 67, 72] Operation: 96-24=72
Moving to Node #0,4
Current State: 59:[54, 67, 72], Operations: ['96-24=72']
Exploring Operation: 54+67=121, Resulting Numbers: [72, 121]
Generated Node #0,4,0: 59:[72, 121] Operation: 54+67=121
Exploring Operation: 72-54=18, Resulting Numbers: [67, 18]
Generated Node #0,4,1: 59:[67, 18] Operation: 72-54=18
Exploring Operation: 54+72=126, Resulting Numbers: [67, 126]
Generated Node #0,4,2: 59:[67, 126] Operation: 54+72=126
Exploring Operation: 72-67=5, Resulting Numbers: [54, 5]
Generated Node #0,4,3: 59:[54, 5] Operation: 72-67=5
Exploring Operation: 67-54=13, Resulting Numbers: [72, 13]
Generated Node #0,4,4: 59:[72, 13] Operation: 67-54=13
Moving to Node #0,2
Current State: 59:[96, 54, 43], Operations: ['67-24=43']
Exploring Operation: 96+43=139, Resulting Numbers: [54, 139]
Generated Node #0,2,0: 59:[54, 139] Operation: 96+43=139
Exploring Operation: 96-43=53, Resulting Numbers: [54, 53]
Generated Node #0,2,1: 59:[54, 53] Operation: 96-43=53
Exploring Operation: 96-54=42, Resulting Numbers: [43, 42]
Generated Node #0,2,2: 59:[43, 42] Operation: 96-54=42
Exploring Operation: 54-43=11, Resulting Numbers: [96, 11]
Generated Node #0,2,3: 59:[96, 11] Operation: 54-43=11
Exploring Operation: 54+43=97, Resulting Numbers: [96, 97]
Generated Node #0,2,4: 59:[96, 97] Operation: 54+43=97
Moving to Node #0,0
Current State: 59:[24, 67, 42], Operations: ['96-54=42']
Exploring Operation: 67-42=25, Resulting Numbers: [24, 25]
Generated Node #0,0,0: 59:[24, 25] Operation: 67-42=25
Exploring Operation: 24+42=66, Resulting Numbers: [67, 66]
Generated Node #0,0,1: 59:[67, 66] Operation: 24+42=66
Exploring Operation: 67-24=43, Resulting Numbers: [42, 43]
Generated Node #0,0,2: 59:[42, 43] Operation: 67-24=43
Exploring Operation: 42-24=18, Resulting Numbers: [67, 18]
Generated Node #0,0,3: 59:[67, 18] Operation: 42-24=18
Exploring Operation: 24+67=91, Resulting Numbers: [42, 91]
Generated Node #0,0,4: 59:[42, 91] Operation: 24+67=91
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[67, 66], Operations: ['96-54=42', '24+42=66']
Exploring Operation: 67+66=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 67*66=4422, Resulting Numbers: [4422]
4422,59 unequal: No Solution
Exploring Operation: 67-66=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[42, 43], Operations: ['96-54=42', '67-24=43']
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,59 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[67, 18], Operations: ['96-54=42', '42-24=18']
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,59 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 59:[42, 91], Operations: ['96-54=42', '24+67=91']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 42*91=3822, Resulting Numbers: [3822]
3822,59 unequal: No Solution
Exploring Operation: 42+91=133, Resulting Numbers: [133]
133,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[24, 25], Operations: ['96-54=42', '67-42=25']
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,59 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,59 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: 59:[96, 67, 78], Operations: ['24+54=78']
Exploring Operation: 78-67=11, Resulting Numbers: [96, 11]
Generated Node #0,1,0: 59:[96, 11] Operation: 78-67=11
Exploring Operation: 96-67=29, Resulting Numbers: [78, 29]
Generated Node #0,1,1: 59:[78, 29] Operation: 96-67=29
Exploring Operation: 96-78=18, Resulting Numbers: [67, 18]
Generated Node #0,1,2: 59:[67, 18] Operation: 96-78=18
Exploring Operation: 96+78=174, Resulting Numbers: [67, 174]
Generated Node #0,1,3: 59:[67, 174] Operation: 96+78=174
Exploring Operation: 96+67=163, Resulting Numbers: [78, 163]
Generated Node #0,1,4: 59:[78, 163] Operation: 96+67=163
Moving to Node #0,3
Current State: 59:[54, 67, 4], Operations: ['96/24=4']
Exploring Operation: 54-4=50, Resulting Numbers: [67, 50]
Generated Node #0,3,0: 59:[67, 50] Operation: 54-4=50
Exploring Operation: 67+4=71, Resulting Numbers: [54, 71]
Generated Node #0,3,1: 59:[54, 71] Operation: 67+4=71
Exploring Operation: 67-4=63, Resulting Numbers: [54, 63]
Generated Node #0,3,2: 59:[54, 63] Operation: 67-4=63
Exploring Operation: 67-54=13, Resulting Numbers: [4, 13]
Generated Node #0,3,3: 59:[4, 13] Operation: 67-54=13
Exploring Operation: 54+4=58, Resulting Numbers: [67, 58]
Generated Node #0,3,4: 59:[67, 58] Operation: 54+4=58
Moving to Node #0,3,2
Current State: 59:[54, 63], Operations: ['96/24=4', '67-4=63']
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,59 unequal: No Solution
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[67, 58], Operations: ['96/24=4', '54+4=58']
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 67+58=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 67*58=3886, Resulting Numbers: [3886]
3886,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[54, 53], Operations: ['67-24=43', '96-43=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,59 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[67, 50], Operations: ['96/24=4', '54-4=50']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[54, 71], Operations: ['96/24=4', '67+4=71']
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[43, 42], Operations: ['67-24=43', '96-54=42']
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,59 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[67, 18], Operations: ['96-24=72', '72-54=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,59 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[67, 18], Operations: ['24+54=78', '96-78=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[78, 29], Operations: ['24+54=78', '96-67=29']
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,59 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[72, 13], Operations: ['96-24=72', '67-54=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[24, 96, 54, 67], Operations: []
Exploring Operation: 96-24=72, Resulting Numbers: [54, 67, 72]
Generated Node #0,4: 59:[54, 67, 72] Operation: 96-24=72
Moving to Node #0,4
Current State: 59:[54, 67, 72], Operations: ['96-24=72']
Exploring Operation: 67-54=13, Resulting Numbers: [72, 13]
Generated Node #0,4,4: 59:[72, 13] Operation: 67-54=13
Moving to Node #0,4,4
Current State: 59:[72, 13], Operations: ['96-24=72', '67-54=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.93316 | hs_5 | sum_heuristic |
[
92,
43,
72,
46
] | 79 | [
"92/46=2",
"72/2=36",
"43+36=79"
] | Current State: 79:[92, 43, 72, 46], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [43, 72, 2]
Generated Node #2: [43, 72, 2] from Operation: 92/46=2
Current State: 79:[43, 72, 2], Operations: ['92/46=2']
Exploring Operation: 72/2=36, Resulting Numbers: [43, 36]
Generated Node #3: [43, 36] from Operation: 72/2=36
Current State: 79:[43, 36], Operations: ['92/46=2', '72/2=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[92, 43, 72, 46], Operations: []
Exploring Operation: 43+72=115, Resulting Numbers: [92, 46, 115]
Generated Node #0,0: 79:[92, 46, 115] Operation: 43+72=115
Exploring Operation: 92-46=46, Resulting Numbers: [43, 72, 46]
Generated Node #0,1: 79:[43, 72, 46] Operation: 92-46=46
Exploring Operation: 43+46=89, Resulting Numbers: [92, 72, 89]
Generated Node #0,2: 79:[92, 72, 89] Operation: 43+46=89
Exploring Operation: 92-43=49, Resulting Numbers: [72, 46, 49]
Generated Node #0,3: 79:[72, 46, 49] Operation: 92-43=49
Moving to Node #0,2
Current State: 79:[92, 72, 89], Operations: ['43+46=89']
Exploring Operation: 92-89=3, Resulting Numbers: [72, 3]
Generated Node #0,2,0: 79:[72, 3] Operation: 92-89=3
Exploring Operation: 92+72=164, Resulting Numbers: [89, 164]
Generated Node #0,2,1: 79:[89, 164] Operation: 92+72=164
Exploring Operation: 92-72=20, Resulting Numbers: [89, 20]
Generated Node #0,2,2: 79:[89, 20] Operation: 92-72=20
Exploring Operation: 89-72=17, Resulting Numbers: [92, 17]
Generated Node #0,2,3: 79:[92, 17] Operation: 89-72=17
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[89, 20], Operations: ['43+46=89', '92-72=20']
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[92, 17], Operations: ['43+46=89', '89-72=17']
Exploring Operation: 92+17=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 92*17=1564, Resulting Numbers: [1564]
1564,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[72, 3], Operations: ['43+46=89', '92-89=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[89, 164], Operations: ['43+46=89', '92+72=164']
Exploring Operation: 89+164=253, Resulting Numbers: [253]
253,79 unequal: No Solution
Exploring Operation: 164-89=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 89*164=14596, Resulting Numbers: [14596]
14596,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 79:[72, 46, 49], Operations: ['92-43=49']
Exploring Operation: 46+49=95, Resulting Numbers: [72, 95]
Generated Node #0,3,0: 79:[72, 95] Operation: 46+49=95
Exploring Operation: 72+49=121, Resulting Numbers: [46, 121]
Generated Node #0,3,1: 79:[46, 121] Operation: 72+49=121
Exploring Operation: 72-46=26, Resulting Numbers: [49, 26]
Generated Node #0,3,2: 79:[49, 26] Operation: 72-46=26
Exploring Operation: 72+46=118, Resulting Numbers: [49, 118]
Generated Node #0,3,3: 79:[49, 118] Operation: 72+46=118
Moving to Node #0,1
Current State: 79:[43, 72, 46], Operations: ['92-46=46']
Exploring Operation: 72+46=118, Resulting Numbers: [43, 118]
Generated Node #0,1,0: 79:[43, 118] Operation: 72+46=118
Exploring Operation: 43+46=89, Resulting Numbers: [72, 89]
Generated Node #0,1,1: 79:[72, 89] Operation: 43+46=89
Exploring Operation: 72-43=29, Resulting Numbers: [46, 29]
Generated Node #0,1,2: 79:[46, 29] Operation: 72-43=29
Exploring Operation: 43+72=115, Resulting Numbers: [46, 115]
Generated Node #0,1,3: 79:[46, 115] Operation: 43+72=115
Moving to Node #0,0
Current State: 79:[92, 46, 115], Operations: ['43+72=115']
Exploring Operation: 115-46=69, Resulting Numbers: [92, 69]
Generated Node #0,0,0: 79:[92, 69] Operation: 115-46=69
Exploring Operation: 92-46=46, Resulting Numbers: [115, 46]
Generated Node #0,0,1: 79:[115, 46] Operation: 92-46=46
Exploring Operation: 115-92=23, Resulting Numbers: [46, 23]
Generated Node #0,0,2: 79:[46, 23] Operation: 115-92=23
Exploring Operation: 92+46=138, Resulting Numbers: [115, 138]
Generated Node #0,0,3: 79:[115, 138] Operation: 92+46=138
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[92, 69], Operations: ['43+72=115', '115-46=69']
Exploring Operation: 92*69=6348, Resulting Numbers: [6348]
6348,79 unequal: No Solution
Exploring Operation: 92+69=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[115, 46], Operations: ['43+72=115', '92-46=46']
Exploring Operation: 115-46=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 115*46=5290, Resulting Numbers: [5290]
5290,79 unequal: No Solution
Exploring Operation: 115+46=161, Resulting Numbers: [161]
161,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[46, 23], Operations: ['43+72=115', '115-92=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,79 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[115, 138], Operations: ['43+72=115', '92+46=138']
Exploring Operation: 115*138=15870, Resulting Numbers: [15870]
15870,79 unequal: No Solution
Exploring Operation: 138-115=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 115+138=253, Resulting Numbers: [253]
253,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 79:[72, 89], Operations: ['92-46=46', '43+46=89']
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,79 unequal: No Solution
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[72, 95], Operations: ['92-43=49', '46+49=95']
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 72*95=6840, Resulting Numbers: [6840]
6840,79 unequal: No Solution
Exploring Operation: 72+95=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[46, 115], Operations: ['92-46=46', '43+72=115']
Exploring Operation: 115-46=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 46+115=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 46*115=5290, Resulting Numbers: [5290]
5290,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[49, 118], Operations: ['92-43=49', '72+46=118']
Exploring Operation: 118-49=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 49*118=5782, Resulting Numbers: [5782]
5782,79 unequal: No Solution
Exploring Operation: 49+118=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[46, 121], Operations: ['92-43=49', '72+49=121']
Exploring Operation: 46*121=5566, Resulting Numbers: [5566]
5566,79 unequal: No Solution
Exploring Operation: 46+121=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 121-46=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[43, 118], Operations: ['92-46=46', '72+46=118']
Exploring Operation: 118-43=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 43+118=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 43*118=5074, Resulting Numbers: [5074]
5074,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[49, 26], Operations: ['92-43=49', '72-46=26']
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,79 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[46, 29], Operations: ['92-46=46', '72-43=29']
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,79 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
38,
15,
7
] | 22 | [
"38-8=30",
"15-7=8",
"30-8=22"
] | Current State: 22:[8, 38, 15, 7], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [15, 7, 30]
Generated Node #2: [15, 7, 30] from Operation: 38-8=30
Current State: 22:[15, 7, 30], Operations: ['38-8=30']
Exploring Operation: 15-7=8, Resulting Numbers: [30, 8]
Generated Node #3: [30, 8] from Operation: 15-7=8
Current State: 22:[30, 8], Operations: ['38-8=30', '15-7=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[8, 38, 15, 7], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [15, 7, 30]
Generated Node #0,0: 22:[15, 7, 30] Operation: 38-8=30
Exploring Operation: 38-15=23, Resulting Numbers: [8, 7, 23]
Generated Node #0,1: 22:[8, 7, 23] Operation: 38-15=23
Exploring Operation: 38-7=31, Resulting Numbers: [8, 15, 31]
Generated Node #0,2: 22:[8, 15, 31] Operation: 38-7=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[8, 7, 23], Operations: ['38-15=23']
Exploring Operation: 23-8=15, Resulting Numbers: [7, 15]
Generated Node #0,1,0: 22:[7, 15] Operation: 23-8=15
Exploring Operation: 8+7=15, Resulting Numbers: [23, 15]
Generated Node #0,1,1: 22:[23, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 22:[23, 1] Operation: 8-7=1
Moving to Node #0,1,2
Current State: 22:[23, 1], Operations: ['38-15=23', '8-7=1']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[8, 38, 15, 7], Operations: []
Exploring Operation: 38-15=23, Resulting Numbers: [8, 7, 23]
Generated Node #0,1: 22:[8, 7, 23] Operation: 38-15=23
Moving to Node #0,1
Current State: 22:[8, 7, 23], Operations: ['38-15=23']
Exploring Operation: 8-7=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 22:[23, 1] Operation: 8-7=1
Moving to Node #0,1,2
Current State: 22:[23, 1], Operations: ['38-15=23', '8-7=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
67,
45,
2,
41
] | 60 | [
"67-45=22",
"2*41=82",
"82-22=60"
] | Current State: 60:[67, 45, 2, 41], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [2, 41, 22]
Generated Node #2: [2, 41, 22] from Operation: 67-45=22
Current State: 60:[2, 41, 22], Operations: ['67-45=22']
Exploring Operation: 2*41=82, Resulting Numbers: [22, 82]
Generated Node #3: [22, 82] from Operation: 2*41=82
Current State: 60:[22, 82], Operations: ['67-45=22', '2*41=82']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[67, 45, 2, 41], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [67, 2, 4]
Generated Node #0,0: 60:[67, 2, 4] Operation: 45-41=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[67, 2, 4], Operations: ['45-41=4']
Exploring Operation: 67-4=63, Resulting Numbers: [2, 63]
Generated Node #0,0,0: 60:[2, 63] Operation: 67-4=63
Moving to Node #0,0,0
Current State: 60:[2, 63], Operations: ['45-41=4', '67-4=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,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 | mult_heuristic |
[
37,
8,
48,
43
] | 58 | [
"37+43=80",
"80/8=10",
"48+10=58"
] | Current State: 58:[37, 8, 48, 43], Operations: []
Exploring Operation: 37+43=80, Resulting Numbers: [8, 48, 80]
Generated Node #2: [8, 48, 80] from Operation: 37+43=80
Current State: 58:[8, 48, 80], Operations: ['37+43=80']
Exploring Operation: 80/8=10, Resulting Numbers: [48, 10]
Generated Node #3: [48, 10] from Operation: 80/8=10
Current State: 58:[48, 10], Operations: ['37+43=80', '80/8=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[37, 8, 48, 43], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [8, 48, 6]
Generated Node #0,0: 58:[8, 48, 6] Operation: 43-37=6
Exploring Operation: 48-43=5, Resulting Numbers: [37, 8, 5]
Generated Node #0,1: 58:[37, 8, 5] Operation: 48-43=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[37, 8, 5], Operations: ['48-43=5']
Exploring Operation: 37-8=29, Resulting Numbers: [5, 29]
Generated Node #0,1,0: 58:[5, 29] Operation: 37-8=29
Exploring Operation: 37-5=32, Resulting Numbers: [8, 32]
Generated Node #0,1,1: 58:[8, 32] Operation: 37-5=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[5, 29], Operations: ['48-43=5', '37-8=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[8, 32], Operations: ['48-43=5', '37-5=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[8, 48, 6], Operations: ['43-37=6']
Exploring Operation: 48/8=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 58:[6, 6] Operation: 48/8=6
Exploring Operation: 8+48=56, Resulting Numbers: [6, 56]
Generated Node #0,0,1: 58:[6, 56] Operation: 8+48=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[6, 56], Operations: ['43-37=6', '8+48=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[6, 6], Operations: ['43-37=6', '48/8=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
36,
3,
57
] | 50 | [
"36-26=10",
"3+57=60",
"60-10=50"
] | Current State: 50:[26, 36, 3, 57], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [3, 57, 10]
Generated Node #2: [3, 57, 10] from Operation: 36-26=10
Current State: 50:[3, 57, 10], Operations: ['36-26=10']
Exploring Operation: 3+57=60, Resulting Numbers: [10, 60]
Generated Node #3: [10, 60] from Operation: 3+57=60
Current State: 50:[10, 60], Operations: ['36-26=10', '3+57=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[26, 36, 3, 57], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [26, 57, 12]
Generated Node #0,0: 50:[26, 57, 12] Operation: 36/3=12
Exploring Operation: 36-26=10, Resulting Numbers: [3, 57, 10]
Generated Node #0,1: 50:[3, 57, 10] Operation: 36-26=10
Exploring Operation: 36-3=33, Resulting Numbers: [26, 57, 33]
Generated Node #0,2: 50:[26, 57, 33] Operation: 36-3=33
Exploring Operation: 57-36=21, Resulting Numbers: [26, 3, 21]
Generated Node #0,3: 50:[26, 3, 21] Operation: 57-36=21
Moving to Node #0,3
Current State: 50:[26, 3, 21], Operations: ['57-36=21']
Exploring Operation: 21/3=7, Resulting Numbers: [26, 7]
Generated Node #0,3,0: 50:[26, 7] Operation: 21/3=7
Exploring Operation: 3+21=24, Resulting Numbers: [26, 24]
Generated Node #0,3,1: 50:[26, 24] Operation: 3+21=24
Exploring Operation: 26+21=47, Resulting Numbers: [3, 47]
Generated Node #0,3,2: 50:[3, 47] Operation: 26+21=47
Exploring Operation: 26-21=5, Resulting Numbers: [3, 5]
Generated Node #0,3,3: 50:[3, 5] Operation: 26-21=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[3, 5], Operations: ['57-36=21', '26-21=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[26, 24], Operations: ['57-36=21', '3+21=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[26, 36, 3, 57], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [26, 3, 21]
Generated Node #0,3: 50:[26, 3, 21] Operation: 57-36=21
Moving to Node #0,3
Current State: 50:[26, 3, 21], Operations: ['57-36=21']
Exploring Operation: 3+21=24, Resulting Numbers: [26, 24]
Generated Node #0,3,1: 50:[26, 24] Operation: 3+21=24
Moving to Node #0,3,1
Current State: 50:[26, 24], Operations: ['57-36=21', '3+21=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
56,
40,
67,
33
] | 29 | [
"56*40=2240",
"67*33=2211",
"2240-2211=29"
] | Current State: 29:[56, 40, 67, 33], Operations: []
Exploring Operation: 56*40=2240, Resulting Numbers: [67, 33, 2240]
Generated Node #2: [67, 33, 2240] from Operation: 56*40=2240
Current State: 29:[67, 33, 2240], Operations: ['56*40=2240']
Exploring Operation: 67*33=2211, Resulting Numbers: [2240, 2211]
Generated Node #3: [2240, 2211] from Operation: 67*33=2211
Current State: 29:[2240, 2211], Operations: ['56*40=2240', '67*33=2211']
Exploring Operation: 2240-2211=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[56, 40, 67, 33], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [67, 33, 16]
Generated Node #0,0: 29:[67, 33, 16] Operation: 56-40=16
Exploring Operation: 67-56=11, Resulting Numbers: [40, 33, 11]
Generated Node #0,1: 29:[40, 33, 11] Operation: 67-56=11
Exploring Operation: 67-40=27, Resulting Numbers: [56, 33, 27]
Generated Node #0,2: 29:[56, 33, 27] Operation: 67-40=27
Exploring Operation: 67-33=34, Resulting Numbers: [56, 40, 34]
Generated Node #0,3: 29:[56, 40, 34] Operation: 67-33=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[40, 33, 11], Operations: ['67-56=11']
Exploring Operation: 40+11=51, Resulting Numbers: [33, 51]
Generated Node #0,1,0: 29:[33, 51] Operation: 40+11=51
Exploring Operation: 40-11=29, Resulting Numbers: [33, 29]
Generated Node #0,1,1: 29:[33, 29] Operation: 40-11=29
Exploring Operation: 33-11=22, Resulting Numbers: [40, 22]
Generated Node #0,1,2: 29:[40, 22] Operation: 33-11=22
Exploring Operation: 33+11=44, Resulting Numbers: [40, 44]
Generated Node #0,1,3: 29:[40, 44] Operation: 33+11=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[33, 29], Operations: ['67-56=11', '40-11=29']
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,29 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[40, 22], Operations: ['67-56=11', '33-11=22']
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,29 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[33, 51], Operations: ['67-56=11', '40+11=51']
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[40, 44], Operations: ['67-56=11', '33+11=44']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[56, 33, 27], Operations: ['67-40=27']
Exploring Operation: 56-27=29, Resulting Numbers: [33, 29]
Generated Node #0,2,0: 29:[33, 29] Operation: 56-27=29
Exploring Operation: 33-27=6, Resulting Numbers: [56, 6]
Generated Node #0,2,1: 29:[56, 6] Operation: 33-27=6
Exploring Operation: 56-33=23, Resulting Numbers: [27, 23]
Generated Node #0,2,2: 29:[27, 23] Operation: 56-33=23
Exploring Operation: 56+27=83, Resulting Numbers: [33, 83]
Generated Node #0,2,3: 29:[33, 83] Operation: 56+27=83
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[33, 29], Operations: ['67-40=27', '56-27=29']
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,29 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[27, 23], Operations: ['67-40=27', '56-33=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[56, 6], Operations: ['67-40=27', '33-27=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[33, 83], Operations: ['67-40=27', '56+27=83']
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,29 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[56, 40, 34], Operations: ['67-33=34']
Exploring Operation: 56+40=96, Resulting Numbers: [34, 96]
Generated Node #0,3,0: 29:[34, 96] Operation: 56+40=96
Exploring Operation: 40-34=6, Resulting Numbers: [56, 6]
Generated Node #0,3,1: 29:[56, 6] Operation: 40-34=6
Exploring Operation: 56-34=22, Resulting Numbers: [40, 22]
Generated Node #0,3,2: 29:[40, 22] Operation: 56-34=22
Exploring Operation: 56-40=16, Resulting Numbers: [34, 16]
Generated Node #0,3,3: 29:[34, 16] Operation: 56-40=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[40, 22], Operations: ['67-33=34', '56-34=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[34, 16], Operations: ['67-33=34', '56-40=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,29 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[56, 6], Operations: ['67-33=34', '40-34=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,29 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[34, 96], Operations: ['67-33=34', '56+40=96']
Exploring Operation: 34*96=3264, Resulting Numbers: [3264]
3264,29 unequal: No Solution
Exploring Operation: 34+96=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[67, 33, 16], Operations: ['56-40=16']
Exploring Operation: 67-16=51, Resulting Numbers: [33, 51]
Generated Node #0,0,0: 29:[33, 51] Operation: 67-16=51
Exploring Operation: 67-33=34, Resulting Numbers: [16, 34]
Generated Node #0,0,1: 29:[16, 34] Operation: 67-33=34
Exploring Operation: 67+16=83, Resulting Numbers: [33, 83]
Generated Node #0,0,2: 29:[33, 83] Operation: 67+16=83
Exploring Operation: 33-16=17, Resulting Numbers: [67, 17]
Generated Node #0,0,3: 29:[67, 17] Operation: 33-16=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[16, 34], Operations: ['56-40=16', '67-33=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[33, 51], Operations: ['56-40=16', '67-16=51']
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,29 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[67, 17], Operations: ['56-40=16', '33-16=17']
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,29 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[33, 83], Operations: ['56-40=16', '67+16=83']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,29 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
29,
37,
64,
92
] | 100 | [
"37-29=8",
"64/8=8",
"92+8=100"
] | Current State: 100:[29, 37, 64, 92], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [64, 92, 8]
Generated Node #2: [64, 92, 8] from Operation: 37-29=8
Current State: 100:[64, 92, 8], Operations: ['37-29=8']
Exploring Operation: 64/8=8, Resulting Numbers: [92, 8]
Generated Node #3: [92, 8] from Operation: 64/8=8
Current State: 100:[92, 8], Operations: ['37-29=8', '64/8=8']
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[29, 37, 64, 92], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [29, 92, 27]
Generated Node #0,0: 100:[29, 92, 27] Operation: 64-37=27
Exploring Operation: 37+64=101, Resulting Numbers: [29, 92, 101]
Generated Node #0,1: 100:[29, 92, 101] Operation: 37+64=101
Exploring Operation: 92-64=28, Resulting Numbers: [29, 37, 28]
Generated Node #0,2: 100:[29, 37, 28] Operation: 92-64=28
Moving to Node #0,1
Current State: 100:[29, 92, 101], Operations: ['37+64=101']
Exploring Operation: 29+92=121, Resulting Numbers: [101, 121]
Generated Node #0,1,0: 100:[101, 121] Operation: 29+92=121
Exploring Operation: 92-29=63, Resulting Numbers: [101, 63]
Generated Node #0,1,1: 100:[101, 63] Operation: 92-29=63
Exploring Operation: 101-92=9, Resulting Numbers: [29, 9]
Generated Node #0,1,2: 100:[29, 9] Operation: 101-92=9
Moving to Node #0,0
Current State: 100:[29, 92, 27], Operations: ['64-37=27']
Exploring Operation: 92-29=63, Resulting Numbers: [27, 63]
Generated Node #0,0,0: 100:[27, 63] Operation: 92-29=63
Exploring Operation: 29-27=2, Resulting Numbers: [92, 2]
Generated Node #0,0,1: 100:[92, 2] Operation: 29-27=2
Exploring Operation: 29+27=56, Resulting Numbers: [92, 56]
Generated Node #0,0,2: 100:[92, 56] Operation: 29+27=56
Moving to Node #0,2
Current State: 100:[29, 37, 28], Operations: ['92-64=28']
Exploring Operation: 37-28=9, Resulting Numbers: [29, 9]
Generated Node #0,2,0: 100:[29, 9] Operation: 37-28=9
Exploring Operation: 29-28=1, Resulting Numbers: [37, 1]
Generated Node #0,2,1: 100:[37, 1] Operation: 29-28=1
Exploring Operation: 37-29=8, Resulting Numbers: [28, 8]
Generated Node #0,2,2: 100:[28, 8] Operation: 37-29=8
Moving to Node #0,1,2
Current State: 100:[29, 9], Operations: ['37+64=101', '101-92=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[29, 9], Operations: ['92-64=28', '37-28=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,100 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[28, 8], Operations: ['92-64=28', '37-29=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[92, 2], Operations: ['64-37=27', '29-27=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[37, 1], Operations: ['92-64=28', '29-28=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[92, 56], Operations: ['64-37=27', '29+27=56']
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 92+56=148, Resulting Numbers: [148]
148,100 unequal: No Solution
Exploring Operation: 92*56=5152, Resulting Numbers: [5152]
5152,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[101, 63], Operations: ['37+64=101', '92-29=63']
Exploring Operation: 101+63=164, Resulting Numbers: [164]
164,100 unequal: No Solution
Exploring Operation: 101*63=6363, Resulting Numbers: [6363]
6363,100 unequal: No Solution
Exploring Operation: 101-63=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[27, 63], Operations: ['64-37=27', '92-29=63']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,100 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[101, 121], Operations: ['37+64=101', '29+92=121']
Exploring Operation: 121-101=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 101*121=12221, Resulting Numbers: [12221]
12221,100 unequal: No Solution
Exploring Operation: 101+121=222, Resulting Numbers: [222]
222,100 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
82,
31,
43
] | 21 | [
"91-82=9",
"43-31=12",
"9+12=21"
] | Current State: 21:[91, 82, 31, 43], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [31, 43, 9]
Generated Node #2: [31, 43, 9] from Operation: 91-82=9
Current State: 21:[31, 43, 9], Operations: ['91-82=9']
Exploring Operation: 43-31=12, Resulting Numbers: [9, 12]
Generated Node #3: [9, 12] from Operation: 43-31=12
Current State: 21:[9, 12], Operations: ['91-82=9', '43-31=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[91, 82, 31, 43], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [82, 43, 60]
Generated Node #0,0: 21:[82, 43, 60] Operation: 91-31=60
Exploring Operation: 82-31=51, Resulting Numbers: [91, 43, 51]
Generated Node #0,1: 21:[91, 43, 51] Operation: 82-31=51
Exploring Operation: 91-43=48, Resulting Numbers: [82, 31, 48]
Generated Node #0,2: 21:[82, 31, 48] Operation: 91-43=48
Exploring Operation: 91-82=9, Resulting Numbers: [31, 43, 9]
Generated Node #0,3: 21:[31, 43, 9] Operation: 91-82=9
Exploring Operation: 82-43=39, Resulting Numbers: [91, 31, 39]
Generated Node #0,4: 21:[91, 31, 39] Operation: 82-43=39
Moving to Node #0,3
Current State: 21:[31, 43, 9], Operations: ['91-82=9']
Exploring Operation: 43-31=12, Resulting Numbers: [9, 12]
Generated Node #0,3,0: 21:[9, 12] Operation: 43-31=12
Exploring Operation: 43+9=52, Resulting Numbers: [31, 52]
Generated Node #0,3,1: 21:[31, 52] Operation: 43+9=52
Exploring Operation: 31-9=22, Resulting Numbers: [43, 22]
Generated Node #0,3,2: 21:[43, 22] Operation: 31-9=22
Exploring Operation: 43-9=34, Resulting Numbers: [31, 34]
Generated Node #0,3,3: 21:[31, 34] Operation: 43-9=34
Exploring Operation: 31+9=40, Resulting Numbers: [43, 40]
Generated Node #0,3,4: 21:[43, 40] Operation: 31+9=40
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[9, 12], Operations: ['91-82=9', '43-31=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[91, 82, 31, 43], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [31, 43, 9]
Generated Node #0,3: 21:[31, 43, 9] Operation: 91-82=9
Moving to Node #0,3
Current State: 21:[31, 43, 9], Operations: ['91-82=9']
Exploring Operation: 43-31=12, Resulting Numbers: [9, 12]
Generated Node #0,3,0: 21:[9, 12] Operation: 43-31=12
Moving to Node #0,3,0
Current State: 21:[9, 12], Operations: ['91-82=9', '43-31=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
18,
78,
27,
63
] | 75 | [
"18+63=81",
"81/27=3",
"78-3=75"
] | Current State: 75:[18, 78, 27, 63], Operations: []
Exploring Operation: 18+63=81, Resulting Numbers: [78, 27, 81]
Generated Node #2: [78, 27, 81] from Operation: 18+63=81
Current State: 75:[78, 27, 81], Operations: ['18+63=81']
Exploring Operation: 81/27=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 81/27=3
Current State: 75:[78, 3], Operations: ['18+63=81', '81/27=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[18, 78, 27, 63], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [18, 27, 15]
Generated Node #0,0: 75:[18, 27, 15] Operation: 78-63=15
Exploring Operation: 18+63=81, Resulting Numbers: [78, 27, 81]
Generated Node #0,1: 75:[78, 27, 81] Operation: 18+63=81
Exploring Operation: 63-27=36, Resulting Numbers: [18, 78, 36]
Generated Node #0,2: 75:[18, 78, 36] Operation: 63-27=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[18, 27, 15], Operations: ['78-63=15']
Exploring Operation: 27-18=9, Resulting Numbers: [15, 9]
Generated Node #0,0,0: 75:[15, 9] Operation: 27-18=9
Exploring Operation: 27-15=12, Resulting Numbers: [18, 12]
Generated Node #0,0,1: 75:[18, 12] Operation: 27-15=12
Exploring Operation: 18-15=3, Resulting Numbers: [27, 3]
Generated Node #0,0,2: 75:[27, 3] Operation: 18-15=3
Moving to Node #0,0,2
Current State: 75:[27, 3], Operations: ['78-63=15', '18-15=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[15, 9], Operations: ['78-63=15', '27-18=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[18, 12], Operations: ['78-63=15', '27-15=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,75 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[78, 27, 81], Operations: ['18+63=81']
Exploring Operation: 81-27=54, Resulting Numbers: [78, 54]
Generated Node #0,1,0: 75:[78, 54] Operation: 81-27=54
Exploring Operation: 81-78=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 75:[27, 3] Operation: 81-78=3
Exploring Operation: 81/27=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 75:[78, 3] Operation: 81/27=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[27, 3], Operations: ['18+63=81', '81-78=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,75 unequal: No Solution
No 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: 75:[78, 3], Operations: ['18+63=81', '81/27=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[18, 78, 27, 63], Operations: []
Exploring Operation: 18+63=81, Resulting Numbers: [78, 27, 81]
Generated Node #0,1: 75:[78, 27, 81] Operation: 18+63=81
Moving to Node #0,1
Current State: 75:[78, 27, 81], Operations: ['18+63=81']
Exploring Operation: 81/27=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 75:[78, 3] Operation: 81/27=3
Moving to Node #0,1,2
Current State: 75:[78, 3], Operations: ['18+63=81', '81/27=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
94,
60,
98,
4
] | 44 | [
"98-94=4",
"4*4=16",
"60-16=44"
] | Current State: 44:[94, 60, 98, 4], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [60, 4, 4]
Generated Node #2: [60, 4, 4] from Operation: 98-94=4
Current State: 44:[60, 4, 4], Operations: ['98-94=4']
Exploring Operation: 4*4=16, Resulting Numbers: [60, 16]
Generated Node #3: [60, 16] from Operation: 4*4=16
Current State: 44:[60, 16], Operations: ['98-94=4', '4*4=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[94, 60, 98, 4], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [98, 4, 34]
Generated Node #0,0: 44:[98, 4, 34] Operation: 94-60=34
Exploring Operation: 98-94=4, Resulting Numbers: [60, 4, 4]
Generated Node #0,1: 44:[60, 4, 4] Operation: 98-94=4
Exploring Operation: 98-60=38, Resulting Numbers: [94, 4, 38]
Generated Node #0,2: 44:[94, 4, 38] Operation: 98-60=38
Moving to Node #0,1
Current State: 44:[60, 4, 4], Operations: ['98-94=4']
Exploring Operation: 60-4=56, Resulting Numbers: [4, 56]
Generated Node #0,1,0: 44:[4, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 44:[4, 15] Operation: 60/4=15
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 44:[4, 15] Operation: 60/4=15
Moving to Node #0,2
Current State: 44:[94, 4, 38], Operations: ['98-60=38']
Exploring Operation: 4+38=42, Resulting Numbers: [94, 42]
Generated Node #0,2,0: 44:[94, 42] Operation: 4+38=42
Exploring Operation: 94-38=56, Resulting Numbers: [4, 56]
Generated Node #0,2,1: 44:[4, 56] Operation: 94-38=56
Exploring Operation: 94-4=90, Resulting Numbers: [38, 90]
Generated Node #0,2,2: 44:[38, 90] Operation: 94-4=90
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[4, 56], Operations: ['98-60=38', '94-38=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[94, 42], Operations: ['98-60=38', '4+38=42']
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,44 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[38, 90], Operations: ['98-60=38', '94-4=90']
Exploring Operation: 38*90=3420, Resulting Numbers: [3420]
3420,44 unequal: No Solution
Exploring Operation: 38+90=128, Resulting Numbers: [128]
128,44 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 44:[98, 4, 34], Operations: ['94-60=34']
Exploring Operation: 4+34=38, Resulting Numbers: [98, 38]
Generated Node #0,0,0: 44:[98, 38] Operation: 4+34=38
Exploring Operation: 98-34=64, Resulting Numbers: [4, 64]
Generated Node #0,0,1: 44:[4, 64] Operation: 98-34=64
Exploring Operation: 98-4=94, Resulting Numbers: [34, 94]
Generated Node #0,0,2: 44:[34, 94] Operation: 98-4=94
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[4, 64], Operations: ['94-60=34', '98-34=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[98, 38], Operations: ['94-60=34', '4+34=38']
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,44 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[34, 94], Operations: ['94-60=34', '98-4=94']
Exploring Operation: 34+94=128, Resulting Numbers: [128]
128,44 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 34*94=3196, Resulting Numbers: [3196]
3196,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 44:[4, 15], Operations: ['98-94=4', '60/4=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[4, 15], Operations: ['98-94=4', '60/4=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[4, 56], Operations: ['98-94=4', '60-4=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,44 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
94,
63,
81,
32
] | 80 | [
"94-63=31",
"81-32=49",
"31+49=80"
] | Current State: 80:[94, 63, 81, 32], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [81, 32, 31]
Generated Node #2: [81, 32, 31] from Operation: 94-63=31
Current State: 80:[81, 32, 31], Operations: ['94-63=31']
Exploring Operation: 81-32=49, Resulting Numbers: [31, 49]
Generated Node #3: [31, 49] from Operation: 81-32=49
Current State: 80:[31, 49], Operations: ['94-63=31', '81-32=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[94, 63, 81, 32], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [94, 32, 18]
Generated Node #0,0: 80:[94, 32, 18] Operation: 81-63=18
Exploring Operation: 94-63=31, Resulting Numbers: [81, 32, 31]
Generated Node #0,1: 80:[81, 32, 31] Operation: 94-63=31
Exploring Operation: 63-32=31, Resulting Numbers: [94, 81, 31]
Generated Node #0,2: 80:[94, 81, 31] Operation: 63-32=31
Exploring Operation: 94-81=13, Resulting Numbers: [63, 32, 13]
Generated Node #0,3: 80:[63, 32, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 80:[81, 32, 31], Operations: ['94-63=31']
Exploring Operation: 32+31=63, Resulting Numbers: [81, 63]
Generated Node #0,1,0: 80:[81, 63] Operation: 32+31=63
Exploring Operation: 81-31=50, Resulting Numbers: [32, 50]
Generated Node #0,1,1: 80:[32, 50] Operation: 81-31=50
Exploring Operation: 81-32=49, Resulting Numbers: [31, 49]
Generated Node #0,1,2: 80:[31, 49] Operation: 81-32=49
Exploring Operation: 32-31=1, Resulting Numbers: [81, 1]
Generated Node #0,1,3: 80:[81, 1] Operation: 32-31=1
Moving to Node #0,2
Current State: 80:[94, 81, 31], Operations: ['63-32=31']
Exploring Operation: 94-81=13, Resulting Numbers: [31, 13]
Generated Node #0,2,0: 80:[31, 13] Operation: 94-81=13
Exploring Operation: 81-31=50, Resulting Numbers: [94, 50]
Generated Node #0,2,1: 80:[94, 50] Operation: 81-31=50
Exploring Operation: 94+31=125, Resulting Numbers: [81, 125]
Generated Node #0,2,2: 80:[81, 125] Operation: 94+31=125
Exploring Operation: 94-31=63, Resulting Numbers: [81, 63]
Generated Node #0,2,3: 80:[81, 63] Operation: 94-31=63
Moving to Node #0,0
Current State: 80:[94, 32, 18], Operations: ['81-63=18']
Exploring Operation: 32+18=50, Resulting Numbers: [94, 50]
Generated Node #0,0,0: 80:[94, 50] Operation: 32+18=50
Exploring Operation: 32-18=14, Resulting Numbers: [94, 14]
Generated Node #0,0,1: 80:[94, 14] Operation: 32-18=14
Exploring Operation: 94-18=76, Resulting Numbers: [32, 76]
Generated Node #0,0,2: 80:[32, 76] Operation: 94-18=76
Exploring Operation: 94-32=62, Resulting Numbers: [18, 62]
Generated Node #0,0,3: 80:[18, 62] Operation: 94-32=62
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[32, 76], Operations: ['81-63=18', '94-18=76']
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,80 unequal: No Solution
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Exploring Operation: 76-32=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,1
Current State: 80:[94, 14], Operations: ['81-63=18', '32-18=14']
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,80 unequal: No Solution
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[94, 63, 81, 32], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [94, 32, 18]
Generated Node #0,0: 80:[94, 32, 18] Operation: 81-63=18
Moving to Node #0,0
Current State: 80:[94, 32, 18], Operations: ['81-63=18']
Exploring Operation: 32-18=14, Resulting Numbers: [94, 14]
Generated Node #0,0,1: 80:[94, 14] Operation: 32-18=14
Moving to Node #0,0,1
Current State: 80:[94, 14], Operations: ['81-63=18', '32-18=14']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
13,
64,
23,
2
] | 31 | [
"13+64=77",
"23*2=46",
"77-46=31"
] | Current State: 31:[13, 64, 23, 2], Operations: []
Exploring Operation: 13+64=77, Resulting Numbers: [23, 2, 77]
Generated Node #2: [23, 2, 77] from Operation: 13+64=77
Current State: 31:[23, 2, 77], Operations: ['13+64=77']
Exploring Operation: 23*2=46, Resulting Numbers: [77, 46]
Generated Node #3: [77, 46] from Operation: 23*2=46
Current State: 31:[77, 46], Operations: ['13+64=77', '23*2=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[13, 64, 23, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [64, 23, 26]
Generated Node #0,0: 31:[64, 23, 26] Operation: 13*2=26
Exploring Operation: 64/2=32, Resulting Numbers: [13, 23, 32]
Generated Node #0,1: 31:[13, 23, 32] Operation: 64/2=32
Moving to Node #0,1
Current State: 31:[13, 23, 32], Operations: ['64/2=32']
Exploring Operation: 13+23=36, Resulting Numbers: [32, 36]
Generated Node #0,1,0: 31:[32, 36] Operation: 13+23=36
Exploring Operation: 32-13=19, Resulting Numbers: [23, 19]
Generated Node #0,1,1: 31:[23, 19] Operation: 32-13=19
Moving to Node #0,0
Current State: 31:[64, 23, 26], Operations: ['13*2=26']
Exploring Operation: 64-26=38, Resulting Numbers: [23, 38]
Generated Node #0,0,0: 31:[23, 38] Operation: 64-26=38
Exploring Operation: 64-23=41, Resulting Numbers: [26, 41]
Generated Node #0,0,1: 31:[26, 41] Operation: 64-23=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[23, 38], Operations: ['13*2=26', '64-26=38']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[26, 41], Operations: ['13*2=26', '64-23=41']
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,31 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: 31:[32, 36], Operations: ['64/2=32', '13+23=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[23, 19], Operations: ['64/2=32', '32-13=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
80,
18,
44
] | 25 | [
"7+80=87",
"18+44=62",
"87-62=25"
] | Current State: 25:[7, 80, 18, 44], Operations: []
Exploring Operation: 7+80=87, Resulting Numbers: [18, 44, 87]
Generated Node #2: [18, 44, 87] from Operation: 7+80=87
Current State: 25:[18, 44, 87], Operations: ['7+80=87']
Exploring Operation: 18+44=62, Resulting Numbers: [87, 62]
Generated Node #3: [87, 62] from Operation: 18+44=62
Current State: 25:[87, 62], Operations: ['7+80=87', '18+44=62']
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[7, 80, 18, 44], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [7, 18, 36]
Generated Node #0,0: 25:[7, 18, 36] Operation: 80-44=36
Exploring Operation: 44-18=26, Resulting Numbers: [7, 80, 26]
Generated Node #0,1: 25:[7, 80, 26] Operation: 44-18=26
Exploring Operation: 80-18=62, Resulting Numbers: [7, 44, 62]
Generated Node #0,2: 25:[7, 44, 62] Operation: 80-18=62
Exploring Operation: 80-7=73, Resulting Numbers: [18, 44, 73]
Generated Node #0,3: 25:[18, 44, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[7, 18, 36], Operations: ['80-44=36']
Exploring Operation: 36/18=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 25:[7, 2] Operation: 36/18=2
Exploring Operation: 36-7=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 25:[18, 29] Operation: 36-7=29
Exploring Operation: 36-18=18, Resulting Numbers: [7, 18]
Generated Node #0,0,2: 25:[7, 18] Operation: 36-18=18
Exploring Operation: 7+18=25, Resulting Numbers: [36, 25]
Generated Node #0,0,3: 25:[36, 25] Operation: 7+18=25
Moving to Node #0,0,0
Current State: 25:[7, 2], Operations: ['80-44=36', '36/18=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[7, 18], Operations: ['80-44=36', '36-18=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[7, 80, 18, 44], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [7, 18, 36]
Generated Node #0,0: 25:[7, 18, 36] Operation: 80-44=36
Moving to Node #0,0
Current State: 25:[7, 18, 36], Operations: ['80-44=36']
Exploring Operation: 36-18=18, Resulting Numbers: [7, 18]
Generated Node #0,0,2: 25:[7, 18] Operation: 36-18=18
Moving to Node #0,0,2
Current State: 25:[7, 18], Operations: ['80-44=36', '36-18=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
49,
45,
82,
54
] | 91 | [
"54-49=5",
"45/5=9",
"82+9=91"
] | Current State: 91:[49, 45, 82, 54], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [45, 82, 5]
Generated Node #2: [45, 82, 5] from Operation: 54-49=5
Current State: 91:[45, 82, 5], Operations: ['54-49=5']
Exploring Operation: 45/5=9, Resulting Numbers: [82, 9]
Generated Node #3: [82, 9] from Operation: 45/5=9
Current State: 91:[82, 9], Operations: ['54-49=5', '45/5=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[49, 45, 82, 54], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [49, 82, 9]
Generated Node #0,0: 91:[49, 82, 9] Operation: 54-45=9
Exploring Operation: 49-45=4, Resulting Numbers: [82, 54, 4]
Generated Node #0,1: 91:[82, 54, 4] Operation: 49-45=4
Exploring Operation: 49+45=94, Resulting Numbers: [82, 54, 94]
Generated Node #0,2: 91:[82, 54, 94] Operation: 49+45=94
Exploring Operation: 54-49=5, Resulting Numbers: [45, 82, 5]
Generated Node #0,3: 91:[45, 82, 5] Operation: 54-49=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[45, 82, 5], Operations: ['54-49=5']
Exploring Operation: 45-5=40, Resulting Numbers: [82, 40]
Generated Node #0,3,0: 91:[82, 40] Operation: 45-5=40
Exploring Operation: 82-45=37, Resulting Numbers: [5, 37]
Generated Node #0,3,1: 91:[5, 37] Operation: 82-45=37
Exploring Operation: 45/5=9, Resulting Numbers: [82, 9]
Generated Node #0,3,2: 91:[82, 9] Operation: 45/5=9
Exploring Operation: 82+5=87, Resulting Numbers: [45, 87]
Generated Node #0,3,3: 91:[45, 87] Operation: 82+5=87
Moving to Node #0,3,2
Current State: 91:[82, 9], Operations: ['54-49=5', '45/5=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,91 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[49, 45, 82, 54], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [45, 82, 5]
Generated Node #0,3: 91:[45, 82, 5] Operation: 54-49=5
Moving to Node #0,3
Current State: 91:[45, 82, 5], Operations: ['54-49=5']
Exploring Operation: 45/5=9, Resulting Numbers: [82, 9]
Generated Node #0,3,2: 91:[82, 9] Operation: 45/5=9
Moving to Node #0,3,2
Current State: 91:[82, 9], Operations: ['54-49=5', '45/5=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
93,
10,
10,
60
] | 33 | [
"93+10=103",
"10+60=70",
"103-70=33"
] | Current State: 33:[93, 10, 10, 60], Operations: []
Exploring Operation: 93+10=103, Resulting Numbers: [60, 103]
Generated Node #2: [60, 103] from Operation: 93+10=103
Current State: 33:[60, 103], Operations: ['93+10=103']
Exploring Operation: 10+60=70, Resulting Numbers: [103, 70]
Generated Node #3: [103, 70] from Operation: 10+60=70
Current State: 33:[103, 70], Operations: ['93+10=103', '10+60=70']
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[93, 10, 10, 60], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [10, 60, 83]
Generated Node #0,0: 33:[10, 60, 83] Operation: 93-10=83
Exploring Operation: 60/10=6, Resulting Numbers: [93, 10, 6]
Generated Node #0,1: 33:[93, 10, 6] Operation: 60/10=6
Exploring Operation: 93-10=83, Resulting Numbers: [10, 60, 83]
Generated Node #0,2: 33:[10, 60, 83] Operation: 93-10=83
Exploring Operation: 93-60=33, Resulting Numbers: [10, 10, 33]
Generated Node #0,3: 33:[10, 10, 33] Operation: 93-60=33
Exploring Operation: 60/10=6, Resulting Numbers: [93, 10, 6]
Generated Node #0,4: 33:[93, 10, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[10, 10, 33], Operations: ['93-60=33']
Exploring Operation: 10-10=0, Resulting Numbers: [33, 0]
Generated Node #0,3,0: 33:[33, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [33, 1]
Generated Node #0,3,1: 33:[33, 1] Operation: 10/10=1
Exploring Operation: 10+33=43, Resulting Numbers: [10, 43]
Generated Node #0,3,2: 33:[10, 43] Operation: 10+33=43
Exploring Operation: 33-10=23, Resulting Numbers: [10, 23]
Generated Node #0,3,3: 33:[10, 23] Operation: 33-10=23
Exploring Operation: 10+10=20, Resulting Numbers: [33, 20]
Generated Node #0,3,4: 33:[33, 20] Operation: 10+10=20
Moving to Node #0,3,1
Current State: 33:[33, 1], Operations: ['93-60=33', '10/10=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[93, 10, 10, 60], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [10, 10, 33]
Generated Node #0,3: 33:[10, 10, 33] Operation: 93-60=33
Moving to Node #0,3
Current State: 33:[10, 10, 33], Operations: ['93-60=33']
Exploring Operation: 10/10=1, Resulting Numbers: [33, 1]
Generated Node #0,3,1: 33:[33, 1] Operation: 10/10=1
Moving to Node #0,3,1
Current State: 33:[33, 1], Operations: ['93-60=33', '10/10=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
76,
15,
23,
7
] | 78 | [
"23+7=30",
"30/15=2",
"76+2=78"
] | Current State: 78:[76, 15, 23, 7], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [76, 15, 30]
Generated Node #2: [76, 15, 30] from Operation: 23+7=30
Current State: 78:[76, 15, 30], Operations: ['23+7=30']
Exploring Operation: 30/15=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 30/15=2
Current State: 78:[76, 2], Operations: ['23+7=30', '30/15=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[76, 15, 23, 7], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [76, 7, 8]
Generated Node #0,0: 78:[76, 7, 8] Operation: 23-15=8
Exploring Operation: 15+23=38, Resulting Numbers: [76, 7, 38]
Generated Node #0,1: 78:[76, 7, 38] Operation: 15+23=38
Exploring Operation: 23-7=16, Resulting Numbers: [76, 15, 16]
Generated Node #0,2: 78:[76, 15, 16] Operation: 23-7=16
Exploring Operation: 15-7=8, Resulting Numbers: [76, 23, 8]
Generated Node #0,3: 78:[76, 23, 8] Operation: 15-7=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[76, 7, 38], Operations: ['15+23=38']
Exploring Operation: 76+7=83, Resulting Numbers: [38, 83]
Generated Node #0,1,0: 78:[38, 83] Operation: 76+7=83
Exploring Operation: 76/38=2, Resulting Numbers: [7, 2]
Generated Node #0,1,1: 78:[7, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [7, 38]
Generated Node #0,1,2: 78:[7, 38] Operation: 76-38=38
Exploring Operation: 38-7=31, Resulting Numbers: [76, 31]
Generated Node #0,1,3: 78:[76, 31] Operation: 38-7=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[7, 2], Operations: ['15+23=38', '76/38=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[7, 38], Operations: ['15+23=38', '76-38=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,78 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[38, 83], Operations: ['15+23=38', '76+7=83']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,78 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[76, 31], Operations: ['15+23=38', '38-7=31']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,78 unequal: No Solution
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[76, 7, 8], Operations: ['23-15=8']
Exploring Operation: 76+7=83, Resulting Numbers: [8, 83]
Generated Node #0,0,0: 78:[8, 83] Operation: 76+7=83
Exploring Operation: 76+8=84, Resulting Numbers: [7, 84]
Generated Node #0,0,1: 78:[7, 84] Operation: 76+8=84
Exploring Operation: 7+8=15, Resulting Numbers: [76, 15]
Generated Node #0,0,2: 78:[76, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [76, 1]
Generated Node #0,0,3: 78:[76, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 78:[76, 1], Operations: ['23-15=8', '8-7=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[76, 15], Operations: ['23-15=8', '7+8=15']
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,78 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[8, 83], Operations: ['23-15=8', '76+7=83']
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,78 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[7, 84], Operations: ['23-15=8', '76+8=84']
Exploring Operation: 7*84=588, Resulting Numbers: [588]
588,78 unequal: No Solution
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[76, 15, 16], Operations: ['23-7=16']
Exploring Operation: 76+15=91, Resulting Numbers: [16, 91]
Generated Node #0,2,0: 78:[16, 91] Operation: 76+15=91
Exploring Operation: 15+16=31, Resulting Numbers: [76, 31]
Generated Node #0,2,1: 78:[76, 31] Operation: 15+16=31
Exploring Operation: 16-15=1, Resulting Numbers: [76, 1]
Generated Node #0,2,2: 78:[76, 1] Operation: 16-15=1
Exploring Operation: 76+16=92, Resulting Numbers: [15, 92]
Generated Node #0,2,3: 78:[15, 92] Operation: 76+16=92
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[76, 1], Operations: ['23-7=16', '16-15=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[76, 31], Operations: ['23-7=16', '15+16=31']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[16, 91], Operations: ['23-7=16', '76+15=91']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 78:[15, 92], Operations: ['23-7=16', '76+16=92']
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,78 unequal: No Solution
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[76, 23, 8], Operations: ['15-7=8']
Exploring Operation: 23-8=15, Resulting Numbers: [76, 15]
Generated Node #0,3,0: 78:[76, 15] Operation: 23-8=15
Exploring Operation: 23+8=31, Resulting Numbers: [76, 31]
Generated Node #0,3,1: 78:[76, 31] Operation: 23+8=31
Exploring Operation: 76-8=68, Resulting Numbers: [23, 68]
Generated Node #0,3,2: 78:[23, 68] Operation: 76-8=68
Exploring Operation: 76+8=84, Resulting Numbers: [23, 84]
Generated Node #0,3,3: 78:[23, 84] Operation: 76+8=84
Moving to Node #0,3,0
Current State: 78:[76, 15], Operations: ['15-7=8', '23-8=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,78 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[76, 31], Operations: ['15-7=8', '23+8=31']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,78 unequal: No Solution
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[23, 84], Operations: ['15-7=8', '76+8=84']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 23+84=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 23*84=1932, Resulting Numbers: [1932]
1932,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[23, 68], Operations: ['15-7=8', '76-8=68']
Exploring Operation: 23*68=1564, Resulting Numbers: [1564]
1564,78 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
75,
16,
87,
56
] | 84 | [
"75-16=59",
"87+56=143",
"143-59=84"
] | Current State: 84:[75, 16, 87, 56], Operations: []
Exploring Operation: 75-16=59, Resulting Numbers: [87, 56, 59]
Generated Node #2: [87, 56, 59] from Operation: 75-16=59
Current State: 84:[87, 56, 59], Operations: ['75-16=59']
Exploring Operation: 87+56=143, Resulting Numbers: [59, 143]
Generated Node #3: [59, 143] from Operation: 87+56=143
Current State: 84:[59, 143], Operations: ['75-16=59', '87+56=143']
Exploring Operation: 143-59=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[75, 16, 87, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [16, 87, 19]
Generated Node #0,0: 84:[16, 87, 19] Operation: 75-56=19
Moving to Node #0,0
Current State: 84:[16, 87, 19], Operations: ['75-56=19']
Exploring Operation: 19-16=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 19-16=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['75-56=19', '19-16=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[75, 16, 87, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [16, 87, 19]
Generated Node #0,0: 84:[16, 87, 19] Operation: 75-56=19
Moving to Node #0,0
Current State: 84:[16, 87, 19], Operations: ['75-56=19']
Exploring Operation: 19-16=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 19-16=3
Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['75-56=19', '19-16=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
23,
21,
5,
20
] | 90 | [
"23-21=2",
"20-2=18",
"5*18=90"
] | Current State: 90:[23, 21, 5, 20], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [5, 20, 2]
Generated Node #2: [5, 20, 2] from Operation: 23-21=2
Current State: 90:[5, 20, 2], Operations: ['23-21=2']
Exploring Operation: 20-2=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 20-2=18
Current State: 90:[5, 18], Operations: ['23-21=2', '20-2=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[23, 21, 5, 20], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [21, 20, 18]
Generated Node #0,0: 90:[21, 20, 18] Operation: 23-5=18
Exploring Operation: 23-21=2, Resulting Numbers: [5, 20, 2]
Generated Node #0,1: 90:[5, 20, 2] Operation: 23-21=2
Exploring Operation: 23-20=3, Resulting Numbers: [21, 5, 3]
Generated Node #0,2: 90:[21, 5, 3] Operation: 23-20=3
Exploring Operation: 23+21=44, Resulting Numbers: [5, 20, 44]
Generated Node #0,3: 90:[5, 20, 44] Operation: 23+21=44
Exploring Operation: 23+20=43, Resulting Numbers: [21, 5, 43]
Generated Node #0,4: 90:[21, 5, 43] Operation: 23+20=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[5, 20, 2], Operations: ['23-21=2']
Exploring Operation: 20/2=10, Resulting Numbers: [5, 10]
Generated Node #0,1,0: 90:[5, 10] Operation: 20/2=10
Exploring Operation: 20/5=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 90:[2, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [2, 15]
Generated Node #0,1,2: 90:[2, 15] Operation: 20-5=15
Exploring Operation: 5*2=10, Resulting Numbers: [20, 10]
Generated Node #0,1,3: 90:[20, 10] Operation: 5*2=10
Exploring Operation: 20-2=18, Resulting Numbers: [5, 18]
Generated Node #0,1,4: 90:[5, 18] Operation: 20-2=18
Moving to Node #0,1,0
Current State: 90:[5, 10], Operations: ['23-21=2', '20/2=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[5, 18], Operations: ['23-21=2', '20-2=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[23, 21, 5, 20], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [5, 20, 2]
Generated Node #0,1: 90:[5, 20, 2] Operation: 23-21=2
Moving to Node #0,1
Current State: 90:[5, 20, 2], Operations: ['23-21=2']
Exploring Operation: 20-2=18, Resulting Numbers: [5, 18]
Generated Node #0,1,4: 90:[5, 18] Operation: 20-2=18
Moving to Node #0,1,4
Current State: 90:[5, 18], Operations: ['23-21=2', '20-2=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
62,
21,
80,
49
] | 42 | [
"62*21=1302",
"80-49=31",
"1302/31=42"
] | Current State: 42:[62, 21, 80, 49], Operations: []
Exploring Operation: 62*21=1302, Resulting Numbers: [80, 49, 1302]
Generated Node #2: [80, 49, 1302] from Operation: 62*21=1302
Current State: 42:[80, 49, 1302], Operations: ['62*21=1302']
Exploring Operation: 80-49=31, Resulting Numbers: [1302, 31]
Generated Node #3: [1302, 31] from Operation: 80-49=31
Current State: 42:[1302, 31], Operations: ['62*21=1302', '80-49=31']
Exploring Operation: 1302/31=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[62, 21, 80, 49], Operations: []
Exploring Operation: 80-49=31, Resulting Numbers: [62, 21, 31]
Generated Node #0,0: 42:[62, 21, 31] Operation: 80-49=31
Exploring Operation: 80-62=18, Resulting Numbers: [21, 49, 18]
Generated Node #0,1: 42:[21, 49, 18] Operation: 80-62=18
Exploring Operation: 62-49=13, Resulting Numbers: [21, 80, 13]
Generated Node #0,2: 42:[21, 80, 13] Operation: 62-49=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[21, 49, 18], Operations: ['80-62=18']
Exploring Operation: 21-18=3, Resulting Numbers: [49, 3]
Generated Node #0,1,0: 42:[49, 3] Operation: 21-18=3
Exploring Operation: 21+18=39, Resulting Numbers: [49, 39]
Generated Node #0,1,1: 42:[49, 39] Operation: 21+18=39
Exploring Operation: 49-21=28, Resulting Numbers: [18, 28]
Generated Node #0,1,2: 42:[18, 28] Operation: 49-21=28
Moving to Node #0,1,0
Current State: 42:[49, 3], Operations: ['80-62=18', '21-18=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,42 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[49, 39], Operations: ['80-62=18', '21+18=39']
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[18, 28], Operations: ['80-62=18', '49-21=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,42 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,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
Current State: 42:[62, 21, 31], Operations: ['80-49=31']
Exploring Operation: 62/31=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 42:[21, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [21, 31]
Generated Node #0,0,1: 42:[21, 31] Operation: 62-31=31
Exploring Operation: 62-21=41, Resulting Numbers: [31, 41]
Generated Node #0,0,2: 42:[31, 41] Operation: 62-21=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[21, 2], Operations: ['80-49=31', '62/31=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[62, 21, 80, 49], Operations: []
Exploring Operation: 80-49=31, Resulting Numbers: [62, 21, 31]
Generated Node #0,0: 42:[62, 21, 31] Operation: 80-49=31
Moving to Node #0,0
Current State: 42:[62, 21, 31], Operations: ['80-49=31']
Exploring Operation: 62/31=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 42:[21, 2] Operation: 62/31=2
Moving to Node #0,0,0
Current State: 42:[21, 2], Operations: ['80-49=31', '62/31=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
54,
7,
64,
35
] | 18 | [
"54-7=47",
"64-35=29",
"47-29=18"
] | Current State: 18:[54, 7, 64, 35], Operations: []
Exploring Operation: 54-7=47, Resulting Numbers: [64, 35, 47]
Generated Node #2: [64, 35, 47] from Operation: 54-7=47
Current State: 18:[64, 35, 47], Operations: ['54-7=47']
Exploring Operation: 64-35=29, Resulting Numbers: [47, 29]
Generated Node #3: [47, 29] from Operation: 64-35=29
Current State: 18:[47, 29], Operations: ['54-7=47', '64-35=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[54, 7, 64, 35], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [7, 64, 19]
Generated Node #0,0: 18:[7, 64, 19] Operation: 54-35=19
Exploring Operation: 64-54=10, Resulting Numbers: [7, 35, 10]
Generated Node #0,1: 18:[7, 35, 10] Operation: 64-54=10
Exploring Operation: 64-35=29, Resulting Numbers: [54, 7, 29]
Generated Node #0,2: 18:[54, 7, 29] Operation: 64-35=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[7, 35, 10], Operations: ['64-54=10']
Exploring Operation: 35/7=5, Resulting Numbers: [10, 5]
Generated Node #0,1,0: 18:[10, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [10, 28]
Generated Node #0,1,1: 18:[10, 28] Operation: 35-7=28
Exploring Operation: 35-10=25, Resulting Numbers: [7, 25]
Generated Node #0,1,2: 18:[7, 25] Operation: 35-10=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[10, 5], Operations: ['64-54=10', '35/7=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[7, 25], Operations: ['64-54=10', '35-10=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[54, 7, 64, 35], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [7, 35, 10]
Generated Node #0,1: 18:[7, 35, 10] Operation: 64-54=10
Moving to Node #0,1
Current State: 18:[7, 35, 10], Operations: ['64-54=10']
Exploring Operation: 35-10=25, Resulting Numbers: [7, 25]
Generated Node #0,1,2: 18:[7, 25] Operation: 35-10=25
Moving to Node #0,1,2
Current State: 18:[7, 25], Operations: ['64-54=10', '35-10=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
43,
46,
74,
41
] | 18 | [
"43-41=2",
"46*2=92",
"92-74=18"
] | Current State: 18:[43, 46, 74, 41], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [46, 74, 2]
Generated Node #2: [46, 74, 2] from Operation: 43-41=2
Current State: 18:[46, 74, 2], Operations: ['43-41=2']
Exploring Operation: 46*2=92, Resulting Numbers: [74, 92]
Generated Node #3: [74, 92] from Operation: 46*2=92
Current State: 18:[74, 92], Operations: ['43-41=2', '46*2=92']
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[43, 46, 74, 41], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [46, 41, 31]
Generated Node #0,0: 18:[46, 41, 31] Operation: 74-43=31
Exploring Operation: 74-46=28, Resulting Numbers: [43, 41, 28]
Generated Node #0,1: 18:[43, 41, 28] Operation: 74-46=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[43, 41, 28], Operations: ['74-46=28']
Exploring Operation: 43-28=15, Resulting Numbers: [41, 15]
Generated Node #0,1,0: 18:[41, 15] Operation: 43-28=15
Exploring Operation: 43-41=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 18:[28, 2] Operation: 43-41=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[28, 2], Operations: ['74-46=28', '43-41=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[41, 15], Operations: ['74-46=28', '43-28=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[46, 41, 31], Operations: ['74-43=31']
Exploring Operation: 46-31=15, Resulting Numbers: [41, 15]
Generated Node #0,0,0: 18:[41, 15] Operation: 46-31=15
Exploring Operation: 46-41=5, Resulting Numbers: [31, 5]
Generated Node #0,0,1: 18:[31, 5] Operation: 46-41=5
Moving to Node #0,0,1
Current State: 18:[31, 5], Operations: ['74-43=31', '46-41=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[41, 15], Operations: ['74-43=31', '46-31=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,18 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 |
[
43,
50,
3,
42
] | 54 | [
"43+50=93",
"42-3=39",
"93-39=54"
] | Current State: 54:[43, 50, 3, 42], Operations: []
Exploring Operation: 43+50=93, Resulting Numbers: [3, 42, 93]
Generated Node #2: [3, 42, 93] from Operation: 43+50=93
Current State: 54:[3, 42, 93], Operations: ['43+50=93']
Exploring Operation: 42-3=39, Resulting Numbers: [93, 39]
Generated Node #3: [93, 39] from Operation: 42-3=39
Current State: 54:[93, 39], Operations: ['43+50=93', '42-3=39']
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[43, 50, 3, 42], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [50, 3, 1]
Generated Node #0,0: 54:[50, 3, 1] Operation: 43-42=1
Moving to Node #0,0
Current State: 54:[50, 3, 1], Operations: ['43-42=1']
Exploring Operation: 50+3=53, Resulting Numbers: [1, 53]
Generated Node #0,0,0: 54:[1, 53] Operation: 50+3=53
Moving to Node #0,0,0
Current State: 54:[1, 53], Operations: ['43-42=1', '50+3=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[43, 50, 3, 42], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [50, 3, 1]
Generated Node #0,0: 54:[50, 3, 1] Operation: 43-42=1
Moving to Node #0,0
Current State: 54:[50, 3, 1], Operations: ['43-42=1']
Exploring Operation: 50+3=53, Resulting Numbers: [1, 53]
Generated Node #0,0,0: 54:[1, 53] Operation: 50+3=53
Moving to Node #0,0,0
Current State: 54:[1, 53], Operations: ['43-42=1', '50+3=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
97,
15,
8,
90
] | 67 | [
"97+90=187",
"15*8=120",
"187-120=67"
] | Current State: 67:[97, 15, 8, 90], Operations: []
Exploring Operation: 97+90=187, Resulting Numbers: [15, 8, 187]
Generated Node #2: [15, 8, 187] from Operation: 97+90=187
Current State: 67:[15, 8, 187], Operations: ['97+90=187']
Exploring Operation: 15*8=120, Resulting Numbers: [187, 120]
Generated Node #3: [187, 120] from Operation: 15*8=120
Current State: 67:[187, 120], Operations: ['97+90=187', '15*8=120']
Exploring Operation: 187-120=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[97, 15, 8, 90], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [8, 90, 82]
Generated Node #0,0: 67:[8, 90, 82] Operation: 97-15=82
Moving to Node #0,0
Current State: 67:[8, 90, 82], Operations: ['97-15=82']
Exploring Operation: 90-8=82, Resulting Numbers: [82, 82]
Generated Node #0,0,0: 67:[82, 82] Operation: 90-8=82
Moving to Node #0,0,0
Current State: 67:[82, 82], Operations: ['97-15=82', '90-8=82']
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
6,
16,
96
] | 84 | [
"96/48=2",
"16-2=14",
"6*14=84"
] | Current State: 84:[48, 6, 16, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [6, 16, 2]
Generated Node #2: [6, 16, 2] from Operation: 96/48=2
Current State: 84:[6, 16, 2], Operations: ['96/48=2']
Exploring Operation: 16-2=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 16-2=14
Current State: 84:[6, 14], Operations: ['96/48=2', '16-2=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[48, 6, 16, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [6, 16, 2]
Generated Node #0,0: 84:[6, 16, 2] Operation: 96/48=2
Exploring Operation: 96/16=6, Resulting Numbers: [48, 6, 6]
Generated Node #0,1: 84:[48, 6, 6] Operation: 96/16=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[6, 16, 2], Operations: ['96/48=2']
Exploring Operation: 16-2=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 84:[6, 14] Operation: 16-2=14
Exploring Operation: 6+16=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 84:[2, 22] Operation: 6+16=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[6, 14], Operations: ['96/48=2', '16-2=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[48, 6, 16, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [6, 16, 2]
Generated Node #0,0: 84:[6, 16, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 84:[6, 16, 2], Operations: ['96/48=2']
Exploring Operation: 16-2=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 84:[6, 14] Operation: 16-2=14
Moving to Node #0,0,0
Current State: 84:[6, 14], Operations: ['96/48=2', '16-2=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
86,
84,
75,
77
] | 44 | [
"77-75=2",
"84/2=42",
"86-42=44"
] | Current State: 44:[86, 84, 75, 77], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [86, 84, 2]
Generated Node #2: [86, 84, 2] from Operation: 77-75=2
Current State: 44:[86, 84, 2], Operations: ['77-75=2']
Exploring Operation: 84/2=42, Resulting Numbers: [86, 42]
Generated Node #3: [86, 42] from Operation: 84/2=42
Current State: 44:[86, 42], Operations: ['77-75=2', '84/2=42']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[86, 84, 75, 77], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [75, 77, 2]
Generated Node #0,0: 44:[75, 77, 2] Operation: 86-84=2
Exploring Operation: 86-75=11, Resulting Numbers: [84, 77, 11]
Generated Node #0,1: 44:[84, 77, 11] Operation: 86-75=11
Exploring Operation: 86-77=9, Resulting Numbers: [84, 75, 9]
Generated Node #0,2: 44:[84, 75, 9] Operation: 86-77=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[75, 77, 2], Operations: ['86-84=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75, 75]
Generated Node #0,0,0: 44:[75, 75] Operation: 77-2=75
Exploring Operation: 77-75=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 44:[2, 2] Operation: 77-75=2
Exploring Operation: 75-2=73, Resulting Numbers: [77, 73]
Generated Node #0,0,2: 44:[77, 73] Operation: 75-2=73
Moving to Node #0,0,1
Current State: 44:[2, 2], Operations: ['86-84=2', '77-75=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[75, 75], Operations: ['86-84=2', '77-2=75']
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[77, 73], Operations: ['86-84=2', '75-2=73']
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,44 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[84, 77, 11], Operations: ['86-75=11']
Exploring Operation: 77/11=7, Resulting Numbers: [84, 7]
Generated Node #0,1,0: 44:[84, 7] Operation: 77/11=7
Exploring Operation: 84-77=7, Resulting Numbers: [11, 7]
Generated Node #0,1,1: 44:[11, 7] Operation: 84-77=7
Exploring Operation: 84-11=73, Resulting Numbers: [77, 73]
Generated Node #0,1,2: 44:[77, 73] Operation: 84-11=73
Moving to Node #0,1,1
Current State: 44:[11, 7], Operations: ['86-75=11', '84-77=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[84, 7], Operations: ['86-75=11', '77/11=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[77, 73], Operations: ['86-75=11', '84-11=73']
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,44 unequal: No Solution
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[84, 75, 9], Operations: ['86-77=9']
Exploring Operation: 84-75=9, Resulting Numbers: [9, 9]
Generated Node #0,2,0: 44:[9, 9] Operation: 84-75=9
Exploring Operation: 75-9=66, Resulting Numbers: [84, 66]
Generated Node #0,2,1: 44:[84, 66] Operation: 75-9=66
Exploring Operation: 84-9=75, Resulting Numbers: [75, 75]
Generated Node #0,2,2: 44:[75, 75] Operation: 84-9=75
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[9, 9], Operations: ['86-77=9', '84-75=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[84, 66], Operations: ['86-77=9', '75-9=66']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 84*66=5544, Resulting Numbers: [5544]
5544,44 unequal: No Solution
Exploring Operation: 84+66=150, Resulting Numbers: [150]
150,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[75, 75], Operations: ['86-77=9', '84-9=75']
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
89,
27,
5,
79
] | 22 | [
"89-27=62",
"5+79=84",
"84-62=22"
] | Current State: 22:[89, 27, 5, 79], Operations: []
Exploring Operation: 89-27=62, Resulting Numbers: [5, 79, 62]
Generated Node #2: [5, 79, 62] from Operation: 89-27=62
Current State: 22:[5, 79, 62], Operations: ['89-27=62']
Exploring Operation: 5+79=84, Resulting Numbers: [62, 84]
Generated Node #3: [62, 84] from Operation: 5+79=84
Current State: 22:[62, 84], Operations: ['89-27=62', '5+79=84']
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[89, 27, 5, 79], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [27, 79, 84]
Generated Node #0,0: 22:[27, 79, 84] Operation: 89-5=84
Exploring Operation: 27-5=22, Resulting Numbers: [89, 79, 22]
Generated Node #0,1: 22:[89, 79, 22] Operation: 27-5=22
Exploring Operation: 89-79=10, Resulting Numbers: [27, 5, 10]
Generated Node #0,2: 22:[27, 5, 10] Operation: 89-79=10
Exploring Operation: 89-27=62, Resulting Numbers: [5, 79, 62]
Generated Node #0,3: 22:[5, 79, 62] Operation: 89-27=62
Exploring Operation: 79-27=52, Resulting Numbers: [89, 5, 52]
Generated Node #0,4: 22:[89, 5, 52] Operation: 79-27=52
Moving to Node #0,2
Current State: 22:[27, 5, 10], Operations: ['89-79=10']
Exploring Operation: 10/5=2, Resulting Numbers: [27, 2]
Generated Node #0,2,0: 22:[27, 2] Operation: 10/5=2
Exploring Operation: 5+10=15, Resulting Numbers: [27, 15]
Generated Node #0,2,1: 22:[27, 15] Operation: 5+10=15
Exploring Operation: 27-5=22, Resulting Numbers: [10, 22]
Generated Node #0,2,2: 22:[10, 22] Operation: 27-5=22
Exploring Operation: 27-10=17, Resulting Numbers: [5, 17]
Generated Node #0,2,3: 22:[5, 17] Operation: 27-10=17
Exploring Operation: 10-5=5, Resulting Numbers: [27, 5]
Generated Node #0,2,4: 22:[27, 5] Operation: 10-5=5
Moving to Node #0,4
Current State: 22:[89, 5, 52], Operations: ['79-27=52']
Exploring Operation: 5+52=57, Resulting Numbers: [89, 57]
Generated Node #0,4,0: 22:[89, 57] Operation: 5+52=57
Exploring Operation: 89-52=37, Resulting Numbers: [5, 37]
Generated Node #0,4,1: 22:[5, 37] Operation: 89-52=37
Exploring Operation: 89-5=84, Resulting Numbers: [52, 84]
Generated Node #0,4,2: 22:[52, 84] Operation: 89-5=84
Exploring Operation: 89+5=94, Resulting Numbers: [52, 94]
Generated Node #0,4,3: 22:[52, 94] Operation: 89+5=94
Exploring Operation: 52-5=47, Resulting Numbers: [89, 47]
Generated Node #0,4,4: 22:[89, 47] Operation: 52-5=47
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 22:[5, 37], Operations: ['79-27=52', '89-52=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,22 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,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,4,2
Current State: 22:[52, 84], Operations: ['79-27=52', '89-5=84']
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,22 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,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,4,4
Current State: 22:[89, 47], Operations: ['79-27=52', '52-5=47']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,22 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,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,4,0
Current State: 22:[89, 57], Operations: ['79-27=52', '5+52=57']
Exploring Operation: 89+57=146, Resulting Numbers: [146]
146,22 unequal: No Solution
Exploring Operation: 89*57=5073, Resulting Numbers: [5073]
5073,22 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,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,4,3
Current State: 22:[52, 94], Operations: ['79-27=52', '89+5=94']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 52*94=4888, Resulting Numbers: [4888]
4888,22 unequal: No Solution
Exploring Operation: 52+94=146, Resulting Numbers: [146]
146,22 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: 22:[5, 79, 62], Operations: ['89-27=62']
Exploring Operation: 5+62=67, Resulting Numbers: [79, 67]
Generated Node #0,3,0: 22:[79, 67] Operation: 5+62=67
Exploring Operation: 62-5=57, Resulting Numbers: [79, 57]
Generated Node #0,3,1: 22:[79, 57] Operation: 62-5=57
Exploring Operation: 5+79=84, Resulting Numbers: [62, 84]
Generated Node #0,3,2: 22:[62, 84] Operation: 5+79=84
Exploring Operation: 79-5=74, Resulting Numbers: [62, 74]
Generated Node #0,3,3: 22:[62, 74] Operation: 79-5=74
Exploring Operation: 79-62=17, Resulting Numbers: [5, 17]
Generated Node #0,3,4: 22:[5, 17] Operation: 79-62=17
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 22:[5, 17], Operations: ['89-27=62', '79-62=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,22 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[89, 27, 5, 79], Operations: []
Exploring Operation: 89-27=62, Resulting Numbers: [5, 79, 62]
Generated Node #0,3: 22:[5, 79, 62] Operation: 89-27=62
Moving to Node #0,3
Current State: 22:[5, 79, 62], Operations: ['89-27=62']
Exploring Operation: 79-62=17, Resulting Numbers: [5, 17]
Generated Node #0,3,4: 22:[5, 17] Operation: 79-62=17
Moving to Node #0,3,4
Current State: 22:[5, 17], Operations: ['89-27=62', '79-62=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
32,
10,
5,
48
] | 70 | [
"48-32=16",
"5*16=80",
"80-10=70"
] | Current State: 70:[32, 10, 5, 48], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [10, 5, 16]
Generated Node #2: [10, 5, 16] from Operation: 48-32=16
Current State: 70:[10, 5, 16], Operations: ['48-32=16']
Exploring Operation: 5*16=80, Resulting Numbers: [10, 80]
Generated Node #3: [10, 80] from Operation: 5*16=80
Current State: 70:[10, 80], Operations: ['48-32=16', '5*16=80']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[32, 10, 5, 48], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [10, 5, 16]
Generated Node #0,0: 70:[10, 5, 16] Operation: 48-32=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[10, 5, 16], Operations: ['48-32=16']
Exploring Operation: 16-10=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 70:[5, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[5, 6], Operations: ['48-32=16', '16-10=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,70 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 |
[
39,
23,
39,
8
] | 47 | [
"39-23=16",
"39-8=31",
"16+31=47"
] | Current State: 47:[39, 23, 39, 8], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [8, 16]
Generated Node #2: [8, 16] from Operation: 39-23=16
Current State: 47:[8, 16], Operations: ['39-23=16']
Exploring Operation: 39-8=31, Resulting Numbers: [16, 31]
Generated Node #3: [16, 31] from Operation: 39-8=31
Current State: 47:[16, 31], Operations: ['39-23=16', '39-8=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[39, 23, 39, 8], Operations: []
Exploring Operation: 23+8=31, Resulting Numbers: [39, 39, 31]
Generated Node #0,0: 47:[39, 39, 31] Operation: 23+8=31
Exploring Operation: 39-8=31, Resulting Numbers: [23, 39, 31]
Generated Node #0,1: 47:[23, 39, 31] Operation: 39-8=31
Exploring Operation: 39+8=47, Resulting Numbers: [39, 23, 47]
Generated Node #0,2: 47:[39, 23, 47] Operation: 39+8=47
Exploring Operation: 39+8=47, Resulting Numbers: [23, 39, 47]
Generated Node #0,3: 47:[23, 39, 47] Operation: 39+8=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[39, 39, 31], Operations: ['23+8=31']
Exploring Operation: 39+31=70, Resulting Numbers: [39, 70]
Generated Node #0,0,0: 47:[39, 70] Operation: 39+31=70
Exploring Operation: 39+39=78, Resulting Numbers: [31, 78]
Generated Node #0,0,1: 47:[31, 78] Operation: 39+39=78
Exploring Operation: 39+31=70, Resulting Numbers: [39, 70]
Generated Node #0,0,2: 47:[39, 70] Operation: 39+31=70
Exploring Operation: 39-31=8, Resulting Numbers: [39, 8]
Generated Node #0,0,3: 47:[39, 8] Operation: 39-31=8
Moving to Node #0,0,0
Current State: 47:[39, 70], Operations: ['23+8=31', '39+31=70']
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[39, 70], Operations: ['23+8=31', '39+31=70']
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,47 unequal: No Solution
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[39, 8], Operations: ['23+8=31', '39-31=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,47 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[39, 23, 39, 8], Operations: []
Exploring Operation: 23+8=31, Resulting Numbers: [39, 39, 31]
Generated Node #0,0: 47:[39, 39, 31] Operation: 23+8=31
Moving to Node #0,0
Current State: 47:[39, 39, 31], Operations: ['23+8=31']
Exploring Operation: 39-31=8, Resulting Numbers: [39, 8]
Generated Node #0,0,3: 47:[39, 8] Operation: 39-31=8
Moving to Node #0,0,3
Current State: 47:[39, 8], Operations: ['23+8=31', '39-31=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
31,
67,
14,
64
] | 57 | [
"31+67=98",
"98/14=7",
"64-7=57"
] | Current State: 57:[31, 67, 14, 64], Operations: []
Exploring Operation: 31+67=98, Resulting Numbers: [14, 64, 98]
Generated Node #2: [14, 64, 98] from Operation: 31+67=98
Current State: 57:[14, 64, 98], Operations: ['31+67=98']
Exploring Operation: 98/14=7, Resulting Numbers: [64, 7]
Generated Node #3: [64, 7] from Operation: 98/14=7
Current State: 57:[64, 7], Operations: ['31+67=98', '98/14=7']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[31, 67, 14, 64], Operations: []
Exploring Operation: 31+14=45, Resulting Numbers: [67, 64, 45]
Generated Node #0,0: 57:[67, 64, 45] Operation: 31+14=45
Exploring Operation: 67-64=3, Resulting Numbers: [31, 14, 3]
Generated Node #0,1: 57:[31, 14, 3] Operation: 67-64=3
Exploring Operation: 67-31=36, Resulting Numbers: [14, 64, 36]
Generated Node #0,2: 57:[14, 64, 36] Operation: 67-31=36
Exploring Operation: 31-14=17, Resulting Numbers: [67, 64, 17]
Generated Node #0,3: 57:[67, 64, 17] Operation: 31-14=17
Exploring Operation: 67-14=53, Resulting Numbers: [31, 64, 53]
Generated Node #0,4: 57:[31, 64, 53] Operation: 67-14=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[31, 14, 3], Operations: ['67-64=3']
Exploring Operation: 31-3=28, Resulting Numbers: [14, 28]
Generated Node #0,1,0: 57:[14, 28] Operation: 31-3=28
Exploring Operation: 14+3=17, Resulting Numbers: [31, 17]
Generated Node #0,1,1: 57:[31, 17] Operation: 14+3=17
Exploring Operation: 31-14=17, Resulting Numbers: [3, 17]
Generated Node #0,1,2: 57:[3, 17] Operation: 31-14=17
Exploring Operation: 31+14=45, Resulting Numbers: [3, 45]
Generated Node #0,1,3: 57:[3, 45] Operation: 31+14=45
Exploring Operation: 31+3=34, Resulting Numbers: [14, 34]
Generated Node #0,1,4: 57:[14, 34] Operation: 31+3=34
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[3, 17], Operations: ['67-64=3', '31-14=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[3, 45], Operations: ['67-64=3', '31+14=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,57 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[14, 28], Operations: ['67-64=3', '31-3=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,57 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[31, 17], Operations: ['67-64=3', '14+3=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[14, 34], Operations: ['67-64=3', '31+3=34']
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,57 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[67, 64, 17], Operations: ['31-14=17']
Exploring Operation: 67-64=3, Resulting Numbers: [17, 3]
Generated Node #0,3,0: 57:[17, 3] Operation: 67-64=3
Exploring Operation: 64+17=81, Resulting Numbers: [67, 81]
Generated Node #0,3,1: 57:[67, 81] Operation: 64+17=81
Exploring Operation: 64-17=47, Resulting Numbers: [67, 47]
Generated Node #0,3,2: 57:[67, 47] Operation: 64-17=47
Exploring Operation: 67-17=50, Resulting Numbers: [64, 50]
Generated Node #0,3,3: 57:[64, 50] Operation: 67-17=50
Exploring Operation: 67+17=84, Resulting Numbers: [64, 84]
Generated Node #0,3,4: 57:[64, 84] Operation: 67+17=84
Moving to Node #0,3,0
Current State: 57:[17, 3], Operations: ['31-14=17', '67-64=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[64, 50], Operations: ['31-14=17', '67-17=50']
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,57 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[67, 47], Operations: ['31-14=17', '64-17=47']
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,57 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[67, 81], Operations: ['31-14=17', '64+17=81']
Exploring Operation: 67*81=5427, Resulting Numbers: [5427]
5427,57 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 67+81=148, Resulting Numbers: [148]
148,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[64, 84], Operations: ['31-14=17', '67+17=84']
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,57 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[31, 64, 53], Operations: ['67-14=53']
Exploring Operation: 31+53=84, Resulting Numbers: [64, 84]
Generated Node #0,4,0: 57:[64, 84] Operation: 31+53=84
Exploring Operation: 31+64=95, Resulting Numbers: [53, 95]
Generated Node #0,4,1: 57:[53, 95] Operation: 31+64=95
Exploring Operation: 64-53=11, Resulting Numbers: [31, 11]
Generated Node #0,4,2: 57:[31, 11] Operation: 64-53=11
Exploring Operation: 64-31=33, Resulting Numbers: [53, 33]
Generated Node #0,4,3: 57:[53, 33] Operation: 64-31=33
Exploring Operation: 53-31=22, Resulting Numbers: [64, 22]
Generated Node #0,4,4: 57:[64, 22] Operation: 53-31=22
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[64, 22], Operations: ['67-14=53', '53-31=22']
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,57 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[53, 33], Operations: ['67-14=53', '64-31=33']
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,57 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[31, 11], Operations: ['67-14=53', '64-53=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,57 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[64, 84], Operations: ['67-14=53', '31+53=84']
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,57 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[53, 95], Operations: ['67-14=53', '31+64=95']
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,57 unequal: No Solution
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[67, 64, 45], Operations: ['31+14=45']
Exploring Operation: 64-45=19, Resulting Numbers: [67, 19]
Generated Node #0,0,0: 57:[67, 19] Operation: 64-45=19
Exploring Operation: 64+45=109, Resulting Numbers: [67, 109]
Generated Node #0,0,1: 57:[67, 109] Operation: 64+45=109
Exploring Operation: 67-64=3, Resulting Numbers: [45, 3]
Generated Node #0,0,2: 57:[45, 3] Operation: 67-64=3
Exploring Operation: 67-45=22, Resulting Numbers: [64, 22]
Generated Node #0,0,3: 57:[64, 22] Operation: 67-45=22
Exploring Operation: 67+45=112, Resulting Numbers: [64, 112]
Generated Node #0,0,4: 57:[64, 112] Operation: 67+45=112
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[67, 19], Operations: ['31+14=45', '64-45=19']
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,57 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[64, 22], Operations: ['31+14=45', '67-45=22']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[45, 3], Operations: ['31+14=45', '67-64=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,57 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[67, 109], Operations: ['31+14=45', '64+45=109']
Exploring Operation: 67*109=7303, Resulting Numbers: [7303]
7303,57 unequal: No Solution
Exploring Operation: 109-67=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 67+109=176, Resulting Numbers: [176]
176,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 57:[64, 112], Operations: ['31+14=45', '67+45=112']
Exploring Operation: 64*112=7168, Resulting Numbers: [7168]
7168,57 unequal: No Solution
Exploring Operation: 64+112=176, Resulting Numbers: [176]
176,57 unequal: No Solution
Exploring Operation: 112-64=48, Resulting Numbers: [48]
48,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[14, 64, 36], Operations: ['67-31=36']
Exploring Operation: 14+36=50, Resulting Numbers: [64, 50]
Generated Node #0,2,0: 57:[64, 50] Operation: 14+36=50
Exploring Operation: 14+64=78, Resulting Numbers: [36, 78]
Generated Node #0,2,1: 57:[36, 78] Operation: 14+64=78
Exploring Operation: 36-14=22, Resulting Numbers: [64, 22]
Generated Node #0,2,2: 57:[64, 22] Operation: 36-14=22
Exploring Operation: 64-14=50, Resulting Numbers: [36, 50]
Generated Node #0,2,3: 57:[36, 50] Operation: 64-14=50
Exploring Operation: 64-36=28, Resulting Numbers: [14, 28]
Generated Node #0,2,4: 57:[14, 28] Operation: 64-36=28
Moving to Node #0,2,2
Current State: 57:[64, 22], Operations: ['67-31=36', '36-14=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[14, 28], Operations: ['67-31=36', '64-36=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[64, 50], Operations: ['67-31=36', '14+36=50']
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,57 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[36, 50], Operations: ['67-31=36', '64-14=50']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 36*50=1800, Resulting Numbers: [1800]
1800,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[36, 78], Operations: ['67-31=36', '14+64=78']
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,57 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
73,
12,
64,
20
] | 47 | [
"73*12=876",
"64+876=940",
"940/20=47"
] | Current State: 47:[73, 12, 64, 20], Operations: []
Exploring Operation: 73*12=876, Resulting Numbers: [64, 20, 876]
Generated Node #2: [64, 20, 876] from Operation: 73*12=876
Current State: 47:[64, 20, 876], Operations: ['73*12=876']
Exploring Operation: 64+876=940, Resulting Numbers: [20, 940]
Generated Node #3: [20, 940] from Operation: 64+876=940
Current State: 47:[20, 940], Operations: ['73*12=876', '64+876=940']
Exploring Operation: 940/20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[73, 12, 64, 20], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [73, 20, 52]
Generated Node #0,0: 47:[73, 20, 52] Operation: 64-12=52
Exploring Operation: 73-12=61, Resulting Numbers: [64, 20, 61]
Generated Node #0,1: 47:[64, 20, 61] Operation: 73-12=61
Exploring Operation: 12+20=32, Resulting Numbers: [73, 64, 32]
Generated Node #0,2: 47:[73, 64, 32] Operation: 12+20=32
Exploring Operation: 73-20=53, Resulting Numbers: [12, 64, 53]
Generated Node #0,3: 47:[12, 64, 53] Operation: 73-20=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[73, 20, 52], Operations: ['64-12=52']
Exploring Operation: 20+52=72, Resulting Numbers: [73, 72]
Generated Node #0,0,0: 47:[73, 72] Operation: 20+52=72
Exploring Operation: 52-20=32, Resulting Numbers: [73, 32]
Generated Node #0,0,1: 47:[73, 32] Operation: 52-20=32
Exploring Operation: 73+20=93, Resulting Numbers: [52, 93]
Generated Node #0,0,2: 47:[52, 93] Operation: 73+20=93
Exploring Operation: 73-20=53, Resulting Numbers: [52, 53]
Generated Node #0,0,3: 47:[52, 53] Operation: 73-20=53
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[52, 53], Operations: ['64-12=52', '73-20=53']
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,47 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No 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: 47:[73, 32], Operations: ['64-12=52', '52-20=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,47 unequal: No Solution
No 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: 47:[73, 72], Operations: ['64-12=52', '20+52=72']
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,47 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No 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: 47:[52, 93], Operations: ['64-12=52', '73+20=93']
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,47 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: 47:[64, 20, 61], Operations: ['73-12=61']
Exploring Operation: 64-20=44, Resulting Numbers: [61, 44]
Generated Node #0,1,0: 47:[61, 44] Operation: 64-20=44
Exploring Operation: 64+20=84, Resulting Numbers: [61, 84]
Generated Node #0,1,1: 47:[61, 84] Operation: 64+20=84
Exploring Operation: 61-20=41, Resulting Numbers: [64, 41]
Generated Node #0,1,2: 47:[64, 41] Operation: 61-20=41
Exploring Operation: 20+61=81, Resulting Numbers: [64, 81]
Generated Node #0,1,3: 47:[64, 81] Operation: 20+61=81
Moving to Node #0,1,0
Current State: 47:[61, 44], Operations: ['73-12=61', '64-20=44']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,47 unequal: No Solution
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[64, 41], Operations: ['73-12=61', '61-20=41']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,47 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[64, 81], Operations: ['73-12=61', '20+61=81']
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 64*81=5184, Resulting Numbers: [5184]
5184,47 unequal: No Solution
Exploring Operation: 64+81=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[61, 84], Operations: ['73-12=61', '64+20=84']
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 61*84=5124, Resulting Numbers: [5124]
5124,47 unequal: No Solution
Exploring Operation: 61+84=145, Resulting Numbers: [145]
145,47 unequal: No Solution
No 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: 47:[73, 64, 32], Operations: ['12+20=32']
Exploring Operation: 64-32=32, Resulting Numbers: [73, 32]
Generated Node #0,2,0: 47:[73, 32] Operation: 64-32=32
Exploring Operation: 73-32=41, Resulting Numbers: [64, 41]
Generated Node #0,2,1: 47:[64, 41] Operation: 73-32=41
Exploring Operation: 73-64=9, Resulting Numbers: [32, 9]
Generated Node #0,2,2: 47:[32, 9] Operation: 73-64=9
Exploring Operation: 64/32=2, Resulting Numbers: [73, 2]
Generated Node #0,2,3: 47:[73, 2] Operation: 64/32=2
Moving to Node #0,2,1
Current State: 47:[64, 41], Operations: ['12+20=32', '73-32=41']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,47 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[73, 32], Operations: ['12+20=32', '64-32=32']
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,47 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[32, 9], Operations: ['12+20=32', '73-64=9']
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,47 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[73, 2], Operations: ['12+20=32', '64/32=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,47 unequal: No Solution
No 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: 47:[12, 64, 53], Operations: ['73-20=53']
Exploring Operation: 12+64=76, Resulting Numbers: [53, 76]
Generated Node #0,3,0: 47:[53, 76] Operation: 12+64=76
Exploring Operation: 12+53=65, Resulting Numbers: [64, 65]
Generated Node #0,3,1: 47:[64, 65] Operation: 12+53=65
Exploring Operation: 64-12=52, Resulting Numbers: [53, 52]
Generated Node #0,3,2: 47:[53, 52] Operation: 64-12=52
Exploring Operation: 53-12=41, Resulting Numbers: [64, 41]
Generated Node #0,3,3: 47:[64, 41] Operation: 53-12=41
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[53, 52], Operations: ['73-20=53', '64-12=52']
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Exploring Operation: 53*52=2756, Resulting Numbers: [2756]
2756,47 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No 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: 47:[64, 41], Operations: ['73-20=53', '53-12=41']
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,47 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,47 unequal: No Solution
No 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: 47:[53, 76], Operations: ['73-20=53', '12+64=76']
Exploring Operation: 53+76=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 53*76=4028, Resulting Numbers: [4028]
4028,47 unequal: No Solution
No 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: 47:[64, 65], Operations: ['73-20=53', '12+53=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,47 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
47,
15,
73,
70
] | 29 | [
"47-15=32",
"73-70=3",
"32-3=29"
] | Current State: 29:[47, 15, 73, 70], Operations: []
Exploring Operation: 47-15=32, Resulting Numbers: [73, 70, 32]
Generated Node #2: [73, 70, 32] from Operation: 47-15=32
Current State: 29:[73, 70, 32], Operations: ['47-15=32']
Exploring Operation: 73-70=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 73-70=3
Current State: 29:[32, 3], Operations: ['47-15=32', '73-70=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[47, 15, 73, 70], Operations: []
Exploring Operation: 70-47=23, Resulting Numbers: [15, 73, 23]
Generated Node #0,0: 29:[15, 73, 23] Operation: 70-47=23
Exploring Operation: 73-70=3, Resulting Numbers: [47, 15, 3]
Generated Node #0,1: 29:[47, 15, 3] Operation: 73-70=3
Exploring Operation: 47-15=32, Resulting Numbers: [73, 70, 32]
Generated Node #0,2: 29:[73, 70, 32] Operation: 47-15=32
Exploring Operation: 73-47=26, Resulting Numbers: [15, 70, 26]
Generated Node #0,3: 29:[15, 70, 26] Operation: 73-47=26
Exploring Operation: 73-15=58, Resulting Numbers: [47, 70, 58]
Generated Node #0,4: 29:[47, 70, 58] Operation: 73-15=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[47, 15, 3], Operations: ['73-70=3']
Exploring Operation: 47-3=44, Resulting Numbers: [15, 44]
Generated Node #0,1,0: 29:[15, 44] Operation: 47-3=44
Exploring Operation: 47-15=32, Resulting Numbers: [3, 32]
Generated Node #0,1,1: 29:[3, 32] Operation: 47-15=32
Exploring Operation: 47+3=50, Resulting Numbers: [15, 50]
Generated Node #0,1,2: 29:[15, 50] Operation: 47+3=50
Exploring Operation: 15*3=45, Resulting Numbers: [47, 45]
Generated Node #0,1,3: 29:[47, 45] Operation: 15*3=45
Exploring Operation: 15+3=18, Resulting Numbers: [47, 18]
Generated Node #0,1,4: 29:[47, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[15, 44], Operations: ['73-70=3', '47-3=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,29 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[47, 15, 73, 70], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [47, 15, 3]
Generated Node #0,1: 29:[47, 15, 3] Operation: 73-70=3
Moving to Node #0,1
Current State: 29:[47, 15, 3], Operations: ['73-70=3']
Exploring Operation: 47-3=44, Resulting Numbers: [15, 44]
Generated Node #0,1,0: 29:[15, 44] Operation: 47-3=44
Moving to Node #0,1,0
Current State: 29:[15, 44], Operations: ['73-70=3', '47-3=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
56,
6,
44,
28
] | 76 | [
"56/28=2",
"44-6=38",
"2*38=76"
] | Current State: 76:[56, 6, 44, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [6, 44, 2]
Generated Node #2: [6, 44, 2] from Operation: 56/28=2
Current State: 76:[6, 44, 2], Operations: ['56/28=2']
Exploring Operation: 44-6=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 44-6=38
Current State: 76:[2, 38], Operations: ['56/28=2', '44-6=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[56, 6, 44, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [6, 44, 2]
Generated Node #0,0: 76:[6, 44, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 76:[6, 44, 2], Operations: ['56/28=2']
Exploring Operation: 44-6=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 76:[2, 38] Operation: 44-6=38
Moving to Node #0,0,0
Current State: 76:[2, 38], Operations: ['56/28=2', '44-6=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[56, 6, 44, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [6, 44, 2]
Generated Node #0,0: 76:[6, 44, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 76:[6, 44, 2], Operations: ['56/28=2']
Exploring Operation: 44-6=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 76:[2, 38] Operation: 44-6=38
Moving to Node #0,0,0
Current State: 76:[2, 38], Operations: ['56/28=2', '44-6=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
50,
16,
81,
87
] | 60 | [
"50+16=66",
"87-81=6",
"66-6=60"
] | Current State: 60:[50, 16, 81, 87], Operations: []
Exploring Operation: 50+16=66, Resulting Numbers: [81, 87, 66]
Generated Node #2: [81, 87, 66] from Operation: 50+16=66
Current State: 60:[81, 87, 66], Operations: ['50+16=66']
Exploring Operation: 87-81=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 87-81=6
Current State: 60:[66, 6], Operations: ['50+16=66', '87-81=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[50, 16, 81, 87], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [16, 87, 31]
Generated Node #0,0: 60:[16, 87, 31] Operation: 81-50=31
Exploring Operation: 87-50=37, Resulting Numbers: [16, 81, 37]
Generated Node #0,1: 60:[16, 81, 37] Operation: 87-50=37
Exploring Operation: 87-81=6, Resulting Numbers: [50, 16, 6]
Generated Node #0,2: 60:[50, 16, 6] Operation: 87-81=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[50, 16, 6], Operations: ['87-81=6']
Exploring Operation: 50-16=34, Resulting Numbers: [6, 34]
Generated Node #0,2,0: 60:[6, 34] Operation: 50-16=34
Exploring Operation: 50+6=56, Resulting Numbers: [16, 56]
Generated Node #0,2,1: 60:[16, 56] Operation: 50+6=56
Exploring Operation: 50+16=66, Resulting Numbers: [6, 66]
Generated Node #0,2,2: 60:[6, 66] Operation: 50+16=66
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[6, 34], Operations: ['87-81=6', '50-16=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,60 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[16, 56], Operations: ['87-81=6', '50+6=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,60 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[6, 66], Operations: ['87-81=6', '50+16=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[50, 16, 81, 87], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [50, 16, 6]
Generated Node #0,2: 60:[50, 16, 6] Operation: 87-81=6
Moving to Node #0,2
Current State: 60:[50, 16, 6], Operations: ['87-81=6']
Exploring Operation: 50+16=66, Resulting Numbers: [6, 66]
Generated Node #0,2,2: 60:[6, 66] Operation: 50+16=66
Moving to Node #0,2,2
Current State: 60:[6, 66], Operations: ['87-81=6', '50+16=66']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
17,
7,
3,
24
] | 96 | [
"17+7=24",
"3*24=72",
"24+72=96"
] | Current State: 96:[17, 7, 3, 24], Operations: []
Exploring Operation: 17+7=24, Resulting Numbers: [3, 24, 24]
Generated Node #2: [3, 24, 24] from Operation: 17+7=24
Current State: 96:[3, 24, 24], Operations: ['17+7=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 equal: Goal Reached
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[17, 7, 3, 24], Operations: []
Exploring Operation: 17-7=10, Resulting Numbers: [3, 24, 10]
Generated Node #0,0: 96:[3, 24, 10] Operation: 17-7=10
Exploring Operation: 17+7=24, Resulting Numbers: [3, 24, 24]
Generated Node #0,1: 96:[3, 24, 24] Operation: 17+7=24
Exploring Operation: 7-3=4, Resulting Numbers: [17, 24, 4]
Generated Node #0,2: 96:[17, 24, 4] Operation: 7-3=4
Exploring Operation: 24-17=7, Resulting Numbers: [7, 3, 7]
Generated Node #0,3: 96:[7, 3, 7] Operation: 24-17=7
Moving to Node #0,1
Current State: 96:[3, 24, 24], Operations: ['17+7=24']
Exploring Operation: 24/3=8, Resulting Numbers: [24, 8]
Generated Node #0,1,0: 96:[24, 8] Operation: 24/3=8
Exploring Operation: 24+24=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 96:[3, 48] Operation: 24+24=48
Exploring Operation: 24/3=8, Resulting Numbers: [24, 8]
Generated Node #0,1,2: 96:[24, 8] Operation: 24/3=8
Exploring Operation: 24/24=1, Resulting Numbers: [3, 1]
Generated Node #0,1,3: 96:[3, 1] Operation: 24/24=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[24, 8], Operations: ['17+7=24', '24/3=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,96 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[3, 48], Operations: ['17+7=24', '24+24=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[24, 8], Operations: ['17+7=24', '24/3=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,96 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[3, 1], Operations: ['17+7=24', '24/24=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,96 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: 96:[17, 24, 4], Operations: ['7-3=4']
Exploring Operation: 24*4=96, Resulting Numbers: [17, 96]
Generated Node #0,2,0: 96:[17, 96] Operation: 24*4=96
Exploring Operation: 24/4=6, Resulting Numbers: [17, 6]
Generated Node #0,2,1: 96:[17, 6] Operation: 24/4=6
Exploring Operation: 17-4=13, Resulting Numbers: [24, 13]
Generated Node #0,2,2: 96:[24, 13] Operation: 17-4=13
Exploring Operation: 24-17=7, Resulting Numbers: [4, 7]
Generated Node #0,2,3: 96:[4, 7] Operation: 24-17=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[17, 96], Operations: ['7-3=4', '24*4=96']
Exploring Operation: 17+96=113, Resulting Numbers: [113]
113,96 unequal: No Solution
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 17*96=1632, Resulting Numbers: [1632]
1632,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[17, 6], Operations: ['7-3=4', '24/4=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[24, 13], Operations: ['7-3=4', '17-4=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,96 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[4, 7], Operations: ['7-3=4', '24-17=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 96:[7, 3, 7], Operations: ['24-17=7']
Exploring Operation: 7*7=49, Resulting Numbers: [3, 49]
Generated Node #0,3,0: 96:[3, 49] Operation: 7*7=49
Exploring Operation: 7-3=4, Resulting Numbers: [7, 4]
Generated Node #0,3,1: 96:[7, 4] Operation: 7-3=4
Exploring Operation: 7-3=4, Resulting Numbers: [7, 4]
Generated Node #0,3,2: 96:[7, 4] Operation: 7-3=4
Exploring Operation: 7/7=1, Resulting Numbers: [3, 1]
Generated Node #0,3,3: 96:[3, 1] Operation: 7/7=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[3, 49], Operations: ['24-17=7', '7*7=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,96 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[7, 4], Operations: ['24-17=7', '7-3=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[7, 4], Operations: ['24-17=7', '7-3=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[3, 1], Operations: ['24-17=7', '7/7=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 96:[3, 24, 10], Operations: ['17-7=10']
Exploring Operation: 3*10=30, Resulting Numbers: [24, 30]
Generated Node #0,0,0: 96:[24, 30] Operation: 3*10=30
Exploring Operation: 10-3=7, Resulting Numbers: [24, 7]
Generated Node #0,0,1: 96:[24, 7] Operation: 10-3=7
Exploring Operation: 3+10=13, Resulting Numbers: [24, 13]
Generated Node #0,0,2: 96:[24, 13] Operation: 3+10=13
Exploring Operation: 24/3=8, Resulting Numbers: [10, 8]
Generated Node #0,0,3: 96:[10, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[24, 7], Operations: ['17-7=10', '10-3=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[24, 13], Operations: ['17-7=10', '3+10=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[24, 30], Operations: ['17-7=10', '3*10=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,96 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[10, 8], Operations: ['17-7=10', '24/3=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,96 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 |
[
43,
57,
67,
7
] | 60 | [
"57-43=14",
"67+7=74",
"74-14=60"
] | Current State: 60:[43, 57, 67, 7], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [67, 7, 14]
Generated Node #2: [67, 7, 14] from Operation: 57-43=14
Current State: 60:[67, 7, 14], Operations: ['57-43=14']
Exploring Operation: 67+7=74, Resulting Numbers: [14, 74]
Generated Node #3: [14, 74] from Operation: 67+7=74
Current State: 60:[14, 74], Operations: ['57-43=14', '67+7=74']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[43, 57, 67, 7], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [57, 7, 24]
Generated Node #0,0: 60:[57, 7, 24] Operation: 67-43=24
Moving to Node #0,0
Current State: 60:[57, 7, 24], Operations: ['67-43=24']
Exploring Operation: 57-24=33, Resulting Numbers: [7, 33]
Generated Node #0,0,0: 60:[7, 33] Operation: 57-24=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[7, 33], Operations: ['67-43=24', '57-24=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,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 | mult_heuristic |
[
1,
25,
7,
55
] | 23 | [
"1*25=25",
"55-7=48",
"48-25=23"
] | Current State: 23:[1, 25, 7, 55], Operations: []
Exploring Operation: 1*25=25, Resulting Numbers: [7, 55, 25]
Generated Node #2: [7, 55, 25] from Operation: 1*25=25
Current State: 23:[7, 55, 25], Operations: ['1*25=25']
Exploring Operation: 55-7=48, Resulting Numbers: [25, 48]
Generated Node #3: [25, 48] from Operation: 55-7=48
Current State: 23:[25, 48], Operations: ['1*25=25', '55-7=48']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[1, 25, 7, 55], Operations: []
Exploring Operation: 25-1=24, Resulting Numbers: [7, 55, 24]
Generated Node #0,0: 23:[7, 55, 24] Operation: 25-1=24
Exploring Operation: 55-25=30, Resulting Numbers: [1, 7, 30]
Generated Node #0,1: 23:[1, 7, 30] Operation: 55-25=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[1, 7, 30], Operations: ['55-25=30']
Exploring Operation: 30-1=29, Resulting Numbers: [7, 29]
Generated Node #0,1,0: 23:[7, 29] Operation: 30-1=29
Exploring Operation: 1+7=8, Resulting Numbers: [30, 8]
Generated Node #0,1,1: 23:[30, 8] Operation: 1+7=8
Moving to Node #0,1,0
Current State: 23:[7, 29], Operations: ['55-25=30', '30-1=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[30, 8], Operations: ['55-25=30', '1+7=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[7, 55, 24], Operations: ['25-1=24']
Exploring Operation: 55-24=31, Resulting Numbers: [7, 31]
Generated Node #0,0,0: 23:[7, 31] Operation: 55-24=31
Exploring Operation: 55-7=48, Resulting Numbers: [24, 48]
Generated Node #0,0,1: 23:[24, 48] Operation: 55-7=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[7, 31], Operations: ['25-1=24', '55-24=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,23 unequal: No Solution
No 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: 23:[24, 48], Operations: ['25-1=24', '55-7=48']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,23 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 |
[
81,
84,
74,
19
] | 52 | [
"84-81=3",
"74-19=55",
"55-3=52"
] | Current State: 52:[81, 84, 74, 19], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [74, 19, 3]
Generated Node #2: [74, 19, 3] from Operation: 84-81=3
Current State: 52:[74, 19, 3], Operations: ['84-81=3']
Exploring Operation: 74-19=55, Resulting Numbers: [3, 55]
Generated Node #3: [3, 55] from Operation: 74-19=55
Current State: 52:[3, 55], Operations: ['84-81=3', '74-19=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[81, 84, 74, 19], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [74, 19, 3]
Generated Node #0,0: 52:[74, 19, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 52:[74, 19, 3], Operations: ['84-81=3']
Exploring Operation: 74-19=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 52:[3, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[3, 55], Operations: ['84-81=3', '74-19=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[81, 84, 74, 19], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [74, 19, 3]
Generated Node #0,0: 52:[74, 19, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 52:[74, 19, 3], Operations: ['84-81=3']
Exploring Operation: 74-19=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 52:[3, 55] Operation: 74-19=55
Moving to Node #0,0,0
Current State: 52:[3, 55], Operations: ['84-81=3', '74-19=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
33,
16,
75,
6
] | 78 | [
"33*16=528",
"75*6=450",
"528-450=78"
] | Current State: 78:[33, 16, 75, 6], Operations: []
Exploring Operation: 33*16=528, Resulting Numbers: [75, 6, 528]
Generated Node #2: [75, 6, 528] from Operation: 33*16=528
Current State: 78:[75, 6, 528], Operations: ['33*16=528']
Exploring Operation: 75*6=450, Resulting Numbers: [528, 450]
Generated Node #3: [528, 450] from Operation: 75*6=450
Current State: 78:[528, 450], Operations: ['33*16=528', '75*6=450']
Exploring Operation: 528-450=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[33, 16, 75, 6], Operations: []
Exploring Operation: 33+6=39, Resulting Numbers: [16, 75, 39]
Generated Node #0,0: 78:[16, 75, 39] Operation: 33+6=39
Exploring Operation: 75-33=42, Resulting Numbers: [16, 6, 42]
Generated Node #0,1: 78:[16, 6, 42] Operation: 75-33=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[16, 75, 39], Operations: ['33+6=39']
Exploring Operation: 75-39=36, Resulting Numbers: [16, 36]
Generated Node #0,0,0: 78:[16, 36] Operation: 75-39=36
Exploring Operation: 39-16=23, Resulting Numbers: [75, 23]
Generated Node #0,0,1: 78:[75, 23] Operation: 39-16=23
Moving to Node #0,0,0
Current State: 78:[16, 36], Operations: ['33+6=39', '75-39=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[75, 23], Operations: ['33+6=39', '39-16=23']
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,78 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[16, 6, 42], Operations: ['75-33=42']
Exploring Operation: 42-16=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 78:[6, 26] Operation: 42-16=26
Exploring Operation: 42/6=7, Resulting Numbers: [16, 7]
Generated Node #0,1,1: 78:[16, 7] Operation: 42/6=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[6, 26], Operations: ['75-33=42', '42-16=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[16, 7], Operations: ['75-33=42', '42/6=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
50,
15,
38,
3
] | 28 | [
"50*3=150",
"150/15=10",
"38-10=28"
] | Current State: 28:[50, 15, 38, 3], Operations: []
Exploring Operation: 50*3=150, Resulting Numbers: [15, 38, 150]
Generated Node #2: [15, 38, 150] from Operation: 50*3=150
Current State: 28:[15, 38, 150], Operations: ['50*3=150']
Exploring Operation: 150/15=10, Resulting Numbers: [38, 10]
Generated Node #3: [38, 10] from Operation: 150/15=10
Current State: 28:[38, 10], Operations: ['50*3=150', '150/15=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[50, 15, 38, 3], Operations: []
Exploring Operation: 50-38=12, Resulting Numbers: [15, 3, 12]
Generated Node #0,0: 28:[15, 3, 12] Operation: 50-38=12
Exploring Operation: 50-15=35, Resulting Numbers: [38, 3, 35]
Generated Node #0,1: 28:[38, 3, 35] Operation: 50-15=35
Moving to Node #0,0
Current State: 28:[15, 3, 12], Operations: ['50-38=12']
Exploring Operation: 15+12=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 28:[3, 27] Operation: 15+12=27
Exploring Operation: 12/3=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 28:[15, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[15, 4], Operations: ['50-38=12', '12/3=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[3, 27], Operations: ['50-38=12', '15+12=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,28 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: 28:[38, 3, 35], Operations: ['50-15=35']
Exploring Operation: 38-35=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 28:[3, 3] Operation: 38-35=3
Exploring Operation: 38-3=35, Resulting Numbers: [35, 35]
Generated Node #0,1,1: 28:[35, 35] Operation: 38-3=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[3, 3], Operations: ['50-15=35', '38-35=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[35, 35], Operations: ['50-15=35', '38-3=35']
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
46,
92,
82
] | 77 | [
"92/46=2",
"82/2=41",
"36+41=77"
] | Current State: 77:[36, 46, 92, 82], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [36, 82, 2]
Generated Node #2: [36, 82, 2] from Operation: 92/46=2
Current State: 77:[36, 82, 2], Operations: ['92/46=2']
Exploring Operation: 82/2=41, Resulting Numbers: [36, 41]
Generated Node #3: [36, 41] from Operation: 82/2=41
Current State: 77:[36, 41], Operations: ['92/46=2', '82/2=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[36, 46, 92, 82], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [36, 82, 2]
Generated Node #0,0: 77:[36, 82, 2] Operation: 92/46=2
Exploring Operation: 92-36=56, Resulting Numbers: [46, 82, 56]
Generated Node #0,1: 77:[46, 82, 56] Operation: 92-36=56
Exploring Operation: 92-82=10, Resulting Numbers: [36, 46, 10]
Generated Node #0,2: 77:[36, 46, 10] Operation: 92-82=10
Exploring Operation: 46-36=10, Resulting Numbers: [92, 82, 10]
Generated Node #0,3: 77:[92, 82, 10] Operation: 46-36=10
Exploring Operation: 36+46=82, Resulting Numbers: [92, 82, 82]
Generated Node #0,4: 77:[92, 82, 82] Operation: 36+46=82
Moving to Node #0,3
Current State: 77:[92, 82, 10], Operations: ['46-36=10']
Exploring Operation: 82-10=72, Resulting Numbers: [92, 72]
Generated Node #0,3,0: 77:[92, 72] Operation: 82-10=72
Exploring Operation: 82+10=92, Resulting Numbers: [92, 92]
Generated Node #0,3,1: 77:[92, 92] Operation: 82+10=92
Exploring Operation: 92-10=82, Resulting Numbers: [82, 82]
Generated Node #0,3,2: 77:[82, 82] Operation: 92-10=82
Exploring Operation: 92-82=10, Resulting Numbers: [10, 10]
Generated Node #0,3,3: 77:[10, 10] Operation: 92-82=10
Exploring Operation: 92+10=102, Resulting Numbers: [82, 102]
Generated Node #0,3,4: 77:[82, 102] Operation: 92+10=102
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[10, 10], Operations: ['46-36=10', '92-82=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,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,3,2
Current State: 77:[82, 82], Operations: ['46-36=10', '92-10=82']
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,77 unequal: No Solution
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,77 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,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,3,0
Current State: 77:[92, 72], Operations: ['46-36=10', '82-10=72']
Exploring Operation: 92+72=164, Resulting Numbers: [164]
164,77 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 92*72=6624, Resulting Numbers: [6624]
6624,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,3,1
Current State: 77:[92, 92], Operations: ['46-36=10', '82+10=92']
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 92*92=8464, Resulting Numbers: [8464]
8464,77 unequal: No Solution
Exploring Operation: 92+92=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 92-92=0, Resulting Numbers: [0]
0,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,3,4
Current State: 77:[82, 102], Operations: ['46-36=10', '92+10=102']
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,77 unequal: No Solution
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,77 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: 77:[92, 82, 82], Operations: ['36+46=82']
Exploring Operation: 92-82=10, Resulting Numbers: [82, 10]
Generated Node #0,4,0: 77:[82, 10] Operation: 92-82=10
Exploring Operation: 82/82=1, Resulting Numbers: [92, 1]
Generated Node #0,4,1: 77:[92, 1] Operation: 82/82=1
Exploring Operation: 82-82=0, Resulting Numbers: [92, 0]
Generated Node #0,4,2: 77:[92, 0] Operation: 82-82=0
Exploring Operation: 92-82=10, Resulting Numbers: [82, 10]
Generated Node #0,4,3: 77:[82, 10] Operation: 92-82=10
Exploring Operation: 92+82=174, Resulting Numbers: [82, 174]
Generated Node #0,4,4: 77:[82, 174] Operation: 92+82=174
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[82, 10], Operations: ['36+46=82', '92-82=10']
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,77 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,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,4,3
Current State: 77:[82, 10], Operations: ['36+46=82', '92-82=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,77 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,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,4,1
Current State: 77:[92, 1], Operations: ['36+46=82', '82/82=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,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,4,2
Current State: 77:[92, 0], Operations: ['36+46=82', '82-82=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 92*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,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,4,4
Current State: 77:[82, 174], Operations: ['36+46=82', '92+82=174']
Exploring Operation: 82+174=256, Resulting Numbers: [256]
256,77 unequal: No Solution
Exploring Operation: 82*174=14268, Resulting Numbers: [14268]
14268,77 unequal: No Solution
Exploring Operation: 174-82=92, Resulting Numbers: [92]
92,77 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: 77:[36, 82, 2], Operations: ['92/46=2']
Exploring Operation: 36/2=18, Resulting Numbers: [82, 18]
Generated Node #0,0,0: 77:[82, 18] Operation: 36/2=18
Exploring Operation: 82-2=80, Resulting Numbers: [36, 80]
Generated Node #0,0,1: 77:[36, 80] Operation: 82-2=80
Exploring Operation: 36+2=38, Resulting Numbers: [82, 38]
Generated Node #0,0,2: 77:[82, 38] Operation: 36+2=38
Exploring Operation: 36*2=72, Resulting Numbers: [82, 72]
Generated Node #0,0,3: 77:[82, 72] Operation: 36*2=72
Exploring Operation: 36-2=34, Resulting Numbers: [82, 34]
Generated Node #0,0,4: 77:[82, 34] Operation: 36-2=34
Moving to Node #0,1
Current State: 77:[46, 82, 56], Operations: ['92-36=56']
Exploring Operation: 82-46=36, Resulting Numbers: [56, 36]
Generated Node #0,1,0: 77:[56, 36] Operation: 82-46=36
Exploring Operation: 56-46=10, Resulting Numbers: [82, 10]
Generated Node #0,1,1: 77:[82, 10] Operation: 56-46=10
Exploring Operation: 82-56=26, Resulting Numbers: [46, 26]
Generated Node #0,1,2: 77:[46, 26] Operation: 82-56=26
Exploring Operation: 46+82=128, Resulting Numbers: [56, 128]
Generated Node #0,1,3: 77:[56, 128] Operation: 46+82=128
Exploring Operation: 46+56=102, Resulting Numbers: [82, 102]
Generated Node #0,1,4: 77:[82, 102] Operation: 46+56=102
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[82, 10], Operations: ['92-36=56', '56-46=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,77 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,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,1,4
Current State: 77:[82, 102], Operations: ['92-36=56', '46+56=102']
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,77 unequal: No Solution
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,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,1,0
Current State: 77:[56, 36], Operations: ['92-36=56', '82-46=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,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,1,2
Current State: 77:[46, 26], Operations: ['92-36=56', '82-56=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,77 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,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,1,3
Current State: 77:[56, 128], Operations: ['92-36=56', '46+82=128']
Exploring Operation: 128-56=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 56+128=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 56*128=7168, Resulting Numbers: [7168]
7168,77 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: 77:[36, 46, 10], Operations: ['92-82=10']
Exploring Operation: 36-10=26, Resulting Numbers: [46, 26]
Generated Node #0,2,0: 77:[46, 26] Operation: 36-10=26
Exploring Operation: 46-10=36, Resulting Numbers: [36, 36]
Generated Node #0,2,1: 77:[36, 36] Operation: 46-10=36
Exploring Operation: 36+46=82, Resulting Numbers: [10, 82]
Generated Node #0,2,2: 77:[10, 82] Operation: 36+46=82
Exploring Operation: 46-36=10, Resulting Numbers: [10, 10]
Generated Node #0,2,3: 77:[10, 10] Operation: 46-36=10
Exploring Operation: 46+10=56, Resulting Numbers: [36, 56]
Generated Node #0,2,4: 77:[36, 56] Operation: 46+10=56
Moving to Node #0,2,3
Current State: 77:[10, 10], Operations: ['92-82=10', '46-36=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[10, 82], Operations: ['92-82=10', '36+46=82']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 10*82=820, Resulting Numbers: [820]
820,77 unequal: No Solution
Exploring Operation: 10+82=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[82, 72], Operations: ['92/46=2', '36*2=72']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[82, 18], Operations: ['92/46=2', '36/2=18']
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,77 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[36, 80], Operations: ['92/46=2', '82-2=80']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,77 unequal: No Solution
Exploring Operation: 36*80=2880, Resulting Numbers: [2880]
2880,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[82, 34], Operations: ['92/46=2', '36-2=34']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 82*34=2788, Resulting Numbers: [2788]
2788,77 unequal: No Solution
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[82, 38], Operations: ['92/46=2', '36+2=38']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,77 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[36, 56], Operations: ['92-82=10', '46+10=56']
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,77 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[46, 26], Operations: ['92-82=10', '36-10=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,77 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[36, 36], Operations: ['92-82=10', '46-10=36']
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,77 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
22,
85,
77,
48
] | 38 | [
"85+48=133",
"22*133=2926",
"2926/77=38"
] | Current State: 38:[22, 85, 77, 48], Operations: []
Exploring Operation: 85+48=133, Resulting Numbers: [22, 77, 133]
Generated Node #2: [22, 77, 133] from Operation: 85+48=133
Current State: 38:[22, 77, 133], Operations: ['85+48=133']
Exploring Operation: 22*133=2926, Resulting Numbers: [77, 2926]
Generated Node #3: [77, 2926] from Operation: 22*133=2926
Current State: 38:[77, 2926], Operations: ['85+48=133', '22*133=2926']
Exploring Operation: 2926/77=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[22, 85, 77, 48], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [22, 48, 8]
Generated Node #0,0: 38:[22, 48, 8] Operation: 85-77=8
Moving to Node #0,0
Current State: 38:[22, 48, 8], Operations: ['85-77=8']
Exploring Operation: 48-8=40, Resulting Numbers: [22, 40]
Generated Node #0,0,0: 38:[22, 40] Operation: 48-8=40
Moving to Node #0,0,0
Current State: 38:[22, 40], Operations: ['85-77=8', '48-8=40']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
30,
3,
18
] | 24 | [
"75-30=45",
"3+18=21",
"45-21=24"
] | Current State: 24:[75, 30, 3, 18], Operations: []
Exploring Operation: 75-30=45, Resulting Numbers: [3, 18, 45]
Generated Node #2: [3, 18, 45] from Operation: 75-30=45
Current State: 24:[3, 18, 45], Operations: ['75-30=45']
Exploring Operation: 3+18=21, Resulting Numbers: [45, 21]
Generated Node #3: [45, 21] from Operation: 3+18=21
Current State: 24:[45, 21], Operations: ['75-30=45', '3+18=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[75, 30, 3, 18], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [30, 18, 25]
Generated Node #0,0: 24:[30, 18, 25] Operation: 75/3=25
Exploring Operation: 75-18=57, Resulting Numbers: [30, 3, 57]
Generated Node #0,1: 24:[30, 3, 57] Operation: 75-18=57
Exploring Operation: 30-18=12, Resulting Numbers: [75, 3, 12]
Generated Node #0,2: 24:[75, 3, 12] Operation: 30-18=12
Exploring Operation: 75-30=45, Resulting Numbers: [3, 18, 45]
Generated Node #0,3: 24:[3, 18, 45] Operation: 75-30=45
Moving to Node #0,0
Current State: 24:[30, 18, 25], Operations: ['75/3=25']
Exploring Operation: 30-25=5, Resulting Numbers: [18, 5]
Generated Node #0,0,0: 24:[18, 5] Operation: 30-25=5
Exploring Operation: 25-18=7, Resulting Numbers: [30, 7]
Generated Node #0,0,1: 24:[30, 7] Operation: 25-18=7
Exploring Operation: 30+18=48, Resulting Numbers: [25, 48]
Generated Node #0,0,2: 24:[25, 48] Operation: 30+18=48
Exploring Operation: 30-18=12, Resulting Numbers: [25, 12]
Generated Node #0,0,3: 24:[25, 12] Operation: 30-18=12
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[25, 12], Operations: ['75/3=25', '30-18=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,24 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[18, 5], Operations: ['75/3=25', '30-25=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[30, 7], Operations: ['75/3=25', '25-18=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,24 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[25, 48], Operations: ['75/3=25', '30+18=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,24 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 24:[3, 18, 45], Operations: ['75-30=45']
Exploring Operation: 45-18=27, Resulting Numbers: [3, 27]
Generated Node #0,3,0: 24:[3, 27] Operation: 45-18=27
Exploring Operation: 45/3=15, Resulting Numbers: [18, 15]
Generated Node #0,3,1: 24:[18, 15] Operation: 45/3=15
Exploring Operation: 18/3=6, Resulting Numbers: [45, 6]
Generated Node #0,3,2: 24:[45, 6] Operation: 18/3=6
Exploring Operation: 3+18=21, Resulting Numbers: [45, 21]
Generated Node #0,3,3: 24:[45, 21] Operation: 3+18=21
Moving to Node #0,1
Current State: 24:[30, 3, 57], Operations: ['75-18=57']
Exploring Operation: 30/3=10, Resulting Numbers: [57, 10]
Generated Node #0,1,0: 24:[57, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [57, 27]
Generated Node #0,1,1: 24:[57, 27] Operation: 30-3=27
Exploring Operation: 57-30=27, Resulting Numbers: [3, 27]
Generated Node #0,1,2: 24:[3, 27] Operation: 57-30=27
Exploring Operation: 57/3=19, Resulting Numbers: [30, 19]
Generated Node #0,1,3: 24:[30, 19] Operation: 57/3=19
Moving to Node #0,2
Current State: 24:[75, 3, 12], Operations: ['30-18=12']
Exploring Operation: 75-3=72, Resulting Numbers: [12, 72]
Generated Node #0,2,0: 24:[12, 72] Operation: 75-3=72
Exploring Operation: 12/3=4, Resulting Numbers: [75, 4]
Generated Node #0,2,1: 24:[75, 4] Operation: 12/3=4
Exploring Operation: 75/3=25, Resulting Numbers: [12, 25]
Generated Node #0,2,2: 24:[12, 25] Operation: 75/3=25
Exploring Operation: 75-12=63, Resulting Numbers: [3, 63]
Generated Node #0,2,3: 24:[3, 63] Operation: 75-12=63
Moving to Node #0,2,2
Current State: 24:[12, 25], Operations: ['30-18=12', '75/3=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[3, 27], Operations: ['75-30=45', '45-18=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[75, 30, 3, 18], Operations: []
Exploring Operation: 75-30=45, Resulting Numbers: [3, 18, 45]
Generated Node #0,3: 24:[3, 18, 45] Operation: 75-30=45
Moving to Node #0,3
Current State: 24:[3, 18, 45], Operations: ['75-30=45']
Exploring Operation: 45-18=27, Resulting Numbers: [3, 27]
Generated Node #0,3,0: 24:[3, 27] Operation: 45-18=27
Moving to Node #0,3,0
Current State: 24:[3, 27], Operations: ['75-30=45', '45-18=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.963542 | hs_4 | sum_heuristic |
[
37,
67,
84,
90
] | 81 | [
"67-37=30",
"90/30=3",
"84-3=81"
] | Current State: 81:[37, 67, 84, 90], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [84, 90, 30]
Generated Node #2: [84, 90, 30] from Operation: 67-37=30
Current State: 81:[84, 90, 30], Operations: ['67-37=30']
Exploring Operation: 90/30=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 90/30=3
Current State: 81:[84, 3], Operations: ['67-37=30', '90/30=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[37, 67, 84, 90], Operations: []
Exploring Operation: 84-67=17, Resulting Numbers: [37, 90, 17]
Generated Node #0,0: 81:[37, 90, 17] Operation: 84-67=17
Exploring Operation: 67-37=30, Resulting Numbers: [84, 90, 30]
Generated Node #0,1: 81:[84, 90, 30] Operation: 67-37=30
Exploring Operation: 90-84=6, Resulting Numbers: [37, 67, 6]
Generated Node #0,2: 81:[37, 67, 6] Operation: 90-84=6
Exploring Operation: 90-67=23, Resulting Numbers: [37, 84, 23]
Generated Node #0,3: 81:[37, 84, 23] Operation: 90-67=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[84, 90, 30], Operations: ['67-37=30']
Exploring Operation: 84-30=54, Resulting Numbers: [90, 54]
Generated Node #0,1,0: 81:[90, 54] Operation: 84-30=54
Exploring Operation: 90-84=6, Resulting Numbers: [30, 6]
Generated Node #0,1,1: 81:[30, 6] Operation: 90-84=6
Exploring Operation: 90-30=60, Resulting Numbers: [84, 60]
Generated Node #0,1,2: 81:[84, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [84, 3]
Generated Node #0,1,3: 81:[84, 3] Operation: 90/30=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[84, 3], Operations: ['67-37=30', '90/30=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[37, 67, 84, 90], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [84, 90, 30]
Generated Node #0,1: 81:[84, 90, 30] Operation: 67-37=30
Moving to Node #0,1
Current State: 81:[84, 90, 30], Operations: ['67-37=30']
Exploring Operation: 90/30=3, Resulting Numbers: [84, 3]
Generated Node #0,1,3: 81:[84, 3] Operation: 90/30=3
Moving to Node #0,1,3
Current State: 81:[84, 3], Operations: ['67-37=30', '90/30=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
67,
31,
48,
49
] | 29 | [
"31*48=1488",
"1488-67=1421",
"1421/49=29"
] | Current State: 29:[67, 31, 48, 49], Operations: []
Exploring Operation: 31*48=1488, Resulting Numbers: [67, 49, 1488]
Generated Node #2: [67, 49, 1488] from Operation: 31*48=1488
Current State: 29:[67, 49, 1488], Operations: ['31*48=1488']
Exploring Operation: 1488-67=1421, Resulting Numbers: [49, 1421]
Generated Node #3: [49, 1421] from Operation: 1488-67=1421
Current State: 29:[49, 1421], Operations: ['31*48=1488', '1488-67=1421']
Exploring Operation: 1421/49=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[67, 31, 48, 49], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [48, 49, 36]
Generated Node #0,0: 29:[48, 49, 36] Operation: 67-31=36
Exploring Operation: 67-49=18, Resulting Numbers: [31, 48, 18]
Generated Node #0,1: 29:[31, 48, 18] Operation: 67-49=18
Exploring Operation: 67-48=19, Resulting Numbers: [31, 49, 19]
Generated Node #0,2: 29:[31, 49, 19] Operation: 67-48=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[31, 48, 18], Operations: ['67-49=18']
Exploring Operation: 48-31=17, Resulting Numbers: [18, 17]
Generated Node #0,1,0: 29:[18, 17] Operation: 48-31=17
Exploring Operation: 48-18=30, Resulting Numbers: [31, 30]
Generated Node #0,1,1: 29:[31, 30] Operation: 48-18=30
Exploring Operation: 31-18=13, Resulting Numbers: [48, 13]
Generated Node #0,1,2: 29:[48, 13] Operation: 31-18=13
Moving to Node #0,1,1
Current State: 29:[31, 30], Operations: ['67-49=18', '48-18=30']
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,29 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[18, 17], Operations: ['67-49=18', '48-31=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,29 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[48, 13], Operations: ['67-49=18', '31-18=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,29 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,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:[31, 49, 19], Operations: ['67-48=19']
Exploring Operation: 31-19=12, Resulting Numbers: [49, 12]
Generated Node #0,2,0: 29:[49, 12] Operation: 31-19=12
Exploring Operation: 49-31=18, Resulting Numbers: [19, 18]
Generated Node #0,2,1: 29:[19, 18] Operation: 49-31=18
Exploring Operation: 49-19=30, Resulting Numbers: [31, 30]
Generated Node #0,2,2: 29:[31, 30] Operation: 49-19=30
Moving to Node #0,2,2
Current State: 29:[31, 30], Operations: ['67-48=19', '49-19=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[19, 18], Operations: ['67-48=19', '49-31=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,29 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[49, 12], Operations: ['67-48=19', '31-19=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,29 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,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,0
Current State: 29:[48, 49, 36], Operations: ['67-31=36']
Exploring Operation: 49-48=1, Resulting Numbers: [36, 1]
Generated Node #0,0,0: 29:[36, 1] Operation: 49-48=1
Exploring Operation: 49-36=13, Resulting Numbers: [48, 13]
Generated Node #0,0,1: 29:[48, 13] Operation: 49-36=13
Exploring Operation: 48-36=12, Resulting Numbers: [49, 12]
Generated Node #0,0,2: 29:[49, 12] Operation: 48-36=12
Moving to Node #0,0,0
Current State: 29:[36, 1], Operations: ['67-31=36', '49-48=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[48, 13], Operations: ['67-31=36', '49-36=13']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[49, 12], Operations: ['67-31=36', '48-36=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,29 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
8,
7,
21
] | 57 | [
"36+21=57",
"8-7=1",
"57*1=57"
] | Current State: 57:[36, 8, 7, 21], Operations: []
Exploring Operation: 36+21=57, Resulting Numbers: [8, 7, 57]
Generated Node #2: [8, 7, 57] from Operation: 36+21=57
Current State: 57:[8, 7, 57], Operations: ['36+21=57']
Exploring Operation: 8-7=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 8-7=1
Current State: 57:[57, 1], Operations: ['36+21=57', '8-7=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[36, 8, 7, 21], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [8, 7, 15]
Generated Node #0,0: 57:[8, 7, 15] Operation: 36-21=15
Exploring Operation: 36+21=57, Resulting Numbers: [8, 7, 57]
Generated Node #0,1: 57:[8, 7, 57] Operation: 36+21=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[8, 7, 57], Operations: ['36+21=57']
Exploring Operation: 8-7=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 57:[57, 1] Operation: 8-7=1
Exploring Operation: 8*7=56, Resulting Numbers: [57, 56]
Generated Node #0,1,1: 57:[57, 56] Operation: 8*7=56
Moving to Node #0,1,1
Current State: 57:[57, 56], Operations: ['36+21=57', '8*7=56']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[57, 1], Operations: ['36+21=57', '8-7=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[36, 8, 7, 21], Operations: []
Exploring Operation: 36+21=57, Resulting Numbers: [8, 7, 57]
Generated Node #0,1: 57:[8, 7, 57] Operation: 36+21=57
Moving to Node #0,1
Current State: 57:[8, 7, 57], Operations: ['36+21=57']
Exploring Operation: 8-7=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 57:[57, 1] Operation: 8-7=1
Moving to Node #0,1,0
Current State: 57:[57, 1], Operations: ['36+21=57', '8-7=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
83,
39,
19,
64
] | 39 | [
"83+39=122",
"19+64=83",
"122-83=39"
] | Current State: 39:[83, 39, 19, 64], Operations: []
Exploring Operation: 83+39=122, Resulting Numbers: [19, 64, 122]
Generated Node #2: [19, 64, 122] from Operation: 83+39=122
Current State: 39:[19, 64, 122], Operations: ['83+39=122']
Exploring Operation: 19+64=83, Resulting Numbers: [122, 83]
Generated Node #3: [122, 83] from Operation: 19+64=83
Current State: 39:[122, 83], Operations: ['83+39=122', '19+64=83']
Exploring Operation: 122-83=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[83, 39, 19, 64], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [39, 64, 64]
Generated Node #0,0: 39:[39, 64, 64] Operation: 83-19=64
Exploring Operation: 83-39=44, Resulting Numbers: [19, 64, 44]
Generated Node #0,1: 39:[19, 64, 44] Operation: 83-39=44
Exploring Operation: 83-64=19, Resulting Numbers: [39, 19, 19]
Generated Node #0,2: 39:[39, 19, 19] Operation: 83-64=19
Moving to Node #0,2
Current State: 39:[39, 19, 19], Operations: ['83-64=19']
Exploring Operation: 19-19=0, Resulting Numbers: [39, 0]
Generated Node #0,2,0: 39:[39, 0] Operation: 19-19=0
Exploring Operation: 19+19=38, Resulting Numbers: [39, 38]
Generated Node #0,2,1: 39:[39, 38] Operation: 19+19=38
Exploring Operation: 19/19=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 39:[39, 1] Operation: 19/19=1
Moving to Node #0,1
Current State: 39:[19, 64, 44], Operations: ['83-39=44']
Exploring Operation: 64-44=20, Resulting Numbers: [19, 20]
Generated Node #0,1,0: 39:[19, 20] Operation: 64-44=20
Exploring Operation: 44-19=25, Resulting Numbers: [64, 25]
Generated Node #0,1,1: 39:[64, 25] Operation: 44-19=25
Exploring Operation: 64-19=45, Resulting Numbers: [44, 45]
Generated Node #0,1,2: 39:[44, 45] Operation: 64-19=45
Moving to Node #0,0
Current State: 39:[39, 64, 64], Operations: ['83-19=64']
Exploring Operation: 64-39=25, Resulting Numbers: [64, 25]
Generated Node #0,0,0: 39:[64, 25] Operation: 64-39=25
Exploring Operation: 64/64=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 39:[39, 1] Operation: 64/64=1
Exploring Operation: 64-64=0, Resulting Numbers: [39, 0]
Generated Node #0,0,2: 39:[39, 0] Operation: 64-64=0
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[39, 1], Operations: ['83-19=64', '64/64=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[83, 39, 19, 64], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [39, 64, 64]
Generated Node #0,0: 39:[39, 64, 64] Operation: 83-19=64
Moving to Node #0,0
Current State: 39:[39, 64, 64], Operations: ['83-19=64']
Exploring Operation: 64/64=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 39:[39, 1] Operation: 64/64=1
Moving to Node #0,0,1
Current State: 39:[39, 1], Operations: ['83-19=64', '64/64=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
18,
17,
4,
54
] | 51 | [
"18-17=1",
"54-4=50",
"1+50=51"
] | Current State: 51:[18, 17, 4, 54], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [4, 54, 1]
Generated Node #2: [4, 54, 1] from Operation: 18-17=1
Current State: 51:[4, 54, 1], Operations: ['18-17=1']
Exploring Operation: 54-4=50, Resulting Numbers: [1, 50]
Generated Node #3: [1, 50] from Operation: 54-4=50
Current State: 51:[1, 50], Operations: ['18-17=1', '54-4=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[18, 17, 4, 54], Operations: []
Exploring Operation: 54-4=50, Resulting Numbers: [18, 17, 50]
Generated Node #0,0: 51:[18, 17, 50] Operation: 54-4=50
Exploring Operation: 54/18=3, Resulting Numbers: [17, 4, 3]
Generated Node #0,1: 51:[17, 4, 3] Operation: 54/18=3
Exploring Operation: 18-17=1, Resulting Numbers: [4, 54, 1]
Generated Node #0,2: 51:[4, 54, 1] Operation: 18-17=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[17, 4, 3], Operations: ['54/18=3']
Exploring Operation: 4-3=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 51:[17, 1] Operation: 4-3=1
Exploring Operation: 17*3=51, Resulting Numbers: [4, 51]
Generated Node #0,1,1: 51:[4, 51] Operation: 17*3=51
Exploring Operation: 17+4=21, Resulting Numbers: [3, 21]
Generated Node #0,1,2: 51:[3, 21] Operation: 17+4=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[4, 51], Operations: ['54/18=3', '17*3=51']
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,51 unequal: No Solution
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[17, 1], Operations: ['54/18=3', '4-3=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[3, 21], Operations: ['54/18=3', '17+4=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[18, 17, 50], Operations: ['54-4=50']
Exploring Operation: 18+17=35, Resulting Numbers: [50, 35]
Generated Node #0,0,0: 51:[50, 35] Operation: 18+17=35
Exploring Operation: 18-17=1, Resulting Numbers: [50, 1]
Generated Node #0,0,1: 51:[50, 1] Operation: 18-17=1
Exploring Operation: 50-18=32, Resulting Numbers: [17, 32]
Generated Node #0,0,2: 51:[17, 32] Operation: 50-18=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[50, 1], Operations: ['54-4=50', '18-17=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[18, 17, 4, 54], Operations: []
Exploring Operation: 54-4=50, Resulting Numbers: [18, 17, 50]
Generated Node #0,0: 51:[18, 17, 50] Operation: 54-4=50
Moving to Node #0,0
Current State: 51:[18, 17, 50], Operations: ['54-4=50']
Exploring Operation: 18-17=1, Resulting Numbers: [50, 1]
Generated Node #0,0,1: 51:[50, 1] Operation: 18-17=1
Moving to Node #0,0,1
Current State: 51:[50, 1], Operations: ['54-4=50', '18-17=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
26,
15,
94,
8
] | 97 | [
"26-15=11",
"94-8=86",
"11+86=97"
] | Current State: 97:[26, 15, 94, 8], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [94, 8, 11]
Generated Node #2: [94, 8, 11] from Operation: 26-15=11
Current State: 97:[94, 8, 11], Operations: ['26-15=11']
Exploring Operation: 94-8=86, Resulting Numbers: [11, 86]
Generated Node #3: [11, 86] from Operation: 94-8=86
Current State: 97:[11, 86], Operations: ['26-15=11', '94-8=86']
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[26, 15, 94, 8], Operations: []
Exploring Operation: 15*8=120, Resulting Numbers: [26, 94, 120]
Generated Node #0,0: 97:[26, 94, 120] Operation: 15*8=120
Exploring Operation: 26+8=34, Resulting Numbers: [15, 94, 34]
Generated Node #0,1: 97:[15, 94, 34] Operation: 26+8=34
Exploring Operation: 26+15=41, Resulting Numbers: [94, 8, 41]
Generated Node #0,2: 97:[94, 8, 41] Operation: 26+15=41
Moving to Node #0,0
Current State: 97:[26, 94, 120], Operations: ['15*8=120']
Exploring Operation: 26+94=120, Resulting Numbers: [120, 120]
Generated Node #0,0,0: 97:[120, 120] Operation: 26+94=120
Exploring Operation: 120-26=94, Resulting Numbers: [94, 94]
Generated Node #0,0,1: 97:[94, 94] Operation: 120-26=94
Exploring Operation: 94-26=68, Resulting Numbers: [120, 68]
Generated Node #0,0,2: 97:[120, 68] Operation: 94-26=68
Moving to Node #0,1
Current State: 97:[15, 94, 34], Operations: ['26+8=34']
Exploring Operation: 15+34=49, Resulting Numbers: [94, 49]
Generated Node #0,1,0: 97:[94, 49] Operation: 15+34=49
Exploring Operation: 94-15=79, Resulting Numbers: [34, 79]
Generated Node #0,1,1: 97:[34, 79] Operation: 94-15=79
Exploring Operation: 15+94=109, Resulting Numbers: [34, 109]
Generated Node #0,1,2: 97:[34, 109] Operation: 15+94=109
Moving to Node #0,2
Current State: 97:[94, 8, 41], Operations: ['26+15=41']
Exploring Operation: 94+8=102, Resulting Numbers: [41, 102]
Generated Node #0,2,0: 97:[41, 102] Operation: 94+8=102
Exploring Operation: 94-8=86, Resulting Numbers: [41, 86]
Generated Node #0,2,1: 97:[41, 86] Operation: 94-8=86
Exploring Operation: 8+41=49, Resulting Numbers: [94, 49]
Generated Node #0,2,2: 97:[94, 49] Operation: 8+41=49
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[94, 49], Operations: ['26+15=41', '8+41=49']
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,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,2,0
Current State: 97:[41, 102], Operations: ['26+15=41', '94+8=102']
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 41+102=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 41*102=4182, Resulting Numbers: [4182]
4182,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,2,1
Current State: 97:[41, 86], Operations: ['26+15=41', '94-8=86']
Exploring Operation: 41+86=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 41*86=3526, Resulting Numbers: [3526]
3526,97 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 97:[94, 94], Operations: ['15*8=120', '120-26=94']
Exploring Operation: 94+94=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 94/94=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 94-94=0, Resulting Numbers: [0]
0,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[120, 120], Operations: ['15*8=120', '26+94=120']
Exploring Operation: 120-120=0, Resulting Numbers: [0]
0,97 unequal: No Solution
Exploring Operation: 120/120=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 120+120=240, Resulting Numbers: [240]
240,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[94, 49], Operations: ['26+8=34', '15+34=49']
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,97 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[120, 68], Operations: ['15*8=120', '94-26=68']
Exploring Operation: 120*68=8160, Resulting Numbers: [8160]
8160,97 unequal: No Solution
Exploring Operation: 120+68=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 120-68=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[34, 109], Operations: ['26+8=34', '15+94=109']
Exploring Operation: 34*109=3706, Resulting Numbers: [3706]
3706,97 unequal: No Solution
Exploring Operation: 109-34=75, Resulting Numbers: [75]
75,97 unequal: No Solution
Exploring Operation: 34+109=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[34, 79], Operations: ['26+8=34', '94-15=79']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,97 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
90,
1,
75,
93
] | 78 | [
"90*1=90",
"75+93=168",
"168-90=78"
] | Current State: 78:[90, 1, 75, 93], Operations: []
Exploring Operation: 90*1=90, Resulting Numbers: [75, 93, 90]
Generated Node #2: [75, 93, 90] from Operation: 90*1=90
Current State: 78:[75, 93, 90], Operations: ['90*1=90']
Exploring Operation: 75+93=168, Resulting Numbers: [90, 168]
Generated Node #3: [90, 168] from Operation: 75+93=168
Current State: 78:[90, 168], Operations: ['90*1=90', '75+93=168']
Exploring Operation: 168-90=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[90, 1, 75, 93], Operations: []
Exploring Operation: 90-1=89, Resulting Numbers: [75, 93, 89]
Generated Node #0,0: 78:[75, 93, 89] Operation: 90-1=89
Exploring Operation: 90-75=15, Resulting Numbers: [1, 93, 15]
Generated Node #0,1: 78:[1, 93, 15] Operation: 90-75=15
Exploring Operation: 93-75=18, Resulting Numbers: [90, 1, 18]
Generated Node #0,2: 78:[90, 1, 18] Operation: 93-75=18
Exploring Operation: 93-90=3, Resulting Numbers: [1, 75, 3]
Generated Node #0,3: 78:[1, 75, 3] Operation: 93-90=3
Moving to Node #0,3
Current State: 78:[1, 75, 3], Operations: ['93-90=3']
Exploring Operation: 1*75=75, Resulting Numbers: [3, 75]
Generated Node #0,3,0: 78:[3, 75] Operation: 1*75=75
Exploring Operation: 75+3=78, Resulting Numbers: [1, 78]
Generated Node #0,3,1: 78:[1, 78] Operation: 75+3=78
Exploring Operation: 1+75=76, Resulting Numbers: [3, 76]
Generated Node #0,3,2: 78:[3, 76] Operation: 1+75=76
Exploring Operation: 75/3=25, Resulting Numbers: [1, 25]
Generated Node #0,3,3: 78:[1, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[1, 78], Operations: ['93-90=3', '75+3=78']
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[90, 1, 75, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [1, 75, 3]
Generated Node #0,3: 78:[1, 75, 3] Operation: 93-90=3
Moving to Node #0,3
Current State: 78:[1, 75, 3], Operations: ['93-90=3']
Exploring Operation: 75+3=78, Resulting Numbers: [1, 78]
Generated Node #0,3,1: 78:[1, 78] Operation: 75+3=78
Moving to Node #0,3,1
Current State: 78:[1, 78], Operations: ['93-90=3', '75+3=78']
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
17,
89,
40,
31
] | 97 | [
"17+89=106",
"40-31=9",
"106-9=97"
] | Current State: 97:[17, 89, 40, 31], Operations: []
Exploring Operation: 17+89=106, Resulting Numbers: [40, 31, 106]
Generated Node #2: [40, 31, 106] from Operation: 17+89=106
Current State: 97:[40, 31, 106], Operations: ['17+89=106']
Exploring Operation: 40-31=9, Resulting Numbers: [106, 9]
Generated Node #3: [106, 9] from Operation: 40-31=9
Current State: 97:[106, 9], Operations: ['17+89=106', '40-31=9']
Exploring Operation: 106-9=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[17, 89, 40, 31], Operations: []
Exploring Operation: 17+40=57, Resulting Numbers: [89, 31, 57]
Generated Node #0,0: 97:[89, 31, 57] Operation: 17+40=57
Exploring Operation: 40+31=71, Resulting Numbers: [17, 89, 71]
Generated Node #0,1: 97:[17, 89, 71] Operation: 40+31=71
Exploring Operation: 17+31=48, Resulting Numbers: [89, 40, 48]
Generated Node #0,2: 97:[89, 40, 48] Operation: 17+31=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[89, 31, 57], Operations: ['17+40=57']
Exploring Operation: 89-31=58, Resulting Numbers: [57, 58]
Generated Node #0,0,0: 97:[57, 58] Operation: 89-31=58
Exploring Operation: 89+31=120, Resulting Numbers: [57, 120]
Generated Node #0,0,1: 97:[57, 120] Operation: 89+31=120
Exploring Operation: 31+57=88, Resulting Numbers: [89, 88]
Generated Node #0,0,2: 97:[89, 88] Operation: 31+57=88
Moving to Node #0,0,2
Current State: 97:[89, 88], Operations: ['17+40=57', '31+57=88']
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 89*88=7832, Resulting Numbers: [7832]
7832,97 unequal: No Solution
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[57, 120], Operations: ['17+40=57', '89+31=120']
Exploring Operation: 57*120=6840, Resulting Numbers: [6840]
6840,97 unequal: No Solution
Exploring Operation: 57+120=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Exploring Operation: 120-57=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[57, 58], Operations: ['17+40=57', '89-31=58']
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,97 unequal: No Solution
Exploring Operation: 57*58=3306, Resulting Numbers: [3306]
3306,97 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,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
Current State: 97:[17, 89, 71], Operations: ['40+31=71']
Exploring Operation: 89-17=72, Resulting Numbers: [71, 72]
Generated Node #0,1,0: 97:[71, 72] Operation: 89-17=72
Exploring Operation: 17+89=106, Resulting Numbers: [71, 106]
Generated Node #0,1,1: 97:[71, 106] Operation: 17+89=106
Exploring Operation: 17+71=88, Resulting Numbers: [89, 88]
Generated Node #0,1,2: 97:[89, 88] Operation: 17+71=88
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[89, 88], Operations: ['40+31=71', '17+71=88']
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Exploring Operation: 89*88=7832, Resulting Numbers: [7832]
7832,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:[71, 106], Operations: ['40+31=71', '17+89=106']
Exploring Operation: 106-71=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 71+106=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Exploring Operation: 71*106=7526, Resulting Numbers: [7526]
7526,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:[71, 72], Operations: ['40+31=71', '89-17=72']
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,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,2
Current State: 97:[89, 40, 48], Operations: ['17+31=48']
Exploring Operation: 40+48=88, Resulting Numbers: [89, 88]
Generated Node #0,2,0: 97:[89, 88] Operation: 40+48=88
Exploring Operation: 89+40=129, Resulting Numbers: [48, 129]
Generated Node #0,2,1: 97:[48, 129] Operation: 89+40=129
Exploring Operation: 89-40=49, Resulting Numbers: [48, 49]
Generated Node #0,2,2: 97:[48, 49] Operation: 89-40=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[89, 88], Operations: ['17+31=48', '40+48=88']
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Exploring Operation: 89*88=7832, Resulting Numbers: [7832]
7832,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,2,1
Current State: 97:[48, 129], Operations: ['17+31=48', '89+40=129']
Exploring Operation: 48+129=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Exploring Operation: 48*129=6192, Resulting Numbers: [6192]
6192,97 unequal: No Solution
Exploring Operation: 129-48=81, Resulting Numbers: [81]
81,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,2,2
Current State: 97:[48, 49], Operations: ['17+31=48', '89-40=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,97 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[17, 89, 40, 31], Operations: []
Exploring Operation: 17+31=48, Resulting Numbers: [89, 40, 48]
Generated Node #0,2: 97:[89, 40, 48] Operation: 17+31=48
Moving to Node #0,2
Current State: 97:[89, 40, 48], Operations: ['17+31=48']
Exploring Operation: 89-40=49, Resulting Numbers: [48, 49]
Generated Node #0,2,2: 97:[48, 49] Operation: 89-40=49
Moving to Node #0,2,2
Current State: 97:[48, 49], Operations: ['17+31=48', '89-40=49']
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_3 | sum_heuristic |
[
20,
32,
94,
2
] | 10 | [
"20+32=52",
"2*52=104",
"104-94=10"
] | Current State: 10:[20, 32, 94, 2], Operations: []
Exploring Operation: 20+32=52, Resulting Numbers: [94, 2, 52]
Generated Node #2: [94, 2, 52] from Operation: 20+32=52
Current State: 10:[94, 2, 52], Operations: ['20+32=52']
Exploring Operation: 2*52=104, Resulting Numbers: [94, 104]
Generated Node #3: [94, 104] from Operation: 2*52=104
Current State: 10:[94, 104], Operations: ['20+32=52', '2*52=104']
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 32, 94, 2], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [94, 2, 12]
Generated Node #0,0: 10:[94, 2, 12] Operation: 32-20=12
Exploring Operation: 94/2=47, Resulting Numbers: [20, 32, 47]
Generated Node #0,1: 10:[20, 32, 47] Operation: 94/2=47
Exploring Operation: 94-20=74, Resulting Numbers: [32, 2, 74]
Generated Node #0,2: 10:[32, 2, 74] Operation: 94-20=74
Exploring Operation: 94-32=62, Resulting Numbers: [20, 2, 62]
Generated Node #0,3: 10:[20, 2, 62] Operation: 94-32=62
Moving to Node #0,3
Current State: 10:[20, 2, 62], Operations: ['94-32=62']
Exploring Operation: 20-2=18, Resulting Numbers: [62, 18]
Generated Node #0,3,0: 10:[62, 18] Operation: 20-2=18
Exploring Operation: 20/2=10, Resulting Numbers: [62, 10]
Generated Node #0,3,1: 10:[62, 10] Operation: 20/2=10
Exploring Operation: 62/2=31, Resulting Numbers: [20, 31]
Generated Node #0,3,2: 10:[20, 31] Operation: 62/2=31
Exploring Operation: 62-20=42, Resulting Numbers: [2, 42]
Generated Node #0,3,3: 10:[2, 42] Operation: 62-20=42
Moving to Node #0,1
Current State: 10:[20, 32, 47], Operations: ['94/2=47']
Exploring Operation: 32-20=12, Resulting Numbers: [47, 12]
Generated Node #0,1,0: 10:[47, 12] Operation: 32-20=12
Exploring Operation: 47-20=27, Resulting Numbers: [32, 27]
Generated Node #0,1,1: 10:[32, 27] Operation: 47-20=27
Exploring Operation: 20+32=52, Resulting Numbers: [47, 52]
Generated Node #0,1,2: 10:[47, 52] Operation: 20+32=52
Exploring Operation: 47-32=15, Resulting Numbers: [20, 15]
Generated Node #0,1,3: 10:[20, 15] Operation: 47-32=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[20, 15], Operations: ['94/2=47', '47-32=15']
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,10 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,10 unequal: No Solution
No 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: 10:[47, 12], Operations: ['94/2=47', '32-20=12']
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,10 unequal: No Solution
No 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: 10:[32, 27], Operations: ['94/2=47', '47-20=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,10 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No 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: 10:[47, 52], Operations: ['94/2=47', '20+32=52']
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,10 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,10 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: 10:[32, 2, 74], Operations: ['94-20=74']
Exploring Operation: 32/2=16, Resulting Numbers: [74, 16]
Generated Node #0,2,0: 10:[74, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [74, 30]
Generated Node #0,2,1: 10:[74, 30] Operation: 32-2=30
Exploring Operation: 74/2=37, Resulting Numbers: [32, 37]
Generated Node #0,2,2: 10:[32, 37] Operation: 74/2=37
Exploring Operation: 74-32=42, Resulting Numbers: [2, 42]
Generated Node #0,2,3: 10:[2, 42] Operation: 74-32=42
Moving to Node #0,0
Current State: 10:[94, 2, 12], Operations: ['32-20=12']
Exploring Operation: 12-2=10, Resulting Numbers: [94, 10]
Generated Node #0,0,0: 10:[94, 10] Operation: 12-2=10
Exploring Operation: 94/2=47, Resulting Numbers: [12, 47]
Generated Node #0,0,1: 10:[12, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [12, 92]
Generated Node #0,0,2: 10:[12, 92] Operation: 94-2=92
Exploring Operation: 94-12=82, Resulting Numbers: [2, 82]
Generated Node #0,0,3: 10:[2, 82] Operation: 94-12=82
Moving to Node #0,3,2
Current State: 10:[20, 31], Operations: ['94-32=62', '62/2=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[2, 42], Operations: ['94-32=62', '62-20=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[2, 42], Operations: ['94-20=74', '74-32=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[12, 47], Operations: ['32-20=12', '94/2=47']
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,10 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[32, 37], Operations: ['94-20=74', '74/2=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,10 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[62, 10], Operations: ['94-32=62', '20/2=10']
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,10 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[62, 18], Operations: ['94-32=62', '20-2=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[74, 16], Operations: ['94-20=74', '32/2=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,10 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[2, 82], Operations: ['32-20=12', '94-12=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,10 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[12, 92], Operations: ['32-20=12', '94-2=92']
Exploring Operation: 12*92=1104, Resulting Numbers: [1104]
1104,10 unequal: No Solution
Exploring Operation: 12+92=104, Resulting Numbers: [104]
104,10 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[94, 10], Operations: ['32-20=12', '12-2=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,10 unequal: No Solution
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[74, 30], Operations: ['94-20=74', '32-2=30']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,10 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
34,
67,
19
] | 100 | [
"34-20=14",
"67+19=86",
"14+86=100"
] | Current State: 100:[20, 34, 67, 19], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [67, 19, 14]
Generated Node #2: [67, 19, 14] from Operation: 34-20=14
Current State: 100:[67, 19, 14], Operations: ['34-20=14']
Exploring Operation: 67+19=86, Resulting Numbers: [14, 86]
Generated Node #3: [14, 86] from Operation: 67+19=86
Current State: 100:[14, 86], Operations: ['34-20=14', '67+19=86']
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[20, 34, 67, 19], Operations: []
Exploring Operation: 67-34=33, Resulting Numbers: [20, 19, 33]
Generated Node #0,0: 100:[20, 19, 33] Operation: 67-34=33
Exploring Operation: 67-20=47, Resulting Numbers: [34, 19, 47]
Generated Node #0,1: 100:[34, 19, 47] Operation: 67-20=47
Exploring Operation: 34+67=101, Resulting Numbers: [20, 19, 101]
Generated Node #0,2: 100:[20, 19, 101] Operation: 34+67=101
Exploring Operation: 67-19=48, Resulting Numbers: [20, 34, 48]
Generated Node #0,3: 100:[20, 34, 48] Operation: 67-19=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[20, 19, 101], Operations: ['34+67=101']
Exploring Operation: 101-20=81, Resulting Numbers: [19, 81]
Generated Node #0,2,0: 100:[19, 81] Operation: 101-20=81
Exploring Operation: 20+19=39, Resulting Numbers: [101, 39]
Generated Node #0,2,1: 100:[101, 39] Operation: 20+19=39
Exploring Operation: 101-19=82, Resulting Numbers: [20, 82]
Generated Node #0,2,2: 100:[20, 82] Operation: 101-19=82
Exploring Operation: 20-19=1, Resulting Numbers: [101, 1]
Generated Node #0,2,3: 100:[101, 1] Operation: 20-19=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[101, 1], Operations: ['34+67=101', '20-19=1']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[20, 34, 67, 19], Operations: []
Exploring Operation: 34+67=101, Resulting Numbers: [20, 19, 101]
Generated Node #0,2: 100:[20, 19, 101] Operation: 34+67=101
Moving to Node #0,2
Current State: 100:[20, 19, 101], Operations: ['34+67=101']
Exploring Operation: 20-19=1, Resulting Numbers: [101, 1]
Generated Node #0,2,3: 100:[101, 1] Operation: 20-19=1
Moving to Node #0,2,3
Current State: 100:[101, 1], Operations: ['34+67=101', '20-19=1']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
36,
2,
4,
36
] | 72 | [
"36*2=72",
"4*36=144",
"144-72=72"
] | Current State: 72:[36, 2, 4, 36], Operations: []
Exploring Operation: 36*2=72, Resulting Numbers: [4, 72]
Generated Node #2: [4, 72] from Operation: 36*2=72
Current State: 72:[4, 72], Operations: ['36*2=72']
Exploring Operation: 4*36=144, Resulting Numbers: [72, 144]
Generated Node #3: [72, 144] from Operation: 4*36=144
Current State: 72:[72, 144], Operations: ['36*2=72', '4*36=144']
Exploring Operation: 144-72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[36, 2, 4, 36], Operations: []
Exploring Operation: 36*2=72, Resulting Numbers: [4, 36, 72]
Generated Node #0,0: 72:[4, 36, 72] Operation: 36*2=72
Exploring Operation: 36/2=18, Resulting Numbers: [4, 36, 18]
Generated Node #0,1: 72:[4, 36, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[4, 36, 72], Operations: ['36*2=72']
Exploring Operation: 72/4=18, Resulting Numbers: [36, 18]
Generated Node #0,0,0: 72:[36, 18] Operation: 72/4=18
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #0,0,1: 72:[72, 9] Operation: 36/4=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[36, 18], Operations: ['36*2=72', '72/4=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No 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: 72:[72, 9], Operations: ['36*2=72', '36/4=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,72 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: 72:[4, 36, 18], Operations: ['36/2=18']
Exploring Operation: 4*18=72, Resulting Numbers: [36, 72]
Generated Node #0,1,0: 72:[36, 72] Operation: 4*18=72
Exploring Operation: 36/4=9, Resulting Numbers: [18, 9]
Generated Node #0,1,1: 72:[18, 9] Operation: 36/4=9
Moving to Node #0,1,0
Current State: 72:[36, 72], Operations: ['36/2=18', '4*18=72']
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[18, 9], Operations: ['36/2=18', '36/4=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
85,
91,
46
] | 96 | [
"85-34=51",
"91-46=45",
"51+45=96"
] | Current State: 96:[34, 85, 91, 46], Operations: []
Exploring Operation: 85-34=51, Resulting Numbers: [91, 46, 51]
Generated Node #2: [91, 46, 51] from Operation: 85-34=51
Current State: 96:[91, 46, 51], Operations: ['85-34=51']
Exploring Operation: 91-46=45, Resulting Numbers: [51, 45]
Generated Node #3: [51, 45] from Operation: 91-46=45
Current State: 96:[51, 45], Operations: ['85-34=51', '91-46=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[34, 85, 91, 46], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [34, 46, 6]
Generated Node #0,0: 96:[34, 46, 6] Operation: 91-85=6
Exploring Operation: 46-34=12, Resulting Numbers: [85, 91, 12]
Generated Node #0,1: 96:[85, 91, 12] Operation: 46-34=12
Exploring Operation: 85-34=51, Resulting Numbers: [91, 46, 51]
Generated Node #0,2: 96:[91, 46, 51] Operation: 85-34=51
Exploring Operation: 85-46=39, Resulting Numbers: [34, 91, 39]
Generated Node #0,3: 96:[34, 91, 39] Operation: 85-46=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[34, 46, 6], Operations: ['91-85=6']
Exploring Operation: 34+6=40, Resulting Numbers: [46, 40]
Generated Node #0,0,0: 96:[46, 40] Operation: 34+6=40
Exploring Operation: 46-34=12, Resulting Numbers: [6, 12]
Generated Node #0,0,1: 96:[6, 12] Operation: 46-34=12
Exploring Operation: 34-6=28, Resulting Numbers: [46, 28]
Generated Node #0,0,2: 96:[46, 28] Operation: 34-6=28
Exploring Operation: 46+6=52, Resulting Numbers: [34, 52]
Generated Node #0,0,3: 96:[34, 52] Operation: 46+6=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[6, 12], Operations: ['91-85=6', '46-34=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[46, 28], Operations: ['91-85=6', '34-6=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,96 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[34, 52], Operations: ['91-85=6', '46+6=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,96 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[46, 40], Operations: ['91-85=6', '34+6=40']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,96 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[91, 46, 51], Operations: ['85-34=51']
Exploring Operation: 51-46=5, Resulting Numbers: [91, 5]
Generated Node #0,2,0: 96:[91, 5] Operation: 51-46=5
Exploring Operation: 91-46=45, Resulting Numbers: [51, 45]
Generated Node #0,2,1: 96:[51, 45] Operation: 91-46=45
Exploring Operation: 46+51=97, Resulting Numbers: [91, 97]
Generated Node #0,2,2: 96:[91, 97] Operation: 46+51=97
Exploring Operation: 91-51=40, Resulting Numbers: [46, 40]
Generated Node #0,2,3: 96:[46, 40] Operation: 91-51=40
Moving to Node #0,2,0
Current State: 96:[91, 5], Operations: ['85-34=51', '51-46=5']
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,96 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[34, 85, 91, 46], Operations: []
Exploring Operation: 85-34=51, Resulting Numbers: [91, 46, 51]
Generated Node #0,2: 96:[91, 46, 51] Operation: 85-34=51
Moving to Node #0,2
Current State: 96:[91, 46, 51], Operations: ['85-34=51']
Exploring Operation: 51-46=5, Resulting Numbers: [91, 5]
Generated Node #0,2,0: 96:[91, 5] Operation: 51-46=5
Moving to Node #0,2,0
Current State: 96:[91, 5], Operations: ['85-34=51', '51-46=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
62,
13,
92,
25
] | 95 | [
"62+13=75",
"75/25=3",
"92+3=95"
] | Current State: 95:[62, 13, 92, 25], Operations: []
Exploring Operation: 62+13=75, Resulting Numbers: [92, 25, 75]
Generated Node #2: [92, 25, 75] from Operation: 62+13=75
Current State: 95:[92, 25, 75], Operations: ['62+13=75']
Exploring Operation: 75/25=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 75/25=3
Current State: 95:[92, 3], Operations: ['62+13=75', '75/25=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[62, 13, 92, 25], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [13, 92, 37]
Generated Node #0,0: 95:[13, 92, 37] Operation: 62-25=37
Exploring Operation: 62-13=49, Resulting Numbers: [92, 25, 49]
Generated Node #0,1: 95:[92, 25, 49] Operation: 62-13=49
Exploring Operation: 92-62=30, Resulting Numbers: [13, 25, 30]
Generated Node #0,2: 95:[13, 25, 30] Operation: 92-62=30
Exploring Operation: 62+25=87, Resulting Numbers: [13, 92, 87]
Generated Node #0,3: 95:[13, 92, 87] Operation: 62+25=87
Exploring Operation: 62+13=75, Resulting Numbers: [92, 25, 75]
Generated Node #0,4: 95:[92, 25, 75] Operation: 62+13=75
Moving to Node #0,3
Current State: 95:[13, 92, 87], Operations: ['62+25=87']
Exploring Operation: 87-13=74, Resulting Numbers: [92, 74]
Generated Node #0,3,0: 95:[92, 74] Operation: 87-13=74
Exploring Operation: 13+92=105, Resulting Numbers: [87, 105]
Generated Node #0,3,1: 95:[87, 105] Operation: 13+92=105
Exploring Operation: 92-87=5, Resulting Numbers: [13, 5]
Generated Node #0,3,2: 95:[13, 5] Operation: 92-87=5
Exploring Operation: 92-13=79, Resulting Numbers: [87, 79]
Generated Node #0,3,3: 95:[87, 79] Operation: 92-13=79
Exploring Operation: 13+87=100, Resulting Numbers: [92, 100]
Generated Node #0,3,4: 95:[92, 100] Operation: 13+87=100
Moving to Node #0,2
Current State: 95:[13, 25, 30], Operations: ['92-62=30']
Exploring Operation: 25-13=12, Resulting Numbers: [30, 12]
Generated Node #0,2,0: 95:[30, 12] Operation: 25-13=12
Exploring Operation: 13+25=38, Resulting Numbers: [30, 38]
Generated Node #0,2,1: 95:[30, 38] Operation: 13+25=38
Exploring Operation: 13+30=43, Resulting Numbers: [25, 43]
Generated Node #0,2,2: 95:[25, 43] Operation: 13+30=43
Exploring Operation: 30-13=17, Resulting Numbers: [25, 17]
Generated Node #0,2,3: 95:[25, 17] Operation: 30-13=17
Exploring Operation: 30-25=5, Resulting Numbers: [13, 5]
Generated Node #0,2,4: 95:[13, 5] Operation: 30-25=5
Moving to Node #0,0
Current State: 95:[13, 92, 37], Operations: ['62-25=37']
Exploring Operation: 92+37=129, Resulting Numbers: [13, 129]
Generated Node #0,0,0: 95:[13, 129] Operation: 92+37=129
Exploring Operation: 92-13=79, Resulting Numbers: [37, 79]
Generated Node #0,0,1: 95:[37, 79] Operation: 92-13=79
Exploring Operation: 13+92=105, Resulting Numbers: [37, 105]
Generated Node #0,0,2: 95:[37, 105] Operation: 13+92=105
Exploring Operation: 13+37=50, Resulting Numbers: [92, 50]
Generated Node #0,0,3: 95:[92, 50] Operation: 13+37=50
Exploring Operation: 37-13=24, Resulting Numbers: [92, 24]
Generated Node #0,0,4: 95:[92, 24] Operation: 37-13=24
Moving to Node #0,4
Current State: 95:[92, 25, 75], Operations: ['62+13=75']
Exploring Operation: 92+25=117, Resulting Numbers: [75, 117]
Generated Node #0,4,0: 95:[75, 117] Operation: 92+25=117
Exploring Operation: 75/25=3, Resulting Numbers: [92, 3]
Generated Node #0,4,1: 95:[92, 3] Operation: 75/25=3
Exploring Operation: 25+75=100, Resulting Numbers: [92, 100]
Generated Node #0,4,2: 95:[92, 100] Operation: 25+75=100
Exploring Operation: 75-25=50, Resulting Numbers: [92, 50]
Generated Node #0,4,3: 95:[92, 50] Operation: 75-25=50
Exploring Operation: 92-75=17, Resulting Numbers: [25, 17]
Generated Node #0,4,4: 95:[25, 17] Operation: 92-75=17
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 95:[92, 3], Operations: ['62+13=75', '75/25=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[62, 13, 92, 25], Operations: []
Exploring Operation: 62+13=75, Resulting Numbers: [92, 25, 75]
Generated Node #0,4: 95:[92, 25, 75] Operation: 62+13=75
Moving to Node #0,4
Current State: 95:[92, 25, 75], Operations: ['62+13=75']
Exploring Operation: 75/25=3, Resulting Numbers: [92, 3]
Generated Node #0,4,1: 95:[92, 3] Operation: 75/25=3
Moving to Node #0,4,1
Current State: 95:[92, 3], Operations: ['62+13=75', '75/25=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | sum_heuristic |
[
28,
24,
1,
32
] | 22 | [
"28*24=672",
"672/32=21",
"1+21=22"
] | Current State: 22:[28, 24, 1, 32], Operations: []
Exploring Operation: 28*24=672, Resulting Numbers: [1, 32, 672]
Generated Node #2: [1, 32, 672] from Operation: 28*24=672
Current State: 22:[1, 32, 672], Operations: ['28*24=672']
Exploring Operation: 672/32=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 672/32=21
Current State: 22:[1, 21], Operations: ['28*24=672', '672/32=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[28, 24, 1, 32], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [24, 1, 4]
Generated Node #0,0: 22:[24, 1, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[24, 1, 4], Operations: ['32-28=4']
Exploring Operation: 24-1=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 22:[4, 23] Operation: 24-1=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[4, 23], Operations: ['32-28=4', '24-1=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,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_1 | mult_heuristic |
[
51,
55,
90,
74
] | 90 | [
"51+55=106",
"90-74=16",
"106-16=90"
] | Current State: 90:[51, 55, 90, 74], Operations: []
Exploring Operation: 51+55=106, Resulting Numbers: [90, 74, 106]
Generated Node #2: [90, 74, 106] from Operation: 51+55=106
Current State: 90:[90, 74, 106], Operations: ['51+55=106']
Exploring Operation: 90-74=16, Resulting Numbers: [106, 16]
Generated Node #3: [106, 16] from Operation: 90-74=16
Current State: 90:[106, 16], Operations: ['51+55=106', '90-74=16']
Exploring Operation: 106-16=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[51, 55, 90, 74], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [51, 90, 19]
Generated Node #0,0: 90:[51, 90, 19] Operation: 74-55=19
Moving to Node #0,0
Current State: 90:[51, 90, 19], Operations: ['74-55=19']
Exploring Operation: 51-19=32, Resulting Numbers: [90, 32]
Generated Node #0,0,0: 90:[90, 32] Operation: 51-19=32
Moving to Node #0,0,0
Current State: 90:[90, 32], Operations: ['74-55=19', '51-19=32']
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,90 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
31,
12,
80
] | 48 | [
"13+31=44",
"12+80=92",
"92-44=48"
] | Current State: 48:[13, 31, 12, 80], Operations: []
Exploring Operation: 13+31=44, Resulting Numbers: [12, 80, 44]
Generated Node #2: [12, 80, 44] from Operation: 13+31=44
Current State: 48:[12, 80, 44], Operations: ['13+31=44']
Exploring Operation: 12+80=92, Resulting Numbers: [44, 92]
Generated Node #3: [44, 92] from Operation: 12+80=92
Current State: 48:[44, 92], Operations: ['13+31=44', '12+80=92']
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[13, 31, 12, 80], Operations: []
Exploring Operation: 80-31=49, Resulting Numbers: [13, 12, 49]
Generated Node #0,0: 48:[13, 12, 49] Operation: 80-31=49
Exploring Operation: 13+31=44, Resulting Numbers: [12, 80, 44]
Generated Node #0,1: 48:[12, 80, 44] Operation: 13+31=44
Exploring Operation: 31-13=18, Resulting Numbers: [12, 80, 18]
Generated Node #0,2: 48:[12, 80, 18] Operation: 31-13=18
Exploring Operation: 80-13=67, Resulting Numbers: [31, 12, 67]
Generated Node #0,3: 48:[31, 12, 67] Operation: 80-13=67
Exploring Operation: 80-12=68, Resulting Numbers: [13, 31, 68]
Generated Node #0,4: 48:[13, 31, 68] Operation: 80-12=68
Moving to Node #0,0
Current State: 48:[13, 12, 49], Operations: ['80-31=49']
Exploring Operation: 49-13=36, Resulting Numbers: [12, 36]
Generated Node #0,0,0: 48:[12, 36] Operation: 49-13=36
Exploring Operation: 13-12=1, Resulting Numbers: [49, 1]
Generated Node #0,0,1: 48:[49, 1] Operation: 13-12=1
Exploring Operation: 13+12=25, Resulting Numbers: [49, 25]
Generated Node #0,0,2: 48:[49, 25] Operation: 13+12=25
Exploring Operation: 13+49=62, Resulting Numbers: [12, 62]
Generated Node #0,0,3: 48:[12, 62] Operation: 13+49=62
Exploring Operation: 49-12=37, Resulting Numbers: [13, 37]
Generated Node #0,0,4: 48:[13, 37] Operation: 49-12=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[49, 1], Operations: ['80-31=49', '13-12=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[13, 31, 12, 80], Operations: []
Exploring Operation: 80-31=49, Resulting Numbers: [13, 12, 49]
Generated Node #0,0: 48:[13, 12, 49] Operation: 80-31=49
Moving to Node #0,0
Current State: 48:[13, 12, 49], Operations: ['80-31=49']
Exploring Operation: 13-12=1, Resulting Numbers: [49, 1]
Generated Node #0,0,1: 48:[49, 1] Operation: 13-12=1
Moving to Node #0,0,1
Current State: 48:[49, 1], Operations: ['80-31=49', '13-12=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
40,
38,
10,
14
] | 74 | [
"40+38=78",
"14-10=4",
"78-4=74"
] | Current State: 74:[40, 38, 10, 14], Operations: []
Exploring Operation: 40+38=78, Resulting Numbers: [10, 14, 78]
Generated Node #2: [10, 14, 78] from Operation: 40+38=78
Current State: 74:[10, 14, 78], Operations: ['40+38=78']
Exploring Operation: 14-10=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 14-10=4
Current State: 74:[78, 4], Operations: ['40+38=78', '14-10=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[40, 38, 10, 14], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [40, 38, 4]
Generated Node #0,0: 74:[40, 38, 4] Operation: 14-10=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[40, 38, 4], Operations: ['14-10=4']
Exploring Operation: 40-38=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 74:[4, 2] Operation: 40-38=2
Moving to Node #0,0,0
Current State: 74:[4, 2], Operations: ['14-10=4', '40-38=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
69,
76,
45
] | 49 | [
"69-50=19",
"76/19=4",
"45+4=49"
] | Current State: 49:[50, 69, 76, 45], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [76, 45, 19]
Generated Node #2: [76, 45, 19] from Operation: 69-50=19
Current State: 49:[76, 45, 19], Operations: ['69-50=19']
Exploring Operation: 76/19=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 76/19=4
Current State: 49:[45, 4], Operations: ['69-50=19', '76/19=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[50, 69, 76, 45], Operations: []
Exploring Operation: 76-50=26, Resulting Numbers: [69, 45, 26]
Generated Node #0,0: 49:[69, 45, 26] Operation: 76-50=26
Exploring Operation: 69-50=19, Resulting Numbers: [76, 45, 19]
Generated Node #0,1: 49:[76, 45, 19] Operation: 69-50=19
Exploring Operation: 76-45=31, Resulting Numbers: [50, 69, 31]
Generated Node #0,2: 49:[50, 69, 31] Operation: 76-45=31
Exploring Operation: 76-69=7, Resulting Numbers: [50, 45, 7]
Generated Node #0,3: 49:[50, 45, 7] Operation: 76-69=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[50, 45, 7], Operations: ['76-69=7']
Exploring Operation: 50-45=5, Resulting Numbers: [7, 5]
Generated Node #0,3,0: 49:[7, 5] Operation: 50-45=5
Exploring Operation: 50-7=43, Resulting Numbers: [45, 43]
Generated Node #0,3,1: 49:[45, 43] Operation: 50-7=43
Exploring Operation: 45+7=52, Resulting Numbers: [50, 52]
Generated Node #0,3,2: 49:[50, 52] Operation: 45+7=52
Exploring Operation: 50+7=57, Resulting Numbers: [45, 57]
Generated Node #0,3,3: 49:[45, 57] Operation: 50+7=57
Moving to Node #0,3,0
Current State: 49:[7, 5], Operations: ['76-69=7', '50-45=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[50, 52], Operations: ['76-69=7', '45+7=52']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[45, 43], Operations: ['76-69=7', '50-7=43']
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,49 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[45, 57], Operations: ['76-69=7', '50+7=57']
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,49 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No 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: 49:[50, 69, 31], Operations: ['76-45=31']
Exploring Operation: 50-31=19, Resulting Numbers: [69, 19]
Generated Node #0,2,0: 49:[69, 19] Operation: 50-31=19
Exploring Operation: 69-50=19, Resulting Numbers: [31, 19]
Generated Node #0,2,1: 49:[31, 19] Operation: 69-50=19
Exploring Operation: 50+31=81, Resulting Numbers: [69, 81]
Generated Node #0,2,2: 49:[69, 81] Operation: 50+31=81
Exploring Operation: 69-31=38, Resulting Numbers: [50, 38]
Generated Node #0,2,3: 49:[50, 38] Operation: 69-31=38
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[50, 38], Operations: ['76-45=31', '69-31=38']
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,49 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[31, 19], Operations: ['76-45=31', '69-50=19']
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,49 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[69, 19], Operations: ['76-45=31', '50-31=19']
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,49 unequal: No Solution
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[69, 81], Operations: ['76-45=31', '50+31=81']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[69, 45, 26], Operations: ['76-50=26']
Exploring Operation: 45-26=19, Resulting Numbers: [69, 19]
Generated Node #0,0,0: 49:[69, 19] Operation: 45-26=19
Exploring Operation: 45+26=71, Resulting Numbers: [69, 71]
Generated Node #0,0,1: 49:[69, 71] Operation: 45+26=71
Exploring Operation: 69-45=24, Resulting Numbers: [26, 24]
Generated Node #0,0,2: 49:[26, 24] Operation: 69-45=24
Exploring Operation: 69-26=43, Resulting Numbers: [45, 43]
Generated Node #0,0,3: 49:[45, 43] Operation: 69-26=43
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[45, 43], Operations: ['76-50=26', '69-26=43']
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,49 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[69, 19], Operations: ['76-50=26', '45-26=19']
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,49 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[26, 24], Operations: ['76-50=26', '69-45=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,49 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[69, 71], Operations: ['76-50=26', '45+26=71']
Exploring Operation: 71-69=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 69+71=140, Resulting Numbers: [140]
140,49 unequal: No Solution
Exploring Operation: 69*71=4899, Resulting Numbers: [4899]
4899,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[76, 45, 19], Operations: ['69-50=19']
Exploring Operation: 45+19=64, Resulting Numbers: [76, 64]
Generated Node #0,1,0: 49:[76, 64] Operation: 45+19=64
Exploring Operation: 76/19=4, Resulting Numbers: [45, 4]
Generated Node #0,1,1: 49:[45, 4] Operation: 76/19=4
Exploring Operation: 76-45=31, Resulting Numbers: [19, 31]
Generated Node #0,1,2: 49:[19, 31] Operation: 76-45=31
Exploring Operation: 76-19=57, Resulting Numbers: [45, 57]
Generated Node #0,1,3: 49:[45, 57] Operation: 76-19=57
Moving to Node #0,1,1
Current State: 49:[45, 4], Operations: ['69-50=19', '76/19=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[50, 69, 76, 45], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [76, 45, 19]
Generated Node #0,1: 49:[76, 45, 19] Operation: 69-50=19
Moving to Node #0,1
Current State: 49:[76, 45, 19], Operations: ['69-50=19']
Exploring Operation: 76/19=4, Resulting Numbers: [45, 4]
Generated Node #0,1,1: 49:[45, 4] Operation: 76/19=4
Moving to Node #0,1,1
Current State: 49:[45, 4], Operations: ['69-50=19', '76/19=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_4 | mult_heuristic |
[
83,
80,
6,
56
] | 54 | [
"83-80=3",
"6/3=2",
"56-2=54"
] | Current State: 54:[83, 80, 6, 56], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [6, 56, 3]
Generated Node #2: [6, 56, 3] from Operation: 83-80=3
Current State: 54:[6, 56, 3], Operations: ['83-80=3']
Exploring Operation: 6/3=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 6/3=2
Current State: 54:[56, 2], Operations: ['83-80=3', '6/3=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[83, 80, 6, 56], Operations: []
Exploring Operation: 83-6=77, Resulting Numbers: [80, 56, 77]
Generated Node #0,0: 54:[80, 56, 77] Operation: 83-6=77
Exploring Operation: 80-6=74, Resulting Numbers: [83, 56, 74]
Generated Node #0,1: 54:[83, 56, 74] Operation: 80-6=74
Exploring Operation: 83-56=27, Resulting Numbers: [80, 6, 27]
Generated Node #0,2: 54:[80, 6, 27] Operation: 83-56=27
Exploring Operation: 80-56=24, Resulting Numbers: [83, 6, 24]
Generated Node #0,3: 54:[83, 6, 24] Operation: 80-56=24
Exploring Operation: 83-80=3, Resulting Numbers: [6, 56, 3]
Generated Node #0,4: 54:[6, 56, 3] Operation: 83-80=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[6, 56, 3], Operations: ['83-80=3']
Exploring Operation: 56-3=53, Resulting Numbers: [6, 53]
Generated Node #0,4,0: 54:[6, 53] Operation: 56-3=53
Exploring Operation: 6/3=2, Resulting Numbers: [56, 2]
Generated Node #0,4,1: 54:[56, 2] Operation: 6/3=2
Exploring Operation: 6+3=9, Resulting Numbers: [56, 9]
Generated Node #0,4,2: 54:[56, 9] Operation: 6+3=9
Exploring Operation: 6*3=18, Resulting Numbers: [56, 18]
Generated Node #0,4,3: 54:[56, 18] Operation: 6*3=18
Exploring Operation: 6-3=3, Resulting Numbers: [56, 3]
Generated Node #0,4,4: 54:[56, 3] Operation: 6-3=3
Moving to Node #0,4,0
Current State: 54:[6, 53], Operations: ['83-80=3', '56-3=53']
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,54 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[56, 9], Operations: ['83-80=3', '6+3=9']
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[56, 3], Operations: ['83-80=3', '6-3=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[56, 2], Operations: ['83-80=3', '6/3=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,54 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[83, 80, 6, 56], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [6, 56, 3]
Generated Node #0,4: 54:[6, 56, 3] Operation: 83-80=3
Moving to Node #0,4
Current State: 54:[6, 56, 3], Operations: ['83-80=3']
Exploring Operation: 6/3=2, Resulting Numbers: [56, 2]
Generated Node #0,4,1: 54:[56, 2] Operation: 6/3=2
Moving to Node #0,4,1
Current State: 54:[56, 2], Operations: ['83-80=3', '6/3=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
90,
69,
36,
93
] | 81 | [
"93-90=3",
"36/3=12",
"69+12=81"
] | Current State: 81:[90, 69, 36, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [69, 36, 3]
Generated Node #2: [69, 36, 3] from Operation: 93-90=3
Current State: 81:[69, 36, 3], Operations: ['93-90=3']
Exploring Operation: 36/3=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 36/3=12
Current State: 81:[69, 12], Operations: ['93-90=3', '36/3=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[90, 69, 36, 93], Operations: []
Exploring Operation: 69-36=33, Resulting Numbers: [90, 93, 33]
Generated Node #0,0: 81:[90, 93, 33] Operation: 69-36=33
Exploring Operation: 90-69=21, Resulting Numbers: [36, 93, 21]
Generated Node #0,1: 81:[36, 93, 21] Operation: 90-69=21
Exploring Operation: 93-90=3, Resulting Numbers: [69, 36, 3]
Generated Node #0,2: 81:[69, 36, 3] Operation: 93-90=3
Exploring Operation: 93-69=24, Resulting Numbers: [90, 36, 24]
Generated Node #0,3: 81:[90, 36, 24] Operation: 93-69=24
Moving to Node #0,2
Current State: 81:[69, 36, 3], Operations: ['93-90=3']
Exploring Operation: 69/3=23, Resulting Numbers: [36, 23]
Generated Node #0,2,0: 81:[36, 23] Operation: 69/3=23
Exploring Operation: 69+3=72, Resulting Numbers: [36, 72]
Generated Node #0,2,1: 81:[36, 72] Operation: 69+3=72
Exploring Operation: 69-36=33, Resulting Numbers: [3, 33]
Generated Node #0,2,2: 81:[3, 33] Operation: 69-36=33
Exploring Operation: 36/3=12, Resulting Numbers: [69, 12]
Generated Node #0,2,3: 81:[69, 12] Operation: 36/3=12
Moving to Node #0,3
Current State: 81:[90, 36, 24], Operations: ['93-69=24']
Exploring Operation: 90-36=54, Resulting Numbers: [24, 54]
Generated Node #0,3,0: 81:[24, 54] Operation: 90-36=54
Exploring Operation: 36+24=60, Resulting Numbers: [90, 60]
Generated Node #0,3,1: 81:[90, 60] Operation: 36+24=60
Exploring Operation: 90-24=66, Resulting Numbers: [36, 66]
Generated Node #0,3,2: 81:[36, 66] Operation: 90-24=66
Exploring Operation: 36-24=12, Resulting Numbers: [90, 12]
Generated Node #0,3,3: 81:[90, 12] Operation: 36-24=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[90, 12], Operations: ['93-69=24', '36-24=12']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,81 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[36, 66], Operations: ['93-69=24', '90-24=66']
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[24, 54], Operations: ['93-69=24', '90-36=54']
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[90, 60], Operations: ['93-69=24', '36+24=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,81 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,81 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,81 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: 81:[36, 93, 21], Operations: ['90-69=21']
Exploring Operation: 93-21=72, Resulting Numbers: [36, 72]
Generated Node #0,1,0: 81:[36, 72] Operation: 93-21=72
Exploring Operation: 36+21=57, Resulting Numbers: [93, 57]
Generated Node #0,1,1: 81:[93, 57] Operation: 36+21=57
Exploring Operation: 93-36=57, Resulting Numbers: [21, 57]
Generated Node #0,1,2: 81:[21, 57] Operation: 93-36=57
Exploring Operation: 36-21=15, Resulting Numbers: [93, 15]
Generated Node #0,1,3: 81:[93, 15] Operation: 36-21=15
Moving to Node #0,0
Current State: 81:[90, 93, 33], Operations: ['69-36=33']
Exploring Operation: 90+33=123, Resulting Numbers: [93, 123]
Generated Node #0,0,0: 81:[93, 123] Operation: 90+33=123
Exploring Operation: 93-33=60, Resulting Numbers: [90, 60]
Generated Node #0,0,1: 81:[90, 60] Operation: 93-33=60
Exploring Operation: 90-33=57, Resulting Numbers: [93, 57]
Generated Node #0,0,2: 81:[93, 57] Operation: 90-33=57
Exploring Operation: 93-90=3, Resulting Numbers: [33, 3]
Generated Node #0,0,3: 81:[33, 3] Operation: 93-90=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[33, 3], Operations: ['69-36=33', '93-90=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[90, 60], Operations: ['69-36=33', '93-33=60']
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,81 unequal: No Solution
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,81 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[93, 57], Operations: ['69-36=33', '90-33=57']
Exploring Operation: 93+57=150, Resulting Numbers: [150]
150,81 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 93*57=5301, Resulting Numbers: [5301]
5301,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[93, 123], Operations: ['69-36=33', '90+33=123']
Exploring Operation: 93+123=216, Resulting Numbers: [216]
216,81 unequal: No Solution
Exploring Operation: 123-93=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 93*123=11439, Resulting Numbers: [11439]
11439,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 81:[3, 33], Operations: ['93-90=3', '69-36=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[36, 23], Operations: ['93-90=3', '69/3=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[69, 12], Operations: ['93-90=3', '36/3=12']
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,81 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[90, 69, 36, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [69, 36, 3]
Generated Node #0,2: 81:[69, 36, 3] Operation: 93-90=3
Moving to Node #0,2
Current State: 81:[69, 36, 3], Operations: ['93-90=3']
Exploring Operation: 36/3=12, Resulting Numbers: [69, 12]
Generated Node #0,2,3: 81:[69, 12] Operation: 36/3=12
Moving to Node #0,2,3
Current State: 81:[69, 12], Operations: ['93-90=3', '36/3=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
88,
9,
97,
20
] | 75 | [
"97+20=117",
"117/9=13",
"88-13=75"
] | Current State: 75:[88, 9, 97, 20], Operations: []
Exploring Operation: 97+20=117, Resulting Numbers: [88, 9, 117]
Generated Node #2: [88, 9, 117] from Operation: 97+20=117
Current State: 75:[88, 9, 117], Operations: ['97+20=117']
Exploring Operation: 117/9=13, Resulting Numbers: [88, 13]
Generated Node #3: [88, 13] from Operation: 117/9=13
Current State: 75:[88, 13], Operations: ['97+20=117', '117/9=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[88, 9, 97, 20], Operations: []
Exploring Operation: 88-9=79, Resulting Numbers: [97, 20, 79]
Generated Node #0,0: 75:[97, 20, 79] Operation: 88-9=79
Exploring Operation: 97-9=88, Resulting Numbers: [88, 20, 88]
Generated Node #0,1: 75:[88, 20, 88] Operation: 97-9=88
Exploring Operation: 97-88=9, Resulting Numbers: [9, 20, 9]
Generated Node #0,2: 75:[9, 20, 9] Operation: 97-88=9
Exploring Operation: 97-20=77, Resulting Numbers: [88, 9, 77]
Generated Node #0,3: 75:[88, 9, 77] Operation: 97-20=77
Moving to Node #0,2
Current State: 75:[9, 20, 9], Operations: ['97-88=9']
Exploring Operation: 20-9=11, Resulting Numbers: [9, 11]
Generated Node #0,2,0: 75:[9, 11] Operation: 20-9=11
Exploring Operation: 9/9=1, Resulting Numbers: [20, 1]
Generated Node #0,2,1: 75:[20, 1] Operation: 9/9=1
Exploring Operation: 9+20=29, Resulting Numbers: [9, 29]
Generated Node #0,2,2: 75:[9, 29] Operation: 9+20=29
Exploring Operation: 9+9=18, Resulting Numbers: [20, 18]
Generated Node #0,2,3: 75:[20, 18] Operation: 9+9=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[20, 1], Operations: ['97-88=9', '9/9=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[9, 11], Operations: ['97-88=9', '20-9=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[9, 29], Operations: ['97-88=9', '9+20=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,75 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[20, 18], Operations: ['97-88=9', '9+9=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,75 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,75 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: 75:[88, 9, 77], Operations: ['97-20=77']
Exploring Operation: 88+9=97, Resulting Numbers: [77, 97]
Generated Node #0,3,0: 75:[77, 97] Operation: 88+9=97
Exploring Operation: 88-77=11, Resulting Numbers: [9, 11]
Generated Node #0,3,1: 75:[9, 11] Operation: 88-77=11
Exploring Operation: 77-9=68, Resulting Numbers: [88, 68]
Generated Node #0,3,2: 75:[88, 68] Operation: 77-9=68
Exploring Operation: 88-9=79, Resulting Numbers: [77, 79]
Generated Node #0,3,3: 75:[77, 79] Operation: 88-9=79
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[77, 79], Operations: ['97-20=77', '88-9=79']
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,75 unequal: No Solution
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[9, 11], Operations: ['97-20=77', '88-77=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[88, 68], Operations: ['97-20=77', '77-9=68']
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,75 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[77, 97], Operations: ['97-20=77', '88+9=97']
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,75 unequal: No Solution
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[88, 20, 88], Operations: ['97-9=88']
Exploring Operation: 88-20=68, Resulting Numbers: [88, 68]
Generated Node #0,1,0: 75:[88, 68] Operation: 88-20=68
Exploring Operation: 88/88=1, Resulting Numbers: [20, 1]
Generated Node #0,1,1: 75:[20, 1] Operation: 88/88=1
Exploring Operation: 88-20=68, Resulting Numbers: [88, 68]
Generated Node #0,1,2: 75:[88, 68] Operation: 88-20=68
Exploring Operation: 88-88=0, Resulting Numbers: [20, 0]
Generated Node #0,1,3: 75:[20, 0] Operation: 88-88=0
Moving to Node #0,0
Current State: 75:[97, 20, 79], Operations: ['88-9=79']
Exploring Operation: 97+20=117, Resulting Numbers: [79, 117]
Generated Node #0,0,0: 75:[79, 117] Operation: 97+20=117
Exploring Operation: 97-79=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 75:[20, 18] Operation: 97-79=18
Exploring Operation: 79-20=59, Resulting Numbers: [97, 59]
Generated Node #0,0,2: 75:[97, 59] Operation: 79-20=59
Exploring Operation: 97-20=77, Resulting Numbers: [79, 77]
Generated Node #0,0,3: 75:[79, 77] Operation: 97-20=77
Moving to Node #0,0,3
Current State: 75:[79, 77], Operations: ['88-9=79', '97-20=77']
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 79+77=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 79*77=6083, Resulting Numbers: [6083]
6083,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[20, 1], Operations: ['97-9=88', '88/88=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[20, 18], Operations: ['88-9=79', '97-79=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,75 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[20, 0], Operations: ['97-9=88', '88-88=0']
Exploring Operation: 20-0=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 20+0=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 20*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[88, 68], Operations: ['97-9=88', '88-20=68']
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[88, 68], Operations: ['97-9=88', '88-20=68']
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[97, 59], Operations: ['88-9=79', '79-20=59']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 97*59=5723, Resulting Numbers: [5723]
5723,75 unequal: No Solution
Exploring Operation: 97+59=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[79, 117], Operations: ['88-9=79', '97+20=117']
Exploring Operation: 79*117=9243, Resulting Numbers: [9243]
9243,75 unequal: No Solution
Exploring Operation: 117-79=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 79+117=196, Resulting Numbers: [196]
196,75 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
35,
30,
65
] | 15 | [
"10+65=75",
"35-30=5",
"75/5=15"
] | Current State: 15:[10, 35, 30, 65], Operations: []
Exploring Operation: 10+65=75, Resulting Numbers: [35, 30, 75]
Generated Node #2: [35, 30, 75] from Operation: 10+65=75
Current State: 15:[35, 30, 75], Operations: ['10+65=75']
Exploring Operation: 35-30=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 35-30=5
Current State: 15:[75, 5], Operations: ['10+65=75', '35-30=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[10, 35, 30, 65], Operations: []
Exploring Operation: 65-30=35, Resulting Numbers: [10, 35, 35]
Generated Node #0,0: 15:[10, 35, 35] Operation: 65-30=35
Exploring Operation: 30/10=3, Resulting Numbers: [35, 65, 3]
Generated Node #0,1: 15:[35, 65, 3] Operation: 30/10=3
Exploring Operation: 35-30=5, Resulting Numbers: [10, 65, 5]
Generated Node #0,2: 15:[10, 65, 5] Operation: 35-30=5
Exploring Operation: 65-35=30, Resulting Numbers: [10, 30, 30]
Generated Node #0,3: 15:[10, 30, 30] Operation: 65-35=30
Exploring Operation: 35-10=25, Resulting Numbers: [30, 65, 25]
Generated Node #0,4: 15:[30, 65, 25] Operation: 35-10=25
Moving to Node #0,3
Current State: 15:[10, 30, 30], Operations: ['65-35=30']
Exploring Operation: 30-10=20, Resulting Numbers: [30, 20]
Generated Node #0,3,0: 15:[30, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 15:[30, 3] Operation: 30/10=3
Exploring Operation: 30/30=1, Resulting Numbers: [10, 1]
Generated Node #0,3,2: 15:[10, 1] Operation: 30/30=1
Exploring Operation: 30/10=3, Resulting Numbers: [30, 3]
Generated Node #0,3,3: 15:[30, 3] Operation: 30/10=3
Exploring Operation: 30-30=0, Resulting Numbers: [10, 0]
Generated Node #0,3,4: 15:[10, 0] Operation: 30-30=0
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[10, 1], Operations: ['65-35=30', '30/30=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 15:[10, 0], Operations: ['65-35=30', '30-30=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 15:[30, 3], Operations: ['65-35=30', '30/10=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[30, 3], Operations: ['65-35=30', '30/10=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[30, 20], Operations: ['65-35=30', '30-10=20']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,15 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 15:[10, 35, 35], Operations: ['65-30=35']
Exploring Operation: 35-35=0, Resulting Numbers: [10, 0]
Generated Node #0,0,0: 15:[10, 0] Operation: 35-35=0
Exploring Operation: 10+35=45, Resulting Numbers: [35, 45]
Generated Node #0,0,1: 15:[35, 45] Operation: 10+35=45
Exploring Operation: 35-10=25, Resulting Numbers: [35, 25]
Generated Node #0,0,2: 15:[35, 25] Operation: 35-10=25
Exploring Operation: 35/35=1, Resulting Numbers: [10, 1]
Generated Node #0,0,3: 15:[10, 1] Operation: 35/35=1
Exploring Operation: 35-10=25, Resulting Numbers: [35, 25]
Generated Node #0,0,4: 15:[35, 25] Operation: 35-10=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[10, 1], Operations: ['65-30=35', '35/35=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[10, 0], Operations: ['65-30=35', '35-35=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[35, 25], Operations: ['65-30=35', '35-10=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,15 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 15:[35, 25], Operations: ['65-30=35', '35-10=25']
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,15 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[35, 45], Operations: ['65-30=35', '10+35=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,15 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 15:[10, 65, 5], Operations: ['35-30=5']
Exploring Operation: 65-10=55, Resulting Numbers: [5, 55]
Generated Node #0,2,0: 15:[5, 55] Operation: 65-10=55
Exploring Operation: 65/5=13, Resulting Numbers: [10, 13]
Generated Node #0,2,1: 15:[10, 13] Operation: 65/5=13
Exploring Operation: 10+5=15, Resulting Numbers: [65, 15]
Generated Node #0,2,2: 15:[65, 15] Operation: 10+5=15
Exploring Operation: 65-5=60, Resulting Numbers: [10, 60]
Generated Node #0,2,3: 15:[10, 60] Operation: 65-5=60
Exploring Operation: 10-5=5, Resulting Numbers: [65, 5]
Generated Node #0,2,4: 15:[65, 5] Operation: 10-5=5
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[10, 13], Operations: ['35-30=5', '65/5=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,15 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[5, 55], Operations: ['35-30=5', '65-10=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,15 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[65, 15], Operations: ['35-30=5', '10+5=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,15 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[10, 60], Operations: ['35-30=5', '65-5=60']
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,15 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 15:[65, 5], Operations: ['35-30=5', '10-5=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,15 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[35, 65, 3], Operations: ['30/10=3']
Exploring Operation: 65-3=62, Resulting Numbers: [35, 62]
Generated Node #0,1,0: 15:[35, 62] Operation: 65-3=62
Exploring Operation: 35-3=32, Resulting Numbers: [65, 32]
Generated Node #0,1,1: 15:[65, 32] Operation: 35-3=32
Exploring Operation: 35+3=38, Resulting Numbers: [65, 38]
Generated Node #0,1,2: 15:[65, 38] Operation: 35+3=38
Exploring Operation: 65-35=30, Resulting Numbers: [3, 30]
Generated Node #0,1,3: 15:[3, 30] Operation: 65-35=30
Exploring Operation: 65+3=68, Resulting Numbers: [35, 68]
Generated Node #0,1,4: 15:[35, 68] Operation: 65+3=68
Moving to Node #0,4
Current State: 15:[30, 65, 25], Operations: ['35-10=25']
Exploring Operation: 30+25=55, Resulting Numbers: [65, 55]
Generated Node #0,4,0: 15:[65, 55] Operation: 30+25=55
Exploring Operation: 30+65=95, Resulting Numbers: [25, 95]
Generated Node #0,4,1: 15:[25, 95] Operation: 30+65=95
Exploring Operation: 65-25=40, Resulting Numbers: [30, 40]
Generated Node #0,4,2: 15:[30, 40] Operation: 65-25=40
Exploring Operation: 30-25=5, Resulting Numbers: [65, 5]
Generated Node #0,4,3: 15:[65, 5] Operation: 30-25=5
Exploring Operation: 65-30=35, Resulting Numbers: [25, 35]
Generated Node #0,4,4: 15:[25, 35] Operation: 65-30=35
Moving to Node #0,1,3
Current State: 15:[3, 30], Operations: ['30/10=3', '65-35=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Moving to Node #0,4,4
Current State: 15:[25, 35], Operations: ['35-10=25', '65-30=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,15 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[30, 40], Operations: ['35-10=25', '65-25=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[65, 5], Operations: ['35-10=25', '30-25=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,15 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[65, 32], Operations: ['30/10=3', '35-3=32']
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,15 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[35, 62], Operations: ['30/10=3', '65-3=62']
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,15 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,15 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[35, 68], Operations: ['30/10=3', '65+3=68']
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,15 unequal: No Solution
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[65, 38], Operations: ['30/10=3', '35+3=38']
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,15 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[25, 95], Operations: ['35-10=25', '30+65=95']
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,15 unequal: No Solution
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,15 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Moving to Node #0,4,0
Current State: 15:[65, 55], Operations: ['35-10=25', '30+25=55']
Exploring Operation: 65+55=120, Resulting Numbers: [120]
120,15 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 65*55=3575, Resulting Numbers: [3575]
3575,15 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
66,
38,
46
] | 83 | [
"9+66=75",
"46-38=8",
"75+8=83"
] | Current State: 83:[9, 66, 38, 46], Operations: []
Exploring Operation: 9+66=75, Resulting Numbers: [38, 46, 75]
Generated Node #2: [38, 46, 75] from Operation: 9+66=75
Current State: 83:[38, 46, 75], Operations: ['9+66=75']
Exploring Operation: 46-38=8, Resulting Numbers: [75, 8]
Generated Node #3: [75, 8] from Operation: 46-38=8
Current State: 83:[75, 8], Operations: ['9+66=75', '46-38=8']
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[9, 66, 38, 46], Operations: []
Exploring Operation: 66-9=57, Resulting Numbers: [38, 46, 57]
Generated Node #0,0: 83:[38, 46, 57] Operation: 66-9=57
Exploring Operation: 9+46=55, Resulting Numbers: [66, 38, 55]
Generated Node #0,1: 83:[66, 38, 55] Operation: 9+46=55
Exploring Operation: 9+66=75, Resulting Numbers: [38, 46, 75]
Generated Node #0,2: 83:[38, 46, 75] Operation: 9+66=75
Exploring Operation: 38+46=84, Resulting Numbers: [9, 66, 84]
Generated Node #0,3: 83:[9, 66, 84] Operation: 38+46=84
Exploring Operation: 9+38=47, Resulting Numbers: [66, 46, 47]
Generated Node #0,4: 83:[66, 46, 47] Operation: 9+38=47
Moving to Node #0,1
Current State: 83:[66, 38, 55], Operations: ['9+46=55']
Exploring Operation: 66+55=121, Resulting Numbers: [38, 121]
Generated Node #0,1,0: 83:[38, 121] Operation: 66+55=121
Exploring Operation: 55-38=17, Resulting Numbers: [66, 17]
Generated Node #0,1,1: 83:[66, 17] Operation: 55-38=17
Exploring Operation: 66-38=28, Resulting Numbers: [55, 28]
Generated Node #0,1,2: 83:[55, 28] Operation: 66-38=28
Exploring Operation: 66+38=104, Resulting Numbers: [55, 104]
Generated Node #0,1,3: 83:[55, 104] Operation: 66+38=104
Exploring Operation: 38+55=93, Resulting Numbers: [66, 93]
Generated Node #0,1,4: 83:[66, 93] Operation: 38+55=93
Moving to Node #0,4
Current State: 83:[66, 46, 47], Operations: ['9+38=47']
Exploring Operation: 47-46=1, Resulting Numbers: [66, 1]
Generated Node #0,4,0: 83:[66, 1] Operation: 47-46=1
Exploring Operation: 46+47=93, Resulting Numbers: [66, 93]
Generated Node #0,4,1: 83:[66, 93] Operation: 46+47=93
Exploring Operation: 66+46=112, Resulting Numbers: [47, 112]
Generated Node #0,4,2: 83:[47, 112] Operation: 66+46=112
Exploring Operation: 66-46=20, Resulting Numbers: [47, 20]
Generated Node #0,4,3: 83:[47, 20] Operation: 66-46=20
Exploring Operation: 66+47=113, Resulting Numbers: [46, 113]
Generated Node #0,4,4: 83:[46, 113] Operation: 66+47=113
Moving to Node #0,2
Current State: 83:[38, 46, 75], Operations: ['9+66=75']
Exploring Operation: 46+75=121, Resulting Numbers: [38, 121]
Generated Node #0,2,0: 83:[38, 121] Operation: 46+75=121
Exploring Operation: 38+46=84, Resulting Numbers: [75, 84]
Generated Node #0,2,1: 83:[75, 84] Operation: 38+46=84
Exploring Operation: 75-38=37, Resulting Numbers: [46, 37]
Generated Node #0,2,2: 83:[46, 37] Operation: 75-38=37
Exploring Operation: 46-38=8, Resulting Numbers: [75, 8]
Generated Node #0,2,3: 83:[75, 8] Operation: 46-38=8
Exploring Operation: 38+75=113, Resulting Numbers: [46, 113]
Generated Node #0,2,4: 83:[46, 113] Operation: 38+75=113
Moving to Node #0,3
Current State: 83:[9, 66, 84], Operations: ['38+46=84']
Exploring Operation: 84-66=18, Resulting Numbers: [9, 18]
Generated Node #0,3,0: 83:[9, 18] Operation: 84-66=18
Exploring Operation: 84-9=75, Resulting Numbers: [66, 75]
Generated Node #0,3,1: 83:[66, 75] Operation: 84-9=75
Exploring Operation: 9+66=75, Resulting Numbers: [84, 75]
Generated Node #0,3,2: 83:[84, 75] Operation: 9+66=75
Exploring Operation: 66-9=57, Resulting Numbers: [84, 57]
Generated Node #0,3,3: 83:[84, 57] Operation: 66-9=57
Exploring Operation: 9+84=93, Resulting Numbers: [66, 93]
Generated Node #0,3,4: 83:[66, 93] Operation: 9+84=93
Moving to Node #0,0
Current State: 83:[38, 46, 57], Operations: ['66-9=57']
Exploring Operation: 46+57=103, Resulting Numbers: [38, 103]
Generated Node #0,0,0: 83:[38, 103] Operation: 46+57=103
Exploring Operation: 38+57=95, Resulting Numbers: [46, 95]
Generated Node #0,0,1: 83:[46, 95] Operation: 38+57=95
Exploring Operation: 38+46=84, Resulting Numbers: [57, 84]
Generated Node #0,0,2: 83:[57, 84] Operation: 38+46=84
Exploring Operation: 46-38=8, Resulting Numbers: [57, 8]
Generated Node #0,0,3: 83:[57, 8] Operation: 46-38=8
Exploring Operation: 57-38=19, Resulting Numbers: [46, 19]
Generated Node #0,0,4: 83:[46, 19] Operation: 57-38=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[57, 84], Operations: ['66-9=57', '38+46=84']
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,83 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,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:[46, 95], Operations: ['66-9=57', '38+57=95']
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,83 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[38, 103], Operations: ['66-9=57', '46+57=103']
Exploring Operation: 38*103=3914, Resulting Numbers: [3914]
3914,83 unequal: No Solution
Exploring Operation: 103-38=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 38+103=141, Resulting Numbers: [141]
141,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:[57, 8], Operations: ['66-9=57', '46-38=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,83 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,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,4
Current State: 83:[46, 19], Operations: ['66-9=57', '57-38=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,83 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 83:[75, 84], Operations: ['9+66=75', '38+46=84']
Exploring Operation: 75*84=6300, Resulting Numbers: [6300]
6300,83 unequal: No Solution
Exploring Operation: 75+84=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[84, 75], Operations: ['38+46=84', '9+66=75']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[66, 75], Operations: ['38+46=84', '84-9=75']
Exploring Operation: 66*75=4950, Resulting Numbers: [4950]
4950,83 unequal: No Solution
Exploring Operation: 66+75=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[66, 93], Operations: ['9+38=47', '46+47=93']
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,83 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[84, 57], Operations: ['38+46=84', '66-9=57']
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,83 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[66, 93], Operations: ['38+46=84', '9+84=93']
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,83 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[66, 93], Operations: ['9+46=55', '38+55=93']
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,83 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[55, 104], Operations: ['9+46=55', '66+38=104']
Exploring Operation: 55*104=5720, Resulting Numbers: [5720]
5720,83 unequal: No Solution
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 55+104=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[47, 112], Operations: ['9+38=47', '66+46=112']
Exploring Operation: 112-47=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 47+112=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 47*112=5264, Resulting Numbers: [5264]
5264,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[46, 113], Operations: ['9+66=75', '38+75=113']
Exploring Operation: 46*113=5198, Resulting Numbers: [5198]
5198,83 unequal: No Solution
Exploring Operation: 113-46=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 46+113=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[46, 113], Operations: ['9+38=47', '66+47=113']
Exploring Operation: 46+113=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 46*113=5198, Resulting Numbers: [5198]
5198,83 unequal: No Solution
Exploring Operation: 113-46=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[75, 8], Operations: ['9+66=75', '46-38=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,83 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[9, 66, 38, 46], Operations: []
Exploring Operation: 9+66=75, Resulting Numbers: [38, 46, 75]
Generated Node #0,2: 83:[38, 46, 75] Operation: 9+66=75
Moving to Node #0,2
Current State: 83:[38, 46, 75], Operations: ['9+66=75']
Exploring Operation: 46-38=8, Resulting Numbers: [75, 8]
Generated Node #0,2,3: 83:[75, 8] Operation: 46-38=8
Moving to Node #0,2,3
Current State: 83:[75, 8], Operations: ['9+66=75', '46-38=8']
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
61,
88,
2,
67
] | 100 | [
"67-61=6",
"2*6=12",
"88+12=100"
] | Current State: 100:[61, 88, 2, 67], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [88, 2, 6]
Generated Node #2: [88, 2, 6] from Operation: 67-61=6
Current State: 100:[88, 2, 6], Operations: ['67-61=6']
Exploring Operation: 2*6=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 2*6=12
Current State: 100:[88, 12], Operations: ['67-61=6', '2*6=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[61, 88, 2, 67], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [61, 2, 21]
Generated Node #0,0: 100:[61, 2, 21] Operation: 88-67=21
Exploring Operation: 67-61=6, Resulting Numbers: [88, 2, 6]
Generated Node #0,1: 100:[88, 2, 6] Operation: 67-61=6
Exploring Operation: 88/2=44, Resulting Numbers: [61, 67, 44]
Generated Node #0,2: 100:[61, 67, 44] Operation: 88/2=44
Exploring Operation: 88-61=27, Resulting Numbers: [2, 67, 27]
Generated Node #0,3: 100:[2, 67, 27] Operation: 88-61=27
Moving to Node #0,0
Current State: 100:[61, 2, 21], Operations: ['88-67=21']
Exploring Operation: 61-2=59, Resulting Numbers: [21, 59]
Generated Node #0,0,0: 100:[21, 59] Operation: 61-2=59
Exploring Operation: 2+21=23, Resulting Numbers: [61, 23]
Generated Node #0,0,1: 100:[61, 23] Operation: 2+21=23
Exploring Operation: 21-2=19, Resulting Numbers: [61, 19]
Generated Node #0,0,2: 100:[61, 19] Operation: 21-2=19
Exploring Operation: 61-21=40, Resulting Numbers: [2, 40]
Generated Node #0,0,3: 100:[2, 40] Operation: 61-21=40
Moving to Node #0,1
Current State: 100:[88, 2, 6], Operations: ['67-61=6']
Exploring Operation: 88+6=94, Resulting Numbers: [2, 94]
Generated Node #0,1,0: 100:[2, 94] Operation: 88+6=94
Exploring Operation: 88+2=90, Resulting Numbers: [6, 90]
Generated Node #0,1,1: 100:[6, 90] Operation: 88+2=90
Exploring Operation: 88/2=44, Resulting Numbers: [6, 44]
Generated Node #0,1,2: 100:[6, 44] Operation: 88/2=44
Exploring Operation: 6-2=4, Resulting Numbers: [88, 4]
Generated Node #0,1,3: 100:[88, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[2, 94], Operations: ['67-61=6', '88+6=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,100 unequal: No Solution
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[6, 44], Operations: ['67-61=6', '88/2=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,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,1
Current State: 100:[6, 90], Operations: ['67-61=6', '88+2=90']
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,100 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,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,3
Current State: 100:[88, 4], Operations: ['67-61=6', '6-2=4']
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,100 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 100:[2, 67, 27], Operations: ['88-61=27']
Exploring Operation: 27-2=25, Resulting Numbers: [67, 25]
Generated Node #0,3,0: 100:[67, 25] Operation: 27-2=25
Exploring Operation: 67+27=94, Resulting Numbers: [2, 94]
Generated Node #0,3,1: 100:[2, 94] Operation: 67+27=94
Exploring Operation: 67-2=65, Resulting Numbers: [27, 65]
Generated Node #0,3,2: 100:[27, 65] Operation: 67-2=65
Exploring Operation: 67-27=40, Resulting Numbers: [2, 40]
Generated Node #0,3,3: 100:[2, 40] Operation: 67-27=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[2, 94], Operations: ['88-61=27', '67+27=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,100 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[2, 40], Operations: ['88-61=27', '67-27=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[67, 25], Operations: ['88-61=27', '27-2=25']
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,100 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,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,2
Current State: 100:[27, 65], Operations: ['88-61=27', '67-2=65']
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,100 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,100 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: 100:[61, 67, 44], Operations: ['88/2=44']
Exploring Operation: 61+44=105, Resulting Numbers: [67, 105]
Generated Node #0,2,0: 100:[67, 105] Operation: 61+44=105
Exploring Operation: 67-44=23, Resulting Numbers: [61, 23]
Generated Node #0,2,1: 100:[61, 23] Operation: 67-44=23
Exploring Operation: 67-61=6, Resulting Numbers: [44, 6]
Generated Node #0,2,2: 100:[44, 6] Operation: 67-61=6
Exploring Operation: 61-44=17, Resulting Numbers: [67, 17]
Generated Node #0,2,3: 100:[67, 17] Operation: 61-44=17
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[44, 6], Operations: ['88/2=44', '67-61=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[61, 23], Operations: ['88/2=44', '67-44=23']
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,100 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[67, 17], Operations: ['88/2=44', '61-44=17']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,100 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[67, 105], Operations: ['88/2=44', '61+44=105']
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,100 unequal: No Solution
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 100:[21, 59], Operations: ['88-67=21', '61-2=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[2, 40], Operations: ['88-67=21', '61-21=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[61, 19], Operations: ['88-67=21', '21-2=19']
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,100 unequal: No Solution
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[61, 23], Operations: ['88-67=21', '2+21=23']
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,100 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,100 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
43,
31,
93
] | 78 | [
"3+43=46",
"31+93=124",
"124-46=78"
] | Current State: 78:[3, 43, 31, 93], Operations: []
Exploring Operation: 3+43=46, Resulting Numbers: [31, 93, 46]
Generated Node #2: [31, 93, 46] from Operation: 3+43=46
Current State: 78:[31, 93, 46], Operations: ['3+43=46']
Exploring Operation: 31+93=124, Resulting Numbers: [46, 124]
Generated Node #3: [46, 124] from Operation: 31+93=124
Current State: 78:[46, 124], Operations: ['3+43=46', '31+93=124']
Exploring Operation: 124-46=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[3, 43, 31, 93], Operations: []
Exploring Operation: 43+31=74, Resulting Numbers: [3, 93, 74]
Generated Node #0,0: 78:[3, 93, 74] Operation: 43+31=74
Exploring Operation: 93/3=31, Resulting Numbers: [43, 31, 31]
Generated Node #0,1: 78:[43, 31, 31] Operation: 93/3=31
Exploring Operation: 93/31=3, Resulting Numbers: [3, 43, 3]
Generated Node #0,2: 78:[3, 43, 3] Operation: 93/31=3
Exploring Operation: 93-43=50, Resulting Numbers: [3, 31, 50]
Generated Node #0,3: 78:[3, 31, 50] Operation: 93-43=50
Exploring Operation: 43-31=12, Resulting Numbers: [3, 93, 12]
Generated Node #0,4: 78:[3, 93, 12] Operation: 43-31=12
Moving to Node #0,2
Current State: 78:[3, 43, 3], Operations: ['93/31=3']
Exploring Operation: 3-3=0, Resulting Numbers: [43, 0]
Generated Node #0,2,0: 78:[43, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [43, 1]
Generated Node #0,2,1: 78:[43, 1] Operation: 3/3=1
Exploring Operation: 43-3=40, Resulting Numbers: [3, 40]
Generated Node #0,2,2: 78:[3, 40] Operation: 43-3=40
Exploring Operation: 3+3=6, Resulting Numbers: [43, 6]
Generated Node #0,2,3: 78:[43, 6] Operation: 3+3=6
Exploring Operation: 43-3=40, Resulting Numbers: [3, 40]
Generated Node #0,2,4: 78:[3, 40] Operation: 43-3=40
Moving to Node #0,1
Current State: 78:[43, 31, 31], Operations: ['93/3=31']
Exploring Operation: 43+31=74, Resulting Numbers: [31, 74]
Generated Node #0,1,0: 78:[31, 74] Operation: 43+31=74
Exploring Operation: 43-31=12, Resulting Numbers: [31, 12]
Generated Node #0,1,1: 78:[31, 12] Operation: 43-31=12
Exploring Operation: 31-31=0, Resulting Numbers: [43, 0]
Generated Node #0,1,2: 78:[43, 0] Operation: 31-31=0
Exploring Operation: 31/31=1, Resulting Numbers: [43, 1]
Generated Node #0,1,3: 78:[43, 1] Operation: 31/31=1
Exploring Operation: 43-31=12, Resulting Numbers: [31, 12]
Generated Node #0,1,4: 78:[31, 12] Operation: 43-31=12
Moving to Node #0,3
Current State: 78:[3, 31, 50], Operations: ['93-43=50']
Exploring Operation: 3+31=34, Resulting Numbers: [50, 34]
Generated Node #0,3,0: 78:[50, 34] Operation: 3+31=34
Exploring Operation: 31+50=81, Resulting Numbers: [3, 81]
Generated Node #0,3,1: 78:[3, 81] Operation: 31+50=81
Exploring Operation: 31-3=28, Resulting Numbers: [50, 28]
Generated Node #0,3,2: 78:[50, 28] Operation: 31-3=28
Exploring Operation: 50-3=47, Resulting Numbers: [31, 47]
Generated Node #0,3,3: 78:[31, 47] Operation: 50-3=47
Exploring Operation: 50-31=19, Resulting Numbers: [3, 19]
Generated Node #0,3,4: 78:[3, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[3, 81], Operations: ['93-43=50', '31+50=81']
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 3*81=243, Resulting Numbers: [243]
243,78 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[3, 43, 31, 93], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [3, 31, 50]
Generated Node #0,3: 78:[3, 31, 50] Operation: 93-43=50
Moving to Node #0,3
Current State: 78:[3, 31, 50], Operations: ['93-43=50']
Exploring Operation: 31+50=81, Resulting Numbers: [3, 81]
Generated Node #0,3,1: 78:[3, 81] Operation: 31+50=81
Moving to Node #0,3,1
Current State: 78:[3, 81], Operations: ['93-43=50', '31+50=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
72,
59,
70,
69
] | 79 | [
"72-70=2",
"69*2=138",
"138-59=79"
] | Current State: 79:[72, 59, 70, 69], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [59, 69, 2]
Generated Node #2: [59, 69, 2] from Operation: 72-70=2
Current State: 79:[59, 69, 2], Operations: ['72-70=2']
Exploring Operation: 69*2=138, Resulting Numbers: [59, 138]
Generated Node #3: [59, 138] from Operation: 69*2=138
Current State: 79:[59, 138], Operations: ['72-70=2', '69*2=138']
Exploring Operation: 138-59=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[72, 59, 70, 69], Operations: []
Exploring Operation: 59+69=128, Resulting Numbers: [72, 70, 128]
Generated Node #0,0: 79:[72, 70, 128] Operation: 59+69=128
Exploring Operation: 59+70=129, Resulting Numbers: [72, 69, 129]
Generated Node #0,1: 79:[72, 69, 129] Operation: 59+70=129
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[72, 70, 128], Operations: ['59+69=128']
Exploring Operation: 128-72=56, Resulting Numbers: [70, 56]
Generated Node #0,0,0: 79:[70, 56] Operation: 128-72=56
Exploring Operation: 128-70=58, Resulting Numbers: [72, 58]
Generated Node #0,0,1: 79:[72, 58] Operation: 128-70=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[72, 58], Operations: ['59+69=128', '128-70=58']
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[70, 56], Operations: ['59+69=128', '128-72=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[72, 69, 129], Operations: ['59+70=129']
Exploring Operation: 129-72=57, Resulting Numbers: [69, 57]
Generated Node #0,1,0: 79:[69, 57] Operation: 129-72=57
Exploring Operation: 129-69=60, Resulting Numbers: [72, 60]
Generated Node #0,1,1: 79:[72, 60] Operation: 129-69=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[72, 60], Operations: ['59+70=129', '129-69=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[69, 57], Operations: ['59+70=129', '129-72=57']
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
64,
44,
46
] | 51 | [
"70*46=3220",
"44+3220=3264",
"3264/64=51"
] | Current State: 51:[70, 64, 44, 46], Operations: []
Exploring Operation: 70*46=3220, Resulting Numbers: [64, 44, 3220]
Generated Node #2: [64, 44, 3220] from Operation: 70*46=3220
Current State: 51:[64, 44, 3220], Operations: ['70*46=3220']
Exploring Operation: 44+3220=3264, Resulting Numbers: [64, 3264]
Generated Node #3: [64, 3264] from Operation: 44+3220=3264
Current State: 51:[64, 3264], Operations: ['70*46=3220', '44+3220=3264']
Exploring Operation: 3264/64=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[70, 64, 44, 46], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [64, 46, 26]
Generated Node #0,0: 51:[64, 46, 26] Operation: 70-44=26
Exploring Operation: 70-64=6, Resulting Numbers: [44, 46, 6]
Generated Node #0,1: 51:[44, 46, 6] Operation: 70-64=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[44, 46, 6], Operations: ['70-64=6']
Exploring Operation: 46-44=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 51:[6, 2] Operation: 46-44=2
Exploring Operation: 44+6=50, Resulting Numbers: [46, 50]
Generated Node #0,1,1: 51:[46, 50] Operation: 44+6=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[6, 2], Operations: ['70-64=6', '46-44=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[46, 50], Operations: ['70-64=6', '44+6=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[64, 46, 26], Operations: ['70-44=26']
Exploring Operation: 46-26=20, Resulting Numbers: [64, 20]
Generated Node #0,0,0: 51:[64, 20] Operation: 46-26=20
Exploring Operation: 64-46=18, Resulting Numbers: [26, 18]
Generated Node #0,0,1: 51:[26, 18] Operation: 64-46=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[26, 18], Operations: ['70-44=26', '64-46=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[64, 20], Operations: ['70-44=26', '46-26=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
87,
78,
63,
77
] | 25 | [
"87+78=165",
"63+77=140",
"165-140=25"
] | Current State: 25:[87, 78, 63, 77], Operations: []
Exploring Operation: 87+78=165, Resulting Numbers: [63, 77, 165]
Generated Node #2: [63, 77, 165] from Operation: 87+78=165
Current State: 25:[63, 77, 165], Operations: ['87+78=165']
Exploring Operation: 63+77=140, Resulting Numbers: [165, 140]
Generated Node #3: [165, 140] from Operation: 63+77=140
Current State: 25:[165, 140], Operations: ['87+78=165', '63+77=140']
Exploring Operation: 165-140=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 78, 63, 77], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [87, 63, 1]
Generated Node #0,0: 25:[87, 63, 1] Operation: 78-77=1
Exploring Operation: 87-78=9, Resulting Numbers: [63, 77, 9]
Generated Node #0,1: 25:[63, 77, 9] Operation: 87-78=9
Exploring Operation: 78-63=15, Resulting Numbers: [87, 77, 15]
Generated Node #0,2: 25:[87, 77, 15] Operation: 78-63=15
Exploring Operation: 87-77=10, Resulting Numbers: [78, 63, 10]
Generated Node #0,3: 25:[78, 63, 10] Operation: 87-77=10
Exploring Operation: 87-63=24, Resulting Numbers: [78, 77, 24]
Generated Node #0,4: 25:[78, 77, 24] Operation: 87-63=24
Moving to Node #0,1
Current State: 25:[63, 77, 9], Operations: ['87-78=9']
Exploring Operation: 63-9=54, Resulting Numbers: [77, 54]
Generated Node #0,1,0: 25:[77, 54] Operation: 63-9=54
Exploring Operation: 77-63=14, Resulting Numbers: [9, 14]
Generated Node #0,1,1: 25:[9, 14] Operation: 77-63=14
Exploring Operation: 63/9=7, Resulting Numbers: [77, 7]
Generated Node #0,1,2: 25:[77, 7] Operation: 63/9=7
Exploring Operation: 63+9=72, Resulting Numbers: [77, 72]
Generated Node #0,1,3: 25:[77, 72] Operation: 63+9=72
Exploring Operation: 77-9=68, Resulting Numbers: [63, 68]
Generated Node #0,1,4: 25:[63, 68] Operation: 77-9=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[9, 14], Operations: ['87-78=9', '77-63=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[77, 7], Operations: ['87-78=9', '63/9=7']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[77, 54], Operations: ['87-78=9', '63-9=54']
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,25 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[63, 68], Operations: ['87-78=9', '77-9=68']
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,25 unequal: No Solution
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[77, 72], Operations: ['87-78=9', '63+9=72']
Exploring Operation: 77+72=149, Resulting Numbers: [149]
149,25 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 77*72=5544, Resulting Numbers: [5544]
5544,25 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: 25:[78, 63, 10], Operations: ['87-77=10']
Exploring Operation: 78-63=15, Resulting Numbers: [10, 15]
Generated Node #0,3,0: 25:[10, 15] Operation: 78-63=15
Exploring Operation: 63-10=53, Resulting Numbers: [78, 53]
Generated Node #0,3,1: 25:[78, 53] Operation: 63-10=53
Exploring Operation: 63+10=73, Resulting Numbers: [78, 73]
Generated Node #0,3,2: 25:[78, 73] Operation: 63+10=73
Exploring Operation: 78-10=68, Resulting Numbers: [63, 68]
Generated Node #0,3,3: 25:[63, 68] Operation: 78-10=68
Exploring Operation: 78+10=88, Resulting Numbers: [63, 88]
Generated Node #0,3,4: 25:[63, 88] Operation: 78+10=88
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[10, 15], Operations: ['87-77=10', '78-63=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,25 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[87, 78, 63, 77], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [78, 63, 10]
Generated Node #0,3: 25:[78, 63, 10] Operation: 87-77=10
Moving to Node #0,3
Current State: 25:[78, 63, 10], Operations: ['87-77=10']
Exploring Operation: 78-63=15, Resulting Numbers: [10, 15]
Generated Node #0,3,0: 25:[10, 15] Operation: 78-63=15
Moving to Node #0,3,0
Current State: 25:[10, 15], Operations: ['87-77=10', '78-63=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.