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 |
|---|---|---|---|---|---|---|---|---|
[
20,
36,
63,
59
] | 24 | [
"20*63=1260",
"1260/36=35",
"59-35=24"
] | Current State: 24:[20, 36, 63, 59], Operations: []
Exploring Operation: 20*63=1260, Resulting Numbers: [36, 59, 1260]
Generated Node #2: [36, 59, 1260] from Operation: 20*63=1260
Current State: 24:[36, 59, 1260], Operations: ['20*63=1260']
Exploring Operation: 1260/36=35, Resulting Numbers: [59, 35]
Generated Node #3: [59, 35] from Operation: 1260/36=35
Current State: 24:[59, 35], Operations: ['20*63=1260', '1260/36=35']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[20, 36, 63, 59], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [20, 36, 4]
Generated Node #0,0: 24:[20, 36, 4] Operation: 63-59=4
Exploring Operation: 63-36=27, Resulting Numbers: [20, 59, 27]
Generated Node #0,1: 24:[20, 59, 27] Operation: 63-36=27
Exploring Operation: 59-36=23, Resulting Numbers: [20, 63, 23]
Generated Node #0,2: 24:[20, 63, 23] Operation: 59-36=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[20, 36, 4], Operations: ['63-59=4']
Exploring Operation: 20+4=24, Resulting Numbers: [36, 24]
Generated Node #0,0,0: 24:[36, 24] Operation: 20+4=24
Exploring Operation: 36/4=9, Resulting Numbers: [20, 9]
Generated Node #0,0,1: 24:[20, 9] Operation: 36/4=9
Exploring Operation: 36-20=16, Resulting Numbers: [4, 16]
Generated Node #0,0,2: 24:[4, 16] Operation: 36-20=16
Moving to Node #0,0,2
Current State: 24:[4, 16], Operations: ['63-59=4', '36-20=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[20, 9], Operations: ['63-59=4', '36/4=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[36, 24], Operations: ['63-59=4', '20+4=24']
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,24 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[20, 59, 27], Operations: ['63-36=27']
Exploring Operation: 59-27=32, Resulting Numbers: [20, 32]
Generated Node #0,1,0: 24:[20, 32] Operation: 59-27=32
Exploring Operation: 59-20=39, Resulting Numbers: [27, 39]
Generated Node #0,1,1: 24:[27, 39] Operation: 59-20=39
Exploring Operation: 27-20=7, Resulting Numbers: [59, 7]
Generated Node #0,1,2: 24:[59, 7] Operation: 27-20=7
Moving to Node #0,1,0
Current State: 24:[20, 32], Operations: ['63-36=27', '59-27=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[27, 39], Operations: ['63-36=27', '59-20=39']
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,24 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[59, 7], Operations: ['63-36=27', '27-20=7']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,24 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[20, 63, 23], Operations: ['59-36=23']
Exploring Operation: 63-20=43, Resulting Numbers: [23, 43]
Generated Node #0,2,0: 24:[23, 43] Operation: 63-20=43
Exploring Operation: 63-23=40, Resulting Numbers: [20, 40]
Generated Node #0,2,1: 24:[20, 40] Operation: 63-23=40
Exploring Operation: 23-20=3, Resulting Numbers: [63, 3]
Generated Node #0,2,2: 24:[63, 3] Operation: 23-20=3
Moving to Node #0,2,0
Current State: 24:[23, 43], Operations: ['59-36=23', '63-20=43']
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,24 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[20, 40], Operations: ['59-36=23', '63-23=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[63, 3], Operations: ['59-36=23', '23-20=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,24 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 |
[
2,
84,
74,
84
] | 71 | [
"74-2=72",
"84/84=1",
"72-1=71"
] | Current State: 71:[2, 84, 74, 84], Operations: []
Exploring Operation: 74-2=72, Resulting Numbers: [84, 84, 72]
Generated Node #2: [84, 84, 72] from Operation: 74-2=72
Current State: 71:[84, 84, 72], Operations: ['74-2=72']
Exploring Operation: 84/84=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 84/84=1
Current State: 71:[72, 1], Operations: ['74-2=72', '84/84=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 84, 74, 84], Operations: []
Exploring Operation: 84-2=82, Resulting Numbers: [84, 74, 82]
Generated Node #0,0: 71:[84, 74, 82] Operation: 84-2=82
Exploring Operation: 84-2=82, Resulting Numbers: [74, 84, 82]
Generated Node #0,1: 71:[74, 84, 82] Operation: 84-2=82
Exploring Operation: 74-2=72, Resulting Numbers: [84, 84, 72]
Generated Node #0,2: 71:[84, 84, 72] Operation: 74-2=72
Exploring Operation: 2+84=86, Resulting Numbers: [74, 84, 86]
Generated Node #0,3: 71:[74, 84, 86] Operation: 2+84=86
Exploring Operation: 2+74=76, Resulting Numbers: [84, 84, 76]
Generated Node #0,4: 71:[84, 84, 76] Operation: 2+74=76
Moving to Node #0,0
Current State: 71:[84, 74, 82], Operations: ['84-2=82']
Exploring Operation: 84-74=10, Resulting Numbers: [82, 10]
Generated Node #0,0,0: 71:[82, 10] Operation: 84-74=10
Exploring Operation: 84+74=158, Resulting Numbers: [82, 158]
Generated Node #0,0,1: 71:[82, 158] Operation: 84+74=158
Exploring Operation: 82-74=8, Resulting Numbers: [84, 8]
Generated Node #0,0,2: 71:[84, 8] Operation: 82-74=8
Exploring Operation: 84-82=2, Resulting Numbers: [74, 2]
Generated Node #0,0,3: 71:[74, 2] Operation: 84-82=2
Exploring Operation: 84+82=166, Resulting Numbers: [74, 166]
Generated Node #0,0,4: 71:[74, 166] Operation: 84+82=166
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[82, 10], Operations: ['84-2=82', '84-74=10']
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,71 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[74, 2], Operations: ['84-2=82', '84-82=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[84, 8], Operations: ['84-2=82', '82-74=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,71 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[82, 158], Operations: ['84-2=82', '84+74=158']
Exploring Operation: 82*158=12956, Resulting Numbers: [12956]
12956,71 unequal: No Solution
Exploring Operation: 82+158=240, Resulting Numbers: [240]
240,71 unequal: No Solution
Exploring Operation: 158-82=76, Resulting Numbers: [76]
76,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[74, 166], Operations: ['84-2=82', '84+82=166']
Exploring Operation: 74*166=12284, Resulting Numbers: [12284]
12284,71 unequal: No Solution
Exploring Operation: 166-74=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 74+166=240, Resulting Numbers: [240]
240,71 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: 71:[84, 84, 72], Operations: ['74-2=72']
Exploring Operation: 84/84=1, Resulting Numbers: [72, 1]
Generated Node #0,2,0: 71:[72, 1] Operation: 84/84=1
Exploring Operation: 84-72=12, Resulting Numbers: [84, 12]
Generated Node #0,2,1: 71:[84, 12] Operation: 84-72=12
Exploring Operation: 84-72=12, Resulting Numbers: [84, 12]
Generated Node #0,2,2: 71:[84, 12] Operation: 84-72=12
Exploring Operation: 84+84=168, Resulting Numbers: [72, 168]
Generated Node #0,2,3: 71:[72, 168] Operation: 84+84=168
Exploring Operation: 84-84=0, Resulting Numbers: [72, 0]
Generated Node #0,2,4: 71:[72, 0] Operation: 84-84=0
Moving to Node #0,1
Current State: 71:[74, 84, 82], Operations: ['84-2=82']
Exploring Operation: 82-74=8, Resulting Numbers: [84, 8]
Generated Node #0,1,0: 71:[84, 8] Operation: 82-74=8
Exploring Operation: 84-74=10, Resulting Numbers: [82, 10]
Generated Node #0,1,1: 71:[82, 10] Operation: 84-74=10
Exploring Operation: 84-82=2, Resulting Numbers: [74, 2]
Generated Node #0,1,2: 71:[74, 2] Operation: 84-82=2
Exploring Operation: 74+82=156, Resulting Numbers: [84, 156]
Generated Node #0,1,3: 71:[84, 156] Operation: 74+82=156
Exploring Operation: 74+84=158, Resulting Numbers: [82, 158]
Generated Node #0,1,4: 71:[82, 158] Operation: 74+84=158
Moving to Node #0,3
Current State: 71:[74, 84, 86], Operations: ['2+84=86']
Exploring Operation: 74+84=158, Resulting Numbers: [86, 158]
Generated Node #0,3,0: 71:[86, 158] Operation: 74+84=158
Exploring Operation: 86-74=12, Resulting Numbers: [84, 12]
Generated Node #0,3,1: 71:[84, 12] Operation: 86-74=12
Exploring Operation: 86-84=2, Resulting Numbers: [74, 2]
Generated Node #0,3,2: 71:[74, 2] Operation: 86-84=2
Exploring Operation: 84-74=10, Resulting Numbers: [86, 10]
Generated Node #0,3,3: 71:[86, 10] Operation: 84-74=10
Exploring Operation: 74+86=160, Resulting Numbers: [84, 160]
Generated Node #0,3,4: 71:[84, 160] Operation: 74+86=160
Moving to Node #0,4
Current State: 71:[84, 84, 76], Operations: ['2+74=76']
Exploring Operation: 84-76=8, Resulting Numbers: [84, 8]
Generated Node #0,4,0: 71:[84, 8] Operation: 84-76=8
Exploring Operation: 84-76=8, Resulting Numbers: [84, 8]
Generated Node #0,4,1: 71:[84, 8] Operation: 84-76=8
Exploring Operation: 84-84=0, Resulting Numbers: [76, 0]
Generated Node #0,4,2: 71:[76, 0] Operation: 84-84=0
Exploring Operation: 84/84=1, Resulting Numbers: [76, 1]
Generated Node #0,4,3: 71:[76, 1] Operation: 84/84=1
Exploring Operation: 84+84=168, Resulting Numbers: [76, 168]
Generated Node #0,4,4: 71:[76, 168] Operation: 84+84=168
Moving to Node #0,2,0
Current State: 71:[72, 1], Operations: ['74-2=72', '84/84=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[2, 84, 74, 84], Operations: []
Exploring Operation: 74-2=72, Resulting Numbers: [84, 84, 72]
Generated Node #0,2: 71:[84, 84, 72] Operation: 74-2=72
Moving to Node #0,2
Current State: 71:[84, 84, 72], Operations: ['74-2=72']
Exploring Operation: 84/84=1, Resulting Numbers: [72, 1]
Generated Node #0,2,0: 71:[72, 1] Operation: 84/84=1
Moving to Node #0,2,0
Current State: 71:[72, 1], Operations: ['74-2=72', '84/84=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
1,
90,
74,
79
] | 94 | [
"90-1=89",
"79-74=5",
"89+5=94"
] | Current State: 94:[1, 90, 74, 79], Operations: []
Exploring Operation: 90-1=89, Resulting Numbers: [74, 79, 89]
Generated Node #2: [74, 79, 89] from Operation: 90-1=89
Current State: 94:[74, 79, 89], Operations: ['90-1=89']
Exploring Operation: 79-74=5, Resulting Numbers: [89, 5]
Generated Node #3: [89, 5] from Operation: 79-74=5
Current State: 94:[89, 5], Operations: ['90-1=89', '79-74=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[1, 90, 74, 79], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [1, 90, 5]
Generated Node #0,0: 94:[1, 90, 5] Operation: 79-74=5
Exploring Operation: 90-74=16, Resulting Numbers: [1, 79, 16]
Generated Node #0,1: 94:[1, 79, 16] Operation: 90-74=16
Exploring Operation: 1+90=91, Resulting Numbers: [74, 79, 91]
Generated Node #0,2: 94:[74, 79, 91] Operation: 1+90=91
Exploring Operation: 90-79=11, Resulting Numbers: [1, 74, 11]
Generated Node #0,3: 94:[1, 74, 11] Operation: 90-79=11
Moving to Node #0,0
Current State: 94:[1, 90, 5], Operations: ['79-74=5']
Exploring Operation: 5-1=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 94:[90, 4] Operation: 5-1=4
Exploring Operation: 1*90=90, Resulting Numbers: [5, 90]
Generated Node #0,0,1: 94:[5, 90] Operation: 1*90=90
Exploring Operation: 1+90=91, Resulting Numbers: [5, 91]
Generated Node #0,0,2: 94:[5, 91] Operation: 1+90=91
Exploring Operation: 90+5=95, Resulting Numbers: [1, 95]
Generated Node #0,0,3: 94:[1, 95] Operation: 90+5=95
Moving to Node #0,3
Current State: 94:[1, 74, 11], Operations: ['90-79=11']
Exploring Operation: 11-1=10, Resulting Numbers: [74, 10]
Generated Node #0,3,0: 94:[74, 10] Operation: 11-1=10
Exploring Operation: 74+11=85, Resulting Numbers: [1, 85]
Generated Node #0,3,1: 94:[1, 85] Operation: 74+11=85
Exploring Operation: 1+74=75, Resulting Numbers: [11, 75]
Generated Node #0,3,2: 94:[11, 75] Operation: 1+74=75
Exploring Operation: 74-11=63, Resulting Numbers: [1, 63]
Generated Node #0,3,3: 94:[1, 63] Operation: 74-11=63
Moving to Node #0,1
Current State: 94:[1, 79, 16], Operations: ['90-74=16']
Exploring Operation: 16-1=15, Resulting Numbers: [79, 15]
Generated Node #0,1,0: 94:[79, 15] Operation: 16-1=15
Exploring Operation: 79-16=63, Resulting Numbers: [1, 63]
Generated Node #0,1,1: 94:[1, 63] Operation: 79-16=63
Exploring Operation: 1+79=80, Resulting Numbers: [16, 80]
Generated Node #0,1,2: 94:[16, 80] Operation: 1+79=80
Exploring Operation: 79+16=95, Resulting Numbers: [1, 95]
Generated Node #0,1,3: 94:[1, 95] Operation: 79+16=95
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[1, 95], Operations: ['90-74=16', '79+16=95']
Exploring Operation: 1+95=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[1, 90, 74, 79], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [1, 79, 16]
Generated Node #0,1: 94:[1, 79, 16] Operation: 90-74=16
Moving to Node #0,1
Current State: 94:[1, 79, 16], Operations: ['90-74=16']
Exploring Operation: 79+16=95, Resulting Numbers: [1, 95]
Generated Node #0,1,3: 94:[1, 95] Operation: 79+16=95
Moving to Node #0,1,3
Current State: 94:[1, 95], Operations: ['90-74=16', '79+16=95']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
25,
10,
12,
80
] | 22 | [
"25*12=300",
"300-80=220",
"220/10=22"
] | Current State: 22:[25, 10, 12, 80], Operations: []
Exploring Operation: 25*12=300, Resulting Numbers: [10, 80, 300]
Generated Node #2: [10, 80, 300] from Operation: 25*12=300
Current State: 22:[10, 80, 300], Operations: ['25*12=300']
Exploring Operation: 300-80=220, Resulting Numbers: [10, 220]
Generated Node #3: [10, 220] from Operation: 300-80=220
Current State: 22:[10, 220], Operations: ['25*12=300', '300-80=220']
Exploring Operation: 220/10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[25, 10, 12, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [25, 12, 8]
Generated Node #0,0: 22:[25, 12, 8] Operation: 80/10=8
Moving to Node #0,0
Current State: 22:[25, 12, 8], Operations: ['80/10=8']
Exploring Operation: 25-12=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 22:[8, 13] Operation: 25-12=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[8, 13], Operations: ['80/10=8', '25-12=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,22 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 |
[
88,
89,
96,
62
] | 35 | [
"89-88=1",
"96-62=34",
"1+34=35"
] | Current State: 35:[88, 89, 96, 62], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [96, 62, 1]
Generated Node #2: [96, 62, 1] from Operation: 89-88=1
Current State: 35:[96, 62, 1], Operations: ['89-88=1']
Exploring Operation: 96-62=34, Resulting Numbers: [1, 34]
Generated Node #3: [1, 34] from Operation: 96-62=34
Current State: 35:[1, 34], Operations: ['89-88=1', '96-62=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[88, 89, 96, 62], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [88, 62, 7]
Generated Node #0,0: 35:[88, 62, 7] Operation: 96-89=7
Exploring Operation: 96-88=8, Resulting Numbers: [89, 62, 8]
Generated Node #0,1: 35:[89, 62, 8] Operation: 96-88=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[88, 62, 7], Operations: ['96-89=7']
Exploring Operation: 88-7=81, Resulting Numbers: [62, 81]
Generated Node #0,0,0: 35:[62, 81] Operation: 88-7=81
Exploring Operation: 88-62=26, Resulting Numbers: [7, 26]
Generated Node #0,0,1: 35:[7, 26] Operation: 88-62=26
Moving to Node #0,0,1
Current State: 35:[7, 26], Operations: ['96-89=7', '88-62=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[62, 81], Operations: ['96-89=7', '88-7=81']
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,35 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[89, 62, 8], Operations: ['96-88=8']
Exploring Operation: 89-62=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 35:[8, 27] Operation: 89-62=27
Exploring Operation: 89-8=81, Resulting Numbers: [62, 81]
Generated Node #0,1,1: 35:[62, 81] Operation: 89-8=81
Moving to Node #0,1,0
Current State: 35:[8, 27], Operations: ['96-88=8', '89-62=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[88, 89, 96, 62], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [89, 62, 8]
Generated Node #0,1: 35:[89, 62, 8] Operation: 96-88=8
Moving to Node #0,1
Current State: 35:[89, 62, 8], Operations: ['96-88=8']
Exploring Operation: 89-62=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 35:[8, 27] Operation: 89-62=27
Moving to Node #0,1,0
Current State: 35:[8, 27], Operations: ['96-88=8', '89-62=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
7,
77,
15,
22
] | 91 | [
"7+77=84",
"22-15=7",
"84+7=91"
] | Current State: 91:[7, 77, 15, 22], Operations: []
Exploring Operation: 7+77=84, Resulting Numbers: [15, 22, 84]
Generated Node #2: [15, 22, 84] from Operation: 7+77=84
Current State: 91:[15, 22, 84], Operations: ['7+77=84']
Exploring Operation: 22-15=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 22-15=7
Current State: 91:[84, 7], Operations: ['7+77=84', '22-15=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[7, 77, 15, 22], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [15, 22, 11]
Generated Node #0,0: 91:[15, 22, 11] Operation: 77/7=11
Exploring Operation: 77+15=92, Resulting Numbers: [7, 22, 92]
Generated Node #0,1: 91:[7, 22, 92] Operation: 77+15=92
Exploring Operation: 77+22=99, Resulting Numbers: [7, 15, 99]
Generated Node #0,2: 91:[7, 15, 99] Operation: 77+22=99
Moving to Node #0,1
Current State: 91:[7, 22, 92], Operations: ['77+15=92']
Exploring Operation: 7+22=29, Resulting Numbers: [92, 29]
Generated Node #0,1,0: 91:[92, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [92, 15]
Generated Node #0,1,1: 91:[92, 15] Operation: 22-7=15
Exploring Operation: 92-7=85, Resulting Numbers: [22, 85]
Generated Node #0,1,2: 91:[22, 85] Operation: 92-7=85
Moving to Node #0,2
Current State: 91:[7, 15, 99], Operations: ['77+22=99']
Exploring Operation: 99-7=92, Resulting Numbers: [15, 92]
Generated Node #0,2,0: 91:[15, 92] Operation: 99-7=92
Exploring Operation: 15-7=8, Resulting Numbers: [99, 8]
Generated Node #0,2,1: 91:[99, 8] Operation: 15-7=8
Exploring Operation: 99-15=84, Resulting Numbers: [7, 84]
Generated Node #0,2,2: 91:[7, 84] Operation: 99-15=84
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[15, 92], Operations: ['77+22=99', '99-7=92']
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,91 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[7, 84], Operations: ['77+22=99', '99-15=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[7, 77, 15, 22], Operations: []
Exploring Operation: 77+22=99, Resulting Numbers: [7, 15, 99]
Generated Node #0,2: 91:[7, 15, 99] Operation: 77+22=99
Moving to Node #0,2
Current State: 91:[7, 15, 99], Operations: ['77+22=99']
Exploring Operation: 99-15=84, Resulting Numbers: [7, 84]
Generated Node #0,2,2: 91:[7, 84] Operation: 99-15=84
Moving to Node #0,2,2
Current State: 91:[7, 84], Operations: ['77+22=99', '99-15=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
56,
40,
59,
96
] | 24 | [
"59-56=3",
"40*3=120",
"120-96=24"
] | Current State: 24:[56, 40, 59, 96], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [40, 96, 3]
Generated Node #2: [40, 96, 3] from Operation: 59-56=3
Current State: 24:[40, 96, 3], Operations: ['59-56=3']
Exploring Operation: 40*3=120, Resulting Numbers: [96, 120]
Generated Node #3: [96, 120] from Operation: 40*3=120
Current State: 24:[96, 120], Operations: ['59-56=3', '40*3=120']
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[56, 40, 59, 96], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [40, 96, 3]
Generated Node #0,0: 24:[40, 96, 3] Operation: 59-56=3
Exploring Operation: 96-59=37, Resulting Numbers: [56, 40, 37]
Generated Node #0,1: 24:[56, 40, 37] Operation: 96-59=37
Exploring Operation: 96-56=40, Resulting Numbers: [40, 59, 40]
Generated Node #0,2: 24:[40, 59, 40] Operation: 96-56=40
Exploring Operation: 96-40=56, Resulting Numbers: [56, 59, 56]
Generated Node #0,3: 24:[56, 59, 56] Operation: 96-40=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[56, 40, 37], Operations: ['96-59=37']
Exploring Operation: 56-40=16, Resulting Numbers: [37, 16]
Generated Node #0,1,0: 24:[37, 16] Operation: 56-40=16
Exploring Operation: 40-37=3, Resulting Numbers: [56, 3]
Generated Node #0,1,1: 24:[56, 3] Operation: 40-37=3
Exploring Operation: 56+40=96, Resulting Numbers: [37, 96]
Generated Node #0,1,2: 24:[37, 96] Operation: 56+40=96
Exploring Operation: 56-37=19, Resulting Numbers: [40, 19]
Generated Node #0,1,3: 24:[40, 19] Operation: 56-37=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[37, 16], Operations: ['96-59=37', '56-40=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,24 unequal: No Solution
No 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: 24:[40, 19], Operations: ['96-59=37', '56-37=19']
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,24 unequal: No Solution
No 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: 24:[56, 3], Operations: ['96-59=37', '40-37=3']
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,24 unequal: No Solution
No 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: 24:[37, 96], Operations: ['96-59=37', '56+40=96']
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 37*96=3552, Resulting Numbers: [3552]
3552,24 unequal: No Solution
Exploring Operation: 37+96=133, Resulting Numbers: [133]
133,24 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: 24:[40, 59, 40], Operations: ['96-56=40']
Exploring Operation: 59-40=19, Resulting Numbers: [40, 19]
Generated Node #0,2,0: 24:[40, 19] Operation: 59-40=19
Exploring Operation: 40-40=0, Resulting Numbers: [59, 0]
Generated Node #0,2,1: 24:[59, 0] Operation: 40-40=0
Exploring Operation: 59-40=19, Resulting Numbers: [40, 19]
Generated Node #0,2,2: 24:[40, 19] Operation: 59-40=19
Exploring Operation: 40/40=1, Resulting Numbers: [59, 1]
Generated Node #0,2,3: 24:[59, 1] Operation: 40/40=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[40, 19], Operations: ['96-56=40', '59-40=19']
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,24 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,24 unequal: No Solution
No 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: 24:[40, 19], Operations: ['96-56=40', '59-40=19']
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,24 unequal: No Solution
No 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: 24:[59, 1], Operations: ['96-56=40', '40/40=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,24 unequal: No Solution
No 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: 24:[59, 0], Operations: ['96-56=40', '40-40=0']
Exploring Operation: 59*0=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59-0=59, Resulting Numbers: [59]
59,24 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: 24:[40, 96, 3], Operations: ['59-56=3']
Exploring Operation: 40-3=37, Resulting Numbers: [96, 37]
Generated Node #0,0,0: 24:[96, 37] Operation: 40-3=37
Exploring Operation: 96/3=32, Resulting Numbers: [40, 32]
Generated Node #0,0,1: 24:[40, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [40, 93]
Generated Node #0,0,2: 24:[40, 93] Operation: 96-3=93
Exploring Operation: 96-40=56, Resulting Numbers: [3, 56]
Generated Node #0,0,3: 24:[3, 56] Operation: 96-40=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[40, 32], Operations: ['59-56=3', '96/3=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,24 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,24 unequal: No Solution
No 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: 24:[3, 56], Operations: ['59-56=3', '96-40=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,24 unequal: No Solution
No 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: 24:[96, 37], Operations: ['59-56=3', '40-3=37']
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 96*37=3552, Resulting Numbers: [3552]
3552,24 unequal: No Solution
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,24 unequal: No Solution
No 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: 24:[40, 93], Operations: ['59-56=3', '96-3=93']
Exploring Operation: 40*93=3720, Resulting Numbers: [3720]
3720,24 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 40+93=133, Resulting Numbers: [133]
133,24 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: 24:[56, 59, 56], Operations: ['96-40=56']
Exploring Operation: 56-56=0, Resulting Numbers: [59, 0]
Generated Node #0,3,0: 24:[59, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [59, 1]
Generated Node #0,3,1: 24:[59, 1] Operation: 56/56=1
Exploring Operation: 59-56=3, Resulting Numbers: [56, 3]
Generated Node #0,3,2: 24:[56, 3] Operation: 59-56=3
Exploring Operation: 59-56=3, Resulting Numbers: [56, 3]
Generated Node #0,3,3: 24:[56, 3] Operation: 59-56=3
Moving to Node #0,3,2
Current State: 24:[56, 3], Operations: ['96-40=56', '59-56=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[56, 3], Operations: ['96-40=56', '59-56=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[59, 1], Operations: ['96-40=56', '56/56=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[59, 0], Operations: ['96-40=56', '56-56=0']
Exploring Operation: 59-0=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 59*0=0, Resulting Numbers: [0]
0,24 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 |
[
77,
12,
16,
80
] | 60 | [
"77-12=65",
"80/16=5",
"65-5=60"
] | Current State: 60:[77, 12, 16, 80], Operations: []
Exploring Operation: 77-12=65, Resulting Numbers: [16, 80, 65]
Generated Node #2: [16, 80, 65] from Operation: 77-12=65
Current State: 60:[16, 80, 65], Operations: ['77-12=65']
Exploring Operation: 80/16=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 80/16=5
Current State: 60:[65, 5], Operations: ['77-12=65', '80/16=5']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[77, 12, 16, 80], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [12, 16, 3]
Generated Node #0,0: 60:[12, 16, 3] Operation: 80-77=3
Moving to Node #0,0
Current State: 60:[12, 16, 3], Operations: ['80-77=3']
Exploring Operation: 16-12=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 60:[3, 4] Operation: 16-12=4
Moving to Node #0,0,0
Current State: 60:[3, 4], Operations: ['80-77=3', '16-12=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
58,
4,
2
] | 65 | [
"58+4=62",
"62/2=31",
"96-31=65"
] | Current State: 65:[96, 58, 4, 2], Operations: []
Exploring Operation: 58+4=62, Resulting Numbers: [96, 2, 62]
Generated Node #2: [96, 2, 62] from Operation: 58+4=62
Current State: 65:[96, 2, 62], Operations: ['58+4=62']
Exploring Operation: 62/2=31, Resulting Numbers: [96, 31]
Generated Node #3: [96, 31] from Operation: 62/2=31
Current State: 65:[96, 31], Operations: ['58+4=62', '62/2=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[96, 58, 4, 2], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [58, 2, 24]
Generated Node #0,0: 65:[58, 2, 24] Operation: 96/4=24
Exploring Operation: 96/2=48, Resulting Numbers: [58, 4, 48]
Generated Node #0,1: 65:[58, 4, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[58, 2, 24], Operations: ['96/4=24']
Exploring Operation: 24/2=12, Resulting Numbers: [58, 12]
Generated Node #0,0,0: 65:[58, 12] Operation: 24/2=12
Exploring Operation: 58+2=60, Resulting Numbers: [24, 60]
Generated Node #0,0,1: 65:[24, 60] Operation: 58+2=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[58, 12], Operations: ['96/4=24', '24/2=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,65 unequal: No Solution
No 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: 65:[24, 60], Operations: ['96/4=24', '58+2=60']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,65 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: 65:[58, 4, 48], Operations: ['96/2=48']
Exploring Operation: 48/4=12, Resulting Numbers: [58, 12]
Generated Node #0,1,0: 65:[58, 12] Operation: 48/4=12
Exploring Operation: 58-48=10, Resulting Numbers: [4, 10]
Generated Node #0,1,1: 65:[4, 10] Operation: 58-48=10
Moving to Node #0,1,1
Current State: 65:[4, 10], Operations: ['96/2=48', '58-48=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[58, 12], Operations: ['96/2=48', '48/4=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
2,
74,
72
] | 53 | [
"15+74=89",
"72/2=36",
"89-36=53"
] | Current State: 53:[15, 2, 74, 72], Operations: []
Exploring Operation: 15+74=89, Resulting Numbers: [2, 72, 89]
Generated Node #2: [2, 72, 89] from Operation: 15+74=89
Current State: 53:[2, 72, 89], Operations: ['15+74=89']
Exploring Operation: 72/2=36, Resulting Numbers: [89, 36]
Generated Node #3: [89, 36] from Operation: 72/2=36
Current State: 53:[89, 36], Operations: ['15+74=89', '72/2=36']
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[15, 2, 74, 72], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [2, 72, 59]
Generated Node #0,0: 53:[2, 72, 59] Operation: 74-15=59
Exploring Operation: 15+2=17, Resulting Numbers: [74, 72, 17]
Generated Node #0,1: 53:[74, 72, 17] Operation: 15+2=17
Exploring Operation: 15*2=30, Resulting Numbers: [74, 72, 30]
Generated Node #0,2: 53:[74, 72, 30] Operation: 15*2=30
Exploring Operation: 74/2=37, Resulting Numbers: [15, 72, 37]
Generated Node #0,3: 53:[15, 72, 37] Operation: 74/2=37
Exploring Operation: 72-15=57, Resulting Numbers: [2, 74, 57]
Generated Node #0,4: 53:[2, 74, 57] Operation: 72-15=57
Moving to Node #0,2
Current State: 53:[74, 72, 30], Operations: ['15*2=30']
Exploring Operation: 72-30=42, Resulting Numbers: [74, 42]
Generated Node #0,2,0: 53:[74, 42] Operation: 72-30=42
Exploring Operation: 72+30=102, Resulting Numbers: [74, 102]
Generated Node #0,2,1: 53:[74, 102] Operation: 72+30=102
Exploring Operation: 74-30=44, Resulting Numbers: [72, 44]
Generated Node #0,2,2: 53:[72, 44] Operation: 74-30=44
Exploring Operation: 74-72=2, Resulting Numbers: [30, 2]
Generated Node #0,2,3: 53:[30, 2] Operation: 74-72=2
Exploring Operation: 74+30=104, Resulting Numbers: [72, 104]
Generated Node #0,2,4: 53:[72, 104] Operation: 74+30=104
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[72, 44], Operations: ['15*2=30', '74-30=44']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,53 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[74, 42], Operations: ['15*2=30', '72-30=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,53 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[74, 102], Operations: ['15*2=30', '72+30=102']
Exploring Operation: 102-74=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 74+102=176, Resulting Numbers: [176]
176,53 unequal: No Solution
Exploring Operation: 74*102=7548, Resulting Numbers: [7548]
7548,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[72, 104], Operations: ['15*2=30', '74+30=104']
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,53 unequal: No Solution
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[30, 2], Operations: ['15*2=30', '74-72=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,53 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: 53:[15, 72, 37], Operations: ['74/2=37']
Exploring Operation: 37-15=22, Resulting Numbers: [72, 22]
Generated Node #0,3,0: 53:[72, 22] Operation: 37-15=22
Exploring Operation: 72-37=35, Resulting Numbers: [15, 35]
Generated Node #0,3,1: 53:[15, 35] Operation: 72-37=35
Exploring Operation: 72-15=57, Resulting Numbers: [37, 57]
Generated Node #0,3,2: 53:[37, 57] Operation: 72-15=57
Exploring Operation: 15+37=52, Resulting Numbers: [72, 52]
Generated Node #0,3,3: 53:[72, 52] Operation: 15+37=52
Exploring Operation: 15+72=87, Resulting Numbers: [37, 87]
Generated Node #0,3,4: 53:[37, 87] Operation: 15+72=87
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[37, 57], Operations: ['74/2=37', '72-15=57']
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,53 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[72, 52], Operations: ['74/2=37', '15+37=52']
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,53 unequal: No Solution
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[72, 22], Operations: ['74/2=37', '37-15=22']
Exploring Operation: 72*22=1584, Resulting Numbers: [1584]
1584,53 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 53:[37, 87], Operations: ['74/2=37', '15+72=87']
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[15, 35], Operations: ['74/2=37', '72-37=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,53 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,53 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: 53:[2, 72, 59], Operations: ['74-15=59']
Exploring Operation: 72-2=70, Resulting Numbers: [59, 70]
Generated Node #0,0,0: 53:[59, 70] Operation: 72-2=70
Exploring Operation: 59-2=57, Resulting Numbers: [72, 57]
Generated Node #0,0,1: 53:[72, 57] Operation: 59-2=57
Exploring Operation: 72/2=36, Resulting Numbers: [59, 36]
Generated Node #0,0,2: 53:[59, 36] Operation: 72/2=36
Exploring Operation: 2+59=61, Resulting Numbers: [72, 61]
Generated Node #0,0,3: 53:[72, 61] Operation: 2+59=61
Exploring Operation: 2+72=74, Resulting Numbers: [59, 74]
Generated Node #0,0,4: 53:[59, 74] Operation: 2+72=74
Moving to Node #0,1
Current State: 53:[74, 72, 17], Operations: ['15+2=17']
Exploring Operation: 74-17=57, Resulting Numbers: [72, 57]
Generated Node #0,1,0: 53:[72, 57] Operation: 74-17=57
Exploring Operation: 74+17=91, Resulting Numbers: [72, 91]
Generated Node #0,1,1: 53:[72, 91] Operation: 74+17=91
Exploring Operation: 72+17=89, Resulting Numbers: [74, 89]
Generated Node #0,1,2: 53:[74, 89] Operation: 72+17=89
Exploring Operation: 74-72=2, Resulting Numbers: [17, 2]
Generated Node #0,1,3: 53:[17, 2] Operation: 74-72=2
Exploring Operation: 72-17=55, Resulting Numbers: [74, 55]
Generated Node #0,1,4: 53:[74, 55] Operation: 72-17=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[72, 57], Operations: ['15+2=17', '74-17=57']
Exploring Operation: 72*57=4104, Resulting Numbers: [4104]
4104,53 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 72+57=129, Resulting Numbers: [129]
129,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 53:[74, 55], Operations: ['15+2=17', '72-17=55']
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[72, 91], Operations: ['15+2=17', '74+17=91']
Exploring Operation: 72*91=6552, Resulting Numbers: [6552]
6552,53 unequal: No Solution
Exploring Operation: 72+91=163, Resulting Numbers: [163]
163,53 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[74, 89], Operations: ['15+2=17', '72+17=89']
Exploring Operation: 74*89=6586, Resulting Numbers: [6586]
6586,53 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 74+89=163, Resulting Numbers: [163]
163,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[17, 2], Operations: ['15+2=17', '74-72=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,53 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: 53:[2, 74, 57], Operations: ['72-15=57']
Exploring Operation: 74/2=37, Resulting Numbers: [57, 37]
Generated Node #0,4,0: 53:[57, 37] Operation: 74/2=37
Exploring Operation: 74-2=72, Resulting Numbers: [57, 72]
Generated Node #0,4,1: 53:[57, 72] Operation: 74-2=72
Exploring Operation: 57-2=55, Resulting Numbers: [74, 55]
Generated Node #0,4,2: 53:[74, 55] Operation: 57-2=55
Exploring Operation: 2+57=59, Resulting Numbers: [74, 59]
Generated Node #0,4,3: 53:[74, 59] Operation: 2+57=59
Exploring Operation: 2+74=76, Resulting Numbers: [57, 76]
Generated Node #0,4,4: 53:[57, 76] Operation: 2+74=76
Moving to Node #0,4,0
Current State: 53:[57, 37], Operations: ['72-15=57', '74/2=37']
Exploring Operation: 57*37=2109, Resulting Numbers: [2109]
2109,53 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[59, 70], Operations: ['74-15=59', '72-2=70']
Exploring Operation: 59*70=4130, Resulting Numbers: [4130]
4130,53 unequal: No Solution
Exploring Operation: 59+70=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[57, 72], Operations: ['72-15=57', '74-2=72']
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 57+72=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 57*72=4104, Resulting Numbers: [4104]
4104,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[59, 36], Operations: ['74-15=59', '72/2=36']
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,53 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[72, 57], Operations: ['74-15=59', '59-2=57']
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 72*57=4104, Resulting Numbers: [4104]
4104,53 unequal: No Solution
Exploring Operation: 72+57=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[74, 55], Operations: ['72-15=57', '57-2=55']
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,53 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Moving to Node #0,4,4
Current State: 53:[57, 76], Operations: ['72-15=57', '2+74=76']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,53 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[74, 59], Operations: ['72-15=57', '2+57=59']
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[59, 74], Operations: ['74-15=59', '2+72=74']
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,53 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[72, 61], Operations: ['74-15=59', '2+59=61']
Exploring Operation: 72*61=4392, Resulting Numbers: [4392]
4392,53 unequal: No Solution
Exploring Operation: 72+61=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
48,
40,
91,
4
] | 59 | [
"48-40=8",
"4*8=32",
"91-32=59"
] | Current State: 59:[48, 40, 91, 4], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [91, 4, 8]
Generated Node #2: [91, 4, 8] from Operation: 48-40=8
Current State: 59:[91, 4, 8], Operations: ['48-40=8']
Exploring Operation: 4*8=32, Resulting Numbers: [91, 32]
Generated Node #3: [91, 32] from Operation: 4*8=32
Current State: 59:[91, 32], Operations: ['48-40=8', '4*8=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[48, 40, 91, 4], Operations: []
Exploring Operation: 91-4=87, Resulting Numbers: [48, 40, 87]
Generated Node #0,0: 59:[48, 40, 87] Operation: 91-4=87
Exploring Operation: 40+4=44, Resulting Numbers: [48, 91, 44]
Generated Node #0,1: 59:[48, 91, 44] Operation: 40+4=44
Exploring Operation: 48+4=52, Resulting Numbers: [40, 91, 52]
Generated Node #0,2: 59:[40, 91, 52] Operation: 48+4=52
Moving to Node #0,0
Current State: 59:[48, 40, 87], Operations: ['91-4=87']
Exploring Operation: 48+40=88, Resulting Numbers: [87, 88]
Generated Node #0,0,0: 59:[87, 88] Operation: 48+40=88
Exploring Operation: 87-40=47, Resulting Numbers: [48, 47]
Generated Node #0,0,1: 59:[48, 47] Operation: 87-40=47
Exploring Operation: 87-48=39, Resulting Numbers: [40, 39]
Generated Node #0,0,2: 59:[40, 39] Operation: 87-48=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[48, 47], Operations: ['91-4=87', '87-40=47']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,59 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,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:[40, 39], Operations: ['91-4=87', '87-48=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,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:[87, 88], Operations: ['91-4=87', '48+40=88']
Exploring Operation: 87+88=175, Resulting Numbers: [175]
175,59 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 87*88=7656, Resulting Numbers: [7656]
7656,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:[48, 91, 44], Operations: ['40+4=44']
Exploring Operation: 91-44=47, Resulting Numbers: [48, 47]
Generated Node #0,1,0: 59:[48, 47] Operation: 91-44=47
Exploring Operation: 91-48=43, Resulting Numbers: [44, 43]
Generated Node #0,1,1: 59:[44, 43] Operation: 91-48=43
Exploring Operation: 48+44=92, Resulting Numbers: [91, 92]
Generated Node #0,1,2: 59:[91, 92] Operation: 48+44=92
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[48, 47], Operations: ['40+4=44', '91-44=47']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[44, 43], Operations: ['40+4=44', '91-48=43']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[91, 92], Operations: ['40+4=44', '48+44=92']
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,59 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 59:[40, 91, 52], Operations: ['48+4=52']
Exploring Operation: 40+52=92, Resulting Numbers: [91, 92]
Generated Node #0,2,0: 59:[91, 92] Operation: 40+52=92
Exploring Operation: 91-52=39, Resulting Numbers: [40, 39]
Generated Node #0,2,1: 59:[40, 39] Operation: 91-52=39
Exploring Operation: 91-40=51, Resulting Numbers: [52, 51]
Generated Node #0,2,2: 59:[52, 51] Operation: 91-40=51
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[52, 51], Operations: ['48+4=52', '91-40=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,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,2,1
Current State: 59:[40, 39], Operations: ['48+4=52', '91-52=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,59 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 40-39=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,2,0
Current State: 59:[91, 92], Operations: ['48+4=52', '40+52=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,59 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,59 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,59 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 |
[
46,
14,
5,
77
] | 12 | [
"46+14=60",
"77-5=72",
"72-60=12"
] | Current State: 12:[46, 14, 5, 77], Operations: []
Exploring Operation: 46+14=60, Resulting Numbers: [5, 77, 60]
Generated Node #2: [5, 77, 60] from Operation: 46+14=60
Current State: 12:[5, 77, 60], Operations: ['46+14=60']
Exploring Operation: 77-5=72, Resulting Numbers: [60, 72]
Generated Node #3: [60, 72] from Operation: 77-5=72
Current State: 12:[60, 72], Operations: ['46+14=60', '77-5=72']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[46, 14, 5, 77], Operations: []
Exploring Operation: 46-14=32, Resulting Numbers: [5, 77, 32]
Generated Node #0,0: 12:[5, 77, 32] Operation: 46-14=32
Exploring Operation: 77-46=31, Resulting Numbers: [14, 5, 31]
Generated Node #0,1: 12:[14, 5, 31] Operation: 77-46=31
Exploring Operation: 77-14=63, Resulting Numbers: [46, 5, 63]
Generated Node #0,2: 12:[46, 5, 63] Operation: 77-14=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[14, 5, 31], Operations: ['77-46=31']
Exploring Operation: 31-14=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 12:[5, 17] Operation: 31-14=17
Exploring Operation: 31-5=26, Resulting Numbers: [14, 26]
Generated Node #0,1,1: 12:[14, 26] Operation: 31-5=26
Exploring Operation: 14-5=9, Resulting Numbers: [31, 9]
Generated Node #0,1,2: 12:[31, 9] Operation: 14-5=9
Moving to Node #0,1,0
Current State: 12:[5, 17], Operations: ['77-46=31', '31-14=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[46, 14, 5, 77], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [14, 5, 31]
Generated Node #0,1: 12:[14, 5, 31] Operation: 77-46=31
Moving to Node #0,1
Current State: 12:[14, 5, 31], Operations: ['77-46=31']
Exploring Operation: 31-14=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 12:[5, 17] Operation: 31-14=17
Moving to Node #0,1,0
Current State: 12:[5, 17], Operations: ['77-46=31', '31-14=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
1,
80,
60,
29
] | 49 | [
"1*80=80",
"60-29=31",
"80-31=49"
] | Current State: 49:[1, 80, 60, 29], Operations: []
Exploring Operation: 1*80=80, Resulting Numbers: [60, 29, 80]
Generated Node #2: [60, 29, 80] from Operation: 1*80=80
Current State: 49:[60, 29, 80], Operations: ['1*80=80']
Exploring Operation: 60-29=31, Resulting Numbers: [80, 31]
Generated Node #3: [80, 31] from Operation: 60-29=31
Current State: 49:[80, 31], Operations: ['1*80=80', '60-29=31']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[1, 80, 60, 29], Operations: []
Exploring Operation: 80-29=51, Resulting Numbers: [1, 60, 51]
Generated Node #0,0: 49:[1, 60, 51] Operation: 80-29=51
Exploring Operation: 80-60=20, Resulting Numbers: [1, 29, 20]
Generated Node #0,1: 49:[1, 29, 20] Operation: 80-60=20
Exploring Operation: 60-29=31, Resulting Numbers: [1, 80, 31]
Generated Node #0,2: 49:[1, 80, 31] Operation: 60-29=31
Moving to Node #0,0
Current State: 49:[1, 60, 51], Operations: ['80-29=51']
Exploring Operation: 60-1=59, Resulting Numbers: [51, 59]
Generated Node #0,0,0: 49:[51, 59] Operation: 60-1=59
Exploring Operation: 51-1=50, Resulting Numbers: [60, 50]
Generated Node #0,0,1: 49:[60, 50] Operation: 51-1=50
Exploring Operation: 60-51=9, Resulting Numbers: [1, 9]
Generated Node #0,0,2: 49:[1, 9] Operation: 60-51=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[1, 9], Operations: ['80-29=51', '60-51=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,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,0,0
Current State: 49:[51, 59], Operations: ['80-29=51', '60-1=59']
Exploring Operation: 51+59=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 51*59=3009, Resulting Numbers: [3009]
3009,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,0,1
Current State: 49:[60, 50], Operations: ['80-29=51', '51-1=50']
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,49 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,49 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: 49:[1, 29, 20], Operations: ['80-60=20']
Exploring Operation: 1+29=30, Resulting Numbers: [20, 30]
Generated Node #0,1,0: 49:[20, 30] Operation: 1+29=30
Exploring Operation: 29-20=9, Resulting Numbers: [1, 9]
Generated Node #0,1,1: 49:[1, 9] Operation: 29-20=9
Exploring Operation: 29+20=49, Resulting Numbers: [1, 49]
Generated Node #0,1,2: 49:[1, 49] Operation: 29+20=49
Moving to Node #0,2
Current State: 49:[1, 80, 31], Operations: ['60-29=31']
Exploring Operation: 1+31=32, Resulting Numbers: [80, 32]
Generated Node #0,2,0: 49:[80, 32] Operation: 1+31=32
Exploring Operation: 80-31=49, Resulting Numbers: [1, 49]
Generated Node #0,2,1: 49:[1, 49] Operation: 80-31=49
Exploring Operation: 80-1=79, Resulting Numbers: [31, 79]
Generated Node #0,2,2: 49:[31, 79] Operation: 80-1=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[1, 49], Operations: ['60-29=31', '80-31=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[1, 80, 60, 29], Operations: []
Exploring Operation: 60-29=31, Resulting Numbers: [1, 80, 31]
Generated Node #0,2: 49:[1, 80, 31] Operation: 60-29=31
Moving to Node #0,2
Current State: 49:[1, 80, 31], Operations: ['60-29=31']
Exploring Operation: 80-31=49, Resulting Numbers: [1, 49]
Generated Node #0,2,1: 49:[1, 49] Operation: 80-31=49
Moving to Node #0,2,1
Current State: 49:[1, 49], Operations: ['60-29=31', '80-31=49']
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
56,
76,
27,
48
] | 41 | [
"76-56=20",
"48-27=21",
"20+21=41"
] | Current State: 41:[56, 76, 27, 48], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [27, 48, 20]
Generated Node #2: [27, 48, 20] from Operation: 76-56=20
Current State: 41:[27, 48, 20], Operations: ['76-56=20']
Exploring Operation: 48-27=21, Resulting Numbers: [20, 21]
Generated Node #3: [20, 21] from Operation: 48-27=21
Current State: 41:[20, 21], Operations: ['76-56=20', '48-27=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[56, 76, 27, 48], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [76, 48, 29]
Generated Node #0,0: 41:[76, 48, 29] Operation: 56-27=29
Exploring Operation: 76-56=20, Resulting Numbers: [27, 48, 20]
Generated Node #0,1: 41:[27, 48, 20] Operation: 76-56=20
Exploring Operation: 76-27=49, Resulting Numbers: [56, 48, 49]
Generated Node #0,2: 41:[56, 48, 49] Operation: 76-27=49
Exploring Operation: 76-48=28, Resulting Numbers: [56, 27, 28]
Generated Node #0,3: 41:[56, 27, 28] Operation: 76-48=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[56, 48, 49], Operations: ['76-27=49']
Exploring Operation: 56+48=104, Resulting Numbers: [49, 104]
Generated Node #0,2,0: 41:[49, 104] Operation: 56+48=104
Exploring Operation: 49-48=1, Resulting Numbers: [56, 1]
Generated Node #0,2,1: 41:[56, 1] Operation: 49-48=1
Exploring Operation: 56-48=8, Resulting Numbers: [49, 8]
Generated Node #0,2,2: 41:[49, 8] Operation: 56-48=8
Exploring Operation: 56-49=7, Resulting Numbers: [48, 7]
Generated Node #0,2,3: 41:[48, 7] Operation: 56-49=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[49, 8], Operations: ['76-27=49', '56-48=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,41 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[56, 76, 27, 48], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [56, 48, 49]
Generated Node #0,2: 41:[56, 48, 49] Operation: 76-27=49
Moving to Node #0,2
Current State: 41:[56, 48, 49], Operations: ['76-27=49']
Exploring Operation: 56-48=8, Resulting Numbers: [49, 8]
Generated Node #0,2,2: 41:[49, 8] Operation: 56-48=8
Moving to Node #0,2,2
Current State: 41:[49, 8], Operations: ['76-27=49', '56-48=8']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
90,
20,
35,
50
] | 71 | [
"90*20=1800",
"1800/50=36",
"35+36=71"
] | Current State: 71:[90, 20, 35, 50], Operations: []
Exploring Operation: 90*20=1800, Resulting Numbers: [35, 50, 1800]
Generated Node #2: [35, 50, 1800] from Operation: 90*20=1800
Current State: 71:[35, 50, 1800], Operations: ['90*20=1800']
Exploring Operation: 1800/50=36, Resulting Numbers: [35, 36]
Generated Node #3: [35, 36] from Operation: 1800/50=36
Current State: 71:[35, 36], Operations: ['90*20=1800', '1800/50=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[90, 20, 35, 50], Operations: []
Exploring Operation: 20+50=70, Resulting Numbers: [90, 35, 70]
Generated Node #0,0: 71:[90, 35, 70] Operation: 20+50=70
Exploring Operation: 20+35=55, Resulting Numbers: [90, 50, 55]
Generated Node #0,1: 71:[90, 50, 55] Operation: 20+35=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[90, 35, 70], Operations: ['20+50=70']
Exploring Operation: 35+70=105, Resulting Numbers: [90, 105]
Generated Node #0,0,0: 71:[90, 105] Operation: 35+70=105
Exploring Operation: 90-35=55, Resulting Numbers: [70, 55]
Generated Node #0,0,1: 71:[70, 55] Operation: 90-35=55
Moving to Node #0,0,1
Current State: 71:[70, 55], Operations: ['20+50=70', '90-35=55']
Exploring Operation: 70-55=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 70+55=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[90, 105], Operations: ['20+50=70', '35+70=105']
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,71 unequal: No Solution
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[90, 50, 55], Operations: ['20+35=55']
Exploring Operation: 90-50=40, Resulting Numbers: [55, 40]
Generated Node #0,1,0: 71:[55, 40] Operation: 90-50=40
Exploring Operation: 50+55=105, Resulting Numbers: [90, 105]
Generated Node #0,1,1: 71:[90, 105] Operation: 50+55=105
Moving to Node #0,1,0
Current State: 71:[55, 40], Operations: ['20+35=55', '90-50=40']
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[90, 105], Operations: ['20+35=55', '50+55=105']
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
53,
59,
4,
52
] | 50 | [
"59-53=6",
"4+52=56",
"56-6=50"
] | Current State: 50:[53, 59, 4, 52], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [4, 52, 6]
Generated Node #2: [4, 52, 6] from Operation: 59-53=6
Current State: 50:[4, 52, 6], Operations: ['59-53=6']
Exploring Operation: 4+52=56, Resulting Numbers: [6, 56]
Generated Node #3: [6, 56] from Operation: 4+52=56
Current State: 50:[6, 56], Operations: ['59-53=6', '4+52=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[53, 59, 4, 52], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [53, 4, 7]
Generated Node #0,0: 50:[53, 4, 7] Operation: 59-52=7
Exploring Operation: 59-4=55, Resulting Numbers: [53, 52, 55]
Generated Node #0,1: 50:[53, 52, 55] Operation: 59-4=55
Exploring Operation: 59-53=6, Resulting Numbers: [4, 52, 6]
Generated Node #0,2: 50:[4, 52, 6] Operation: 59-53=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[4, 52, 6], Operations: ['59-53=6']
Exploring Operation: 4+6=10, Resulting Numbers: [52, 10]
Generated Node #0,2,0: 50:[52, 10] Operation: 4+6=10
Exploring Operation: 52-4=48, Resulting Numbers: [6, 48]
Generated Node #0,2,1: 50:[6, 48] Operation: 52-4=48
Exploring Operation: 6-4=2, Resulting Numbers: [52, 2]
Generated Node #0,2,2: 50:[52, 2] Operation: 6-4=2
Moving to Node #0,2,0
Current State: 50:[52, 10], Operations: ['59-53=6', '4+6=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,50 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[52, 2], Operations: ['59-53=6', '6-4=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[53, 59, 4, 52], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [4, 52, 6]
Generated Node #0,2: 50:[4, 52, 6] Operation: 59-53=6
Moving to Node #0,2
Current State: 50:[4, 52, 6], Operations: ['59-53=6']
Exploring Operation: 6-4=2, Resulting Numbers: [52, 2]
Generated Node #0,2,2: 50:[52, 2] Operation: 6-4=2
Moving to Node #0,2,2
Current State: 50:[52, 2], Operations: ['59-53=6', '6-4=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
51,
49,
35,
27
] | 10 | [
"51-49=2",
"35-27=8",
"2+8=10"
] | Current State: 10:[51, 49, 35, 27], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [35, 27, 2]
Generated Node #2: [35, 27, 2] from Operation: 51-49=2
Current State: 10:[35, 27, 2], Operations: ['51-49=2']
Exploring Operation: 35-27=8, Resulting Numbers: [2, 8]
Generated Node #3: [2, 8] from Operation: 35-27=8
Current State: 10:[2, 8], Operations: ['51-49=2', '35-27=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[51, 49, 35, 27], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [51, 27, 14]
Generated Node #0,0: 10:[51, 27, 14] Operation: 49-35=14
Exploring Operation: 51-49=2, Resulting Numbers: [35, 27, 2]
Generated Node #0,1: 10:[35, 27, 2] Operation: 51-49=2
Exploring Operation: 51-35=16, Resulting Numbers: [49, 27, 16]
Generated Node #0,2: 10:[49, 27, 16] Operation: 51-35=16
Moving to Node #0,1
Current State: 10:[35, 27, 2], Operations: ['51-49=2']
Exploring Operation: 35-27=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 10:[2, 8] Operation: 35-27=8
Exploring Operation: 35-2=33, Resulting Numbers: [27, 33]
Generated Node #0,1,1: 10:[27, 33] Operation: 35-2=33
Exploring Operation: 27-2=25, Resulting Numbers: [35, 25]
Generated Node #0,1,2: 10:[35, 25] Operation: 27-2=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[2, 8], Operations: ['51-49=2', '35-27=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[51, 49, 35, 27], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [35, 27, 2]
Generated Node #0,1: 10:[35, 27, 2] Operation: 51-49=2
Moving to Node #0,1
Current State: 10:[35, 27, 2], Operations: ['51-49=2']
Exploring Operation: 35-27=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 10:[2, 8] Operation: 35-27=8
Moving to Node #0,1,0
Current State: 10:[2, 8], Operations: ['51-49=2', '35-27=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
45,
91,
71,
95
] | 22 | [
"91-45=46",
"95-71=24",
"46-24=22"
] | Current State: 22:[45, 91, 71, 95], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [71, 95, 46]
Generated Node #2: [71, 95, 46] from Operation: 91-45=46
Current State: 22:[71, 95, 46], Operations: ['91-45=46']
Exploring Operation: 95-71=24, Resulting Numbers: [46, 24]
Generated Node #3: [46, 24] from Operation: 95-71=24
Current State: 22:[46, 24], Operations: ['91-45=46', '95-71=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[45, 91, 71, 95], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [45, 71, 4]
Generated Node #0,0: 22:[45, 71, 4] Operation: 95-91=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[45, 71, 4], Operations: ['95-91=4']
Exploring Operation: 71-45=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 22:[4, 26] Operation: 71-45=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[4, 26], Operations: ['95-91=4', '71-45=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[45, 91, 71, 95], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [45, 71, 4]
Generated Node #0,0: 22:[45, 71, 4] Operation: 95-91=4
Moving to Node #0,0
Current State: 22:[45, 71, 4], Operations: ['95-91=4']
Exploring Operation: 71-45=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 22:[4, 26] Operation: 71-45=26
Moving to Node #0,0,0
Current State: 22:[4, 26], Operations: ['95-91=4', '71-45=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
94,
73,
13
] | 19 | [
"80+94=174",
"73+174=247",
"247/13=19"
] | Current State: 19:[80, 94, 73, 13], Operations: []
Exploring Operation: 80+94=174, Resulting Numbers: [73, 13, 174]
Generated Node #2: [73, 13, 174] from Operation: 80+94=174
Current State: 19:[73, 13, 174], Operations: ['80+94=174']
Exploring Operation: 73+174=247, Resulting Numbers: [13, 247]
Generated Node #3: [13, 247] from Operation: 73+174=247
Current State: 19:[13, 247], Operations: ['80+94=174', '73+174=247']
Exploring Operation: 247/13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[80, 94, 73, 13], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [80, 13, 21]
Generated Node #0,0: 19:[80, 13, 21] Operation: 94-73=21
Exploring Operation: 94-80=14, Resulting Numbers: [73, 13, 14]
Generated Node #0,1: 19:[73, 13, 14] Operation: 94-80=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[73, 13, 14], Operations: ['94-80=14']
Exploring Operation: 73-13=60, Resulting Numbers: [14, 60]
Generated Node #0,1,0: 19:[14, 60] Operation: 73-13=60
Exploring Operation: 73-14=59, Resulting Numbers: [13, 59]
Generated Node #0,1,1: 19:[13, 59] Operation: 73-14=59
Moving to Node #0,1,0
Current State: 19:[14, 60], Operations: ['94-80=14', '73-13=60']
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[13, 59], Operations: ['94-80=14', '73-14=59']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[80, 13, 21], Operations: ['94-73=21']
Exploring Operation: 80-21=59, Resulting Numbers: [13, 59]
Generated Node #0,0,0: 19:[13, 59] Operation: 80-21=59
Exploring Operation: 80-13=67, Resulting Numbers: [21, 67]
Generated Node #0,0,1: 19:[21, 67] Operation: 80-13=67
Moving to Node #0,0,0
Current State: 19:[13, 59], Operations: ['94-73=21', '80-21=59']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[21, 67], Operations: ['94-73=21', '80-13=67']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 21+67=88, Resulting Numbers: [88]
88,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
71,
68,
60
] | 47 | [
"71-16=55",
"68-60=8",
"55-8=47"
] | Current State: 47:[16, 71, 68, 60], Operations: []
Exploring Operation: 71-16=55, Resulting Numbers: [68, 60, 55]
Generated Node #2: [68, 60, 55] from Operation: 71-16=55
Current State: 47:[68, 60, 55], Operations: ['71-16=55']
Exploring Operation: 68-60=8, Resulting Numbers: [55, 8]
Generated Node #3: [55, 8] from Operation: 68-60=8
Current State: 47:[55, 8], Operations: ['71-16=55', '68-60=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[16, 71, 68, 60], Operations: []
Exploring Operation: 16+68=84, Resulting Numbers: [71, 60, 84]
Generated Node #0,0: 47:[71, 60, 84] Operation: 16+68=84
Exploring Operation: 68-16=52, Resulting Numbers: [71, 60, 52]
Generated Node #0,1: 47:[71, 60, 52] Operation: 68-16=52
Exploring Operation: 16+71=87, Resulting Numbers: [68, 60, 87]
Generated Node #0,2: 47:[68, 60, 87] Operation: 16+71=87
Exploring Operation: 60-16=44, Resulting Numbers: [71, 68, 44]
Generated Node #0,3: 47:[71, 68, 44] Operation: 60-16=44
Exploring Operation: 71-16=55, Resulting Numbers: [68, 60, 55]
Generated Node #0,4: 47:[68, 60, 55] Operation: 71-16=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[71, 60, 52], Operations: ['68-16=52']
Exploring Operation: 71-60=11, Resulting Numbers: [52, 11]
Generated Node #0,1,0: 47:[52, 11] Operation: 71-60=11
Exploring Operation: 71-52=19, Resulting Numbers: [60, 19]
Generated Node #0,1,1: 47:[60, 19] Operation: 71-52=19
Exploring Operation: 71+52=123, Resulting Numbers: [60, 123]
Generated Node #0,1,2: 47:[60, 123] Operation: 71+52=123
Exploring Operation: 71+60=131, Resulting Numbers: [52, 131]
Generated Node #0,1,3: 47:[52, 131] Operation: 71+60=131
Exploring Operation: 60-52=8, Resulting Numbers: [71, 8]
Generated Node #0,1,4: 47:[71, 8] Operation: 60-52=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[52, 11], Operations: ['68-16=52', '71-60=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,47 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,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,1
Current State: 47:[60, 19], Operations: ['68-16=52', '71-52=19']
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,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,4
Current State: 47:[71, 8], Operations: ['68-16=52', '60-52=8']
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,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:[60, 123], Operations: ['68-16=52', '71+52=123']
Exploring Operation: 60*123=7380, Resulting Numbers: [7380]
7380,47 unequal: No Solution
Exploring Operation: 60+123=183, Resulting Numbers: [183]
183,47 unequal: No Solution
Exploring Operation: 123-60=63, Resulting Numbers: [63]
63,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,3
Current State: 47:[52, 131], Operations: ['68-16=52', '71+60=131']
Exploring Operation: 52*131=6812, Resulting Numbers: [6812]
6812,47 unequal: No Solution
Exploring Operation: 131-52=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 52+131=183, Resulting Numbers: [183]
183,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,4
Current State: 47:[68, 60, 55], Operations: ['71-16=55']
Exploring Operation: 68-55=13, Resulting Numbers: [60, 13]
Generated Node #0,4,0: 47:[60, 13] Operation: 68-55=13
Exploring Operation: 60-55=5, Resulting Numbers: [68, 5]
Generated Node #0,4,1: 47:[68, 5] Operation: 60-55=5
Exploring Operation: 68+60=128, Resulting Numbers: [55, 128]
Generated Node #0,4,2: 47:[55, 128] Operation: 68+60=128
Exploring Operation: 68+55=123, Resulting Numbers: [60, 123]
Generated Node #0,4,3: 47:[60, 123] Operation: 68+55=123
Exploring Operation: 68-60=8, Resulting Numbers: [55, 8]
Generated Node #0,4,4: 47:[55, 8] Operation: 68-60=8
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 47:[60, 13], Operations: ['71-16=55', '68-55=13']
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,47 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[16, 71, 68, 60], Operations: []
Exploring Operation: 71-16=55, Resulting Numbers: [68, 60, 55]
Generated Node #0,4: 47:[68, 60, 55] Operation: 71-16=55
Moving to Node #0,4
Current State: 47:[68, 60, 55], Operations: ['71-16=55']
Exploring Operation: 68-55=13, Resulting Numbers: [60, 13]
Generated Node #0,4,0: 47:[60, 13] Operation: 68-55=13
Moving to Node #0,4,0
Current State: 47:[60, 13], Operations: ['71-16=55', '68-55=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
47,
21,
34,
84
] | 63 | [
"47+34=81",
"84-81=3",
"21*3=63"
] | Current State: 63:[47, 21, 34, 84], Operations: []
Exploring Operation: 47+34=81, Resulting Numbers: [21, 84, 81]
Generated Node #2: [21, 84, 81] from Operation: 47+34=81
Current State: 63:[21, 84, 81], Operations: ['47+34=81']
Exploring Operation: 84-81=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 84-81=3
Current State: 63:[21, 3], Operations: ['47+34=81', '84-81=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[47, 21, 34, 84], Operations: []
Exploring Operation: 84-34=50, Resulting Numbers: [47, 21, 50]
Generated Node #0,0: 63:[47, 21, 50] Operation: 84-34=50
Exploring Operation: 47-34=13, Resulting Numbers: [21, 84, 13]
Generated Node #0,1: 63:[21, 84, 13] Operation: 47-34=13
Exploring Operation: 84-47=37, Resulting Numbers: [21, 34, 37]
Generated Node #0,2: 63:[21, 34, 37] Operation: 84-47=37
Exploring Operation: 84-21=63, Resulting Numbers: [47, 34, 63]
Generated Node #0,3: 63:[47, 34, 63] Operation: 84-21=63
Moving to Node #0,1
Current State: 63:[21, 84, 13], Operations: ['47-34=13']
Exploring Operation: 84/21=4, Resulting Numbers: [13, 4]
Generated Node #0,1,0: 63:[13, 4] Operation: 84/21=4
Exploring Operation: 84-13=71, Resulting Numbers: [21, 71]
Generated Node #0,1,1: 63:[21, 71] Operation: 84-13=71
Exploring Operation: 21-13=8, Resulting Numbers: [84, 8]
Generated Node #0,1,2: 63:[84, 8] Operation: 21-13=8
Exploring Operation: 84-21=63, Resulting Numbers: [13, 63]
Generated Node #0,1,3: 63:[13, 63] Operation: 84-21=63
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[13, 63], Operations: ['47-34=13', '84-21=63']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,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,0
Current State: 63:[13, 4], Operations: ['47-34=13', '84/21=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,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,1
Current State: 63:[21, 71], Operations: ['47-34=13', '84-13=71']
Exploring Operation: 21*71=1491, Resulting Numbers: [1491]
1491,63 unequal: No Solution
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,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,2
Current State: 63:[84, 8], Operations: ['47-34=13', '21-13=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 63:[21, 34, 37], Operations: ['84-47=37']
Exploring Operation: 37-21=16, Resulting Numbers: [34, 16]
Generated Node #0,2,0: 63:[34, 16] Operation: 37-21=16
Exploring Operation: 37-34=3, Resulting Numbers: [21, 3]
Generated Node #0,2,1: 63:[21, 3] Operation: 37-34=3
Exploring Operation: 21+37=58, Resulting Numbers: [34, 58]
Generated Node #0,2,2: 63:[34, 58] Operation: 21+37=58
Exploring Operation: 34+37=71, Resulting Numbers: [21, 71]
Generated Node #0,2,3: 63:[21, 71] Operation: 34+37=71
Moving to Node #0,0
Current State: 63:[47, 21, 50], Operations: ['84-34=50']
Exploring Operation: 47+21=68, Resulting Numbers: [50, 68]
Generated Node #0,0,0: 63:[50, 68] Operation: 47+21=68
Exploring Operation: 21+50=71, Resulting Numbers: [47, 71]
Generated Node #0,0,1: 63:[47, 71] Operation: 21+50=71
Exploring Operation: 50-47=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 63:[21, 3] Operation: 50-47=3
Exploring Operation: 47-21=26, Resulting Numbers: [50, 26]
Generated Node #0,0,3: 63:[50, 26] Operation: 47-21=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[21, 3], Operations: ['84-34=50', '50-47=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[47, 21, 34, 84], Operations: []
Exploring Operation: 84-34=50, Resulting Numbers: [47, 21, 50]
Generated Node #0,0: 63:[47, 21, 50] Operation: 84-34=50
Moving to Node #0,0
Current State: 63:[47, 21, 50], Operations: ['84-34=50']
Exploring Operation: 50-47=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 63:[21, 3] Operation: 50-47=3
Moving to Node #0,0,2
Current State: 63:[21, 3], Operations: ['84-34=50', '50-47=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
44,
71,
9,
33
] | 15 | [
"71-44=27",
"9+33=42",
"42-27=15"
] | Current State: 15:[44, 71, 9, 33], Operations: []
Exploring Operation: 71-44=27, Resulting Numbers: [9, 33, 27]
Generated Node #2: [9, 33, 27] from Operation: 71-44=27
Current State: 15:[9, 33, 27], Operations: ['71-44=27']
Exploring Operation: 9+33=42, Resulting Numbers: [27, 42]
Generated Node #3: [27, 42] from Operation: 9+33=42
Current State: 15:[27, 42], Operations: ['71-44=27', '9+33=42']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[44, 71, 9, 33], Operations: []
Exploring Operation: 44-33=11, Resulting Numbers: [71, 9, 11]
Generated Node #0,0: 15:[71, 9, 11] Operation: 44-33=11
Exploring Operation: 44-9=35, Resulting Numbers: [71, 33, 35]
Generated Node #0,1: 15:[71, 33, 35] Operation: 44-9=35
Exploring Operation: 71-44=27, Resulting Numbers: [9, 33, 27]
Generated Node #0,2: 15:[9, 33, 27] Operation: 71-44=27
Exploring Operation: 71-33=38, Resulting Numbers: [44, 9, 38]
Generated Node #0,3: 15:[44, 9, 38] Operation: 71-33=38
Exploring Operation: 71-9=62, Resulting Numbers: [44, 33, 62]
Generated Node #0,4: 15:[44, 33, 62] Operation: 71-9=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[9, 33, 27], Operations: ['71-44=27']
Exploring Operation: 27-9=18, Resulting Numbers: [33, 18]
Generated Node #0,2,0: 15:[33, 18] Operation: 27-9=18
Exploring Operation: 33-27=6, Resulting Numbers: [9, 6]
Generated Node #0,2,1: 15:[9, 6] Operation: 33-27=6
Exploring Operation: 27/9=3, Resulting Numbers: [33, 3]
Generated Node #0,2,2: 15:[33, 3] Operation: 27/9=3
Exploring Operation: 33-9=24, Resulting Numbers: [27, 24]
Generated Node #0,2,3: 15:[27, 24] Operation: 33-9=24
Exploring Operation: 9+33=42, Resulting Numbers: [27, 42]
Generated Node #0,2,4: 15:[27, 42] Operation: 9+33=42
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[9, 6], Operations: ['71-44=27', '33-27=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[44, 71, 9, 33], Operations: []
Exploring Operation: 71-44=27, Resulting Numbers: [9, 33, 27]
Generated Node #0,2: 15:[9, 33, 27] Operation: 71-44=27
Moving to Node #0,2
Current State: 15:[9, 33, 27], Operations: ['71-44=27']
Exploring Operation: 33-27=6, Resulting Numbers: [9, 6]
Generated Node #0,2,1: 15:[9, 6] Operation: 33-27=6
Moving to Node #0,2,1
Current State: 15:[9, 6], Operations: ['71-44=27', '33-27=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
32,
80,
89,
2
] | 82 | [
"80-32=48",
"89-48=41",
"2*41=82"
] | Current State: 82:[32, 80, 89, 2], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [89, 2, 48]
Generated Node #2: [89, 2, 48] from Operation: 80-32=48
Current State: 82:[89, 2, 48], Operations: ['80-32=48']
Exploring Operation: 89-48=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 89-48=41
Current State: 82:[2, 41], Operations: ['80-32=48', '89-48=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[32, 80, 89, 2], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [89, 2, 48]
Generated Node #0,0: 82:[89, 2, 48] Operation: 80-32=48
Exploring Operation: 89-80=9, Resulting Numbers: [32, 2, 9]
Generated Node #0,1: 82:[32, 2, 9] Operation: 89-80=9
Exploring Operation: 32+2=34, Resulting Numbers: [80, 89, 34]
Generated Node #0,2: 82:[80, 89, 34] Operation: 32+2=34
Moving to Node #0,0
Current State: 82:[89, 2, 48], Operations: ['80-32=48']
Exploring Operation: 48-2=46, Resulting Numbers: [89, 46]
Generated Node #0,0,0: 82:[89, 46] Operation: 48-2=46
Exploring Operation: 89-48=41, Resulting Numbers: [2, 41]
Generated Node #0,0,1: 82:[2, 41] Operation: 89-48=41
Exploring Operation: 89-2=87, Resulting Numbers: [48, 87]
Generated Node #0,0,2: 82:[48, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[2, 41], Operations: ['80-32=48', '89-48=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[32, 80, 89, 2], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [89, 2, 48]
Generated Node #0,0: 82:[89, 2, 48] Operation: 80-32=48
Moving to Node #0,0
Current State: 82:[89, 2, 48], Operations: ['80-32=48']
Exploring Operation: 89-48=41, Resulting Numbers: [2, 41]
Generated Node #0,0,1: 82:[2, 41] Operation: 89-48=41
Moving to Node #0,0,1
Current State: 82:[2, 41], Operations: ['80-32=48', '89-48=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
28,
26,
69,
48
] | 63 | [
"28+26=54",
"69+48=117",
"117-54=63"
] | Current State: 63:[28, 26, 69, 48], Operations: []
Exploring Operation: 28+26=54, Resulting Numbers: [69, 48, 54]
Generated Node #2: [69, 48, 54] from Operation: 28+26=54
Current State: 63:[69, 48, 54], Operations: ['28+26=54']
Exploring Operation: 69+48=117, Resulting Numbers: [54, 117]
Generated Node #3: [54, 117] from Operation: 69+48=117
Current State: 63:[54, 117], Operations: ['28+26=54', '69+48=117']
Exploring Operation: 117-54=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[28, 26, 69, 48], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [26, 69, 20]
Generated Node #0,0: 63:[26, 69, 20] Operation: 48-28=20
Exploring Operation: 69-48=21, Resulting Numbers: [28, 26, 21]
Generated Node #0,1: 63:[28, 26, 21] Operation: 69-48=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[26, 69, 20], Operations: ['48-28=20']
Exploring Operation: 26-20=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 63:[69, 6] Operation: 26-20=6
Exploring Operation: 69-20=49, Resulting Numbers: [26, 49]
Generated Node #0,0,1: 63:[26, 49] Operation: 69-20=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[69, 6], Operations: ['48-28=20', '26-20=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[28, 26, 69, 48], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [26, 69, 20]
Generated Node #0,0: 63:[26, 69, 20] Operation: 48-28=20
Moving to Node #0,0
Current State: 63:[26, 69, 20], Operations: ['48-28=20']
Exploring Operation: 26-20=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 63:[69, 6] Operation: 26-20=6
Moving to Node #0,0,0
Current State: 63:[69, 6], Operations: ['48-28=20', '26-20=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
4,
9,
72,
70
] | 66 | [
"4+70=74",
"72/9=8",
"74-8=66"
] | Current State: 66:[4, 9, 72, 70], Operations: []
Exploring Operation: 4+70=74, Resulting Numbers: [9, 72, 74]
Generated Node #2: [9, 72, 74] from Operation: 4+70=74
Current State: 66:[9, 72, 74], Operations: ['4+70=74']
Exploring Operation: 72/9=8, Resulting Numbers: [74, 8]
Generated Node #3: [74, 8] from Operation: 72/9=8
Current State: 66:[74, 8], Operations: ['4+70=74', '72/9=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[4, 9, 72, 70], Operations: []
Exploring Operation: 72-4=68, Resulting Numbers: [9, 70, 68]
Generated Node #0,0: 66:[9, 70, 68] Operation: 72-4=68
Exploring Operation: 72/9=8, Resulting Numbers: [4, 70, 8]
Generated Node #0,1: 66:[4, 70, 8] Operation: 72/9=8
Exploring Operation: 72-70=2, Resulting Numbers: [4, 9, 2]
Generated Node #0,2: 66:[4, 9, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[4, 9, 2], Operations: ['72-70=2']
Exploring Operation: 9+2=11, Resulting Numbers: [4, 11]
Generated Node #0,2,0: 66:[4, 11] Operation: 9+2=11
Exploring Operation: 9-4=5, Resulting Numbers: [2, 5]
Generated Node #0,2,1: 66:[2, 5] Operation: 9-4=5
Exploring Operation: 4+9=13, Resulting Numbers: [2, 13]
Generated Node #0,2,2: 66:[2, 13] Operation: 4+9=13
Moving to Node #0,2,0
Current State: 66:[4, 11], Operations: ['72-70=2', '9+2=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[2, 5], Operations: ['72-70=2', '9-4=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[2, 13], Operations: ['72-70=2', '4+9=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[4, 70, 8], Operations: ['72/9=8']
Exploring Operation: 4+8=12, Resulting Numbers: [70, 12]
Generated Node #0,1,0: 66:[70, 12] Operation: 4+8=12
Exploring Operation: 70-4=66, Resulting Numbers: [8, 66]
Generated Node #0,1,1: 66:[8, 66] Operation: 70-4=66
Exploring Operation: 8/4=2, Resulting Numbers: [70, 2]
Generated Node #0,1,2: 66:[70, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[8, 66], Operations: ['72/9=8', '70-4=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[70, 2], Operations: ['72/9=8', '8/4=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[70, 12], Operations: ['72/9=8', '4+8=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,66 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[9, 70, 68], Operations: ['72-4=68']
Exploring Operation: 70-9=61, Resulting Numbers: [68, 61]
Generated Node #0,0,0: 66:[68, 61] Operation: 70-9=61
Exploring Operation: 68-9=59, Resulting Numbers: [70, 59]
Generated Node #0,0,1: 66:[70, 59] Operation: 68-9=59
Exploring Operation: 70-68=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 66:[9, 2] Operation: 70-68=2
Moving to Node #0,0,2
Current State: 66:[9, 2], Operations: ['72-4=68', '70-68=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[68, 61], Operations: ['72-4=68', '70-9=61']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,66 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[70, 59], Operations: ['72-4=68', '68-9=59']
Exploring Operation: 70*59=4130, Resulting Numbers: [4130]
4130,66 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,66 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,66 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 |
[
17,
25,
29,
26
] | 45 | [
"17+25=42",
"29-26=3",
"42+3=45"
] | Current State: 45:[17, 25, 29, 26], Operations: []
Exploring Operation: 17+25=42, Resulting Numbers: [29, 26, 42]
Generated Node #2: [29, 26, 42] from Operation: 17+25=42
Current State: 45:[29, 26, 42], Operations: ['17+25=42']
Exploring Operation: 29-26=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 29-26=3
Current State: 45:[42, 3], Operations: ['17+25=42', '29-26=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[17, 25, 29, 26], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [17, 26, 4]
Generated Node #0,0: 45:[17, 26, 4] Operation: 29-25=4
Exploring Operation: 17+29=46, Resulting Numbers: [25, 26, 46]
Generated Node #0,1: 45:[25, 26, 46] Operation: 17+29=46
Exploring Operation: 26-25=1, Resulting Numbers: [17, 29, 1]
Generated Node #0,2: 45:[17, 29, 1] Operation: 26-25=1
Exploring Operation: 29-26=3, Resulting Numbers: [17, 25, 3]
Generated Node #0,3: 45:[17, 25, 3] Operation: 29-26=3
Moving to Node #0,3
Current State: 45:[17, 25, 3], Operations: ['29-26=3']
Exploring Operation: 25-17=8, Resulting Numbers: [3, 8]
Generated Node #0,3,0: 45:[3, 8] Operation: 25-17=8
Exploring Operation: 17+25=42, Resulting Numbers: [3, 42]
Generated Node #0,3,1: 45:[3, 42] Operation: 17+25=42
Exploring Operation: 17-3=14, Resulting Numbers: [25, 14]
Generated Node #0,3,2: 45:[25, 14] Operation: 17-3=14
Exploring Operation: 25-3=22, Resulting Numbers: [17, 22]
Generated Node #0,3,3: 45:[17, 22] Operation: 25-3=22
Moving to Node #0,0
Current State: 45:[17, 26, 4], Operations: ['29-25=4']
Exploring Operation: 17+26=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 45:[4, 43] Operation: 17+26=43
Exploring Operation: 26-17=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 45:[4, 9] Operation: 26-17=9
Exploring Operation: 26-4=22, Resulting Numbers: [17, 22]
Generated Node #0,0,2: 45:[17, 22] Operation: 26-4=22
Exploring Operation: 17-4=13, Resulting Numbers: [26, 13]
Generated Node #0,0,3: 45:[26, 13] Operation: 17-4=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[4, 9], Operations: ['29-25=4', '26-17=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[4, 43], Operations: ['29-25=4', '17+26=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,45 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[17, 22], Operations: ['29-25=4', '26-4=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[26, 13], Operations: ['29-25=4', '17-4=13']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,45 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,45 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: 45:[17, 29, 1], Operations: ['26-25=1']
Exploring Operation: 29-1=28, Resulting Numbers: [17, 28]
Generated Node #0,2,0: 45:[17, 28] Operation: 29-1=28
Exploring Operation: 17-1=16, Resulting Numbers: [29, 16]
Generated Node #0,2,1: 45:[29, 16] Operation: 17-1=16
Exploring Operation: 17+29=46, Resulting Numbers: [1, 46]
Generated Node #0,2,2: 45:[1, 46] Operation: 17+29=46
Exploring Operation: 29-17=12, Resulting Numbers: [1, 12]
Generated Node #0,2,3: 45:[1, 12] Operation: 29-17=12
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[1, 46], Operations: ['26-25=1', '17+29=46']
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[17, 25, 29, 26], Operations: []
Exploring Operation: 26-25=1, Resulting Numbers: [17, 29, 1]
Generated Node #0,2: 45:[17, 29, 1] Operation: 26-25=1
Moving to Node #0,2
Current State: 45:[17, 29, 1], Operations: ['26-25=1']
Exploring Operation: 17+29=46, Resulting Numbers: [1, 46]
Generated Node #0,2,2: 45:[1, 46] Operation: 17+29=46
Moving to Node #0,2,2
Current State: 45:[1, 46], Operations: ['26-25=1', '17+29=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
87,
1,
40,
78
] | 85 | [
"40-1=39",
"78/39=2",
"87-2=85"
] | Current State: 85:[87, 1, 40, 78], Operations: []
Exploring Operation: 40-1=39, Resulting Numbers: [87, 78, 39]
Generated Node #2: [87, 78, 39] from Operation: 40-1=39
Current State: 85:[87, 78, 39], Operations: ['40-1=39']
Exploring Operation: 78/39=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 78/39=2
Current State: 85:[87, 2], Operations: ['40-1=39', '78/39=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[87, 1, 40, 78], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [1, 40, 9]
Generated Node #0,0: 85:[1, 40, 9] Operation: 87-78=9
Exploring Operation: 78-40=38, Resulting Numbers: [87, 1, 38]
Generated Node #0,1: 85:[87, 1, 38] Operation: 78-40=38
Exploring Operation: 87-1=86, Resulting Numbers: [40, 78, 86]
Generated Node #0,2: 85:[40, 78, 86] Operation: 87-1=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[87, 1, 38], Operations: ['78-40=38']
Exploring Operation: 87*1=87, Resulting Numbers: [38, 87]
Generated Node #0,1,0: 85:[38, 87] Operation: 87*1=87
Exploring Operation: 38-1=37, Resulting Numbers: [87, 37]
Generated Node #0,1,1: 85:[87, 37] Operation: 38-1=37
Exploring Operation: 87-1=86, Resulting Numbers: [38, 86]
Generated Node #0,1,2: 85:[38, 86] Operation: 87-1=86
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[87, 37], Operations: ['78-40=38', '38-1=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,85 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,85 unequal: No Solution
No 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: 85:[38, 86], Operations: ['78-40=38', '87-1=86']
Exploring Operation: 38*86=3268, Resulting Numbers: [3268]
3268,85 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 38+86=124, Resulting Numbers: [124]
124,85 unequal: No Solution
No 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: 85:[38, 87], Operations: ['78-40=38', '87*1=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,85 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,85 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: 85:[1, 40, 9], Operations: ['87-78=9']
Exploring Operation: 40-9=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 85:[1, 31] Operation: 40-9=31
Exploring Operation: 9-1=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 85:[40, 8] Operation: 9-1=8
Exploring Operation: 40-1=39, Resulting Numbers: [9, 39]
Generated Node #0,0,2: 85:[9, 39] Operation: 40-1=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[1, 31], Operations: ['87-78=9', '40-9=31']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,85 unequal: No Solution
No 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: 85:[40, 8], Operations: ['87-78=9', '9-1=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,85 unequal: No Solution
No 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: 85:[9, 39], Operations: ['87-78=9', '40-1=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,85 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: 85:[40, 78, 86], Operations: ['87-1=86']
Exploring Operation: 86-78=8, Resulting Numbers: [40, 8]
Generated Node #0,2,0: 85:[40, 8] Operation: 86-78=8
Exploring Operation: 40+78=118, Resulting Numbers: [86, 118]
Generated Node #0,2,1: 85:[86, 118] Operation: 40+78=118
Exploring Operation: 78-40=38, Resulting Numbers: [86, 38]
Generated Node #0,2,2: 85:[86, 38] Operation: 78-40=38
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[86, 38], Operations: ['87-1=86', '78-40=38']
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,85 unequal: No Solution
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,85 unequal: No Solution
No 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: 85:[40, 8], Operations: ['87-1=86', '86-78=8']
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No 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: 85:[86, 118], Operations: ['87-1=86', '40+78=118']
Exploring Operation: 118-86=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 86*118=10148, Resulting Numbers: [10148]
10148,85 unequal: No Solution
Exploring Operation: 86+118=204, Resulting Numbers: [204]
204,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
58,
33,
71,
70
] | 24 | [
"58-33=25",
"71-70=1",
"25-1=24"
] | Current State: 24:[58, 33, 71, 70], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [71, 70, 25]
Generated Node #2: [71, 70, 25] from Operation: 58-33=25
Current State: 24:[71, 70, 25], Operations: ['58-33=25']
Exploring Operation: 71-70=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 71-70=1
Current State: 24:[25, 1], Operations: ['58-33=25', '71-70=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[58, 33, 71, 70], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [33, 70, 13]
Generated Node #0,0: 24:[33, 70, 13] Operation: 71-58=13
Exploring Operation: 71-70=1, Resulting Numbers: [58, 33, 1]
Generated Node #0,1: 24:[58, 33, 1] Operation: 71-70=1
Exploring Operation: 58-33=25, Resulting Numbers: [71, 70, 25]
Generated Node #0,2: 24:[71, 70, 25] Operation: 58-33=25
Exploring Operation: 70-58=12, Resulting Numbers: [33, 71, 12]
Generated Node #0,3: 24:[33, 71, 12] Operation: 70-58=12
Exploring Operation: 71-33=38, Resulting Numbers: [58, 70, 38]
Generated Node #0,4: 24:[58, 70, 38] Operation: 71-33=38
Moving to Node #0,1
Current State: 24:[58, 33, 1], Operations: ['71-70=1']
Exploring Operation: 58/1=58, Resulting Numbers: [33, 58]
Generated Node #0,1,0: 24:[33, 58] Operation: 58/1=58
Exploring Operation: 58-1=57, Resulting Numbers: [33, 57]
Generated Node #0,1,1: 24:[33, 57] Operation: 58-1=57
Exploring Operation: 33-1=32, Resulting Numbers: [58, 32]
Generated Node #0,1,2: 24:[58, 32] Operation: 33-1=32
Exploring Operation: 58*1=58, Resulting Numbers: [33, 58]
Generated Node #0,1,3: 24:[33, 58] Operation: 58*1=58
Exploring Operation: 58-33=25, Resulting Numbers: [1, 25]
Generated Node #0,1,4: 24:[1, 25] Operation: 58-33=25
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 24:[1, 25], Operations: ['71-70=1', '58-33=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[58, 33, 71, 70], Operations: []
Exploring Operation: 71-70=1, Resulting Numbers: [58, 33, 1]
Generated Node #0,1: 24:[58, 33, 1] Operation: 71-70=1
Moving to Node #0,1
Current State: 24:[58, 33, 1], Operations: ['71-70=1']
Exploring Operation: 58-33=25, Resulting Numbers: [1, 25]
Generated Node #0,1,4: 24:[1, 25] Operation: 58-33=25
Moving to Node #0,1,4
Current State: 24:[1, 25], Operations: ['71-70=1', '58-33=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
38,
75,
17,
3
] | 22 | [
"38*3=114",
"75+17=92",
"114-92=22"
] | Current State: 22:[38, 75, 17, 3], Operations: []
Exploring Operation: 38*3=114, Resulting Numbers: [75, 17, 114]
Generated Node #2: [75, 17, 114] from Operation: 38*3=114
Current State: 22:[75, 17, 114], Operations: ['38*3=114']
Exploring Operation: 75+17=92, Resulting Numbers: [114, 92]
Generated Node #3: [114, 92] from Operation: 75+17=92
Current State: 22:[114, 92], Operations: ['38*3=114', '75+17=92']
Exploring Operation: 114-92=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[38, 75, 17, 3], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [17, 3, 37]
Generated Node #0,0: 22:[17, 3, 37] Operation: 75-38=37
Exploring Operation: 38-17=21, Resulting Numbers: [75, 3, 21]
Generated Node #0,1: 22:[75, 3, 21] Operation: 38-17=21
Exploring Operation: 75-17=58, Resulting Numbers: [38, 3, 58]
Generated Node #0,2: 22:[38, 3, 58] Operation: 75-17=58
Exploring Operation: 75/3=25, Resulting Numbers: [38, 17, 25]
Generated Node #0,3: 22:[38, 17, 25] Operation: 75/3=25
Moving to Node #0,0
Current State: 22:[17, 3, 37], Operations: ['75-38=37']
Exploring Operation: 17+3=20, Resulting Numbers: [37, 20]
Generated Node #0,0,0: 22:[37, 20] Operation: 17+3=20
Exploring Operation: 37-3=34, Resulting Numbers: [17, 34]
Generated Node #0,0,1: 22:[17, 34] Operation: 37-3=34
Exploring Operation: 17-3=14, Resulting Numbers: [37, 14]
Generated Node #0,0,2: 22:[37, 14] Operation: 17-3=14
Exploring Operation: 37-17=20, Resulting Numbers: [3, 20]
Generated Node #0,0,3: 22:[3, 20] Operation: 37-17=20
Moving to Node #0,3
Current State: 22:[38, 17, 25], Operations: ['75/3=25']
Exploring Operation: 25-17=8, Resulting Numbers: [38, 8]
Generated Node #0,3,0: 22:[38, 8] Operation: 25-17=8
Exploring Operation: 38-25=13, Resulting Numbers: [17, 13]
Generated Node #0,3,1: 22:[17, 13] Operation: 38-25=13
Exploring Operation: 38+17=55, Resulting Numbers: [25, 55]
Generated Node #0,3,2: 22:[25, 55] Operation: 38+17=55
Exploring Operation: 38-17=21, Resulting Numbers: [25, 21]
Generated Node #0,3,3: 22:[25, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[25, 21], Operations: ['75/3=25', '38-17=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,22 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[17, 13], Operations: ['75/3=25', '38-25=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[38, 8], Operations: ['75/3=25', '25-17=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,22 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 22:[25, 55], Operations: ['75/3=25', '38+17=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,22 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: 22:[38, 3, 58], Operations: ['75-17=58']
Exploring Operation: 38-3=35, Resulting Numbers: [58, 35]
Generated Node #0,2,0: 22:[58, 35] Operation: 38-3=35
Exploring Operation: 58-38=20, Resulting Numbers: [3, 20]
Generated Node #0,2,1: 22:[3, 20] Operation: 58-38=20
Exploring Operation: 58-3=55, Resulting Numbers: [38, 55]
Generated Node #0,2,2: 22:[38, 55] Operation: 58-3=55
Exploring Operation: 38+3=41, Resulting Numbers: [58, 41]
Generated Node #0,2,3: 22:[58, 41] Operation: 38+3=41
Moving to Node #0,1
Current State: 22:[75, 3, 21], Operations: ['38-17=21']
Exploring Operation: 75-3=72, Resulting Numbers: [21, 72]
Generated Node #0,1,0: 22:[21, 72] Operation: 75-3=72
Exploring Operation: 75-21=54, Resulting Numbers: [3, 54]
Generated Node #0,1,1: 22:[3, 54] Operation: 75-21=54
Exploring Operation: 75/3=25, Resulting Numbers: [21, 25]
Generated Node #0,1,2: 22:[21, 25] Operation: 75/3=25
Exploring Operation: 3+21=24, Resulting Numbers: [75, 24]
Generated Node #0,1,3: 22:[75, 24] Operation: 3+21=24
Moving to Node #0,0,3
Current State: 22:[3, 20], Operations: ['75-38=37', '37-17=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[3, 20], Operations: ['75-17=58', '58-38=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[21, 25], Operations: ['38-17=21', '75/3=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,22 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[17, 34], Operations: ['75-38=37', '37-3=34']
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,22 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[37, 20], Operations: ['75-38=37', '17+3=20']
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,22 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[37, 14], Operations: ['75-38=37', '17-3=14']
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,22 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[3, 54], Operations: ['38-17=21', '75-21=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,22 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[38, 55], Operations: ['75-17=58', '58-3=55']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[58, 35], Operations: ['75-17=58', '38-3=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,22 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[21, 72], Operations: ['38-17=21', '75-3=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[58, 41], Operations: ['75-17=58', '38+3=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,22 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[75, 24], Operations: ['38-17=21', '3+21=24']
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,22 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,22 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
20,
78,
33,
30
] | 85 | [
"20*78=1560",
"1560/30=52",
"33+52=85"
] | Current State: 85:[20, 78, 33, 30], Operations: []
Exploring Operation: 20*78=1560, Resulting Numbers: [33, 30, 1560]
Generated Node #2: [33, 30, 1560] from Operation: 20*78=1560
Current State: 85:[33, 30, 1560], Operations: ['20*78=1560']
Exploring Operation: 1560/30=52, Resulting Numbers: [33, 52]
Generated Node #3: [33, 52] from Operation: 1560/30=52
Current State: 85:[33, 52], Operations: ['20*78=1560', '1560/30=52']
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[20, 78, 33, 30], Operations: []
Exploring Operation: 30-20=10, Resulting Numbers: [78, 33, 10]
Generated Node #0,0: 85:[78, 33, 10] Operation: 30-20=10
Exploring Operation: 33-30=3, Resulting Numbers: [20, 78, 3]
Generated Node #0,1: 85:[20, 78, 3] Operation: 33-30=3
Exploring Operation: 33-20=13, Resulting Numbers: [78, 30, 13]
Generated Node #0,2: 85:[78, 30, 13] Operation: 33-20=13
Moving to Node #0,1
Current State: 85:[20, 78, 3], Operations: ['33-30=3']
Exploring Operation: 78/3=26, Resulting Numbers: [20, 26]
Generated Node #0,1,0: 85:[20, 26] Operation: 78/3=26
Exploring Operation: 78+3=81, Resulting Numbers: [20, 81]
Generated Node #0,1,1: 85:[20, 81] Operation: 78+3=81
Exploring Operation: 20-3=17, Resulting Numbers: [78, 17]
Generated Node #0,1,2: 85:[78, 17] Operation: 20-3=17
Moving to Node #0,2
Current State: 85:[78, 30, 13], Operations: ['33-20=13']
Exploring Operation: 78+13=91, Resulting Numbers: [30, 91]
Generated Node #0,2,0: 85:[30, 91] Operation: 78+13=91
Exploring Operation: 30-13=17, Resulting Numbers: [78, 17]
Generated Node #0,2,1: 85:[78, 17] Operation: 30-13=17
Exploring Operation: 78/13=6, Resulting Numbers: [30, 6]
Generated Node #0,2,2: 85:[30, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 85:[78, 33, 10], Operations: ['30-20=10']
Exploring Operation: 33-10=23, Resulting Numbers: [78, 23]
Generated Node #0,0,0: 85:[78, 23] Operation: 33-10=23
Exploring Operation: 78+10=88, Resulting Numbers: [33, 88]
Generated Node #0,0,1: 85:[33, 88] Operation: 78+10=88
Exploring Operation: 78+33=111, Resulting Numbers: [10, 111]
Generated Node #0,0,2: 85:[10, 111] Operation: 78+33=111
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[78, 23], Operations: ['30-20=10', '33-10=23']
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,85 unequal: No Solution
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[33, 88], Operations: ['30-20=10', '78+10=88']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,85 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[10, 111], Operations: ['30-20=10', '78+33=111']
Exploring Operation: 10+111=121, Resulting Numbers: [121]
121,85 unequal: No Solution
Exploring Operation: 10*111=1110, Resulting Numbers: [1110]
1110,85 unequal: No Solution
Exploring Operation: 111-10=101, Resulting Numbers: [101]
101,85 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: 85:[20, 81], Operations: ['33-30=3', '78+3=81']
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 20*81=1620, Resulting Numbers: [1620]
1620,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[78, 17], Operations: ['33-30=3', '20-3=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[78, 17], Operations: ['33-20=13', '30-13=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,85 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[20, 26], Operations: ['33-30=3', '78/3=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,85 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[30, 6], Operations: ['33-20=13', '78/13=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[30, 91], Operations: ['33-20=13', '78+13=91']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 30+91=121, Resulting Numbers: [121]
121,85 unequal: No Solution
Exploring Operation: 30*91=2730, Resulting Numbers: [2730]
2730,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
21,
20,
5
] | 11 | [
"40/20=2",
"5*2=10",
"21-10=11"
] | Current State: 11:[40, 21, 20, 5], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [21, 5, 2]
Generated Node #2: [21, 5, 2] from Operation: 40/20=2
Current State: 11:[21, 5, 2], Operations: ['40/20=2']
Exploring Operation: 5*2=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 5*2=10
Current State: 11:[21, 10], Operations: ['40/20=2', '5*2=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[40, 21, 20, 5], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [21, 20, 8]
Generated Node #0,0: 11:[21, 20, 8] Operation: 40/5=8
Exploring Operation: 40-21=19, Resulting Numbers: [20, 5, 19]
Generated Node #0,1: 11:[20, 5, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[21, 20, 8], Operations: ['40/5=8']
Exploring Operation: 20-8=12, Resulting Numbers: [21, 12]
Generated Node #0,0,0: 11:[21, 12] Operation: 20-8=12
Exploring Operation: 21-8=13, Resulting Numbers: [20, 13]
Generated Node #0,0,1: 11:[20, 13] Operation: 21-8=13
Moving to Node #0,0,0
Current State: 11:[21, 12], Operations: ['40/5=8', '20-8=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[20, 13], Operations: ['40/5=8', '21-8=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[20, 5, 19], Operations: ['40-21=19']
Exploring Operation: 19-5=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 11:[20, 14] Operation: 19-5=14
Exploring Operation: 20-5=15, Resulting Numbers: [19, 15]
Generated Node #0,1,1: 11:[19, 15] Operation: 20-5=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[20, 14], Operations: ['40-21=19', '19-5=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[19, 15], Operations: ['40-21=19', '20-5=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
92,
65,
94
] | 52 | [
"91-65=26",
"94-92=2",
"26*2=52"
] | Current State: 52:[91, 92, 65, 94], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [92, 94, 26]
Generated Node #2: [92, 94, 26] from Operation: 91-65=26
Current State: 52:[92, 94, 26], Operations: ['91-65=26']
Exploring Operation: 94-92=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 94-92=2
Current State: 52:[26, 2], Operations: ['91-65=26', '94-92=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[91, 92, 65, 94], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [65, 94, 1]
Generated Node #0,0: 52:[65, 94, 1] Operation: 92-91=1
Exploring Operation: 94-92=2, Resulting Numbers: [91, 65, 2]
Generated Node #0,1: 52:[91, 65, 2] Operation: 94-92=2
Exploring Operation: 94-91=3, Resulting Numbers: [92, 65, 3]
Generated Node #0,2: 52:[92, 65, 3] Operation: 94-91=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[91, 65, 2], Operations: ['94-92=2']
Exploring Operation: 65-2=63, Resulting Numbers: [91, 63]
Generated Node #0,1,0: 52:[91, 63] Operation: 65-2=63
Exploring Operation: 91-65=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 52:[2, 26] Operation: 91-65=26
Exploring Operation: 91-2=89, Resulting Numbers: [65, 89]
Generated Node #0,1,2: 52:[65, 89] Operation: 91-2=89
Moving to Node #0,1,1
Current State: 52:[2, 26], Operations: ['94-92=2', '91-65=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[91, 92, 65, 94], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [91, 65, 2]
Generated Node #0,1: 52:[91, 65, 2] Operation: 94-92=2
Moving to Node #0,1
Current State: 52:[91, 65, 2], Operations: ['94-92=2']
Exploring Operation: 91-65=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 52:[2, 26] Operation: 91-65=26
Moving to Node #0,1,1
Current State: 52:[2, 26], Operations: ['94-92=2', '91-65=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
81,
51,
17,
57
] | 62 | [
"51/17=3",
"57/3=19",
"81-19=62"
] | Current State: 62:[81, 51, 17, 57], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [81, 57, 3]
Generated Node #2: [81, 57, 3] from Operation: 51/17=3
Current State: 62:[81, 57, 3], Operations: ['51/17=3']
Exploring Operation: 57/3=19, Resulting Numbers: [81, 19]
Generated Node #3: [81, 19] from Operation: 57/3=19
Current State: 62:[81, 19], Operations: ['51/17=3', '57/3=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[81, 51, 17, 57], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [17, 57, 30]
Generated Node #0,0: 62:[17, 57, 30] Operation: 81-51=30
Exploring Operation: 81-17=64, Resulting Numbers: [51, 57, 64]
Generated Node #0,1: 62:[51, 57, 64] Operation: 81-17=64
Exploring Operation: 51/17=3, Resulting Numbers: [81, 57, 3]
Generated Node #0,2: 62:[81, 57, 3] Operation: 51/17=3
Moving to Node #0,1
Current State: 62:[51, 57, 64], Operations: ['81-17=64']
Exploring Operation: 64-57=7, Resulting Numbers: [51, 7]
Generated Node #0,1,0: 62:[51, 7] Operation: 64-57=7
Exploring Operation: 64-51=13, Resulting Numbers: [57, 13]
Generated Node #0,1,1: 62:[57, 13] Operation: 64-51=13
Exploring Operation: 57-51=6, Resulting Numbers: [64, 6]
Generated Node #0,1,2: 62:[64, 6] Operation: 57-51=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[64, 6], Operations: ['81-17=64', '57-51=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,62 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[51, 7], Operations: ['81-17=64', '64-57=7']
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,62 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[57, 13], Operations: ['81-17=64', '64-51=13']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,62 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,62 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: 62:[17, 57, 30], Operations: ['81-51=30']
Exploring Operation: 17+57=74, Resulting Numbers: [30, 74]
Generated Node #0,0,0: 62:[30, 74] Operation: 17+57=74
Exploring Operation: 57-17=40, Resulting Numbers: [30, 40]
Generated Node #0,0,1: 62:[30, 40] Operation: 57-17=40
Exploring Operation: 30-17=13, Resulting Numbers: [57, 13]
Generated Node #0,0,2: 62:[57, 13] Operation: 30-17=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[30, 40], Operations: ['81-51=30', '57-17=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,62 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[30, 74], Operations: ['81-51=30', '17+57=74']
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,62 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,62 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[57, 13], Operations: ['81-51=30', '30-17=13']
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,62 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: 62:[81, 57, 3], Operations: ['51/17=3']
Exploring Operation: 81-57=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 62:[3, 24] Operation: 81-57=24
Exploring Operation: 81-3=78, Resulting Numbers: [57, 78]
Generated Node #0,2,1: 62:[57, 78] Operation: 81-3=78
Exploring Operation: 81/3=27, Resulting Numbers: [57, 27]
Generated Node #0,2,2: 62:[57, 27] Operation: 81/3=27
Moving to Node #0,2,0
Current State: 62:[3, 24], Operations: ['51/17=3', '81-57=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[57, 27], Operations: ['51/17=3', '81/3=27']
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,62 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[57, 78], Operations: ['51/17=3', '81-3=78']
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,62 unequal: No Solution
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,62 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
59,
36,
10
] | 46 | [
"60-59=1",
"36+10=46",
"1*46=46"
] | Current State: 46:[60, 59, 36, 10], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [36, 10, 1]
Generated Node #2: [36, 10, 1] from Operation: 60-59=1
Current State: 46:[36, 10, 1], Operations: ['60-59=1']
Exploring Operation: 36+10=46, Resulting Numbers: [1, 46]
Generated Node #3: [1, 46] from Operation: 36+10=46
Current State: 46:[1, 46], Operations: ['60-59=1', '36+10=46']
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[60, 59, 36, 10], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [59, 10, 24]
Generated Node #0,0: 46:[59, 10, 24] Operation: 60-36=24
Exploring Operation: 59-36=23, Resulting Numbers: [60, 10, 23]
Generated Node #0,1: 46:[60, 10, 23] Operation: 59-36=23
Exploring Operation: 60-10=50, Resulting Numbers: [59, 36, 50]
Generated Node #0,2: 46:[59, 36, 50] Operation: 60-10=50
Exploring Operation: 60-59=1, Resulting Numbers: [36, 10, 1]
Generated Node #0,3: 46:[36, 10, 1] Operation: 60-59=1
Exploring Operation: 60/10=6, Resulting Numbers: [59, 36, 6]
Generated Node #0,4: 46:[59, 36, 6] Operation: 60/10=6
Moving to Node #0,3
Current State: 46:[36, 10, 1], Operations: ['60-59=1']
Exploring Operation: 36-10=26, Resulting Numbers: [1, 26]
Generated Node #0,3,0: 46:[1, 26] Operation: 36-10=26
Exploring Operation: 36+10=46, Resulting Numbers: [1, 46]
Generated Node #0,3,1: 46:[1, 46] Operation: 36+10=46
Exploring Operation: 10-1=9, Resulting Numbers: [36, 9]
Generated Node #0,3,2: 46:[36, 9] Operation: 10-1=9
Exploring Operation: 36+1=37, Resulting Numbers: [10, 37]
Generated Node #0,3,3: 46:[10, 37] Operation: 36+1=37
Exploring Operation: 36*1=36, Resulting Numbers: [10, 36]
Generated Node #0,3,4: 46:[10, 36] Operation: 36*1=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[1, 46], Operations: ['60-59=1', '36+10=46']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[60, 59, 36, 10], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [36, 10, 1]
Generated Node #0,3: 46:[36, 10, 1] Operation: 60-59=1
Moving to Node #0,3
Current State: 46:[36, 10, 1], Operations: ['60-59=1']
Exploring Operation: 36+10=46, Resulting Numbers: [1, 46]
Generated Node #0,3,1: 46:[1, 46] Operation: 36+10=46
Moving to Node #0,3,1
Current State: 46:[1, 46], Operations: ['60-59=1', '36+10=46']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
85,
89,
19,
21
] | 87 | [
"85+89=174",
"21-19=2",
"174/2=87"
] | Current State: 87:[85, 89, 19, 21], Operations: []
Exploring Operation: 85+89=174, Resulting Numbers: [19, 21, 174]
Generated Node #2: [19, 21, 174] from Operation: 85+89=174
Current State: 87:[19, 21, 174], Operations: ['85+89=174']
Exploring Operation: 21-19=2, Resulting Numbers: [174, 2]
Generated Node #3: [174, 2] from Operation: 21-19=2
Current State: 87:[174, 2], Operations: ['85+89=174', '21-19=2']
Exploring Operation: 174/2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[85, 89, 19, 21], Operations: []
Exploring Operation: 85+19=104, Resulting Numbers: [89, 21, 104]
Generated Node #0,0: 87:[89, 21, 104] Operation: 85+19=104
Exploring Operation: 19+21=40, Resulting Numbers: [85, 89, 40]
Generated Node #0,1: 87:[85, 89, 40] Operation: 19+21=40
Exploring Operation: 21-19=2, Resulting Numbers: [85, 89, 2]
Generated Node #0,2: 87:[85, 89, 2] Operation: 21-19=2
Exploring Operation: 89-85=4, Resulting Numbers: [19, 21, 4]
Generated Node #0,3: 87:[19, 21, 4] Operation: 89-85=4
Moving to Node #0,2
Current State: 87:[85, 89, 2], Operations: ['21-19=2']
Exploring Operation: 89-85=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 87:[2, 4] Operation: 89-85=4
Exploring Operation: 85+2=87, Resulting Numbers: [89, 87]
Generated Node #0,2,1: 87:[89, 87] Operation: 85+2=87
Exploring Operation: 85-2=83, Resulting Numbers: [89, 83]
Generated Node #0,2,2: 87:[89, 83] Operation: 85-2=83
Exploring Operation: 89-2=87, Resulting Numbers: [85, 87]
Generated Node #0,2,3: 87:[85, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[2, 4], Operations: ['21-19=2', '89-85=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[89, 87], Operations: ['21-19=2', '85+2=87']
Exploring Operation: 89+87=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 89*87=7743, Resulting Numbers: [7743]
7743,87 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[85, 87], Operations: ['21-19=2', '89-2=87']
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,87 unequal: No Solution
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[89, 83], Operations: ['21-19=2', '85-2=83']
Exploring Operation: 89+83=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 89*83=7387, Resulting Numbers: [7387]
7387,87 unequal: No Solution
Exploring Operation: 89-83=6, Resulting Numbers: [6]
6,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[85, 89, 40], Operations: ['19+21=40']
Exploring Operation: 89-40=49, Resulting Numbers: [85, 49]
Generated Node #0,1,0: 87:[85, 49] Operation: 89-40=49
Exploring Operation: 85-40=45, Resulting Numbers: [89, 45]
Generated Node #0,1,1: 87:[89, 45] Operation: 85-40=45
Exploring Operation: 85+40=125, Resulting Numbers: [89, 125]
Generated Node #0,1,2: 87:[89, 125] Operation: 85+40=125
Exploring Operation: 89-85=4, Resulting Numbers: [40, 4]
Generated Node #0,1,3: 87:[40, 4] Operation: 89-85=4
Moving to Node #0,3
Current State: 87:[19, 21, 4], Operations: ['89-85=4']
Exploring Operation: 21*4=84, Resulting Numbers: [19, 84]
Generated Node #0,3,0: 87:[19, 84] Operation: 21*4=84
Exploring Operation: 21-19=2, Resulting Numbers: [4, 2]
Generated Node #0,3,1: 87:[4, 2] Operation: 21-19=2
Exploring Operation: 19+21=40, Resulting Numbers: [4, 40]
Generated Node #0,3,2: 87:[4, 40] Operation: 19+21=40
Exploring Operation: 19+4=23, Resulting Numbers: [21, 23]
Generated Node #0,3,3: 87:[21, 23] Operation: 19+4=23
Moving to Node #0,0
Current State: 87:[89, 21, 104], Operations: ['85+19=104']
Exploring Operation: 89+21=110, Resulting Numbers: [104, 110]
Generated Node #0,0,0: 87:[104, 110] Operation: 89+21=110
Exploring Operation: 89-21=68, Resulting Numbers: [104, 68]
Generated Node #0,0,1: 87:[104, 68] Operation: 89-21=68
Exploring Operation: 104-21=83, Resulting Numbers: [89, 83]
Generated Node #0,0,2: 87:[89, 83] Operation: 104-21=83
Exploring Operation: 104-89=15, Resulting Numbers: [21, 15]
Generated Node #0,0,3: 87:[21, 15] Operation: 104-89=15
Moving to Node #0,3,1
Current State: 87:[4, 2], Operations: ['89-85=4', '21-19=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[89, 83], Operations: ['85+19=104', '104-21=83']
Exploring Operation: 89*83=7387, Resulting Numbers: [7387]
7387,87 unequal: No Solution
Exploring Operation: 89+83=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 89-83=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[4, 40], Operations: ['89-85=4', '19+21=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,87 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[40, 4], Operations: ['19+21=40', '89-85=4']
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,87 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[19, 84], Operations: ['89-85=4', '21*4=84']
Exploring Operation: 19+84=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 19*84=1596, Resulting Numbers: [1596]
1596,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[21, 23], Operations: ['89-85=4', '19+4=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,87 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[89, 45], Operations: ['19+21=40', '85-40=45']
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,87 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[21, 15], Operations: ['85+19=104', '104-89=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,87 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[85, 49], Operations: ['19+21=40', '89-40=49']
Exploring Operation: 85+49=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 85*49=4165, Resulting Numbers: [4165]
4165,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[104, 68], Operations: ['85+19=104', '89-21=68']
Exploring Operation: 104+68=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 104-68=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 104*68=7072, Resulting Numbers: [7072]
7072,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[104, 110], Operations: ['85+19=104', '89+21=110']
Exploring Operation: 104*110=11440, Resulting Numbers: [11440]
11440,87 unequal: No Solution
Exploring Operation: 110-104=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 104+110=214, Resulting Numbers: [214]
214,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[89, 125], Operations: ['19+21=40', '85+40=125']
Exploring Operation: 89+125=214, Resulting Numbers: [214]
214,87 unequal: No Solution
Exploring Operation: 89*125=11125, Resulting Numbers: [11125]
11125,87 unequal: No Solution
Exploring Operation: 125-89=36, Resulting Numbers: [36]
36,87 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
55,
39,
70
] | 37 | [
"55-49=6",
"70-39=31",
"6+31=37"
] | Current State: 37:[49, 55, 39, 70], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [39, 70, 6]
Generated Node #2: [39, 70, 6] from Operation: 55-49=6
Current State: 37:[39, 70, 6], Operations: ['55-49=6']
Exploring Operation: 70-39=31, Resulting Numbers: [6, 31]
Generated Node #3: [6, 31] from Operation: 70-39=31
Current State: 37:[6, 31], Operations: ['55-49=6', '70-39=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[49, 55, 39, 70], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [55, 39, 21]
Generated Node #0,0: 37:[55, 39, 21] Operation: 70-49=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[55, 39, 21], Operations: ['70-49=21']
Exploring Operation: 55-21=34, Resulting Numbers: [39, 34]
Generated Node #0,0,0: 37:[39, 34] Operation: 55-21=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[39, 34], Operations: ['70-49=21', '55-21=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
37,
59,
39
] | 22 | [
"83+37=120",
"59+39=98",
"120-98=22"
] | Current State: 22:[83, 37, 59, 39], Operations: []
Exploring Operation: 83+37=120, Resulting Numbers: [59, 39, 120]
Generated Node #2: [59, 39, 120] from Operation: 83+37=120
Current State: 22:[59, 39, 120], Operations: ['83+37=120']
Exploring Operation: 59+39=98, Resulting Numbers: [120, 98]
Generated Node #3: [120, 98] from Operation: 59+39=98
Current State: 22:[120, 98], Operations: ['83+37=120', '59+39=98']
Exploring Operation: 120-98=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[83, 37, 59, 39], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [37, 39, 24]
Generated Node #0,0: 22:[37, 39, 24] Operation: 83-59=24
Exploring Operation: 83-37=46, Resulting Numbers: [59, 39, 46]
Generated Node #0,1: 22:[59, 39, 46] Operation: 83-37=46
Exploring Operation: 83-39=44, Resulting Numbers: [37, 59, 44]
Generated Node #0,2: 22:[37, 59, 44] Operation: 83-39=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[37, 39, 24], Operations: ['83-59=24']
Exploring Operation: 37-24=13, Resulting Numbers: [39, 13]
Generated Node #0,0,0: 22:[39, 13] Operation: 37-24=13
Exploring Operation: 39-37=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 22:[24, 2] Operation: 39-37=2
Exploring Operation: 39-24=15, Resulting Numbers: [37, 15]
Generated Node #0,0,2: 22:[37, 15] Operation: 39-24=15
Moving to Node #0,0,1
Current State: 22:[24, 2], Operations: ['83-59=24', '39-37=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[83, 37, 59, 39], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [37, 39, 24]
Generated Node #0,0: 22:[37, 39, 24] Operation: 83-59=24
Moving to Node #0,0
Current State: 22:[37, 39, 24], Operations: ['83-59=24']
Exploring Operation: 39-37=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 22:[24, 2] Operation: 39-37=2
Moving to Node #0,0,1
Current State: 22:[24, 2], Operations: ['83-59=24', '39-37=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
76,
20,
64,
54
] | 81 | [
"76+20=96",
"54*96=5184",
"5184/64=81"
] | Current State: 81:[76, 20, 64, 54], Operations: []
Exploring Operation: 76+20=96, Resulting Numbers: [64, 54, 96]
Generated Node #2: [64, 54, 96] from Operation: 76+20=96
Current State: 81:[64, 54, 96], Operations: ['76+20=96']
Exploring Operation: 54*96=5184, Resulting Numbers: [64, 5184]
Generated Node #3: [64, 5184] from Operation: 54*96=5184
Current State: 81:[64, 5184], Operations: ['76+20=96', '54*96=5184']
Exploring Operation: 5184/64=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[76, 20, 64, 54], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [20, 64, 22]
Generated Node #0,0: 81:[20, 64, 22] Operation: 76-54=22
Exploring Operation: 64-54=10, Resulting Numbers: [76, 20, 10]
Generated Node #0,1: 81:[76, 20, 10] Operation: 64-54=10
Exploring Operation: 20+54=74, Resulting Numbers: [76, 64, 74]
Generated Node #0,2: 81:[76, 64, 74] Operation: 20+54=74
Moving to Node #0,1
Current State: 81:[76, 20, 10], Operations: ['64-54=10']
Exploring Operation: 20-10=10, Resulting Numbers: [76, 10]
Generated Node #0,1,0: 81:[76, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [76, 30]
Generated Node #0,1,1: 81:[76, 30] Operation: 20+10=30
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #0,1,2: 81:[76, 2] Operation: 20/10=2
Moving to Node #0,0
Current State: 81:[20, 64, 22], Operations: ['76-54=22']
Exploring Operation: 64+22=86, Resulting Numbers: [20, 86]
Generated Node #0,0,0: 81:[20, 86] Operation: 64+22=86
Exploring Operation: 20+64=84, Resulting Numbers: [22, 84]
Generated Node #0,0,1: 81:[22, 84] Operation: 20+64=84
Exploring Operation: 22-20=2, Resulting Numbers: [64, 2]
Generated Node #0,0,2: 81:[64, 2] Operation: 22-20=2
Moving to Node #0,2
Current State: 81:[76, 64, 74], Operations: ['20+54=74']
Exploring Operation: 76-74=2, Resulting Numbers: [64, 2]
Generated Node #0,2,0: 81:[64, 2] Operation: 76-74=2
Exploring Operation: 76-64=12, Resulting Numbers: [74, 12]
Generated Node #0,2,1: 81:[74, 12] Operation: 76-64=12
Exploring Operation: 74-64=10, Resulting Numbers: [76, 10]
Generated Node #0,2,2: 81:[76, 10] Operation: 74-64=10
Moving to Node #0,1,0
Current State: 81:[76, 10], Operations: ['64-54=10', '20-10=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[76, 10], Operations: ['20+54=74', '74-64=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,81 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[76, 2], Operations: ['64-54=10', '20/10=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[76, 30], Operations: ['64-54=10', '20+10=30']
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,81 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[22, 84], Operations: ['76-54=22', '20+64=84']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,81 unequal: No Solution
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[74, 12], Operations: ['20+54=74', '76-64=12']
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,81 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[20, 86], Operations: ['76-54=22', '64+22=86']
Exploring Operation: 20+86=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 20*86=1720, Resulting Numbers: [1720]
1720,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[64, 2], Operations: ['20+54=74', '76-74=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[64, 2], Operations: ['76-54=22', '22-20=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
39,
31,
43
] | 71 | [
"36*39=1404",
"31*43=1333",
"1404-1333=71"
] | Current State: 71:[36, 39, 31, 43], Operations: []
Exploring Operation: 36*39=1404, Resulting Numbers: [31, 43, 1404]
Generated Node #2: [31, 43, 1404] from Operation: 36*39=1404
Current State: 71:[31, 43, 1404], Operations: ['36*39=1404']
Exploring Operation: 31*43=1333, Resulting Numbers: [1404, 1333]
Generated Node #3: [1404, 1333] from Operation: 31*43=1333
Current State: 71:[1404, 1333], Operations: ['36*39=1404', '31*43=1333']
Exploring Operation: 1404-1333=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[36, 39, 31, 43], Operations: []
Exploring Operation: 31+43=74, Resulting Numbers: [36, 39, 74]
Generated Node #0,0: 71:[36, 39, 74] Operation: 31+43=74
Exploring Operation: 36+43=79, Resulting Numbers: [39, 31, 79]
Generated Node #0,1: 71:[39, 31, 79] Operation: 36+43=79
Exploring Operation: 39+31=70, Resulting Numbers: [36, 43, 70]
Generated Node #0,2: 71:[36, 43, 70] Operation: 39+31=70
Exploring Operation: 36+39=75, Resulting Numbers: [31, 43, 75]
Generated Node #0,3: 71:[31, 43, 75] Operation: 36+39=75
Exploring Operation: 36+31=67, Resulting Numbers: [39, 43, 67]
Generated Node #0,4: 71:[39, 43, 67] Operation: 36+31=67
Moving to Node #0,2
Current State: 71:[36, 43, 70], Operations: ['39+31=70']
Exploring Operation: 43-36=7, Resulting Numbers: [70, 7]
Generated Node #0,2,0: 71:[70, 7] Operation: 43-36=7
Exploring Operation: 36+43=79, Resulting Numbers: [70, 79]
Generated Node #0,2,1: 71:[70, 79] Operation: 36+43=79
Exploring Operation: 43+70=113, Resulting Numbers: [36, 113]
Generated Node #0,2,2: 71:[36, 113] Operation: 43+70=113
Exploring Operation: 36+70=106, Resulting Numbers: [43, 106]
Generated Node #0,2,3: 71:[43, 106] Operation: 36+70=106
Exploring Operation: 70-36=34, Resulting Numbers: [43, 34]
Generated Node #0,2,4: 71:[43, 34] Operation: 70-36=34
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[70, 79], Operations: ['39+31=70', '36+43=79']
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 70+79=149, Resulting Numbers: [149]
149,71 unequal: No Solution
Exploring Operation: 70*79=5530, Resulting Numbers: [5530]
5530,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[43, 106], Operations: ['39+31=70', '36+70=106']
Exploring Operation: 106-43=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 43+106=149, Resulting Numbers: [149]
149,71 unequal: No Solution
Exploring Operation: 43*106=4558, Resulting Numbers: [4558]
4558,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[70, 7], Operations: ['39+31=70', '43-36=7']
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,71 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[43, 34], Operations: ['39+31=70', '70-36=34']
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[36, 113], Operations: ['39+31=70', '43+70=113']
Exploring Operation: 36+113=149, Resulting Numbers: [149]
149,71 unequal: No Solution
Exploring Operation: 113-36=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 36*113=4068, Resulting Numbers: [4068]
4068,71 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: 71:[39, 43, 67], Operations: ['36+31=67']
Exploring Operation: 67-39=28, Resulting Numbers: [43, 28]
Generated Node #0,4,0: 71:[43, 28] Operation: 67-39=28
Exploring Operation: 43+67=110, Resulting Numbers: [39, 110]
Generated Node #0,4,1: 71:[39, 110] Operation: 43+67=110
Exploring Operation: 39+67=106, Resulting Numbers: [43, 106]
Generated Node #0,4,2: 71:[43, 106] Operation: 39+67=106
Exploring Operation: 43-39=4, Resulting Numbers: [67, 4]
Generated Node #0,4,3: 71:[67, 4] Operation: 43-39=4
Exploring Operation: 39+43=82, Resulting Numbers: [67, 82]
Generated Node #0,4,4: 71:[67, 82] Operation: 39+43=82
Moving to Node #0,0
Current State: 71:[36, 39, 74], Operations: ['31+43=74']
Exploring Operation: 36+39=75, Resulting Numbers: [74, 75]
Generated Node #0,0,0: 71:[74, 75] Operation: 36+39=75
Exploring Operation: 74-39=35, Resulting Numbers: [36, 35]
Generated Node #0,0,1: 71:[36, 35] Operation: 74-39=35
Exploring Operation: 39-36=3, Resulting Numbers: [74, 3]
Generated Node #0,0,2: 71:[74, 3] Operation: 39-36=3
Exploring Operation: 36+74=110, Resulting Numbers: [39, 110]
Generated Node #0,0,3: 71:[39, 110] Operation: 36+74=110
Exploring Operation: 74-36=38, Resulting Numbers: [39, 38]
Generated Node #0,0,4: 71:[39, 38] Operation: 74-36=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[74, 75], Operations: ['31+43=74', '36+39=75']
Exploring Operation: 74*75=5550, Resulting Numbers: [5550]
5550,71 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[39, 38], Operations: ['31+43=74', '74-36=38']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,71 unequal: No Solution
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[36, 35], Operations: ['31+43=74', '74-39=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[36, 39, 31, 43], Operations: []
Exploring Operation: 31+43=74, Resulting Numbers: [36, 39, 74]
Generated Node #0,0: 71:[36, 39, 74] Operation: 31+43=74
Moving to Node #0,0
Current State: 71:[36, 39, 74], Operations: ['31+43=74']
Exploring Operation: 74-39=35, Resulting Numbers: [36, 35]
Generated Node #0,0,1: 71:[36, 35] Operation: 74-39=35
Moving to Node #0,0,1
Current State: 71:[36, 35], Operations: ['31+43=74', '74-39=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
58,
63,
66,
69
] | 35 | [
"66-63=3",
"69/3=23",
"58-23=35"
] | Current State: 35:[58, 63, 66, 69], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [58, 69, 3]
Generated Node #2: [58, 69, 3] from Operation: 66-63=3
Current State: 35:[58, 69, 3], Operations: ['66-63=3']
Exploring Operation: 69/3=23, Resulting Numbers: [58, 23]
Generated Node #3: [58, 23] from Operation: 69/3=23
Current State: 35:[58, 23], Operations: ['66-63=3', '69/3=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[58, 63, 66, 69], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [58, 63, 3]
Generated Node #0,0: 35:[58, 63, 3] Operation: 69-66=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[58, 63, 3], Operations: ['69-66=3']
Exploring Operation: 63-58=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 35:[3, 5] Operation: 63-58=5
Moving to Node #0,0,0
Current State: 35:[3, 5], Operations: ['69-66=3', '63-58=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
21,
10,
60
] | 55 | [
"26-21=5",
"60-10=50",
"5+50=55"
] | Current State: 55:[26, 21, 10, 60], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [10, 60, 5]
Generated Node #2: [10, 60, 5] from Operation: 26-21=5
Current State: 55:[10, 60, 5], Operations: ['26-21=5']
Exploring Operation: 60-10=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 60-10=50
Current State: 55:[5, 50], Operations: ['26-21=5', '60-10=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[26, 21, 10, 60], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [10, 60, 5]
Generated Node #0,0: 55:[10, 60, 5] Operation: 26-21=5
Exploring Operation: 26-10=16, Resulting Numbers: [21, 60, 16]
Generated Node #0,1: 55:[21, 60, 16] Operation: 26-10=16
Exploring Operation: 60/10=6, Resulting Numbers: [26, 21, 6]
Generated Node #0,2: 55:[26, 21, 6] Operation: 60/10=6
Exploring Operation: 26+21=47, Resulting Numbers: [10, 60, 47]
Generated Node #0,3: 55:[10, 60, 47] Operation: 26+21=47
Exploring Operation: 21-10=11, Resulting Numbers: [26, 60, 11]
Generated Node #0,4: 55:[26, 60, 11] Operation: 21-10=11
Moving to Node #0,0
Current State: 55:[10, 60, 5], Operations: ['26-21=5']
Exploring Operation: 60-10=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 55:[5, 50] Operation: 60-10=50
Exploring Operation: 60/10=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 55:[5, 6] Operation: 60/10=6
Exploring Operation: 60/5=12, Resulting Numbers: [10, 12]
Generated Node #0,0,2: 55:[10, 12] Operation: 60/5=12
Exploring Operation: 10-5=5, Resulting Numbers: [60, 5]
Generated Node #0,0,3: 55:[60, 5] Operation: 10-5=5
Exploring Operation: 60-5=55, Resulting Numbers: [10, 55]
Generated Node #0,0,4: 55:[10, 55] Operation: 60-5=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[5, 6], Operations: ['26-21=5', '60/10=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 55:[10, 55], Operations: ['26-21=5', '60-5=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[10, 12], Operations: ['26-21=5', '60/5=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[5, 50], Operations: ['26-21=5', '60-10=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,55 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[26, 21, 10, 60], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [10, 60, 5]
Generated Node #0,0: 55:[10, 60, 5] Operation: 26-21=5
Moving to Node #0,0
Current State: 55:[10, 60, 5], Operations: ['26-21=5']
Exploring Operation: 60-10=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 55:[5, 50] Operation: 60-10=50
Moving to Node #0,0,0
Current State: 55:[5, 50], Operations: ['26-21=5', '60-10=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
53,
60,
4,
8
] | 38 | [
"8-4=4",
"60/4=15",
"53-15=38"
] | Current State: 38:[53, 60, 4, 8], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [53, 60, 4]
Generated Node #2: [53, 60, 4] from Operation: 8-4=4
Current State: 38:[53, 60, 4], Operations: ['8-4=4']
Exploring Operation: 60/4=15, Resulting Numbers: [53, 15]
Generated Node #3: [53, 15] from Operation: 60/4=15
Current State: 38:[53, 15], Operations: ['8-4=4', '60/4=15']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[53, 60, 4, 8], Operations: []
Exploring Operation: 53-8=45, Resulting Numbers: [60, 4, 45]
Generated Node #0,0: 38:[60, 4, 45] Operation: 53-8=45
Exploring Operation: 60-53=7, Resulting Numbers: [4, 8, 7]
Generated Node #0,1: 38:[4, 8, 7] Operation: 60-53=7
Exploring Operation: 60/4=15, Resulting Numbers: [53, 8, 15]
Generated Node #0,2: 38:[53, 8, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[4, 8, 7], Operations: ['60-53=7']
Exploring Operation: 8-7=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 38:[4, 1] Operation: 8-7=1
Exploring Operation: 8+7=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 38:[4, 15] Operation: 8+7=15
Exploring Operation: 8/4=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 38:[7, 2] Operation: 8/4=2
Moving to Node #0,1,0
Current State: 38:[4, 1], Operations: ['60-53=7', '8-7=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[7, 2], Operations: ['60-53=7', '8/4=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[4, 15], Operations: ['60-53=7', '8+7=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[53, 8, 15], Operations: ['60/4=15']
Exploring Operation: 53-15=38, Resulting Numbers: [8, 38]
Generated Node #0,2,0: 38:[8, 38] Operation: 53-15=38
Exploring Operation: 53-8=45, Resulting Numbers: [15, 45]
Generated Node #0,2,1: 38:[15, 45] Operation: 53-8=45
Exploring Operation: 8+15=23, Resulting Numbers: [53, 23]
Generated Node #0,2,2: 38:[53, 23] Operation: 8+15=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[8, 38], Operations: ['60/4=15', '53-15=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,38 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,38 unequal: No Solution
No 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: 38:[15, 45], Operations: ['60/4=15', '53-8=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,38 unequal: No Solution
No 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: 38:[53, 23], Operations: ['60/4=15', '8+15=23']
Exploring Operation: 53*23=1219, Resulting Numbers: [1219]
1219,38 unequal: No Solution
Exploring Operation: 53+23=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,38 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: 38:[60, 4, 45], Operations: ['53-8=45']
Exploring Operation: 60-45=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 38:[4, 15] Operation: 60-45=15
Exploring Operation: 60-4=56, Resulting Numbers: [45, 56]
Generated Node #0,0,1: 38:[45, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [45, 15]
Generated Node #0,0,2: 38:[45, 15] Operation: 60/4=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[4, 15], Operations: ['53-8=45', '60-45=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[45, 15], Operations: ['53-8=45', '60/4=15']
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,38 unequal: No Solution
No 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: 38:[45, 56], Operations: ['53-8=45', '60-4=56']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 45*56=2520, Resulting Numbers: [2520]
2520,38 unequal: No Solution
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
29,
75,
31
] | 35 | [
"38-29=9",
"75-31=44",
"44-9=35"
] | Current State: 35:[38, 29, 75, 31], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [75, 31, 9]
Generated Node #2: [75, 31, 9] from Operation: 38-29=9
Current State: 35:[75, 31, 9], Operations: ['38-29=9']
Exploring Operation: 75-31=44, Resulting Numbers: [9, 44]
Generated Node #3: [9, 44] from Operation: 75-31=44
Current State: 35:[9, 44], Operations: ['38-29=9', '75-31=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[38, 29, 75, 31], Operations: []
Exploring Operation: 75-29=46, Resulting Numbers: [38, 31, 46]
Generated Node #0,0: 35:[38, 31, 46] Operation: 75-29=46
Exploring Operation: 75-38=37, Resulting Numbers: [29, 31, 37]
Generated Node #0,1: 35:[29, 31, 37] Operation: 75-38=37
Exploring Operation: 38-31=7, Resulting Numbers: [29, 75, 7]
Generated Node #0,2: 35:[29, 75, 7] Operation: 38-31=7
Exploring Operation: 75-31=44, Resulting Numbers: [38, 29, 44]
Generated Node #0,3: 35:[38, 29, 44] Operation: 75-31=44
Exploring Operation: 38-29=9, Resulting Numbers: [75, 31, 9]
Generated Node #0,4: 35:[75, 31, 9] Operation: 38-29=9
Moving to Node #0,1
Current State: 35:[29, 31, 37], Operations: ['75-38=37']
Exploring Operation: 37-29=8, Resulting Numbers: [31, 8]
Generated Node #0,1,0: 35:[31, 8] Operation: 37-29=8
Exploring Operation: 29+37=66, Resulting Numbers: [31, 66]
Generated Node #0,1,1: 35:[31, 66] Operation: 29+37=66
Exploring Operation: 31-29=2, Resulting Numbers: [37, 2]
Generated Node #0,1,2: 35:[37, 2] Operation: 31-29=2
Exploring Operation: 37-31=6, Resulting Numbers: [29, 6]
Generated Node #0,1,3: 35:[29, 6] Operation: 37-31=6
Exploring Operation: 29+31=60, Resulting Numbers: [37, 60]
Generated Node #0,1,4: 35:[37, 60] Operation: 29+31=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[31, 8], Operations: ['75-38=37', '37-29=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,35 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[37, 2], Operations: ['75-38=37', '31-29=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[38, 29, 75, 31], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [29, 31, 37]
Generated Node #0,1: 35:[29, 31, 37] Operation: 75-38=37
Moving to Node #0,1
Current State: 35:[29, 31, 37], Operations: ['75-38=37']
Exploring Operation: 31-29=2, Resulting Numbers: [37, 2]
Generated Node #0,1,2: 35:[37, 2] Operation: 31-29=2
Moving to Node #0,1,2
Current State: 35:[37, 2], Operations: ['75-38=37', '31-29=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
9,
19,
78,
52
] | 36 | [
"19-9=10",
"78-52=26",
"10+26=36"
] | Current State: 36:[9, 19, 78, 52], Operations: []
Exploring Operation: 19-9=10, Resulting Numbers: [78, 52, 10]
Generated Node #2: [78, 52, 10] from Operation: 19-9=10
Current State: 36:[78, 52, 10], Operations: ['19-9=10']
Exploring Operation: 78-52=26, Resulting Numbers: [10, 26]
Generated Node #3: [10, 26] from Operation: 78-52=26
Current State: 36:[10, 26], Operations: ['19-9=10', '78-52=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 19, 78, 52], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [9, 19, 26]
Generated Node #0,0: 36:[9, 19, 26] Operation: 78-52=26
Exploring Operation: 78-19=59, Resulting Numbers: [9, 52, 59]
Generated Node #0,1: 36:[9, 52, 59] Operation: 78-19=59
Exploring Operation: 52-19=33, Resulting Numbers: [9, 78, 33]
Generated Node #0,2: 36:[9, 78, 33] Operation: 52-19=33
Exploring Operation: 78-9=69, Resulting Numbers: [19, 52, 69]
Generated Node #0,3: 36:[19, 52, 69] Operation: 78-9=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[9, 19, 26], Operations: ['78-52=26']
Exploring Operation: 26-9=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 36:[19, 17] Operation: 26-9=17
Exploring Operation: 19-9=10, Resulting Numbers: [26, 10]
Generated Node #0,0,1: 36:[26, 10] Operation: 19-9=10
Exploring Operation: 26-19=7, Resulting Numbers: [9, 7]
Generated Node #0,0,2: 36:[9, 7] Operation: 26-19=7
Exploring Operation: 9+26=35, Resulting Numbers: [19, 35]
Generated Node #0,0,3: 36:[19, 35] Operation: 9+26=35
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[9, 7], Operations: ['78-52=26', '26-19=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[19, 17], Operations: ['78-52=26', '26-9=17']
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,36 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[9, 19, 78, 52], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [9, 19, 26]
Generated Node #0,0: 36:[9, 19, 26] Operation: 78-52=26
Moving to Node #0,0
Current State: 36:[9, 19, 26], Operations: ['78-52=26']
Exploring Operation: 26-9=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 36:[19, 17] Operation: 26-9=17
Moving to Node #0,0,0
Current State: 36:[19, 17], Operations: ['78-52=26', '26-9=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
3,
75,
23,
29
] | 66 | [
"75-3=72",
"29-23=6",
"72-6=66"
] | Current State: 66:[3, 75, 23, 29], Operations: []
Exploring Operation: 75-3=72, Resulting Numbers: [23, 29, 72]
Generated Node #2: [23, 29, 72] from Operation: 75-3=72
Current State: 66:[23, 29, 72], Operations: ['75-3=72']
Exploring Operation: 29-23=6, Resulting Numbers: [72, 6]
Generated Node #3: [72, 6] from Operation: 29-23=6
Current State: 66:[72, 6], Operations: ['75-3=72', '29-23=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[3, 75, 23, 29], Operations: []
Exploring Operation: 29-23=6, Resulting Numbers: [3, 75, 6]
Generated Node #0,0: 66:[3, 75, 6] Operation: 29-23=6
Exploring Operation: 75/3=25, Resulting Numbers: [23, 29, 25]
Generated Node #0,1: 66:[23, 29, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[23, 29, 25], Operations: ['75/3=25']
Exploring Operation: 29-23=6, Resulting Numbers: [25, 6]
Generated Node #0,1,0: 66:[25, 6] Operation: 29-23=6
Exploring Operation: 29-25=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 66:[23, 4] Operation: 29-25=4
Moving to Node #0,1,1
Current State: 66:[23, 4], Operations: ['75/3=25', '29-25=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[25, 6], Operations: ['75/3=25', '29-23=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[3, 75, 6], Operations: ['29-23=6']
Exploring Operation: 75-6=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 66:[3, 69] Operation: 75-6=69
Exploring Operation: 75/3=25, Resulting Numbers: [6, 25]
Generated Node #0,0,1: 66:[6, 25] Operation: 75/3=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[3, 69], Operations: ['29-23=6', '75-6=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[3, 75, 23, 29], Operations: []
Exploring Operation: 29-23=6, Resulting Numbers: [3, 75, 6]
Generated Node #0,0: 66:[3, 75, 6] Operation: 29-23=6
Moving to Node #0,0
Current State: 66:[3, 75, 6], Operations: ['29-23=6']
Exploring Operation: 75-6=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 66:[3, 69] Operation: 75-6=69
Moving to Node #0,0,0
Current State: 66:[3, 69], Operations: ['29-23=6', '75-6=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
46,
57,
26,
9
] | 13 | [
"57-46=11",
"11-9=2",
"26/2=13"
] | Current State: 13:[46, 57, 26, 9], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [26, 9, 11]
Generated Node #2: [26, 9, 11] from Operation: 57-46=11
Current State: 13:[26, 9, 11], Operations: ['57-46=11']
Exploring Operation: 11-9=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 11-9=2
Current State: 13:[26, 2], Operations: ['57-46=11', '11-9=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[46, 57, 26, 9], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [46, 26, 48]
Generated Node #0,0: 13:[46, 26, 48] Operation: 57-9=48
Exploring Operation: 57-46=11, Resulting Numbers: [26, 9, 11]
Generated Node #0,1: 13:[26, 9, 11] Operation: 57-46=11
Exploring Operation: 57-26=31, Resulting Numbers: [46, 9, 31]
Generated Node #0,2: 13:[46, 9, 31] Operation: 57-26=31
Exploring Operation: 46-26=20, Resulting Numbers: [57, 9, 20]
Generated Node #0,3: 13:[57, 9, 20] Operation: 46-26=20
Exploring Operation: 46-9=37, Resulting Numbers: [57, 26, 37]
Generated Node #0,4: 13:[57, 26, 37] Operation: 46-9=37
Moving to Node #0,1
Current State: 13:[26, 9, 11], Operations: ['57-46=11']
Exploring Operation: 26-11=15, Resulting Numbers: [9, 15]
Generated Node #0,1,0: 13:[9, 15] Operation: 26-11=15
Exploring Operation: 26+9=35, Resulting Numbers: [11, 35]
Generated Node #0,1,1: 13:[11, 35] Operation: 26+9=35
Exploring Operation: 11-9=2, Resulting Numbers: [26, 2]
Generated Node #0,1,2: 13:[26, 2] Operation: 11-9=2
Exploring Operation: 26-9=17, Resulting Numbers: [11, 17]
Generated Node #0,1,3: 13:[11, 17] Operation: 26-9=17
Exploring Operation: 9+11=20, Resulting Numbers: [26, 20]
Generated Node #0,1,4: 13:[26, 20] Operation: 9+11=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[9, 15], Operations: ['57-46=11', '26-11=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[11, 17], Operations: ['57-46=11', '26-9=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,13 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[26, 20], Operations: ['57-46=11', '9+11=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[11, 35], Operations: ['57-46=11', '26+9=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[26, 2], Operations: ['57-46=11', '11-9=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[46, 57, 26, 9], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [26, 9, 11]
Generated Node #0,1: 13:[26, 9, 11] Operation: 57-46=11
Moving to Node #0,1
Current State: 13:[26, 9, 11], Operations: ['57-46=11']
Exploring Operation: 11-9=2, Resulting Numbers: [26, 2]
Generated Node #0,1,2: 13:[26, 2] Operation: 11-9=2
Moving to Node #0,1,2
Current State: 13:[26, 2], Operations: ['57-46=11', '11-9=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
57,
3,
25,
36
] | 49 | [
"57+3=60",
"36-25=11",
"60-11=49"
] | Current State: 49:[57, 3, 25, 36], Operations: []
Exploring Operation: 57+3=60, Resulting Numbers: [25, 36, 60]
Generated Node #2: [25, 36, 60] from Operation: 57+3=60
Current State: 49:[25, 36, 60], Operations: ['57+3=60']
Exploring Operation: 36-25=11, Resulting Numbers: [60, 11]
Generated Node #3: [60, 11] from Operation: 36-25=11
Current State: 49:[60, 11], Operations: ['57+3=60', '36-25=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[57, 3, 25, 36], Operations: []
Exploring Operation: 36-25=11, Resulting Numbers: [57, 3, 11]
Generated Node #0,0: 49:[57, 3, 11] Operation: 36-25=11
Exploring Operation: 57-25=32, Resulting Numbers: [3, 36, 32]
Generated Node #0,1: 49:[3, 36, 32] Operation: 57-25=32
Exploring Operation: 57-3=54, Resulting Numbers: [25, 36, 54]
Generated Node #0,2: 49:[25, 36, 54] Operation: 57-3=54
Exploring Operation: 36/3=12, Resulting Numbers: [57, 25, 12]
Generated Node #0,3: 49:[57, 25, 12] Operation: 36/3=12
Exploring Operation: 25+36=61, Resulting Numbers: [57, 3, 61]
Generated Node #0,4: 49:[57, 3, 61] Operation: 25+36=61
Moving to Node #0,0
Current State: 49:[57, 3, 11], Operations: ['36-25=11']
Exploring Operation: 57-3=54, Resulting Numbers: [11, 54]
Generated Node #0,0,0: 49:[11, 54] Operation: 57-3=54
Exploring Operation: 3+11=14, Resulting Numbers: [57, 14]
Generated Node #0,0,1: 49:[57, 14] Operation: 3+11=14
Exploring Operation: 57-11=46, Resulting Numbers: [3, 46]
Generated Node #0,0,2: 49:[3, 46] Operation: 57-11=46
Exploring Operation: 11-3=8, Resulting Numbers: [57, 8]
Generated Node #0,0,3: 49:[57, 8] Operation: 11-3=8
Exploring Operation: 57+3=60, Resulting Numbers: [11, 60]
Generated Node #0,0,4: 49:[11, 60] Operation: 57+3=60
Moving to Node #0,4
Current State: 49:[57, 3, 61], Operations: ['25+36=61']
Exploring Operation: 57+3=60, Resulting Numbers: [61, 60]
Generated Node #0,4,0: 49:[61, 60] Operation: 57+3=60
Exploring Operation: 57-3=54, Resulting Numbers: [61, 54]
Generated Node #0,4,1: 49:[61, 54] Operation: 57-3=54
Exploring Operation: 61-3=58, Resulting Numbers: [57, 58]
Generated Node #0,4,2: 49:[57, 58] Operation: 61-3=58
Exploring Operation: 3+61=64, Resulting Numbers: [57, 64]
Generated Node #0,4,3: 49:[57, 64] Operation: 3+61=64
Exploring Operation: 61-57=4, Resulting Numbers: [3, 4]
Generated Node #0,4,4: 49:[3, 4] Operation: 61-57=4
Moving to Node #0,3
Current State: 49:[57, 25, 12], Operations: ['36/3=12']
Exploring Operation: 57-12=45, Resulting Numbers: [25, 45]
Generated Node #0,3,0: 49:[25, 45] Operation: 57-12=45
Exploring Operation: 25+12=37, Resulting Numbers: [57, 37]
Generated Node #0,3,1: 49:[57, 37] Operation: 25+12=37
Exploring Operation: 57-25=32, Resulting Numbers: [12, 32]
Generated Node #0,3,2: 49:[12, 32] Operation: 57-25=32
Exploring Operation: 25-12=13, Resulting Numbers: [57, 13]
Generated Node #0,3,3: 49:[57, 13] Operation: 25-12=13
Exploring Operation: 57+25=82, Resulting Numbers: [12, 82]
Generated Node #0,3,4: 49:[12, 82] Operation: 57+25=82
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[57, 13], Operations: ['36/3=12', '25-12=13']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,49 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,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,3,1
Current State: 49:[57, 37], Operations: ['36/3=12', '25+12=37']
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 57*37=2109, Resulting Numbers: [2109]
2109,49 unequal: No Solution
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,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,3,0
Current State: 49:[25, 45], Operations: ['36/3=12', '57-12=45']
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,49 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,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,3,2
Current State: 49:[12, 32], Operations: ['36/3=12', '57-25=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,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,3,4
Current State: 49:[12, 82], Operations: ['36/3=12', '57+25=82']
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,49 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,49 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: 49:[3, 36, 32], Operations: ['57-25=32']
Exploring Operation: 3+36=39, Resulting Numbers: [32, 39]
Generated Node #0,1,0: 49:[32, 39] Operation: 3+36=39
Exploring Operation: 36+32=68, Resulting Numbers: [3, 68]
Generated Node #0,1,1: 49:[3, 68] Operation: 36+32=68
Exploring Operation: 3+32=35, Resulting Numbers: [36, 35]
Generated Node #0,1,2: 49:[36, 35] Operation: 3+32=35
Exploring Operation: 36/3=12, Resulting Numbers: [32, 12]
Generated Node #0,1,3: 49:[32, 12] Operation: 36/3=12
Exploring Operation: 36-32=4, Resulting Numbers: [3, 4]
Generated Node #0,1,4: 49:[3, 4] Operation: 36-32=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 49:[3, 4], Operations: ['57-25=32', '36-32=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 3*4=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,1,3
Current State: 49:[32, 12], Operations: ['57-25=32', '36/3=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,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,1,1
Current State: 49:[3, 68], Operations: ['57-25=32', '36+32=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,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,1,0
Current State: 49:[32, 39], Operations: ['57-25=32', '3+36=39']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,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,1,2
Current State: 49:[36, 35], Operations: ['57-25=32', '3+32=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,49 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: 49:[25, 36, 54], Operations: ['57-3=54']
Exploring Operation: 25+36=61, Resulting Numbers: [54, 61]
Generated Node #0,2,0: 49:[54, 61] Operation: 25+36=61
Exploring Operation: 36-25=11, Resulting Numbers: [54, 11]
Generated Node #0,2,1: 49:[54, 11] Operation: 36-25=11
Exploring Operation: 25+54=79, Resulting Numbers: [36, 79]
Generated Node #0,2,2: 49:[36, 79] Operation: 25+54=79
Exploring Operation: 54-36=18, Resulting Numbers: [25, 18]
Generated Node #0,2,3: 49:[25, 18] Operation: 54-36=18
Exploring Operation: 54-25=29, Resulting Numbers: [36, 29]
Generated Node #0,2,4: 49:[36, 29] Operation: 54-25=29
Moving to Node #0,0,2
Current State: 49:[3, 46], Operations: ['36-25=11', '57-11=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,49 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[57, 3, 25, 36], Operations: []
Exploring Operation: 36-25=11, Resulting Numbers: [57, 3, 11]
Generated Node #0,0: 49:[57, 3, 11] Operation: 36-25=11
Moving to Node #0,0
Current State: 49:[57, 3, 11], Operations: ['36-25=11']
Exploring Operation: 57-11=46, Resulting Numbers: [3, 46]
Generated Node #0,0,2: 49:[3, 46] Operation: 57-11=46
Moving to Node #0,0,2
Current State: 49:[3, 46], Operations: ['36-25=11', '57-11=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.94184 | hs_5 | mult_heuristic |
[
68,
65,
81,
28
] | 23 | [
"81-68=13",
"65/13=5",
"28-5=23"
] | Current State: 23:[68, 65, 81, 28], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [65, 28, 13]
Generated Node #2: [65, 28, 13] from Operation: 81-68=13
Current State: 23:[65, 28, 13], Operations: ['81-68=13']
Exploring Operation: 65/13=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 65/13=5
Current State: 23:[28, 5], Operations: ['81-68=13', '65/13=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[68, 65, 81, 28], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [65, 28, 13]
Generated Node #0,0: 23:[65, 28, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[65, 28, 13], Operations: ['81-68=13']
Exploring Operation: 65/13=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 23:[28, 5] Operation: 65/13=5
Moving to Node #0,0,0
Current State: 23:[28, 5], Operations: ['81-68=13', '65/13=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[68, 65, 81, 28], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [65, 28, 13]
Generated Node #0,0: 23:[65, 28, 13] Operation: 81-68=13
Moving to Node #0,0
Current State: 23:[65, 28, 13], Operations: ['81-68=13']
Exploring Operation: 65/13=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 23:[28, 5] Operation: 65/13=5
Moving to Node #0,0,0
Current State: 23:[28, 5], Operations: ['81-68=13', '65/13=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
8,
48,
41,
51
] | 30 | [
"48-8=40",
"51-41=10",
"40-10=30"
] | Current State: 30:[8, 48, 41, 51], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [41, 51, 40]
Generated Node #2: [41, 51, 40] from Operation: 48-8=40
Current State: 30:[41, 51, 40], Operations: ['48-8=40']
Exploring Operation: 51-41=10, Resulting Numbers: [40, 10]
Generated Node #3: [40, 10] from Operation: 51-41=10
Current State: 30:[40, 10], Operations: ['48-8=40', '51-41=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[8, 48, 41, 51], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [8, 48, 10]
Generated Node #0,0: 30:[8, 48, 10] Operation: 51-41=10
Exploring Operation: 48-41=7, Resulting Numbers: [8, 51, 7]
Generated Node #0,1: 30:[8, 51, 7] Operation: 48-41=7
Exploring Operation: 48/8=6, Resulting Numbers: [41, 51, 6]
Generated Node #0,2: 30:[41, 51, 6] Operation: 48/8=6
Exploring Operation: 51-48=3, Resulting Numbers: [8, 41, 3]
Generated Node #0,3: 30:[8, 41, 3] Operation: 51-48=3
Moving to Node #0,3
Current State: 30:[8, 41, 3], Operations: ['51-48=3']
Exploring Operation: 8-3=5, Resulting Numbers: [41, 5]
Generated Node #0,3,0: 30:[41, 5] Operation: 8-3=5
Exploring Operation: 41-8=33, Resulting Numbers: [3, 33]
Generated Node #0,3,1: 30:[3, 33] Operation: 41-8=33
Exploring Operation: 8+3=11, Resulting Numbers: [41, 11]
Generated Node #0,3,2: 30:[41, 11] Operation: 8+3=11
Exploring Operation: 41-3=38, Resulting Numbers: [8, 38]
Generated Node #0,3,3: 30:[8, 38] Operation: 41-3=38
Moving to Node #0,0
Current State: 30:[8, 48, 10], Operations: ['51-41=10']
Exploring Operation: 48-10=38, Resulting Numbers: [8, 38]
Generated Node #0,0,0: 30:[8, 38] Operation: 48-10=38
Exploring Operation: 48-8=40, Resulting Numbers: [10, 40]
Generated Node #0,0,1: 30:[10, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 30:[10, 6] Operation: 48/8=6
Exploring Operation: 10-8=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 30:[48, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[10, 6], Operations: ['51-41=10', '48/8=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[8, 38], Operations: ['51-41=10', '48-10=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[8, 48, 41, 51], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [8, 48, 10]
Generated Node #0,0: 30:[8, 48, 10] Operation: 51-41=10
Moving to Node #0,0
Current State: 30:[8, 48, 10], Operations: ['51-41=10']
Exploring Operation: 48-10=38, Resulting Numbers: [8, 38]
Generated Node #0,0,0: 30:[8, 38] Operation: 48-10=38
Moving to Node #0,0,0
Current State: 30:[8, 38], Operations: ['51-41=10', '48-10=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
72,
85,
21,
49
] | 23 | [
"85-49=36",
"72/36=2",
"21+2=23"
] | Current State: 23:[72, 85, 21, 49], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [72, 21, 36]
Generated Node #2: [72, 21, 36] from Operation: 85-49=36
Current State: 23:[72, 21, 36], Operations: ['85-49=36']
Exploring Operation: 72/36=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 72/36=2
Current State: 23:[21, 2], Operations: ['85-49=36', '72/36=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[72, 85, 21, 49], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [72, 21, 36]
Generated Node #0,0: 23:[72, 21, 36] Operation: 85-49=36
Exploring Operation: 72-21=51, Resulting Numbers: [85, 49, 51]
Generated Node #0,1: 23:[85, 49, 51] Operation: 72-21=51
Exploring Operation: 72-49=23, Resulting Numbers: [85, 21, 23]
Generated Node #0,2: 23:[85, 21, 23] Operation: 72-49=23
Exploring Operation: 85-72=13, Resulting Numbers: [21, 49, 13]
Generated Node #0,3: 23:[21, 49, 13] Operation: 85-72=13
Exploring Operation: 85-21=64, Resulting Numbers: [72, 49, 64]
Generated Node #0,4: 23:[72, 49, 64] Operation: 85-21=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[21, 49, 13], Operations: ['85-72=13']
Exploring Operation: 21-13=8, Resulting Numbers: [49, 8]
Generated Node #0,3,0: 23:[49, 8] Operation: 21-13=8
Exploring Operation: 21+13=34, Resulting Numbers: [49, 34]
Generated Node #0,3,1: 23:[49, 34] Operation: 21+13=34
Exploring Operation: 49+13=62, Resulting Numbers: [21, 62]
Generated Node #0,3,2: 23:[21, 62] Operation: 49+13=62
Exploring Operation: 49-13=36, Resulting Numbers: [21, 36]
Generated Node #0,3,3: 23:[21, 36] Operation: 49-13=36
Exploring Operation: 49-21=28, Resulting Numbers: [13, 28]
Generated Node #0,3,4: 23:[13, 28] Operation: 49-21=28
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[21, 36], Operations: ['85-72=13', '49-13=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,23 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,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,3,4
Current State: 23:[13, 28], Operations: ['85-72=13', '49-21=28']
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,23 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,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,3,1
Current State: 23:[49, 34], Operations: ['85-72=13', '21+13=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,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,3,0
Current State: 23:[49, 8], Operations: ['85-72=13', '21-13=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,23 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,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,3,2
Current State: 23:[21, 62], Operations: ['85-72=13', '49+13=62']
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[72, 21, 36], Operations: ['85-49=36']
Exploring Operation: 72-36=36, Resulting Numbers: [21, 36]
Generated Node #0,0,0: 23:[21, 36] Operation: 72-36=36
Exploring Operation: 72-21=51, Resulting Numbers: [36, 51]
Generated Node #0,0,1: 23:[36, 51] Operation: 72-21=51
Exploring Operation: 36-21=15, Resulting Numbers: [72, 15]
Generated Node #0,0,2: 23:[72, 15] Operation: 36-21=15
Exploring Operation: 72+21=93, Resulting Numbers: [36, 93]
Generated Node #0,0,3: 23:[36, 93] Operation: 72+21=93
Exploring Operation: 72/36=2, Resulting Numbers: [21, 2]
Generated Node #0,0,4: 23:[21, 2] Operation: 72/36=2
Moving to Node #0,0,0
Current State: 23:[21, 36], Operations: ['85-49=36', '72-36=36']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[21, 2], Operations: ['85-49=36', '72/36=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[72, 85, 21, 49], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [72, 21, 36]
Generated Node #0,0: 23:[72, 21, 36] Operation: 85-49=36
Moving to Node #0,0
Current State: 23:[72, 21, 36], Operations: ['85-49=36']
Exploring Operation: 72/36=2, Resulting Numbers: [21, 2]
Generated Node #0,0,4: 23:[21, 2] Operation: 72/36=2
Moving to Node #0,0,4
Current State: 23:[21, 2], Operations: ['85-49=36', '72/36=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
28,
37,
59,
55
] | 30 | [
"59-55=4",
"28/4=7",
"37-7=30"
] | Current State: 30:[28, 37, 59, 55], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [28, 37, 4]
Generated Node #2: [28, 37, 4] from Operation: 59-55=4
Current State: 30:[28, 37, 4], Operations: ['59-55=4']
Exploring Operation: 28/4=7, Resulting Numbers: [37, 7]
Generated Node #3: [37, 7] from Operation: 28/4=7
Current State: 30:[37, 7], Operations: ['59-55=4', '28/4=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[28, 37, 59, 55], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [28, 37, 4]
Generated Node #0,0: 30:[28, 37, 4] Operation: 59-55=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[28, 37, 4], Operations: ['59-55=4']
Exploring Operation: 37-28=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 30:[4, 9] Operation: 37-28=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[4, 9], Operations: ['59-55=4', '37-28=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
55,
57,
18,
74
] | 46 | [
"57-55=2",
"18+74=92",
"92/2=46"
] | Current State: 46:[55, 57, 18, 74], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [18, 74, 2]
Generated Node #2: [18, 74, 2] from Operation: 57-55=2
Current State: 46:[18, 74, 2], Operations: ['57-55=2']
Exploring Operation: 18+74=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 18+74=92
Current State: 46:[2, 92], Operations: ['57-55=2', '18+74=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[55, 57, 18, 74], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [55, 57, 56]
Generated Node #0,0: 46:[55, 57, 56] Operation: 74-18=56
Exploring Operation: 74-57=17, Resulting Numbers: [55, 18, 17]
Generated Node #0,1: 46:[55, 18, 17] Operation: 74-57=17
Exploring Operation: 74-55=19, Resulting Numbers: [57, 18, 19]
Generated Node #0,2: 46:[57, 18, 19] Operation: 74-55=19
Moving to Node #0,1
Current State: 46:[55, 18, 17], Operations: ['74-57=17']
Exploring Operation: 55-17=38, Resulting Numbers: [18, 38]
Generated Node #0,1,0: 46:[18, 38] Operation: 55-17=38
Exploring Operation: 55-18=37, Resulting Numbers: [17, 37]
Generated Node #0,1,1: 46:[17, 37] Operation: 55-18=37
Exploring Operation: 18-17=1, Resulting Numbers: [55, 1]
Generated Node #0,1,2: 46:[55, 1] Operation: 18-17=1
Moving to Node #0,2
Current State: 46:[57, 18, 19], Operations: ['74-55=19']
Exploring Operation: 19-18=1, Resulting Numbers: [57, 1]
Generated Node #0,2,0: 46:[57, 1] Operation: 19-18=1
Exploring Operation: 57-18=39, Resulting Numbers: [19, 39]
Generated Node #0,2,1: 46:[19, 39] Operation: 57-18=39
Exploring Operation: 57/19=3, Resulting Numbers: [18, 3]
Generated Node #0,2,2: 46:[18, 3] Operation: 57/19=3
Moving to Node #0,0
Current State: 46:[55, 57, 56], Operations: ['74-18=56']
Exploring Operation: 57-56=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 46:[55, 1] Operation: 57-56=1
Exploring Operation: 57-55=2, Resulting Numbers: [56, 2]
Generated Node #0,0,1: 46:[56, 2] Operation: 57-55=2
Exploring Operation: 56-55=1, Resulting Numbers: [57, 1]
Generated Node #0,0,2: 46:[57, 1] Operation: 56-55=1
Moving to Node #0,2,2
Current State: 46:[18, 3], Operations: ['74-55=19', '57/19=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[55, 1], Operations: ['74-18=56', '57-56=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[55, 1], Operations: ['74-57=17', '18-17=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[56, 2], Operations: ['74-18=56', '57-55=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[19, 39], Operations: ['74-55=19', '57-18=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,46 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[57, 1], Operations: ['74-55=19', '19-18=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[57, 1], Operations: ['74-18=56', '56-55=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[18, 38], Operations: ['74-57=17', '55-17=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[17, 37], Operations: ['74-57=17', '55-18=37']
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,46 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
27,
99,
38
] | 41 | [
"6+27=33",
"99/33=3",
"38+3=41"
] | Current State: 41:[6, 27, 99, 38], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [99, 38, 33]
Generated Node #2: [99, 38, 33] from Operation: 6+27=33
Current State: 41:[99, 38, 33], Operations: ['6+27=33']
Exploring Operation: 99/33=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 99/33=3
Current State: 41:[38, 3], Operations: ['6+27=33', '99/33=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[6, 27, 99, 38], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [99, 38, 33]
Generated Node #0,0: 41:[99, 38, 33] Operation: 6+27=33
Exploring Operation: 99-27=72, Resulting Numbers: [6, 38, 72]
Generated Node #0,1: 41:[6, 38, 72] Operation: 99-27=72
Exploring Operation: 99-6=93, Resulting Numbers: [27, 38, 93]
Generated Node #0,2: 41:[27, 38, 93] Operation: 99-6=93
Exploring Operation: 99-38=61, Resulting Numbers: [6, 27, 61]
Generated Node #0,3: 41:[6, 27, 61] Operation: 99-38=61
Moving to Node #0,0
Current State: 41:[99, 38, 33], Operations: ['6+27=33']
Exploring Operation: 99-33=66, Resulting Numbers: [38, 66]
Generated Node #0,0,0: 41:[38, 66] Operation: 99-33=66
Exploring Operation: 38+33=71, Resulting Numbers: [99, 71]
Generated Node #0,0,1: 41:[99, 71] Operation: 38+33=71
Exploring Operation: 99-38=61, Resulting Numbers: [33, 61]
Generated Node #0,0,2: 41:[33, 61] Operation: 99-38=61
Exploring Operation: 99/33=3, Resulting Numbers: [38, 3]
Generated Node #0,0,3: 41:[38, 3] Operation: 99/33=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[38, 66], Operations: ['6+27=33', '99-33=66']
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[33, 61], Operations: ['6+27=33', '99-38=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,41 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[38, 3], Operations: ['6+27=33', '99/33=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[6, 27, 99, 38], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [99, 38, 33]
Generated Node #0,0: 41:[99, 38, 33] Operation: 6+27=33
Moving to Node #0,0
Current State: 41:[99, 38, 33], Operations: ['6+27=33']
Exploring Operation: 99/33=3, Resulting Numbers: [38, 3]
Generated Node #0,0,3: 41:[38, 3] Operation: 99/33=3
Moving to Node #0,0,3
Current State: 41:[38, 3], Operations: ['6+27=33', '99/33=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
41,
53,
43,
57
] | 30 | [
"41*43=1763",
"1763-53=1710",
"1710/57=30"
] | Current State: 30:[41, 53, 43, 57], Operations: []
Exploring Operation: 41*43=1763, Resulting Numbers: [53, 57, 1763]
Generated Node #2: [53, 57, 1763] from Operation: 41*43=1763
Current State: 30:[53, 57, 1763], Operations: ['41*43=1763']
Exploring Operation: 1763-53=1710, Resulting Numbers: [57, 1710]
Generated Node #3: [57, 1710] from Operation: 1763-53=1710
Current State: 30:[57, 1710], Operations: ['41*43=1763', '1763-53=1710']
Exploring Operation: 1710/57=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[41, 53, 43, 57], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [41, 53, 14]
Generated Node #0,0: 30:[41, 53, 14] Operation: 57-43=14
Exploring Operation: 57-53=4, Resulting Numbers: [41, 43, 4]
Generated Node #0,1: 30:[41, 43, 4] Operation: 57-53=4
Exploring Operation: 57-41=16, Resulting Numbers: [53, 43, 16]
Generated Node #0,2: 30:[53, 43, 16] Operation: 57-41=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[41, 43, 4], Operations: ['57-53=4']
Exploring Operation: 43-41=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 30:[4, 2] Operation: 43-41=2
Exploring Operation: 41-4=37, Resulting Numbers: [43, 37]
Generated Node #0,1,1: 30:[43, 37] Operation: 41-4=37
Exploring Operation: 43-4=39, Resulting Numbers: [41, 39]
Generated Node #0,1,2: 30:[41, 39] Operation: 43-4=39
Moving to Node #0,1,0
Current State: 30:[4, 2], Operations: ['57-53=4', '43-41=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[43, 37], Operations: ['57-53=4', '41-4=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,30 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[41, 39], Operations: ['57-53=4', '43-4=39']
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,30 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[41, 53, 14], Operations: ['57-43=14']
Exploring Operation: 53-41=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 30:[14, 12] Operation: 53-41=12
Exploring Operation: 53-14=39, Resulting Numbers: [41, 39]
Generated Node #0,0,1: 30:[41, 39] Operation: 53-14=39
Exploring Operation: 41-14=27, Resulting Numbers: [53, 27]
Generated Node #0,0,2: 30:[53, 27] Operation: 41-14=27
Moving to Node #0,0,0
Current State: 30:[14, 12], Operations: ['57-43=14', '53-41=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,30 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[41, 39], Operations: ['57-43=14', '53-14=39']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[53, 27], Operations: ['57-43=14', '41-14=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,30 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[53, 43, 16], Operations: ['57-41=16']
Exploring Operation: 53-43=10, Resulting Numbers: [16, 10]
Generated Node #0,2,0: 30:[16, 10] Operation: 53-43=10
Exploring Operation: 53-16=37, Resulting Numbers: [43, 37]
Generated Node #0,2,1: 30:[43, 37] Operation: 53-16=37
Exploring Operation: 43-16=27, Resulting Numbers: [53, 27]
Generated Node #0,2,2: 30:[53, 27] Operation: 43-16=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 30:[16, 10], Operations: ['57-41=16', '53-43=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,30 unequal: No Solution
No 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: 30:[43, 37], Operations: ['57-41=16', '53-16=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,30 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No 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: 30:[53, 27], Operations: ['57-41=16', '43-16=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
33,
51,
5,
29
] | 11 | [
"33+51=84",
"84-29=55",
"55/5=11"
] | Current State: 11:[33, 51, 5, 29], Operations: []
Exploring Operation: 33+51=84, Resulting Numbers: [5, 29, 84]
Generated Node #2: [5, 29, 84] from Operation: 33+51=84
Current State: 11:[5, 29, 84], Operations: ['33+51=84']
Exploring Operation: 84-29=55, Resulting Numbers: [5, 55]
Generated Node #3: [5, 55] from Operation: 84-29=55
Current State: 11:[5, 55], Operations: ['33+51=84', '84-29=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[33, 51, 5, 29], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [33, 5, 22]
Generated Node #0,0: 11:[33, 5, 22] Operation: 51-29=22
Exploring Operation: 33-29=4, Resulting Numbers: [51, 5, 4]
Generated Node #0,1: 11:[51, 5, 4] Operation: 33-29=4
Exploring Operation: 51-33=18, Resulting Numbers: [5, 29, 18]
Generated Node #0,2: 11:[5, 29, 18] Operation: 51-33=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[5, 29, 18], Operations: ['51-33=18']
Exploring Operation: 29-18=11, Resulting Numbers: [5, 11]
Generated Node #0,2,0: 11:[5, 11] Operation: 29-18=11
Exploring Operation: 29-5=24, Resulting Numbers: [18, 24]
Generated Node #0,2,1: 11:[18, 24] Operation: 29-5=24
Exploring Operation: 18-5=13, Resulting Numbers: [29, 13]
Generated Node #0,2,2: 11:[29, 13] Operation: 18-5=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[5, 11], Operations: ['51-33=18', '29-18=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[18, 24], Operations: ['51-33=18', '29-5=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[29, 13], Operations: ['51-33=18', '18-5=13']
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,11 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[33, 5, 22], Operations: ['51-29=22']
Exploring Operation: 22-5=17, Resulting Numbers: [33, 17]
Generated Node #0,0,0: 11:[33, 17] Operation: 22-5=17
Exploring Operation: 33-5=28, Resulting Numbers: [22, 28]
Generated Node #0,0,1: 11:[22, 28] Operation: 33-5=28
Exploring Operation: 33-22=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 11:[5, 11] Operation: 33-22=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[5, 11], Operations: ['51-29=22', '33-22=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[33, 17], Operations: ['51-29=22', '22-5=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[22, 28], Operations: ['51-29=22', '33-5=28']
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,11 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[51, 5, 4], Operations: ['33-29=4']
Exploring Operation: 51-4=47, Resulting Numbers: [5, 47]
Generated Node #0,1,0: 11:[5, 47] Operation: 51-4=47
Exploring Operation: 5+4=9, Resulting Numbers: [51, 9]
Generated Node #0,1,1: 11:[51, 9] Operation: 5+4=9
Exploring Operation: 51-5=46, Resulting Numbers: [4, 46]
Generated Node #0,1,2: 11:[4, 46] Operation: 51-5=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[5, 47], Operations: ['33-29=4', '51-4=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[51, 9], Operations: ['33-29=4', '5+4=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[4, 46], Operations: ['33-29=4', '51-5=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,11 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
6,
97,
11
] | 25 | [
"64+97=161",
"161-11=150",
"150/6=25"
] | Current State: 25:[64, 6, 97, 11], Operations: []
Exploring Operation: 64+97=161, Resulting Numbers: [6, 11, 161]
Generated Node #2: [6, 11, 161] from Operation: 64+97=161
Current State: 25:[6, 11, 161], Operations: ['64+97=161']
Exploring Operation: 161-11=150, Resulting Numbers: [6, 150]
Generated Node #3: [6, 150] from Operation: 161-11=150
Current State: 25:[6, 150], Operations: ['64+97=161', '161-11=150']
Exploring Operation: 150/6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[64, 6, 97, 11], Operations: []
Exploring Operation: 64-6=58, Resulting Numbers: [97, 11, 58]
Generated Node #0,0: 25:[97, 11, 58] Operation: 64-6=58
Exploring Operation: 97-11=86, Resulting Numbers: [64, 6, 86]
Generated Node #0,1: 25:[64, 6, 86] Operation: 97-11=86
Exploring Operation: 64-11=53, Resulting Numbers: [6, 97, 53]
Generated Node #0,2: 25:[6, 97, 53] Operation: 64-11=53
Exploring Operation: 97-64=33, Resulting Numbers: [6, 11, 33]
Generated Node #0,3: 25:[6, 11, 33] Operation: 97-64=33
Exploring Operation: 97-6=91, Resulting Numbers: [64, 11, 91]
Generated Node #0,4: 25:[64, 11, 91] Operation: 97-6=91
Moving to Node #0,3
Current State: 25:[6, 11, 33], Operations: ['97-64=33']
Exploring Operation: 33-6=27, Resulting Numbers: [11, 27]
Generated Node #0,3,0: 25:[11, 27] Operation: 33-6=27
Exploring Operation: 6+11=17, Resulting Numbers: [33, 17]
Generated Node #0,3,1: 25:[33, 17] Operation: 6+11=17
Exploring Operation: 33/11=3, Resulting Numbers: [6, 3]
Generated Node #0,3,2: 25:[6, 3] Operation: 33/11=3
Exploring Operation: 11-6=5, Resulting Numbers: [33, 5]
Generated Node #0,3,3: 25:[33, 5] Operation: 11-6=5
Exploring Operation: 33-11=22, Resulting Numbers: [6, 22]
Generated Node #0,3,4: 25:[6, 22] Operation: 33-11=22
Moving to Node #0,2
Current State: 25:[6, 97, 53], Operations: ['64-11=53']
Exploring Operation: 6+97=103, Resulting Numbers: [53, 103]
Generated Node #0,2,0: 25:[53, 103] Operation: 6+97=103
Exploring Operation: 97-6=91, Resulting Numbers: [53, 91]
Generated Node #0,2,1: 25:[53, 91] Operation: 97-6=91
Exploring Operation: 97-53=44, Resulting Numbers: [6, 44]
Generated Node #0,2,2: 25:[6, 44] Operation: 97-53=44
Exploring Operation: 53-6=47, Resulting Numbers: [97, 47]
Generated Node #0,2,3: 25:[97, 47] Operation: 53-6=47
Exploring Operation: 6+53=59, Resulting Numbers: [97, 59]
Generated Node #0,2,4: 25:[97, 59] Operation: 6+53=59
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[6, 44], Operations: ['64-11=53', '97-53=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,25 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,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,2,1
Current State: 25:[53, 91], Operations: ['64-11=53', '97-6=91']
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,25 unequal: No Solution
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,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,2,3
Current State: 25:[97, 47], Operations: ['64-11=53', '53-6=47']
Exploring Operation: 97*47=4559, Resulting Numbers: [4559]
4559,25 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 97+47=144, Resulting Numbers: [144]
144,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,2,0
Current State: 25:[53, 103], Operations: ['64-11=53', '6+97=103']
Exploring Operation: 53+103=156, Resulting Numbers: [156]
156,25 unequal: No Solution
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 53*103=5459, Resulting Numbers: [5459]
5459,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,2,4
Current State: 25:[97, 59], Operations: ['64-11=53', '6+53=59']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 97*59=5723, Resulting Numbers: [5723]
5723,25 unequal: No Solution
Exploring Operation: 97+59=156, Resulting Numbers: [156]
156,25 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: 25:[64, 6, 86], Operations: ['97-11=86']
Exploring Operation: 64-6=58, Resulting Numbers: [86, 58]
Generated Node #0,1,0: 25:[86, 58] Operation: 64-6=58
Exploring Operation: 6+86=92, Resulting Numbers: [64, 92]
Generated Node #0,1,1: 25:[64, 92] Operation: 6+86=92
Exploring Operation: 86-6=80, Resulting Numbers: [64, 80]
Generated Node #0,1,2: 25:[64, 80] Operation: 86-6=80
Exploring Operation: 86-64=22, Resulting Numbers: [6, 22]
Generated Node #0,1,3: 25:[6, 22] Operation: 86-64=22
Exploring Operation: 64+6=70, Resulting Numbers: [86, 70]
Generated Node #0,1,4: 25:[86, 70] Operation: 64+6=70
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[6, 22], Operations: ['97-11=86', '86-64=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,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:[86, 58], Operations: ['97-11=86', '64-6=58']
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 86*58=4988, Resulting Numbers: [4988]
4988,25 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,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:[64, 80], Operations: ['97-11=86', '86-6=80']
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,25 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,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,1
Current State: 25:[64, 92], Operations: ['97-11=86', '6+86=92']
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,25 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,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:[86, 70], Operations: ['97-11=86', '64+6=70']
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,25 unequal: No Solution
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,25 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,25 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: 25:[97, 11, 58], Operations: ['64-6=58']
Exploring Operation: 97+11=108, Resulting Numbers: [58, 108]
Generated Node #0,0,0: 25:[58, 108] Operation: 97+11=108
Exploring Operation: 58-11=47, Resulting Numbers: [97, 47]
Generated Node #0,0,1: 25:[97, 47] Operation: 58-11=47
Exploring Operation: 11+58=69, Resulting Numbers: [97, 69]
Generated Node #0,0,2: 25:[97, 69] Operation: 11+58=69
Exploring Operation: 97-11=86, Resulting Numbers: [58, 86]
Generated Node #0,0,3: 25:[58, 86] Operation: 97-11=86
Exploring Operation: 97-58=39, Resulting Numbers: [11, 39]
Generated Node #0,0,4: 25:[11, 39] Operation: 97-58=39
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[11, 39], Operations: ['64-6=58', '97-58=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,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,0,1
Current State: 25:[97, 47], Operations: ['64-6=58', '58-11=47']
Exploring Operation: 97+47=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 97*47=4559, Resulting Numbers: [4559]
4559,25 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,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,0,3
Current State: 25:[58, 86], Operations: ['64-6=58', '97-11=86']
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,25 unequal: No Solution
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,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,0,0
Current State: 25:[58, 108], Operations: ['64-6=58', '97+11=108']
Exploring Operation: 108-58=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 58*108=6264, Resulting Numbers: [6264]
6264,25 unequal: No Solution
Exploring Operation: 58+108=166, Resulting Numbers: [166]
166,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,0,2
Current State: 25:[97, 69], Operations: ['64-6=58', '11+58=69']
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,25 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,25 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: 25:[64, 11, 91], Operations: ['97-6=91']
Exploring Operation: 91-11=80, Resulting Numbers: [64, 80]
Generated Node #0,4,0: 25:[64, 80] Operation: 91-11=80
Exploring Operation: 91-64=27, Resulting Numbers: [11, 27]
Generated Node #0,4,1: 25:[11, 27] Operation: 91-64=27
Exploring Operation: 64-11=53, Resulting Numbers: [91, 53]
Generated Node #0,4,2: 25:[91, 53] Operation: 64-11=53
Exploring Operation: 64+11=75, Resulting Numbers: [91, 75]
Generated Node #0,4,3: 25:[91, 75] Operation: 64+11=75
Exploring Operation: 11+91=102, Resulting Numbers: [64, 102]
Generated Node #0,4,4: 25:[64, 102] Operation: 11+91=102
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 25:[11, 27], Operations: ['97-6=91', '91-64=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,25 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,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,4,0
Current State: 25:[64, 80], Operations: ['97-6=91', '91-11=80']
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,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,4,2
Current State: 25:[91, 53], Operations: ['97-6=91', '64-11=53']
Exploring Operation: 91+53=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 91*53=4823, Resulting Numbers: [4823]
4823,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,4,3
Current State: 25:[91, 75], Operations: ['97-6=91', '64+11=75']
Exploring Operation: 91*75=6825, Resulting Numbers: [6825]
6825,25 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 91+75=166, Resulting Numbers: [166]
166,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,4,4
Current State: 25:[64, 102], Operations: ['97-6=91', '11+91=102']
Exploring Operation: 102-64=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 64*102=6528, Resulting Numbers: [6528]
6528,25 unequal: No Solution
Exploring Operation: 64+102=166, Resulting Numbers: [166]
166,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 25:[6, 3], Operations: ['97-64=33', '33/11=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[6, 22], Operations: ['97-64=33', '33-11=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,25 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[11, 27], Operations: ['97-64=33', '33-6=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,25 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[33, 5], Operations: ['97-64=33', '11-6=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[33, 17], Operations: ['97-64=33', '6+11=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,25 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
26,
41,
10,
19
] | 76 | [
"26+41=67",
"19-10=9",
"67+9=76"
] | Current State: 76:[26, 41, 10, 19], Operations: []
Exploring Operation: 26+41=67, Resulting Numbers: [10, 19, 67]
Generated Node #2: [10, 19, 67] from Operation: 26+41=67
Current State: 76:[10, 19, 67], Operations: ['26+41=67']
Exploring Operation: 19-10=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 19-10=9
Current State: 76:[67, 9], Operations: ['26+41=67', '19-10=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[26, 41, 10, 19], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [10, 19, 15]
Generated Node #0,0: 76:[10, 19, 15] Operation: 41-26=15
Exploring Operation: 26-19=7, Resulting Numbers: [41, 10, 7]
Generated Node #0,1: 76:[41, 10, 7] Operation: 26-19=7
Exploring Operation: 26+10=36, Resulting Numbers: [41, 19, 36]
Generated Node #0,2: 76:[41, 19, 36] Operation: 26+10=36
Exploring Operation: 26-10=16, Resulting Numbers: [41, 19, 16]
Generated Node #0,3: 76:[41, 19, 16] Operation: 26-10=16
Exploring Operation: 41-10=31, Resulting Numbers: [26, 19, 31]
Generated Node #0,4: 76:[26, 19, 31] Operation: 41-10=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[41, 19, 36], Operations: ['26+10=36']
Exploring Operation: 41+36=77, Resulting Numbers: [19, 77]
Generated Node #0,2,0: 76:[19, 77] Operation: 41+36=77
Exploring Operation: 41-19=22, Resulting Numbers: [36, 22]
Generated Node #0,2,1: 76:[36, 22] Operation: 41-19=22
Exploring Operation: 41+19=60, Resulting Numbers: [36, 60]
Generated Node #0,2,2: 76:[36, 60] Operation: 41+19=60
Exploring Operation: 36-19=17, Resulting Numbers: [41, 17]
Generated Node #0,2,3: 76:[41, 17] Operation: 36-19=17
Exploring Operation: 41-36=5, Resulting Numbers: [19, 5]
Generated Node #0,2,4: 76:[19, 5] Operation: 41-36=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[19, 77], Operations: ['26+10=36', '41+36=77']
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,76 unequal: No Solution
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,76 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 76:[19, 5], Operations: ['26+10=36', '41-36=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[36, 22], Operations: ['26+10=36', '41-19=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[41, 17], Operations: ['26+10=36', '36-19=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,76 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[36, 60], Operations: ['26+10=36', '41+19=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,76 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[41, 19, 16], Operations: ['26-10=16']
Exploring Operation: 41-16=25, Resulting Numbers: [19, 25]
Generated Node #0,3,0: 76:[19, 25] Operation: 41-16=25
Exploring Operation: 19+16=35, Resulting Numbers: [41, 35]
Generated Node #0,3,1: 76:[41, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [41, 3]
Generated Node #0,3,2: 76:[41, 3] Operation: 19-16=3
Exploring Operation: 41+19=60, Resulting Numbers: [16, 60]
Generated Node #0,3,3: 76:[16, 60] Operation: 41+19=60
Exploring Operation: 41-19=22, Resulting Numbers: [16, 22]
Generated Node #0,3,4: 76:[16, 22] Operation: 41-19=22
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[41, 3], Operations: ['26-10=16', '19-16=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[19, 25], Operations: ['26-10=16', '41-16=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,76 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[41, 35], Operations: ['26-10=16', '19+16=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[26, 41, 10, 19], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [41, 19, 16]
Generated Node #0,3: 76:[41, 19, 16] Operation: 26-10=16
Moving to Node #0,3
Current State: 76:[41, 19, 16], Operations: ['26-10=16']
Exploring Operation: 19+16=35, Resulting Numbers: [41, 35]
Generated Node #0,3,1: 76:[41, 35] Operation: 19+16=35
Moving to Node #0,3,1
Current State: 76:[41, 35], Operations: ['26-10=16', '19+16=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
10,
30,
92,
30
] | 10 | [
"30-30=0",
"92*0=0",
"10+0=10"
] | Current State: 10:[10, 30, 92, 30], Operations: []
Exploring Operation: 30-30=0, Resulting Numbers: [10, 92, 0]
Generated Node #2: [10, 92, 0] from Operation: 30-30=0
Current State: 10:[10, 92, 0], Operations: ['30-30=0']
Exploring Operation: 92*0=0, Resulting Numbers: [10, 0]
Generated Node #3: [10, 0] from Operation: 92*0=0
Current State: 10:[10, 0], Operations: ['30-30=0', '92*0=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[10, 30, 92, 30], Operations: []
Exploring Operation: 30/30=1, Resulting Numbers: [10, 92, 1]
Generated Node #0,0: 10:[10, 92, 1] Operation: 30/30=1
Exploring Operation: 92-30=62, Resulting Numbers: [10, 30, 62]
Generated Node #0,1: 10:[10, 30, 62] Operation: 92-30=62
Exploring Operation: 30-30=0, Resulting Numbers: [10, 92, 0]
Generated Node #0,2: 10:[10, 92, 0] Operation: 30-30=0
Exploring Operation: 92-30=62, Resulting Numbers: [10, 30, 62]
Generated Node #0,3: 10:[10, 30, 62] Operation: 92-30=62
Moving to Node #0,1
Current State: 10:[10, 30, 62], Operations: ['92-30=62']
Exploring Operation: 30-10=20, Resulting Numbers: [62, 20]
Generated Node #0,1,0: 10:[62, 20] Operation: 30-10=20
Exploring Operation: 62-30=32, Resulting Numbers: [10, 32]
Generated Node #0,1,1: 10:[10, 32] Operation: 62-30=32
Exploring Operation: 30/10=3, Resulting Numbers: [62, 3]
Generated Node #0,1,2: 10:[62, 3] Operation: 30/10=3
Exploring Operation: 62-10=52, Resulting Numbers: [30, 52]
Generated Node #0,1,3: 10:[30, 52] Operation: 62-10=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[10, 32], Operations: ['92-30=62', '62-30=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,10 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,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:[62, 3], Operations: ['92-30=62', '30/10=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,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:[62, 20], Operations: ['92-30=62', '30-10=20']
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,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,3
Current State: 10:[30, 52], Operations: ['92-30=62', '62-10=52']
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,10 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: 10:[10, 30, 62], Operations: ['92-30=62']
Exploring Operation: 62-10=52, Resulting Numbers: [30, 52]
Generated Node #0,3,0: 10:[30, 52] Operation: 62-10=52
Exploring Operation: 30-10=20, Resulting Numbers: [62, 20]
Generated Node #0,3,1: 10:[62, 20] Operation: 30-10=20
Exploring Operation: 62-30=32, Resulting Numbers: [10, 32]
Generated Node #0,3,2: 10:[10, 32] Operation: 62-30=32
Exploring Operation: 30/10=3, Resulting Numbers: [62, 3]
Generated Node #0,3,3: 10:[62, 3] Operation: 30/10=3
Moving to Node #0,0
Current State: 10:[10, 92, 1], Operations: ['30/30=1']
Exploring Operation: 92-1=91, Resulting Numbers: [10, 91]
Generated Node #0,0,0: 10:[10, 91] Operation: 92-1=91
Exploring Operation: 10*1=10, Resulting Numbers: [92, 10]
Generated Node #0,0,1: 10:[92, 10] Operation: 10*1=10
Exploring Operation: 92-10=82, Resulting Numbers: [1, 82]
Generated Node #0,0,2: 10:[1, 82] Operation: 92-10=82
Exploring Operation: 10/1=10, Resulting Numbers: [92, 10]
Generated Node #0,0,3: 10:[92, 10] Operation: 10/1=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[1, 82], Operations: ['30/30=1', '92-10=82']
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,10 unequal: No Solution
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,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,0
Current State: 10:[10, 91], Operations: ['30/30=1', '92-1=91']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 10*91=910, Resulting Numbers: [910]
910,10 unequal: No Solution
Exploring Operation: 10+91=101, Resulting Numbers: [101]
101,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,1
Current State: 10:[92, 10], Operations: ['30/30=1', '10*1=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,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,3
Current State: 10:[92, 10], Operations: ['30/30=1', '10/1=10']
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,10 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,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:[10, 92, 0], Operations: ['30-30=0']
Exploring Operation: 92*0=0, Resulting Numbers: [10, 0]
Generated Node #0,2,0: 10:[10, 0] Operation: 92*0=0
Exploring Operation: 10-0=10, Resulting Numbers: [92, 10]
Generated Node #0,2,1: 10:[92, 10] Operation: 10-0=10
Exploring Operation: 92-10=82, Resulting Numbers: [0, 82]
Generated Node #0,2,2: 10:[0, 82] Operation: 92-10=82
Exploring Operation: 10+0=10, Resulting Numbers: [92, 10]
Generated Node #0,2,3: 10:[92, 10] Operation: 10+0=10
Moving to Node #0,2,0
Current State: 10:[10, 0], Operations: ['30-30=0', '92*0=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[10, 30, 92, 30], Operations: []
Exploring Operation: 30-30=0, Resulting Numbers: [10, 92, 0]
Generated Node #0,2: 10:[10, 92, 0] Operation: 30-30=0
Moving to Node #0,2
Current State: 10:[10, 92, 0], Operations: ['30-30=0']
Exploring Operation: 92*0=0, Resulting Numbers: [10, 0]
Generated Node #0,2,0: 10:[10, 0] Operation: 92*0=0
Moving to Node #0,2,0
Current State: 10:[10, 0], Operations: ['30-30=0', '92*0=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
14,
90,
74,
61
] | 90 | [
"74-14=60",
"61-60=1",
"90*1=90"
] | Current State: 90:[14, 90, 74, 61], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [90, 61, 60]
Generated Node #2: [90, 61, 60] from Operation: 74-14=60
Current State: 90:[90, 61, 60], Operations: ['74-14=60']
Exploring Operation: 61-60=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 61-60=1
Current State: 90:[90, 1], Operations: ['74-14=60', '61-60=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[14, 90, 74, 61], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [14, 74, 29]
Generated Node #0,0: 90:[14, 74, 29] Operation: 90-61=29
Exploring Operation: 14+74=88, Resulting Numbers: [90, 61, 88]
Generated Node #0,1: 90:[90, 61, 88] Operation: 14+74=88
Exploring Operation: 90-74=16, Resulting Numbers: [14, 61, 16]
Generated Node #0,2: 90:[14, 61, 16] Operation: 90-74=16
Exploring Operation: 74-61=13, Resulting Numbers: [14, 90, 13]
Generated Node #0,3: 90:[14, 90, 13] Operation: 74-61=13
Exploring Operation: 61-14=47, Resulting Numbers: [90, 74, 47]
Generated Node #0,4: 90:[90, 74, 47] Operation: 61-14=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[14, 90, 13], Operations: ['74-61=13']
Exploring Operation: 90+13=103, Resulting Numbers: [14, 103]
Generated Node #0,3,0: 90:[14, 103] Operation: 90+13=103
Exploring Operation: 14-13=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 90:[90, 1] Operation: 14-13=1
Exploring Operation: 14+13=27, Resulting Numbers: [90, 27]
Generated Node #0,3,2: 90:[90, 27] Operation: 14+13=27
Exploring Operation: 90-13=77, Resulting Numbers: [14, 77]
Generated Node #0,3,3: 90:[14, 77] Operation: 90-13=77
Exploring Operation: 14+90=104, Resulting Numbers: [13, 104]
Generated Node #0,3,4: 90:[13, 104] Operation: 14+90=104
Moving to Node #0,3,1
Current State: 90:[90, 1], Operations: ['74-61=13', '14-13=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[14, 90, 74, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [14, 90, 13]
Generated Node #0,3: 90:[14, 90, 13] Operation: 74-61=13
Moving to Node #0,3
Current State: 90:[14, 90, 13], Operations: ['74-61=13']
Exploring Operation: 14-13=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 90:[90, 1] Operation: 14-13=1
Moving to Node #0,3,1
Current State: 90:[90, 1], Operations: ['74-61=13', '14-13=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
49,
31,
24,
1
] | 55 | [
"49+31=80",
"24+1=25",
"80-25=55"
] | Current State: 55:[49, 31, 24, 1], Operations: []
Exploring Operation: 49+31=80, Resulting Numbers: [24, 1, 80]
Generated Node #2: [24, 1, 80] from Operation: 49+31=80
Current State: 55:[24, 1, 80], Operations: ['49+31=80']
Exploring Operation: 24+1=25, Resulting Numbers: [80, 25]
Generated Node #3: [80, 25] from Operation: 24+1=25
Current State: 55:[80, 25], Operations: ['49+31=80', '24+1=25']
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[49, 31, 24, 1], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [49, 1, 7]
Generated Node #0,0: 55:[49, 1, 7] Operation: 31-24=7
Exploring Operation: 31+24=55, Resulting Numbers: [49, 1, 55]
Generated Node #0,1: 55:[49, 1, 55] Operation: 31+24=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[49, 1, 55], Operations: ['31+24=55']
Exploring Operation: 55-49=6, Resulting Numbers: [1, 6]
Generated Node #0,1,0: 55:[1, 6] Operation: 55-49=6
Exploring Operation: 49+1=50, Resulting Numbers: [55, 50]
Generated Node #0,1,1: 55:[55, 50] Operation: 49+1=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[1, 6], Operations: ['31+24=55', '55-49=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[55, 50], Operations: ['31+24=55', '49+1=50']
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,55 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[49, 1, 7], Operations: ['31-24=7']
Exploring Operation: 49+7=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 55:[1, 56] Operation: 49+7=56
Exploring Operation: 49/7=7, Resulting Numbers: [1, 7]
Generated Node #0,0,1: 55:[1, 7] Operation: 49/7=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[1, 56], Operations: ['31-24=7', '49+7=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[49, 31, 24, 1], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [49, 1, 7]
Generated Node #0,0: 55:[49, 1, 7] Operation: 31-24=7
Moving to Node #0,0
Current State: 55:[49, 1, 7], Operations: ['31-24=7']
Exploring Operation: 49+7=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 55:[1, 56] Operation: 49+7=56
Moving to Node #0,0,0
Current State: 55:[1, 56], Operations: ['31-24=7', '49+7=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
98,
43,
95,
97
] | 57 | [
"98-43=55",
"97-95=2",
"55+2=57"
] | Current State: 57:[98, 43, 95, 97], Operations: []
Exploring Operation: 98-43=55, Resulting Numbers: [95, 97, 55]
Generated Node #2: [95, 97, 55] from Operation: 98-43=55
Current State: 57:[95, 97, 55], Operations: ['98-43=55']
Exploring Operation: 97-95=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 97-95=2
Current State: 57:[55, 2], Operations: ['98-43=55', '97-95=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[98, 43, 95, 97], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [43, 97, 3]
Generated Node #0,0: 57:[43, 97, 3] Operation: 98-95=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[43, 97, 3], Operations: ['98-95=3']
Exploring Operation: 97-43=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 57:[3, 54] Operation: 97-43=54
Moving to Node #0,0,0
Current State: 57:[3, 54], Operations: ['98-95=3', '97-43=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[98, 43, 95, 97], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [43, 97, 3]
Generated Node #0,0: 57:[43, 97, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 57:[43, 97, 3], Operations: ['98-95=3']
Exploring Operation: 97-43=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 57:[3, 54] Operation: 97-43=54
Moving to Node #0,0,0
Current State: 57:[3, 54], Operations: ['98-95=3', '97-43=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
93,
79,
50,
88
] | 52 | [
"93-79=14",
"88-50=38",
"14+38=52"
] | Current State: 52:[93, 79, 50, 88], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [50, 88, 14]
Generated Node #2: [50, 88, 14] from Operation: 93-79=14
Current State: 52:[50, 88, 14], Operations: ['93-79=14']
Exploring Operation: 88-50=38, Resulting Numbers: [14, 38]
Generated Node #3: [14, 38] from Operation: 88-50=38
Current State: 52:[14, 38], Operations: ['93-79=14', '88-50=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[93, 79, 50, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [79, 50, 5]
Generated Node #0,0: 52:[79, 50, 5] Operation: 93-88=5
Exploring Operation: 93-50=43, Resulting Numbers: [79, 88, 43]
Generated Node #0,1: 52:[79, 88, 43] Operation: 93-50=43
Exploring Operation: 88-79=9, Resulting Numbers: [93, 50, 9]
Generated Node #0,2: 52:[93, 50, 9] Operation: 88-79=9
Exploring Operation: 93-79=14, Resulting Numbers: [50, 88, 14]
Generated Node #0,3: 52:[50, 88, 14] Operation: 93-79=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[79, 50, 5], Operations: ['93-88=5']
Exploring Operation: 50+5=55, Resulting Numbers: [79, 55]
Generated Node #0,0,0: 52:[79, 55] Operation: 50+5=55
Exploring Operation: 50/5=10, Resulting Numbers: [79, 10]
Generated Node #0,0,1: 52:[79, 10] Operation: 50/5=10
Exploring Operation: 79-50=29, Resulting Numbers: [5, 29]
Generated Node #0,0,2: 52:[5, 29] Operation: 79-50=29
Exploring Operation: 79-5=74, Resulting Numbers: [50, 74]
Generated Node #0,0,3: 52:[50, 74] Operation: 79-5=74
Moving to Node #0,0,2
Current State: 52:[5, 29], Operations: ['93-88=5', '79-50=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[50, 74], Operations: ['93-88=5', '79-5=74']
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,52 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[79, 10], Operations: ['93-88=5', '50/5=10']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,52 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[79, 55], Operations: ['93-88=5', '50+5=55']
Exploring Operation: 79+55=134, Resulting Numbers: [134]
134,52 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 79*55=4345, Resulting Numbers: [4345]
4345,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[50, 88, 14], Operations: ['93-79=14']
Exploring Operation: 50-14=36, Resulting Numbers: [88, 36]
Generated Node #0,3,0: 52:[88, 36] Operation: 50-14=36
Exploring Operation: 88-50=38, Resulting Numbers: [14, 38]
Generated Node #0,3,1: 52:[14, 38] Operation: 88-50=38
Exploring Operation: 50+14=64, Resulting Numbers: [88, 64]
Generated Node #0,3,2: 52:[88, 64] Operation: 50+14=64
Exploring Operation: 88-14=74, Resulting Numbers: [50, 74]
Generated Node #0,3,3: 52:[50, 74] Operation: 88-14=74
Moving to Node #0,3,1
Current State: 52:[14, 38], Operations: ['93-79=14', '88-50=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[93, 79, 50, 88], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [50, 88, 14]
Generated Node #0,3: 52:[50, 88, 14] Operation: 93-79=14
Moving to Node #0,3
Current State: 52:[50, 88, 14], Operations: ['93-79=14']
Exploring Operation: 88-50=38, Resulting Numbers: [14, 38]
Generated Node #0,3,1: 52:[14, 38] Operation: 88-50=38
Moving to Node #0,3,1
Current State: 52:[14, 38], Operations: ['93-79=14', '88-50=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
96,
92,
72,
76
] | 40 | [
"96+92=188",
"72+76=148",
"188-148=40"
] | Current State: 40:[96, 92, 72, 76], Operations: []
Exploring Operation: 96+92=188, Resulting Numbers: [72, 76, 188]
Generated Node #2: [72, 76, 188] from Operation: 96+92=188
Current State: 40:[72, 76, 188], Operations: ['96+92=188']
Exploring Operation: 72+76=148, Resulting Numbers: [188, 148]
Generated Node #3: [188, 148] from Operation: 72+76=148
Current State: 40:[188, 148], Operations: ['96+92=188', '72+76=148']
Exploring Operation: 188-148=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[96, 92, 72, 76], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [92, 76, 24]
Generated Node #0,0: 40:[92, 76, 24] Operation: 96-72=24
Exploring Operation: 96-92=4, Resulting Numbers: [72, 76, 4]
Generated Node #0,1: 40:[72, 76, 4] Operation: 96-92=4
Exploring Operation: 96-76=20, Resulting Numbers: [92, 72, 20]
Generated Node #0,2: 40:[92, 72, 20] Operation: 96-76=20
Exploring Operation: 92-72=20, Resulting Numbers: [96, 76, 20]
Generated Node #0,3: 40:[96, 76, 20] Operation: 92-72=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[72, 76, 4], Operations: ['96-92=4']
Exploring Operation: 76-72=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 40:[4, 4] Operation: 76-72=4
Exploring Operation: 72-4=68, Resulting Numbers: [76, 68]
Generated Node #0,1,1: 40:[76, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [76, 18]
Generated Node #0,1,2: 40:[76, 18] Operation: 72/4=18
Exploring Operation: 76/4=19, Resulting Numbers: [72, 19]
Generated Node #0,1,3: 40:[72, 19] Operation: 76/4=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[4, 4], Operations: ['96-92=4', '76-72=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No 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: 40:[72, 19], Operations: ['96-92=4', '76/4=19']
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,40 unequal: No Solution
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,40 unequal: No Solution
No 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: 40:[76, 18], Operations: ['96-92=4', '72/4=18']
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,40 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,40 unequal: No Solution
No 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: 40:[76, 68], Operations: ['96-92=4', '72-4=68']
Exploring Operation: 76*68=5168, Resulting Numbers: [5168]
5168,40 unequal: No Solution
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 76+68=144, Resulting Numbers: [144]
144,40 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: 40:[92, 72, 20], Operations: ['96-76=20']
Exploring Operation: 92+20=112, Resulting Numbers: [72, 112]
Generated Node #0,2,0: 40:[72, 112] Operation: 92+20=112
Exploring Operation: 92-20=72, Resulting Numbers: [72, 72]
Generated Node #0,2,1: 40:[72, 72] Operation: 92-20=72
Exploring Operation: 72-20=52, Resulting Numbers: [92, 52]
Generated Node #0,2,2: 40:[92, 52] Operation: 72-20=52
Exploring Operation: 92-72=20, Resulting Numbers: [20, 20]
Generated Node #0,2,3: 40:[20, 20] Operation: 92-72=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 40:[20, 20], Operations: ['96-76=20', '92-72=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[96, 92, 72, 76], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [92, 72, 20]
Generated Node #0,2: 40:[92, 72, 20] Operation: 96-76=20
Moving to Node #0,2
Current State: 40:[92, 72, 20], Operations: ['96-76=20']
Exploring Operation: 92-72=20, Resulting Numbers: [20, 20]
Generated Node #0,2,3: 40:[20, 20] Operation: 92-72=20
Moving to Node #0,2,3
Current State: 40:[20, 20], Operations: ['96-76=20', '92-72=20']
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
29,
5,
82,
6
] | 97 | [
"29*6=174",
"82-5=77",
"174-77=97"
] | Current State: 97:[29, 5, 82, 6], Operations: []
Exploring Operation: 29*6=174, Resulting Numbers: [5, 82, 174]
Generated Node #2: [5, 82, 174] from Operation: 29*6=174
Current State: 97:[5, 82, 174], Operations: ['29*6=174']
Exploring Operation: 82-5=77, Resulting Numbers: [174, 77]
Generated Node #3: [174, 77] from Operation: 82-5=77
Current State: 97:[174, 77], Operations: ['29*6=174', '82-5=77']
Exploring Operation: 174-77=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[29, 5, 82, 6], Operations: []
Exploring Operation: 29*5=145, Resulting Numbers: [82, 6, 145]
Generated Node #0,0: 97:[82, 6, 145] Operation: 29*5=145
Exploring Operation: 29+6=35, Resulting Numbers: [5, 82, 35]
Generated Node #0,1: 97:[5, 82, 35] Operation: 29+6=35
Exploring Operation: 29+5=34, Resulting Numbers: [82, 6, 34]
Generated Node #0,2: 97:[82, 6, 34] Operation: 29+5=34
Exploring Operation: 5*6=30, Resulting Numbers: [29, 82, 30]
Generated Node #0,3: 97:[29, 82, 30] Operation: 5*6=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[29, 82, 30], Operations: ['5*6=30']
Exploring Operation: 29+30=59, Resulting Numbers: [82, 59]
Generated Node #0,3,0: 97:[82, 59] Operation: 29+30=59
Exploring Operation: 82-29=53, Resulting Numbers: [30, 53]
Generated Node #0,3,1: 97:[30, 53] Operation: 82-29=53
Exploring Operation: 82+30=112, Resulting Numbers: [29, 112]
Generated Node #0,3,2: 97:[29, 112] Operation: 82+30=112
Exploring Operation: 29+82=111, Resulting Numbers: [30, 111]
Generated Node #0,3,3: 97:[30, 111] Operation: 29+82=111
Moving to Node #0,3,0
Current State: 97:[82, 59], Operations: ['5*6=30', '29+30=59']
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 82*59=4838, Resulting Numbers: [4838]
4838,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[30, 111], Operations: ['5*6=30', '29+82=111']
Exploring Operation: 111-30=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 30+111=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 30*111=3330, Resulting Numbers: [3330]
3330,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[29, 112], Operations: ['5*6=30', '82+30=112']
Exploring Operation: 112-29=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 29*112=3248, Resulting Numbers: [3248]
3248,97 unequal: No Solution
Exploring Operation: 29+112=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[30, 53], Operations: ['5*6=30', '82-29=53']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,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:[82, 6, 145], Operations: ['29*5=145']
Exploring Operation: 82-6=76, Resulting Numbers: [145, 76]
Generated Node #0,0,0: 97:[145, 76] Operation: 82-6=76
Exploring Operation: 6+145=151, Resulting Numbers: [82, 151]
Generated Node #0,0,1: 97:[82, 151] Operation: 6+145=151
Exploring Operation: 145-6=139, Resulting Numbers: [82, 139]
Generated Node #0,0,2: 97:[82, 139] Operation: 145-6=139
Exploring Operation: 82+6=88, Resulting Numbers: [145, 88]
Generated Node #0,0,3: 97:[145, 88] Operation: 82+6=88
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[82, 139], Operations: ['29*5=145', '145-6=139']
Exploring Operation: 82*139=11398, Resulting Numbers: [11398]
11398,97 unequal: No Solution
Exploring Operation: 82+139=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 139-82=57, Resulting Numbers: [57]
57,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,0,3
Current State: 97:[145, 88], Operations: ['29*5=145', '82+6=88']
Exploring Operation: 145*88=12760, Resulting Numbers: [12760]
12760,97 unequal: No Solution
Exploring Operation: 145+88=233, Resulting Numbers: [233]
233,97 unequal: No Solution
Exploring Operation: 145-88=57, Resulting Numbers: [57]
57,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,0,0
Current State: 97:[145, 76], Operations: ['29*5=145', '82-6=76']
Exploring Operation: 145+76=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 145*76=11020, Resulting Numbers: [11020]
11020,97 unequal: No Solution
Exploring Operation: 145-76=69, Resulting Numbers: [69]
69,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,0,1
Current State: 97:[82, 151], Operations: ['29*5=145', '6+145=151']
Exploring Operation: 151-82=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 82*151=12382, Resulting Numbers: [12382]
12382,97 unequal: No Solution
Exploring Operation: 82+151=233, Resulting Numbers: [233]
233,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,1
Current State: 97:[5, 82, 35], Operations: ['29+6=35']
Exploring Operation: 5+82=87, Resulting Numbers: [35, 87]
Generated Node #0,1,0: 97:[35, 87] Operation: 5+82=87
Exploring Operation: 35-5=30, Resulting Numbers: [82, 30]
Generated Node #0,1,1: 97:[82, 30] Operation: 35-5=30
Exploring Operation: 82-5=77, Resulting Numbers: [35, 77]
Generated Node #0,1,2: 97:[35, 77] Operation: 82-5=77
Exploring Operation: 5+35=40, Resulting Numbers: [82, 40]
Generated Node #0,1,3: 97:[82, 40] Operation: 5+35=40
Moving to Node #0,1,0
Current State: 97:[35, 87], Operations: ['29+6=35', '5+82=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[82, 40], Operations: ['29+6=35', '5+35=40']
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,97 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[35, 77], Operations: ['29+6=35', '82-5=77']
Exploring Operation: 35*77=2695, Resulting Numbers: [2695]
2695,97 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 35+77=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[82, 30], Operations: ['29+6=35', '35-5=30']
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,97 unequal: No Solution
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,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:[82, 6, 34], Operations: ['29+5=34']
Exploring Operation: 82-6=76, Resulting Numbers: [34, 76]
Generated Node #0,2,0: 97:[34, 76] Operation: 82-6=76
Exploring Operation: 6+34=40, Resulting Numbers: [82, 40]
Generated Node #0,2,1: 97:[82, 40] Operation: 6+34=40
Exploring Operation: 82+6=88, Resulting Numbers: [34, 88]
Generated Node #0,2,2: 97:[34, 88] Operation: 82+6=88
Exploring Operation: 34-6=28, Resulting Numbers: [82, 28]
Generated Node #0,2,3: 97:[82, 28] Operation: 34-6=28
Moving to Node #0,2,1
Current State: 97:[82, 40], Operations: ['29+5=34', '6+34=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,97 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[34, 88], Operations: ['29+5=34', '82+6=88']
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,97 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[82, 28], Operations: ['29+5=34', '34-6=28']
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,97 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,97 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[34, 76], Operations: ['29+5=34', '82-6=76']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,97 unequal: No Solution
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,97 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 |
[
90,
8,
25,
97
] | 40 | [
"90-8=82",
"25+97=122",
"122-82=40"
] | Current State: 40:[90, 8, 25, 97], Operations: []
Exploring Operation: 90-8=82, Resulting Numbers: [25, 97, 82]
Generated Node #2: [25, 97, 82] from Operation: 90-8=82
Current State: 40:[25, 97, 82], Operations: ['90-8=82']
Exploring Operation: 25+97=122, Resulting Numbers: [82, 122]
Generated Node #3: [82, 122] from Operation: 25+97=122
Current State: 40:[82, 122], Operations: ['90-8=82', '25+97=122']
Exploring Operation: 122-82=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[90, 8, 25, 97], Operations: []
Exploring Operation: 90-8=82, Resulting Numbers: [25, 97, 82]
Generated Node #0,0: 40:[25, 97, 82] Operation: 90-8=82
Exploring Operation: 97-25=72, Resulting Numbers: [90, 8, 72]
Generated Node #0,1: 40:[90, 8, 72] Operation: 97-25=72
Exploring Operation: 97-90=7, Resulting Numbers: [8, 25, 7]
Generated Node #0,2: 40:[8, 25, 7] Operation: 97-90=7
Exploring Operation: 90-25=65, Resulting Numbers: [8, 97, 65]
Generated Node #0,3: 40:[8, 97, 65] Operation: 90-25=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[8, 25, 7], Operations: ['97-90=7']
Exploring Operation: 8+25=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 40:[7, 33] Operation: 8+25=33
Exploring Operation: 8-7=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 40:[25, 1] Operation: 8-7=1
Exploring Operation: 25-8=17, Resulting Numbers: [7, 17]
Generated Node #0,2,2: 40:[7, 17] Operation: 25-8=17
Exploring Operation: 25-7=18, Resulting Numbers: [8, 18]
Generated Node #0,2,3: 40:[8, 18] Operation: 25-7=18
Moving to Node #0,2,3
Current State: 40:[8, 18], Operations: ['97-90=7', '25-7=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,40 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[7, 17], Operations: ['97-90=7', '25-8=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,40 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[25, 1], Operations: ['97-90=7', '8-7=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[7, 33], Operations: ['97-90=7', '8+25=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,40 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[90, 8, 25, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [8, 25, 7]
Generated Node #0,2: 40:[8, 25, 7] Operation: 97-90=7
Moving to Node #0,2
Current State: 40:[8, 25, 7], Operations: ['97-90=7']
Exploring Operation: 8+25=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 40:[7, 33] Operation: 8+25=33
Moving to Node #0,2,0
Current State: 40:[7, 33], Operations: ['97-90=7', '8+25=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
84,
36,
77,
53
] | 86 | [
"36*77=2772",
"2772/84=33",
"53+33=86"
] | Current State: 86:[84, 36, 77, 53], Operations: []
Exploring Operation: 36*77=2772, Resulting Numbers: [84, 53, 2772]
Generated Node #2: [84, 53, 2772] from Operation: 36*77=2772
Current State: 86:[84, 53, 2772], Operations: ['36*77=2772']
Exploring Operation: 2772/84=33, Resulting Numbers: [53, 33]
Generated Node #3: [53, 33] from Operation: 2772/84=33
Current State: 86:[53, 33], Operations: ['36*77=2772', '2772/84=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[84, 36, 77, 53], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [77, 53, 48]
Generated Node #0,0: 86:[77, 53, 48] Operation: 84-36=48
Exploring Operation: 84-77=7, Resulting Numbers: [36, 53, 7]
Generated Node #0,1: 86:[36, 53, 7] Operation: 84-77=7
Exploring Operation: 36+53=89, Resulting Numbers: [84, 77, 89]
Generated Node #0,2: 86:[84, 77, 89] Operation: 36+53=89
Exploring Operation: 77-36=41, Resulting Numbers: [84, 53, 41]
Generated Node #0,3: 86:[84, 53, 41] Operation: 77-36=41
Moving to Node #0,2
Current State: 86:[84, 77, 89], Operations: ['36+53=89']
Exploring Operation: 84+77=161, Resulting Numbers: [89, 161]
Generated Node #0,2,0: 86:[89, 161] Operation: 84+77=161
Exploring Operation: 84-77=7, Resulting Numbers: [89, 7]
Generated Node #0,2,1: 86:[89, 7] Operation: 84-77=7
Exploring Operation: 89-77=12, Resulting Numbers: [84, 12]
Generated Node #0,2,2: 86:[84, 12] Operation: 89-77=12
Exploring Operation: 89-84=5, Resulting Numbers: [77, 5]
Generated Node #0,2,3: 86:[77, 5] Operation: 89-84=5
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[89, 7], Operations: ['36+53=89', '84-77=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[84, 12], Operations: ['36+53=89', '89-77=12']
Exploring Operation: 84*12=1008, Resulting Numbers: [1008]
1008,86 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[77, 5], Operations: ['36+53=89', '89-84=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[89, 161], Operations: ['36+53=89', '84+77=161']
Exploring Operation: 89+161=250, Resulting Numbers: [250]
250,86 unequal: No Solution
Exploring Operation: 89*161=14329, Resulting Numbers: [14329]
14329,86 unequal: No Solution
Exploring Operation: 161-89=72, Resulting Numbers: [72]
72,86 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: 86:[84, 53, 41], Operations: ['77-36=41']
Exploring Operation: 53+41=94, Resulting Numbers: [84, 94]
Generated Node #0,3,0: 86:[84, 94] Operation: 53+41=94
Exploring Operation: 84-41=43, Resulting Numbers: [53, 43]
Generated Node #0,3,1: 86:[53, 43] Operation: 84-41=43
Exploring Operation: 84-53=31, Resulting Numbers: [41, 31]
Generated Node #0,3,2: 86:[41, 31] Operation: 84-53=31
Exploring Operation: 53-41=12, Resulting Numbers: [84, 12]
Generated Node #0,3,3: 86:[84, 12] Operation: 53-41=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[84, 94], Operations: ['77-36=41', '53+41=94']
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,86 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 84*94=7896, Resulting Numbers: [7896]
7896,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[53, 43], Operations: ['77-36=41', '84-41=43']
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[84, 12], Operations: ['77-36=41', '53-41=12']
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 84*12=1008, Resulting Numbers: [1008]
1008,86 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[41, 31], Operations: ['77-36=41', '84-53=31']
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[36, 53, 7], Operations: ['84-77=7']
Exploring Operation: 36+7=43, Resulting Numbers: [53, 43]
Generated Node #0,1,0: 86:[53, 43] Operation: 36+7=43
Exploring Operation: 36+53=89, Resulting Numbers: [7, 89]
Generated Node #0,1,1: 86:[7, 89] Operation: 36+53=89
Exploring Operation: 53-7=46, Resulting Numbers: [36, 46]
Generated Node #0,1,2: 86:[36, 46] Operation: 53-7=46
Exploring Operation: 53-36=17, Resulting Numbers: [7, 17]
Generated Node #0,1,3: 86:[7, 17] Operation: 53-36=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[7, 89], Operations: ['84-77=7', '36+53=89']
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[53, 43], Operations: ['84-77=7', '36+7=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,86 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[36, 46], Operations: ['84-77=7', '53-7=46']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[7, 17], Operations: ['84-77=7', '53-36=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,86 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,86 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: 86:[77, 53, 48], Operations: ['84-36=48']
Exploring Operation: 77-53=24, Resulting Numbers: [48, 24]
Generated Node #0,0,0: 86:[48, 24] Operation: 77-53=24
Exploring Operation: 53-48=5, Resulting Numbers: [77, 5]
Generated Node #0,0,1: 86:[77, 5] Operation: 53-48=5
Exploring Operation: 77-48=29, Resulting Numbers: [53, 29]
Generated Node #0,0,2: 86:[53, 29] Operation: 77-48=29
Exploring Operation: 53+48=101, Resulting Numbers: [77, 101]
Generated Node #0,0,3: 86:[77, 101] Operation: 53+48=101
Moving to Node #0,0,1
Current State: 86:[77, 5], Operations: ['84-36=48', '53-48=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,86 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[53, 29], Operations: ['84-36=48', '77-48=29']
Exploring Operation: 53*29=1537, Resulting Numbers: [1537]
1537,86 unequal: No Solution
Exploring Operation: 53+29=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[48, 24], Operations: ['84-36=48', '77-53=24']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[77, 101], Operations: ['84-36=48', '53+48=101']
Exploring Operation: 101-77=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 77*101=7777, Resulting Numbers: [7777]
7777,86 unequal: No Solution
Exploring Operation: 77+101=178, Resulting Numbers: [178]
178,86 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
76,
76,
42
] | 32 | [
"76/38=2",
"76-42=34",
"34-2=32"
] | Current State: 32:[38, 76, 76, 42], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [42, 2]
Generated Node #2: [42, 2] from Operation: 76/38=2
Current State: 32:[42, 2], Operations: ['76/38=2']
Exploring Operation: 76-42=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 76-42=34
Current State: 32:[2, 34], Operations: ['76/38=2', '76-42=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[38, 76, 76, 42], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [38, 42, 1]
Generated Node #0,0: 32:[38, 42, 1] Operation: 76/76=1
Moving to Node #0,0
Current State: 32:[38, 42, 1], Operations: ['76/76=1']
Exploring Operation: 42-38=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 32:[1, 4] Operation: 42-38=4
Moving to Node #0,0,0
Current State: 32:[1, 4], Operations: ['76/76=1', '42-38=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
28,
57,
39
] | 92 | [
"28/7=4",
"57+39=96",
"96-4=92"
] | Current State: 92:[7, 28, 57, 39], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [57, 39, 4]
Generated Node #2: [57, 39, 4] from Operation: 28/7=4
Current State: 92:[57, 39, 4], Operations: ['28/7=4']
Exploring Operation: 57+39=96, Resulting Numbers: [4, 96]
Generated Node #3: [4, 96] from Operation: 57+39=96
Current State: 92:[4, 96], Operations: ['28/7=4', '57+39=96']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[7, 28, 57, 39], Operations: []
Exploring Operation: 57+39=96, Resulting Numbers: [7, 28, 96]
Generated Node #0,0: 92:[7, 28, 96] Operation: 57+39=96
Exploring Operation: 57-39=18, Resulting Numbers: [7, 28, 18]
Generated Node #0,1: 92:[7, 28, 18] Operation: 57-39=18
Moving to Node #0,0
Current State: 92:[7, 28, 96], Operations: ['57+39=96']
Exploring Operation: 28/7=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 92:[96, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [96, 21]
Generated Node #0,0,1: 92:[96, 21] Operation: 28-7=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[96, 4], Operations: ['57+39=96', '28/7=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[7, 28, 57, 39], Operations: []
Exploring Operation: 57+39=96, Resulting Numbers: [7, 28, 96]
Generated Node #0,0: 92:[7, 28, 96] Operation: 57+39=96
Moving to Node #0,0
Current State: 92:[7, 28, 96], Operations: ['57+39=96']
Exploring Operation: 28/7=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 92:[96, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 92:[96, 4], Operations: ['57+39=96', '28/7=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
39,
7,
15,
80
] | 97 | [
"39-7=32",
"80-15=65",
"32+65=97"
] | Current State: 97:[39, 7, 15, 80], Operations: []
Exploring Operation: 39-7=32, Resulting Numbers: [15, 80, 32]
Generated Node #2: [15, 80, 32] from Operation: 39-7=32
Current State: 97:[15, 80, 32], Operations: ['39-7=32']
Exploring Operation: 80-15=65, Resulting Numbers: [32, 65]
Generated Node #3: [32, 65] from Operation: 80-15=65
Current State: 97:[32, 65], Operations: ['39-7=32', '80-15=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[39, 7, 15, 80], Operations: []
Exploring Operation: 39+15=54, Resulting Numbers: [7, 80, 54]
Generated Node #0,0: 97:[7, 80, 54] Operation: 39+15=54
Exploring Operation: 39+7=46, Resulting Numbers: [15, 80, 46]
Generated Node #0,1: 97:[15, 80, 46] Operation: 39+7=46
Exploring Operation: 7+15=22, Resulting Numbers: [39, 80, 22]
Generated Node #0,2: 97:[39, 80, 22] Operation: 7+15=22
Exploring Operation: 7*15=105, Resulting Numbers: [39, 80, 105]
Generated Node #0,3: 97:[39, 80, 105] Operation: 7*15=105
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[39, 80, 105], Operations: ['7*15=105']
Exploring Operation: 39+105=144, Resulting Numbers: [80, 144]
Generated Node #0,3,0: 97:[80, 144] Operation: 39+105=144
Exploring Operation: 105-39=66, Resulting Numbers: [80, 66]
Generated Node #0,3,1: 97:[80, 66] Operation: 105-39=66
Exploring Operation: 39+80=119, Resulting Numbers: [105, 119]
Generated Node #0,3,2: 97:[105, 119] Operation: 39+80=119
Exploring Operation: 80-39=41, Resulting Numbers: [105, 41]
Generated Node #0,3,3: 97:[105, 41] Operation: 80-39=41
Moving to Node #0,3,2
Current State: 97:[105, 119], Operations: ['7*15=105', '39+80=119']
Exploring Operation: 105+119=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 119-105=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 105*119=12495, Resulting Numbers: [12495]
12495,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[80, 66], Operations: ['7*15=105', '105-39=66']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 80*66=5280, Resulting Numbers: [5280]
5280,97 unequal: No Solution
Exploring Operation: 80+66=146, Resulting Numbers: [146]
146,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[105, 41], Operations: ['7*15=105', '80-39=41']
Exploring Operation: 105+41=146, Resulting Numbers: [146]
146,97 unequal: No Solution
Exploring Operation: 105*41=4305, Resulting Numbers: [4305]
4305,97 unequal: No Solution
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[80, 144], Operations: ['7*15=105', '39+105=144']
Exploring Operation: 80*144=11520, Resulting Numbers: [11520]
11520,97 unequal: No Solution
Exploring Operation: 80+144=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 144-80=64, Resulting Numbers: [64]
64,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:[7, 80, 54], Operations: ['39+15=54']
Exploring Operation: 7+54=61, Resulting Numbers: [80, 61]
Generated Node #0,0,0: 97:[80, 61] Operation: 7+54=61
Exploring Operation: 54-7=47, Resulting Numbers: [80, 47]
Generated Node #0,0,1: 97:[80, 47] Operation: 54-7=47
Exploring Operation: 80-7=73, Resulting Numbers: [54, 73]
Generated Node #0,0,2: 97:[54, 73] Operation: 80-7=73
Exploring Operation: 7+80=87, Resulting Numbers: [54, 87]
Generated Node #0,0,3: 97:[54, 87] Operation: 7+80=87
Moving to Node #0,0,0
Current State: 97:[80, 61], Operations: ['39+15=54', '7+54=61']
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,97 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[54, 87], Operations: ['39+15=54', '7+80=87']
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 54*87=4698, Resulting Numbers: [4698]
4698,97 unequal: No Solution
Exploring Operation: 54+87=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[54, 73], Operations: ['39+15=54', '80-7=73']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[80, 47], Operations: ['39+15=54', '54-7=47']
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,97 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,97 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,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:[15, 80, 46], Operations: ['39+7=46']
Exploring Operation: 15+80=95, Resulting Numbers: [46, 95]
Generated Node #0,1,0: 97:[46, 95] Operation: 15+80=95
Exploring Operation: 80-15=65, Resulting Numbers: [46, 65]
Generated Node #0,1,1: 97:[46, 65] Operation: 80-15=65
Exploring Operation: 15+46=61, Resulting Numbers: [80, 61]
Generated Node #0,1,2: 97:[80, 61] Operation: 15+46=61
Exploring Operation: 46-15=31, Resulting Numbers: [80, 31]
Generated Node #0,1,3: 97:[80, 31] Operation: 46-15=31
Moving to Node #0,1,0
Current State: 97:[46, 95], Operations: ['39+7=46', '15+80=95']
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,97 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[80, 61], Operations: ['39+7=46', '15+46=61']
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[80, 31], Operations: ['39+7=46', '46-15=31']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[46, 65], Operations: ['39+7=46', '80-15=65']
Exploring Operation: 46+65=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 46*65=2990, Resulting Numbers: [2990]
2990,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:[39, 80, 22], Operations: ['7+15=22']
Exploring Operation: 39-22=17, Resulting Numbers: [80, 17]
Generated Node #0,2,0: 97:[80, 17] Operation: 39-22=17
Exploring Operation: 80+22=102, Resulting Numbers: [39, 102]
Generated Node #0,2,1: 97:[39, 102] Operation: 80+22=102
Exploring Operation: 39+22=61, Resulting Numbers: [80, 61]
Generated Node #0,2,2: 97:[80, 61] Operation: 39+22=61
Exploring Operation: 39+80=119, Resulting Numbers: [22, 119]
Generated Node #0,2,3: 97:[22, 119] Operation: 39+80=119
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[80, 61], Operations: ['7+15=22', '39+22=61']
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,97 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,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:[39, 102], Operations: ['7+15=22', '80+22=102']
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,97 unequal: No Solution
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,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,0
Current State: 97:[80, 17], Operations: ['7+15=22', '39-22=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[39, 7, 15, 80], Operations: []
Exploring Operation: 7+15=22, Resulting Numbers: [39, 80, 22]
Generated Node #0,2: 97:[39, 80, 22] Operation: 7+15=22
Moving to Node #0,2
Current State: 97:[39, 80, 22], Operations: ['7+15=22']
Exploring Operation: 39-22=17, Resulting Numbers: [80, 17]
Generated Node #0,2,0: 97:[80, 17] Operation: 39-22=17
Moving to Node #0,2,0
Current State: 97:[80, 17], Operations: ['7+15=22', '39-22=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 | hs_4 | sum_heuristic |
[
31,
44,
19,
99
] | 67 | [
"44-31=13",
"99-19=80",
"80-13=67"
] | Current State: 67:[31, 44, 19, 99], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [19, 99, 13]
Generated Node #2: [19, 99, 13] from Operation: 44-31=13
Current State: 67:[19, 99, 13], Operations: ['44-31=13']
Exploring Operation: 99-19=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 99-19=80
Current State: 67:[13, 80], Operations: ['44-31=13', '99-19=80']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[31, 44, 19, 99], Operations: []
Exploring Operation: 31+19=50, Resulting Numbers: [44, 99, 50]
Generated Node #0,0: 67:[44, 99, 50] Operation: 31+19=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[44, 99, 50], Operations: ['31+19=50']
Exploring Operation: 99-44=55, Resulting Numbers: [50, 55]
Generated Node #0,0,0: 67:[50, 55] Operation: 99-44=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[50, 55], Operations: ['31+19=50', '99-44=55']
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
52,
20,
90
] | 95 | [
"48+52=100",
"100/20=5",
"90+5=95"
] | Current State: 95:[48, 52, 20, 90], Operations: []
Exploring Operation: 48+52=100, Resulting Numbers: [20, 90, 100]
Generated Node #2: [20, 90, 100] from Operation: 48+52=100
Current State: 95:[20, 90, 100], Operations: ['48+52=100']
Exploring Operation: 100/20=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 100/20=5
Current State: 95:[90, 5], Operations: ['48+52=100', '100/20=5']
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[48, 52, 20, 90], Operations: []
Exploring Operation: 48+52=100, Resulting Numbers: [20, 90, 100]
Generated Node #0,0: 95:[20, 90, 100] Operation: 48+52=100
Exploring Operation: 48-20=28, Resulting Numbers: [52, 90, 28]
Generated Node #0,1: 95:[52, 90, 28] Operation: 48-20=28
Exploring Operation: 52-20=32, Resulting Numbers: [48, 90, 32]
Generated Node #0,2: 95:[48, 90, 32] Operation: 52-20=32
Exploring Operation: 52-48=4, Resulting Numbers: [20, 90, 4]
Generated Node #0,3: 95:[20, 90, 4] Operation: 52-48=4
Exploring Operation: 90-52=38, Resulting Numbers: [48, 20, 38]
Generated Node #0,4: 95:[48, 20, 38] Operation: 90-52=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[20, 90, 4], Operations: ['52-48=4']
Exploring Operation: 20-4=16, Resulting Numbers: [90, 16]
Generated Node #0,3,0: 95:[90, 16] Operation: 20-4=16
Exploring Operation: 20+4=24, Resulting Numbers: [90, 24]
Generated Node #0,3,1: 95:[90, 24] Operation: 20+4=24
Exploring Operation: 90+4=94, Resulting Numbers: [20, 94]
Generated Node #0,3,2: 95:[20, 94] Operation: 90+4=94
Exploring Operation: 90-4=86, Resulting Numbers: [20, 86]
Generated Node #0,3,3: 95:[20, 86] Operation: 90-4=86
Exploring Operation: 20/4=5, Resulting Numbers: [90, 5]
Generated Node #0,3,4: 95:[90, 5] Operation: 20/4=5
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[20, 94], Operations: ['52-48=4', '90+4=94']
Exploring Operation: 20+94=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 20*94=1880, Resulting Numbers: [1880]
1880,95 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 95:[90, 5], Operations: ['52-48=4', '20/4=5']
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,95 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,95 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[48, 52, 20, 90], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [20, 90, 4]
Generated Node #0,3: 95:[20, 90, 4] Operation: 52-48=4
Moving to Node #0,3
Current State: 95:[20, 90, 4], Operations: ['52-48=4']
Exploring Operation: 20/4=5, Resulting Numbers: [90, 5]
Generated Node #0,3,4: 95:[90, 5] Operation: 20/4=5
Moving to Node #0,3,4
Current State: 95:[90, 5], Operations: ['52-48=4', '20/4=5']
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
63,
68,
48,
68
] | 15 | [
"63+68=131",
"48+68=116",
"131-116=15"
] | Current State: 15:[63, 68, 48, 68], Operations: []
Exploring Operation: 63+68=131, Resulting Numbers: [48, 131]
Generated Node #2: [48, 131] from Operation: 63+68=131
Current State: 15:[48, 131], Operations: ['63+68=131']
Exploring Operation: 48+68=116, Resulting Numbers: [131, 116]
Generated Node #3: [131, 116] from Operation: 48+68=116
Current State: 15:[131, 116], Operations: ['63+68=131', '48+68=116']
Exploring Operation: 131-116=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[63, 68, 48, 68], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [48, 68, 5]
Generated Node #0,0: 15:[48, 68, 5] Operation: 68-63=5
Exploring Operation: 68-63=5, Resulting Numbers: [68, 48, 5]
Generated Node #0,1: 15:[68, 48, 5] Operation: 68-63=5
Exploring Operation: 68/68=1, Resulting Numbers: [63, 48, 1]
Generated Node #0,2: 15:[63, 48, 1] Operation: 68/68=1
Exploring Operation: 68-68=0, Resulting Numbers: [63, 48, 0]
Generated Node #0,3: 15:[63, 48, 0] Operation: 68-68=0
Moving to Node #0,2
Current State: 15:[63, 48, 1], Operations: ['68/68=1']
Exploring Operation: 48-1=47, Resulting Numbers: [63, 47]
Generated Node #0,2,0: 15:[63, 47] Operation: 48-1=47
Exploring Operation: 63*1=63, Resulting Numbers: [48, 63]
Generated Node #0,2,1: 15:[48, 63] Operation: 63*1=63
Exploring Operation: 63-48=15, Resulting Numbers: [1, 15]
Generated Node #0,2,2: 15:[1, 15] Operation: 63-48=15
Exploring Operation: 63-1=62, Resulting Numbers: [48, 62]
Generated Node #0,2,3: 15:[48, 62] Operation: 63-1=62
Moving to Node #0,3
Current State: 15:[63, 48, 0], Operations: ['68-68=0']
Exploring Operation: 63*0=0, Resulting Numbers: [48, 0]
Generated Node #0,3,0: 15:[48, 0] Operation: 63*0=0
Exploring Operation: 48*0=0, Resulting Numbers: [63, 0]
Generated Node #0,3,1: 15:[63, 0] Operation: 48*0=0
Exploring Operation: 63+0=63, Resulting Numbers: [48, 63]
Generated Node #0,3,2: 15:[48, 63] Operation: 63+0=63
Exploring Operation: 63-48=15, Resulting Numbers: [0, 15]
Generated Node #0,3,3: 15:[0, 15] Operation: 63-48=15
Moving to Node #0,1
Current State: 15:[68, 48, 5], Operations: ['68-63=5']
Exploring Operation: 68-5=63, Resulting Numbers: [48, 63]
Generated Node #0,1,0: 15:[48, 63] Operation: 68-5=63
Exploring Operation: 68-48=20, Resulting Numbers: [5, 20]
Generated Node #0,1,1: 15:[5, 20] Operation: 68-48=20
Exploring Operation: 48-5=43, Resulting Numbers: [68, 43]
Generated Node #0,1,2: 15:[68, 43] Operation: 48-5=43
Exploring Operation: 68+5=73, Resulting Numbers: [48, 73]
Generated Node #0,1,3: 15:[48, 73] Operation: 68+5=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[5, 20], Operations: ['68-63=5', '68-48=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,15 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[63, 68, 48, 68], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [68, 48, 5]
Generated Node #0,1: 15:[68, 48, 5] Operation: 68-63=5
Moving to Node #0,1
Current State: 15:[68, 48, 5], Operations: ['68-63=5']
Exploring Operation: 68-48=20, Resulting Numbers: [5, 20]
Generated Node #0,1,1: 15:[5, 20] Operation: 68-48=20
Moving to Node #0,1,1
Current State: 15:[5, 20], Operations: ['68-63=5', '68-48=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
45,
42,
15,
80
] | 62 | [
"45-42=3",
"80-15=65",
"65-3=62"
] | Current State: 62:[45, 42, 15, 80], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [15, 80, 3]
Generated Node #2: [15, 80, 3] from Operation: 45-42=3
Current State: 62:[15, 80, 3], Operations: ['45-42=3']
Exploring Operation: 80-15=65, Resulting Numbers: [3, 65]
Generated Node #3: [3, 65] from Operation: 80-15=65
Current State: 62:[3, 65], Operations: ['45-42=3', '80-15=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[45, 42, 15, 80], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [42, 80, 3]
Generated Node #0,0: 62:[42, 80, 3] Operation: 45/15=3
Exploring Operation: 45+15=60, Resulting Numbers: [42, 80, 60]
Generated Node #0,1: 62:[42, 80, 60] Operation: 45+15=60
Exploring Operation: 80-15=65, Resulting Numbers: [45, 42, 65]
Generated Node #0,2: 62:[45, 42, 65] Operation: 80-15=65
Exploring Operation: 45-15=30, Resulting Numbers: [42, 80, 30]
Generated Node #0,3: 62:[42, 80, 30] Operation: 45-15=30
Exploring Operation: 80-45=35, Resulting Numbers: [42, 15, 35]
Generated Node #0,4: 62:[42, 15, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[45, 42, 65], Operations: ['80-15=65']
Exploring Operation: 45+65=110, Resulting Numbers: [42, 110]
Generated Node #0,2,0: 62:[42, 110] Operation: 45+65=110
Exploring Operation: 65-45=20, Resulting Numbers: [42, 20]
Generated Node #0,2,1: 62:[42, 20] Operation: 65-45=20
Exploring Operation: 45+42=87, Resulting Numbers: [65, 87]
Generated Node #0,2,2: 62:[65, 87] Operation: 45+42=87
Exploring Operation: 65-42=23, Resulting Numbers: [45, 23]
Generated Node #0,2,3: 62:[45, 23] Operation: 65-42=23
Exploring Operation: 45-42=3, Resulting Numbers: [65, 3]
Generated Node #0,2,4: 62:[65, 3] Operation: 45-42=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 62:[65, 3], Operations: ['80-15=65', '45-42=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[45, 42, 15, 80], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [45, 42, 65]
Generated Node #0,2: 62:[45, 42, 65] Operation: 80-15=65
Moving to Node #0,2
Current State: 62:[45, 42, 65], Operations: ['80-15=65']
Exploring Operation: 45-42=3, Resulting Numbers: [65, 3]
Generated Node #0,2,4: 62:[65, 3] Operation: 45-42=3
Moving to Node #0,2,4
Current State: 62:[65, 3], Operations: ['80-15=65', '45-42=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
18,
75,
12,
7
] | 33 | [
"18-12=6",
"7*6=42",
"75-42=33"
] | Current State: 33:[18, 75, 12, 7], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [75, 7, 6]
Generated Node #2: [75, 7, 6] from Operation: 18-12=6
Current State: 33:[75, 7, 6], Operations: ['18-12=6']
Exploring Operation: 7*6=42, Resulting Numbers: [75, 42]
Generated Node #3: [75, 42] from Operation: 7*6=42
Current State: 33:[75, 42], Operations: ['18-12=6', '7*6=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[18, 75, 12, 7], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [12, 7, 57]
Generated Node #0,0: 33:[12, 7, 57] Operation: 75-18=57
Exploring Operation: 75-12=63, Resulting Numbers: [18, 7, 63]
Generated Node #0,1: 33:[18, 7, 63] Operation: 75-12=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[12, 7, 57], Operations: ['75-18=57']
Exploring Operation: 57-7=50, Resulting Numbers: [12, 50]
Generated Node #0,0,0: 33:[12, 50] Operation: 57-7=50
Exploring Operation: 57-12=45, Resulting Numbers: [7, 45]
Generated Node #0,0,1: 33:[7, 45] Operation: 57-12=45
Moving to Node #0,0,1
Current State: 33:[7, 45], Operations: ['75-18=57', '57-12=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[12, 50], Operations: ['75-18=57', '57-7=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[18, 7, 63], Operations: ['75-12=63']
Exploring Operation: 63/7=9, Resulting Numbers: [18, 9]
Generated Node #0,1,0: 33:[18, 9] Operation: 63/7=9
Exploring Operation: 63-18=45, Resulting Numbers: [7, 45]
Generated Node #0,1,1: 33:[7, 45] Operation: 63-18=45
Moving to Node #0,1,0
Current State: 33:[18, 9], Operations: ['75-12=63', '63/7=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[7, 45], Operations: ['75-12=63', '63-18=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
5,
46,
28
] | 79 | [
"15+46=61",
"5*28=140",
"140-61=79"
] | Current State: 79:[15, 5, 46, 28], Operations: []
Exploring Operation: 15+46=61, Resulting Numbers: [5, 28, 61]
Generated Node #2: [5, 28, 61] from Operation: 15+46=61
Current State: 79:[5, 28, 61], Operations: ['15+46=61']
Exploring Operation: 5*28=140, Resulting Numbers: [61, 140]
Generated Node #3: [61, 140] from Operation: 5*28=140
Current State: 79:[61, 140], Operations: ['15+46=61', '5*28=140']
Exploring Operation: 140-61=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[15, 5, 46, 28], Operations: []
Exploring Operation: 15+5=20, Resulting Numbers: [46, 28, 20]
Generated Node #0,0: 79:[46, 28, 20] Operation: 15+5=20
Exploring Operation: 15+46=61, Resulting Numbers: [5, 28, 61]
Generated Node #0,1: 79:[5, 28, 61] Operation: 15+46=61
Exploring Operation: 15*5=75, Resulting Numbers: [46, 28, 75]
Generated Node #0,2: 79:[46, 28, 75] Operation: 15*5=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[46, 28, 75], Operations: ['15*5=75']
Exploring Operation: 46-28=18, Resulting Numbers: [75, 18]
Generated Node #0,2,0: 79:[75, 18] Operation: 46-28=18
Exploring Operation: 28+75=103, Resulting Numbers: [46, 103]
Generated Node #0,2,1: 79:[46, 103] Operation: 28+75=103
Exploring Operation: 46+28=74, Resulting Numbers: [75, 74]
Generated Node #0,2,2: 79:[75, 74] Operation: 46+28=74
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[75, 74], Operations: ['15*5=75', '46+28=74']
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,79 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,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,2,1
Current State: 79:[46, 103], Operations: ['15*5=75', '28+75=103']
Exploring Operation: 46+103=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 103-46=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 46*103=4738, Resulting Numbers: [4738]
4738,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,2,0
Current State: 79:[75, 18], Operations: ['15*5=75', '46-28=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,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,0
Current State: 79:[46, 28, 20], Operations: ['15+5=20']
Exploring Operation: 46+20=66, Resulting Numbers: [28, 66]
Generated Node #0,0,0: 79:[28, 66] Operation: 46+20=66
Exploring Operation: 28+20=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 79:[46, 48] Operation: 28+20=48
Exploring Operation: 46+28=74, Resulting Numbers: [20, 74]
Generated Node #0,0,2: 79:[20, 74] Operation: 46+28=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[28, 66], Operations: ['15+5=20', '46+20=66']
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,79 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,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,1
Current State: 79:[46, 48], Operations: ['15+5=20', '28+20=48']
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,79 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,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,2
Current State: 79:[20, 74], Operations: ['15+5=20', '46+28=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 20*74=1480, Resulting Numbers: [1480]
1480,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:[5, 28, 61], Operations: ['15+46=61']
Exploring Operation: 5+28=33, Resulting Numbers: [61, 33]
Generated Node #0,1,0: 79:[61, 33] Operation: 5+28=33
Exploring Operation: 5+61=66, Resulting Numbers: [28, 66]
Generated Node #0,1,1: 79:[28, 66] Operation: 5+61=66
Exploring Operation: 28-5=23, Resulting Numbers: [61, 23]
Generated Node #0,1,2: 79:[61, 23] Operation: 28-5=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[61, 33], Operations: ['15+46=61', '5+28=33']
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,79 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,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,1
Current State: 79:[28, 66], Operations: ['15+46=61', '5+61=66']
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,79 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,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,2
Current State: 79:[61, 23], Operations: ['15+46=61', '28-5=23']
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,79 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,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_3 | sum_heuristic |
[
8,
3,
43,
14
] | 93 | [
"8+43=51",
"3*14=42",
"51+42=93"
] | Current State: 93:[8, 3, 43, 14], Operations: []
Exploring Operation: 8+43=51, Resulting Numbers: [3, 14, 51]
Generated Node #2: [3, 14, 51] from Operation: 8+43=51
Current State: 93:[3, 14, 51], Operations: ['8+43=51']
Exploring Operation: 3*14=42, Resulting Numbers: [51, 42]
Generated Node #3: [51, 42] from Operation: 3*14=42
Current State: 93:[51, 42], Operations: ['8+43=51', '3*14=42']
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[8, 3, 43, 14], Operations: []
Exploring Operation: 43-14=29, Resulting Numbers: [8, 3, 29]
Generated Node #0,0: 93:[8, 3, 29] Operation: 43-14=29
Exploring Operation: 14-8=6, Resulting Numbers: [3, 43, 6]
Generated Node #0,1: 93:[3, 43, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [3, 43, 22]
Generated Node #0,2: 93:[3, 43, 22] Operation: 8+14=22
Exploring Operation: 43-8=35, Resulting Numbers: [3, 14, 35]
Generated Node #0,3: 93:[3, 14, 35] Operation: 43-8=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[8, 3, 29], Operations: ['43-14=29']
Exploring Operation: 3+29=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 93:[8, 32] Operation: 3+29=32
Exploring Operation: 8*3=24, Resulting Numbers: [29, 24]
Generated Node #0,0,1: 93:[29, 24] Operation: 8*3=24
Exploring Operation: 8-3=5, Resulting Numbers: [29, 5]
Generated Node #0,0,2: 93:[29, 5] Operation: 8-3=5
Exploring Operation: 8+29=37, Resulting Numbers: [3, 37]
Generated Node #0,0,3: 93:[3, 37] Operation: 8+29=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[29, 5], Operations: ['43-14=29', '8-3=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,93 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,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,0,0
Current State: 93:[8, 32], Operations: ['43-14=29', '3+29=32']
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,93 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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,0,3
Current State: 93:[3, 37], Operations: ['43-14=29', '8+29=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,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,0,1
Current State: 93:[29, 24], Operations: ['43-14=29', '8*3=24']
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,93 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,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,1
Current State: 93:[3, 43, 6], Operations: ['14-8=6']
Exploring Operation: 6-3=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 93:[43, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [43, 2]
Generated Node #0,1,1: 93:[43, 2] Operation: 6/3=2
Exploring Operation: 43-3=40, Resulting Numbers: [6, 40]
Generated Node #0,1,2: 93:[6, 40] Operation: 43-3=40
Exploring Operation: 43-6=37, Resulting Numbers: [3, 37]
Generated Node #0,1,3: 93:[3, 37] Operation: 43-6=37
Moving to Node #0,1,3
Current State: 93:[3, 37], Operations: ['14-8=6', '43-6=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[6, 40], Operations: ['14-8=6', '43-3=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,93 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[43, 3], Operations: ['14-8=6', '6-3=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,93 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[43, 2], Operations: ['14-8=6', '6/3=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,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
Current State: 93:[3, 14, 35], Operations: ['43-8=35']
Exploring Operation: 3*14=42, Resulting Numbers: [35, 42]
Generated Node #0,3,0: 93:[35, 42] Operation: 3*14=42
Exploring Operation: 14-3=11, Resulting Numbers: [35, 11]
Generated Node #0,3,1: 93:[35, 11] Operation: 14-3=11
Exploring Operation: 35-3=32, Resulting Numbers: [14, 32]
Generated Node #0,3,2: 93:[14, 32] Operation: 35-3=32
Exploring Operation: 35-14=21, Resulting Numbers: [3, 21]
Generated Node #0,3,3: 93:[3, 21] Operation: 35-14=21
Moving to Node #0,3,3
Current State: 93:[3, 21], Operations: ['43-8=35', '35-14=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[14, 32], Operations: ['43-8=35', '35-3=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,93 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[35, 11], Operations: ['43-8=35', '14-3=11']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[35, 42], Operations: ['43-8=35', '3*14=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,93 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,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
Current State: 93:[3, 43, 22], Operations: ['8+14=22']
Exploring Operation: 3+22=25, Resulting Numbers: [43, 25]
Generated Node #0,2,0: 93:[43, 25] Operation: 3+22=25
Exploring Operation: 43-3=40, Resulting Numbers: [22, 40]
Generated Node #0,2,1: 93:[22, 40] Operation: 43-3=40
Exploring Operation: 3+43=46, Resulting Numbers: [22, 46]
Generated Node #0,2,2: 93:[22, 46] Operation: 3+43=46
Exploring Operation: 43-22=21, Resulting Numbers: [3, 21]
Generated Node #0,2,3: 93:[3, 21] Operation: 43-22=21
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[3, 21], Operations: ['8+14=22', '43-22=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,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,2,0
Current State: 93:[43, 25], Operations: ['8+14=22', '3+22=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,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,2,1
Current State: 93:[22, 40], Operations: ['8+14=22', '43-3=40']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,93 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,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,2,2
Current State: 93:[22, 46], Operations: ['8+14=22', '3+43=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,93 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
6,
66,
36
] | 18 | [
"70-6=64",
"66-64=2",
"36/2=18"
] | Current State: 18:[70, 6, 66, 36], Operations: []
Exploring Operation: 70-6=64, Resulting Numbers: [66, 36, 64]
Generated Node #2: [66, 36, 64] from Operation: 70-6=64
Current State: 18:[66, 36, 64], Operations: ['70-6=64']
Exploring Operation: 66-64=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 66-64=2
Current State: 18:[36, 2], Operations: ['70-6=64', '66-64=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[70, 6, 66, 36], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [70, 6, 30]
Generated Node #0,0: 18:[70, 6, 30] Operation: 66-36=30
Exploring Operation: 70-66=4, Resulting Numbers: [6, 36, 4]
Generated Node #0,1: 18:[6, 36, 4] Operation: 70-66=4
Exploring Operation: 70-36=34, Resulting Numbers: [6, 66, 34]
Generated Node #0,2: 18:[6, 66, 34] Operation: 70-36=34
Exploring Operation: 66/6=11, Resulting Numbers: [70, 36, 11]
Generated Node #0,3: 18:[70, 36, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[6, 36, 4], Operations: ['70-66=4']
Exploring Operation: 36-4=32, Resulting Numbers: [6, 32]
Generated Node #0,1,0: 18:[6, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [6, 9]
Generated Node #0,1,1: 18:[6, 9] Operation: 36/4=9
Exploring Operation: 36-6=30, Resulting Numbers: [4, 30]
Generated Node #0,1,2: 18:[4, 30] Operation: 36-6=30
Exploring Operation: 36/6=6, Resulting Numbers: [4, 6]
Generated Node #0,1,3: 18:[4, 6] Operation: 36/6=6
Moving to Node #0,1,1
Current State: 18:[6, 9], Operations: ['70-66=4', '36/4=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[4, 6], Operations: ['70-66=4', '36/6=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[4, 30], Operations: ['70-66=4', '36-6=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[6, 32], Operations: ['70-66=4', '36-4=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,18 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[70, 6, 30], Operations: ['66-36=30']
Exploring Operation: 70-6=64, Resulting Numbers: [30, 64]
Generated Node #0,0,0: 18:[30, 64] Operation: 70-6=64
Exploring Operation: 70-30=40, Resulting Numbers: [6, 40]
Generated Node #0,0,1: 18:[6, 40] Operation: 70-30=40
Exploring Operation: 30/6=5, Resulting Numbers: [70, 5]
Generated Node #0,0,2: 18:[70, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [70, 24]
Generated Node #0,0,3: 18:[70, 24] Operation: 30-6=24
Moving to Node #0,0,1
Current State: 18:[6, 40], Operations: ['66-36=30', '70-30=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[70, 5], Operations: ['66-36=30', '30/6=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,18 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[70, 24], Operations: ['66-36=30', '30-6=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,18 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[30, 64], Operations: ['66-36=30', '70-6=64']
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[6, 66, 34], Operations: ['70-36=34']
Exploring Operation: 66-34=32, Resulting Numbers: [6, 32]
Generated Node #0,2,0: 18:[6, 32] Operation: 66-34=32
Exploring Operation: 66/6=11, Resulting Numbers: [34, 11]
Generated Node #0,2,1: 18:[34, 11] Operation: 66/6=11
Exploring Operation: 66-6=60, Resulting Numbers: [34, 60]
Generated Node #0,2,2: 18:[34, 60] Operation: 66-6=60
Exploring Operation: 34-6=28, Resulting Numbers: [66, 28]
Generated Node #0,2,3: 18:[66, 28] Operation: 34-6=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[6, 32], Operations: ['70-36=34', '66-34=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,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,2,1
Current State: 18:[34, 11], Operations: ['70-36=34', '66/6=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,18 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[34, 60], Operations: ['70-36=34', '66-6=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,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,2,3
Current State: 18:[66, 28], Operations: ['70-36=34', '34-6=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,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,3
Current State: 18:[70, 36, 11], Operations: ['66/6=11']
Exploring Operation: 70-11=59, Resulting Numbers: [36, 59]
Generated Node #0,3,0: 18:[36, 59] Operation: 70-11=59
Exploring Operation: 70-36=34, Resulting Numbers: [11, 34]
Generated Node #0,3,1: 18:[11, 34] Operation: 70-36=34
Exploring Operation: 36-11=25, Resulting Numbers: [70, 25]
Generated Node #0,3,2: 18:[70, 25] Operation: 36-11=25
Exploring Operation: 70+11=81, Resulting Numbers: [36, 81]
Generated Node #0,3,3: 18:[36, 81] Operation: 70+11=81
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[11, 34], Operations: ['66/6=11', '70-36=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,18 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[36, 59], Operations: ['66/6=11', '70-11=59']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,18 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[70, 25], Operations: ['66/6=11', '36-11=25']
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,18 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[36, 81], Operations: ['66/6=11', '70+11=81']
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,18 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
3,
66,
33,
12
] | 81 | [
"33+12=45",
"45/3=15",
"66+15=81"
] | Current State: 81:[3, 66, 33, 12], Operations: []
Exploring Operation: 33+12=45, Resulting Numbers: [3, 66, 45]
Generated Node #2: [3, 66, 45] from Operation: 33+12=45
Current State: 81:[3, 66, 45], Operations: ['33+12=45']
Exploring Operation: 45/3=15, Resulting Numbers: [66, 15]
Generated Node #3: [66, 15] from Operation: 45/3=15
Current State: 81:[66, 15], Operations: ['33+12=45', '45/3=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[3, 66, 33, 12], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [3, 12, 2]
Generated Node #0,0: 81:[3, 12, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [3, 12, 33]
Generated Node #0,1: 81:[3, 12, 33] Operation: 66-33=33
Exploring Operation: 66+12=78, Resulting Numbers: [3, 33, 78]
Generated Node #0,2: 81:[3, 33, 78] Operation: 66+12=78
Moving to Node #0,0
Current State: 81:[3, 12, 2], Operations: ['66/33=2']
Exploring Operation: 12-2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 81:[3, 10] Operation: 12-2=10
Exploring Operation: 12/3=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 81:[2, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 81:[2, 9] Operation: 12-3=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[3, 10], Operations: ['66/33=2', '12-2=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[2, 9], Operations: ['66/33=2', '12-3=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,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:[2, 4], Operations: ['66/33=2', '12/3=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,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:[3, 12, 33], Operations: ['66-33=33']
Exploring Operation: 12-3=9, Resulting Numbers: [33, 9]
Generated Node #0,1,0: 81:[33, 9] Operation: 12-3=9
Exploring Operation: 33-3=30, Resulting Numbers: [12, 30]
Generated Node #0,1,1: 81:[12, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [12, 11]
Generated Node #0,1,2: 81:[12, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[12, 11], Operations: ['66-33=33', '33/3=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,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,1,0
Current State: 81:[33, 9], Operations: ['66-33=33', '12-3=9']
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,81 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,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,1,1
Current State: 81:[12, 30], Operations: ['66-33=33', '33-3=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,81 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: 81:[3, 33, 78], Operations: ['66+12=78']
Exploring Operation: 33/3=11, Resulting Numbers: [78, 11]
Generated Node #0,2,0: 81:[78, 11] Operation: 33/3=11
Exploring Operation: 3+78=81, Resulting Numbers: [33, 81]
Generated Node #0,2,1: 81:[33, 81] Operation: 3+78=81
Exploring Operation: 33-3=30, Resulting Numbers: [78, 30]
Generated Node #0,2,2: 81:[78, 30] Operation: 33-3=30
Moving to Node #0,2,0
Current State: 81:[78, 11], Operations: ['66+12=78', '33/3=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[33, 81], Operations: ['66+12=78', '3+78=81']
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,81 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,81 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[78, 30], Operations: ['66+12=78', '33-3=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,81 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
43,
36,
68,
2
] | 59 | [
"43-36=7",
"68-2=66",
"66-7=59"
] | Current State: 59:[43, 36, 68, 2], Operations: []
Exploring Operation: 43-36=7, Resulting Numbers: [68, 2, 7]
Generated Node #2: [68, 2, 7] from Operation: 43-36=7
Current State: 59:[68, 2, 7], Operations: ['43-36=7']
Exploring Operation: 68-2=66, Resulting Numbers: [7, 66]
Generated Node #3: [7, 66] from Operation: 68-2=66
Current State: 59:[7, 66], Operations: ['43-36=7', '68-2=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[43, 36, 68, 2], Operations: []
Exploring Operation: 36+2=38, Resulting Numbers: [43, 68, 38]
Generated Node #0,0: 59:[43, 68, 38] Operation: 36+2=38
Exploring Operation: 36*2=72, Resulting Numbers: [43, 68, 72]
Generated Node #0,1: 59:[43, 68, 72] Operation: 36*2=72
Exploring Operation: 43+2=45, Resulting Numbers: [36, 68, 45]
Generated Node #0,2: 59:[36, 68, 45] Operation: 43+2=45
Exploring Operation: 68-2=66, Resulting Numbers: [43, 36, 66]
Generated Node #0,3: 59:[43, 36, 66] Operation: 68-2=66
Moving to Node #0,1
Current State: 59:[43, 68, 72], Operations: ['36*2=72']
Exploring Operation: 68-43=25, Resulting Numbers: [72, 25]
Generated Node #0,1,0: 59:[72, 25] Operation: 68-43=25
Exploring Operation: 43+68=111, Resulting Numbers: [72, 111]
Generated Node #0,1,1: 59:[72, 111] Operation: 43+68=111
Exploring Operation: 72-43=29, Resulting Numbers: [68, 29]
Generated Node #0,1,2: 59:[68, 29] Operation: 72-43=29
Exploring Operation: 43+72=115, Resulting Numbers: [68, 115]
Generated Node #0,1,3: 59:[68, 115] Operation: 43+72=115
Moving to Node #0,2
Current State: 59:[36, 68, 45], Operations: ['43+2=45']
Exploring Operation: 45-36=9, Resulting Numbers: [68, 9]
Generated Node #0,2,0: 59:[68, 9] Operation: 45-36=9
Exploring Operation: 36+45=81, Resulting Numbers: [68, 81]
Generated Node #0,2,1: 59:[68, 81] Operation: 36+45=81
Exploring Operation: 68-36=32, Resulting Numbers: [45, 32]
Generated Node #0,2,2: 59:[45, 32] Operation: 68-36=32
Exploring Operation: 36+68=104, Resulting Numbers: [45, 104]
Generated Node #0,2,3: 59:[45, 104] Operation: 36+68=104
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[68, 81], Operations: ['43+2=45', '36+45=81']
Exploring Operation: 68+81=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 68*81=5508, Resulting Numbers: [5508]
5508,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,2,2
Current State: 59:[45, 32], Operations: ['43+2=45', '68-36=32']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,59 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,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,2,0
Current State: 59:[68, 9], Operations: ['43+2=45', '45-36=9']
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,59 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[43, 36, 68, 2], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [36, 68, 45]
Generated Node #0,2: 59:[36, 68, 45] Operation: 43+2=45
Moving to Node #0,2
Current State: 59:[36, 68, 45], Operations: ['43+2=45']
Exploring Operation: 45-36=9, Resulting Numbers: [68, 9]
Generated Node #0,2,0: 59:[68, 9] Operation: 45-36=9
Moving to Node #0,2,0
Current State: 59:[68, 9], Operations: ['43+2=45', '45-36=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
20,
83,
71,
84
] | 92 | [
"83-20=63",
"71+84=155",
"155-63=92"
] | Current State: 92:[20, 83, 71, 84], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [71, 84, 63]
Generated Node #2: [71, 84, 63] from Operation: 83-20=63
Current State: 92:[71, 84, 63], Operations: ['83-20=63']
Exploring Operation: 71+84=155, Resulting Numbers: [63, 155]
Generated Node #3: [63, 155] from Operation: 71+84=155
Current State: 92:[63, 155], Operations: ['83-20=63', '71+84=155']
Exploring Operation: 155-63=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[20, 83, 71, 84], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [20, 83, 13]
Generated Node #0,0: 92:[20, 83, 13] Operation: 84-71=13
Exploring Operation: 83-71=12, Resulting Numbers: [20, 84, 12]
Generated Node #0,1: 92:[20, 84, 12] Operation: 83-71=12
Exploring Operation: 71-20=51, Resulting Numbers: [83, 84, 51]
Generated Node #0,2: 92:[83, 84, 51] Operation: 71-20=51
Exploring Operation: 20+71=91, Resulting Numbers: [83, 84, 91]
Generated Node #0,3: 92:[83, 84, 91] Operation: 20+71=91
Moving to Node #0,3
Current State: 92:[83, 84, 91], Operations: ['20+71=91']
Exploring Operation: 83+84=167, Resulting Numbers: [91, 167]
Generated Node #0,3,0: 92:[91, 167] Operation: 83+84=167
Exploring Operation: 91-84=7, Resulting Numbers: [83, 7]
Generated Node #0,3,1: 92:[83, 7] Operation: 91-84=7
Exploring Operation: 91-83=8, Resulting Numbers: [84, 8]
Generated Node #0,3,2: 92:[84, 8] Operation: 91-83=8
Exploring Operation: 84-83=1, Resulting Numbers: [91, 1]
Generated Node #0,3,3: 92:[91, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[91, 1], Operations: ['20+71=91', '84-83=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[20, 83, 71, 84], Operations: []
Exploring Operation: 20+71=91, Resulting Numbers: [83, 84, 91]
Generated Node #0,3: 92:[83, 84, 91] Operation: 20+71=91
Moving to Node #0,3
Current State: 92:[83, 84, 91], Operations: ['20+71=91']
Exploring Operation: 84-83=1, Resulting Numbers: [91, 1]
Generated Node #0,3,3: 92:[91, 1] Operation: 84-83=1
Moving to Node #0,3,3
Current State: 92:[91, 1], Operations: ['20+71=91', '84-83=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
16,
1,
21,
46
] | 50 | [
"16+1=17",
"21+46=67",
"67-17=50"
] | Current State: 50:[16, 1, 21, 46], Operations: []
Exploring Operation: 16+1=17, Resulting Numbers: [21, 46, 17]
Generated Node #2: [21, 46, 17] from Operation: 16+1=17
Current State: 50:[21, 46, 17], Operations: ['16+1=17']
Exploring Operation: 21+46=67, Resulting Numbers: [17, 67]
Generated Node #3: [17, 67] from Operation: 21+46=67
Current State: 50:[17, 67], Operations: ['16+1=17', '21+46=67']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[16, 1, 21, 46], Operations: []
Exploring Operation: 16-1=15, Resulting Numbers: [21, 46, 15]
Generated Node #0,0: 50:[21, 46, 15] Operation: 16-1=15
Exploring Operation: 21-16=5, Resulting Numbers: [1, 46, 5]
Generated Node #0,1: 50:[1, 46, 5] Operation: 21-16=5
Exploring Operation: 46-16=30, Resulting Numbers: [1, 21, 30]
Generated Node #0,2: 50:[1, 21, 30] Operation: 46-16=30
Exploring Operation: 46-21=25, Resulting Numbers: [16, 1, 25]
Generated Node #0,3: 50:[16, 1, 25] Operation: 46-21=25
Moving to Node #0,1
Current State: 50:[1, 46, 5], Operations: ['21-16=5']
Exploring Operation: 46/1=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 50:[5, 46] Operation: 46/1=46
Exploring Operation: 1*46=46, Resulting Numbers: [5, 46]
Generated Node #0,1,1: 50:[5, 46] Operation: 1*46=46
Exploring Operation: 1+46=47, Resulting Numbers: [5, 47]
Generated Node #0,1,2: 50:[5, 47] Operation: 1+46=47
Exploring Operation: 46+5=51, Resulting Numbers: [1, 51]
Generated Node #0,1,3: 50:[1, 51] Operation: 46+5=51
Moving to Node #0,3
Current State: 50:[16, 1, 25], Operations: ['46-21=25']
Exploring Operation: 16-1=15, Resulting Numbers: [25, 15]
Generated Node #0,3,0: 50:[25, 15] Operation: 16-1=15
Exploring Operation: 16*1=16, Resulting Numbers: [25, 16]
Generated Node #0,3,1: 50:[25, 16] Operation: 16*1=16
Exploring Operation: 25-16=9, Resulting Numbers: [1, 9]
Generated Node #0,3,2: 50:[1, 9] Operation: 25-16=9
Exploring Operation: 16/1=16, Resulting Numbers: [25, 16]
Generated Node #0,3,3: 50:[25, 16] Operation: 16/1=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[1, 9], Operations: ['46-21=25', '25-16=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[25, 15], Operations: ['46-21=25', '16-1=15']
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,50 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,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:[25, 16], Operations: ['46-21=25', '16*1=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,50 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,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,3
Current State: 50:[25, 16], Operations: ['46-21=25', '16/1=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,50 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,50 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: 50:[1, 21, 30], Operations: ['46-16=30']
Exploring Operation: 30-21=9, Resulting Numbers: [1, 9]
Generated Node #0,2,0: 50:[1, 9] Operation: 30-21=9
Exploring Operation: 21+30=51, Resulting Numbers: [1, 51]
Generated Node #0,2,1: 50:[1, 51] Operation: 21+30=51
Exploring Operation: 30-1=29, Resulting Numbers: [21, 29]
Generated Node #0,2,2: 50:[21, 29] Operation: 30-1=29
Exploring Operation: 1+21=22, Resulting Numbers: [30, 22]
Generated Node #0,2,3: 50:[30, 22] Operation: 1+21=22
Moving to Node #0,0
Current State: 50:[21, 46, 15], Operations: ['16-1=15']
Exploring Operation: 21+15=36, Resulting Numbers: [46, 36]
Generated Node #0,0,0: 50:[46, 36] Operation: 21+15=36
Exploring Operation: 46-21=25, Resulting Numbers: [15, 25]
Generated Node #0,0,1: 50:[15, 25] Operation: 46-21=25
Exploring Operation: 21-15=6, Resulting Numbers: [46, 6]
Generated Node #0,0,2: 50:[46, 6] Operation: 21-15=6
Exploring Operation: 46-15=31, Resulting Numbers: [21, 31]
Generated Node #0,0,3: 50:[21, 31] Operation: 46-15=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[15, 25], Operations: ['16-1=15', '46-21=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,50 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,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,2
Current State: 50:[46, 6], Operations: ['16-1=15', '21-15=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,50 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,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,3
Current State: 50:[21, 31], Operations: ['16-1=15', '46-15=31']
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,50 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[46, 36], Operations: ['16-1=15', '21+15=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,50 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 50:[1, 51], Operations: ['21-16=5', '46+5=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[16, 1, 21, 46], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [1, 46, 5]
Generated Node #0,1: 50:[1, 46, 5] Operation: 21-16=5
Moving to Node #0,1
Current State: 50:[1, 46, 5], Operations: ['21-16=5']
Exploring Operation: 46+5=51, Resulting Numbers: [1, 51]
Generated Node #0,1,3: 50:[1, 51] Operation: 46+5=51
Moving to Node #0,1,3
Current State: 50:[1, 51], Operations: ['21-16=5', '46+5=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
16,
13,
15,
67
] | 12 | [
"67-15=52",
"52/13=4",
"16-4=12"
] | Current State: 12:[16, 13, 15, 67], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [16, 13, 52]
Generated Node #2: [16, 13, 52] from Operation: 67-15=52
Current State: 12:[16, 13, 52], Operations: ['67-15=52']
Exploring Operation: 52/13=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 52/13=4
Current State: 12:[16, 4], Operations: ['67-15=52', '52/13=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[16, 13, 15, 67], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [16, 13, 52]
Generated Node #0,0: 12:[16, 13, 52] Operation: 67-15=52
Exploring Operation: 67-13=54, Resulting Numbers: [16, 15, 54]
Generated Node #0,1: 12:[16, 15, 54] Operation: 67-13=54
Exploring Operation: 67-16=51, Resulting Numbers: [13, 15, 51]
Generated Node #0,2: 12:[13, 15, 51] Operation: 67-16=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[13, 15, 51], Operations: ['67-16=51']
Exploring Operation: 51-13=38, Resulting Numbers: [15, 38]
Generated Node #0,2,0: 12:[15, 38] Operation: 51-13=38
Exploring Operation: 15-13=2, Resulting Numbers: [51, 2]
Generated Node #0,2,1: 12:[51, 2] Operation: 15-13=2
Exploring Operation: 51-15=36, Resulting Numbers: [13, 36]
Generated Node #0,2,2: 12:[13, 36] Operation: 51-15=36
Moving to Node #0,2,2
Current State: 12:[13, 36], Operations: ['67-16=51', '51-15=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[15, 38], Operations: ['67-16=51', '51-13=38']
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,12 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[51, 2], Operations: ['67-16=51', '15-13=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[16, 13, 52], Operations: ['67-15=52']
Exploring Operation: 52/13=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 12:[16, 4] Operation: 52/13=4
Exploring Operation: 52-16=36, Resulting Numbers: [13, 36]
Generated Node #0,0,1: 12:[13, 36] Operation: 52-16=36
Exploring Operation: 52-13=39, Resulting Numbers: [16, 39]
Generated Node #0,0,2: 12:[16, 39] Operation: 52-13=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[16, 4], Operations: ['67-15=52', '52/13=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[16, 13, 15, 67], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [16, 13, 52]
Generated Node #0,0: 12:[16, 13, 52] Operation: 67-15=52
Moving to Node #0,0
Current State: 12:[16, 13, 52], Operations: ['67-15=52']
Exploring Operation: 52/13=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 12:[16, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 12:[16, 4], Operations: ['67-15=52', '52/13=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
80,
9,
20,
14
] | 83 | [
"80+9=89",
"20-14=6",
"89-6=83"
] | Current State: 83:[80, 9, 20, 14], Operations: []
Exploring Operation: 80+9=89, Resulting Numbers: [20, 14, 89]
Generated Node #2: [20, 14, 89] from Operation: 80+9=89
Current State: 83:[20, 14, 89], Operations: ['80+9=89']
Exploring Operation: 20-14=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 20-14=6
Current State: 83:[89, 6], Operations: ['80+9=89', '20-14=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[80, 9, 20, 14], Operations: []
Exploring Operation: 9*14=126, Resulting Numbers: [80, 20, 126]
Generated Node #0,0: 83:[80, 20, 126] Operation: 9*14=126
Exploring Operation: 9+14=23, Resulting Numbers: [80, 20, 23]
Generated Node #0,1: 83:[80, 20, 23] Operation: 9+14=23
Exploring Operation: 9+20=29, Resulting Numbers: [80, 14, 29]
Generated Node #0,2: 83:[80, 14, 29] Operation: 9+20=29
Exploring Operation: 20+14=34, Resulting Numbers: [80, 9, 34]
Generated Node #0,3: 83:[80, 9, 34] Operation: 20+14=34
Exploring Operation: 80+9=89, Resulting Numbers: [20, 14, 89]
Generated Node #0,4: 83:[20, 14, 89] Operation: 80+9=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[80, 20, 126], Operations: ['9*14=126']
Exploring Operation: 126-80=46, Resulting Numbers: [20, 46]
Generated Node #0,0,0: 83:[20, 46] Operation: 126-80=46
Exploring Operation: 20+126=146, Resulting Numbers: [80, 146]
Generated Node #0,0,1: 83:[80, 146] Operation: 20+126=146
Exploring Operation: 80-20=60, Resulting Numbers: [126, 60]
Generated Node #0,0,2: 83:[126, 60] Operation: 80-20=60
Exploring Operation: 80+20=100, Resulting Numbers: [126, 100]
Generated Node #0,0,3: 83:[126, 100] Operation: 80+20=100
Exploring Operation: 126-20=106, Resulting Numbers: [80, 106]
Generated Node #0,0,4: 83:[80, 106] Operation: 126-20=106
Moving to Node #0,0,4
Current State: 83:[80, 106], Operations: ['9*14=126', '126-20=106']
Exploring Operation: 80*106=8480, Resulting Numbers: [8480]
8480,83 unequal: No Solution
Exploring Operation: 80+106=186, Resulting Numbers: [186]
186,83 unequal: No Solution
Exploring Operation: 106-80=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[126, 100], Operations: ['9*14=126', '80+20=100']
Exploring Operation: 126*100=12600, Resulting Numbers: [12600]
12600,83 unequal: No Solution
Exploring Operation: 126-100=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 126+100=226, Resulting Numbers: [226]
226,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[80, 146], Operations: ['9*14=126', '20+126=146']
Exploring Operation: 80+146=226, Resulting Numbers: [226]
226,83 unequal: No Solution
Exploring Operation: 80*146=11680, Resulting Numbers: [11680]
11680,83 unequal: No Solution
Exploring Operation: 146-80=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[126, 60], Operations: ['9*14=126', '80-20=60']
Exploring Operation: 126-60=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 126+60=186, Resulting Numbers: [186]
186,83 unequal: No Solution
Exploring Operation: 126*60=7560, Resulting Numbers: [7560]
7560,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[20, 46], Operations: ['9*14=126', '126-80=46']
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,83 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[80, 20, 23], Operations: ['9+14=23']
Exploring Operation: 23-20=3, Resulting Numbers: [80, 3]
Generated Node #0,1,0: 83:[80, 3] Operation: 23-20=3
Exploring Operation: 20+23=43, Resulting Numbers: [80, 43]
Generated Node #0,1,1: 83:[80, 43] Operation: 20+23=43
Exploring Operation: 80+23=103, Resulting Numbers: [20, 103]
Generated Node #0,1,2: 83:[20, 103] Operation: 80+23=103
Exploring Operation: 80+20=100, Resulting Numbers: [23, 100]
Generated Node #0,1,3: 83:[23, 100] Operation: 80+20=100
Exploring Operation: 80-20=60, Resulting Numbers: [23, 60]
Generated Node #0,1,4: 83:[23, 60] Operation: 80-20=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[80, 43], Operations: ['9+14=23', '20+23=43']
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[23, 100], Operations: ['9+14=23', '80+20=100']
Exploring Operation: 100-23=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 23+100=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 23*100=2300, Resulting Numbers: [2300]
2300,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[80, 3], Operations: ['9+14=23', '23-20=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[80, 9, 20, 14], Operations: []
Exploring Operation: 9+14=23, Resulting Numbers: [80, 20, 23]
Generated Node #0,1: 83:[80, 20, 23] Operation: 9+14=23
Moving to Node #0,1
Current State: 83:[80, 20, 23], Operations: ['9+14=23']
Exploring Operation: 23-20=3, Resulting Numbers: [80, 3]
Generated Node #0,1,0: 83:[80, 3] Operation: 23-20=3
Moving to Node #0,1,0
Current State: 83:[80, 3], Operations: ['9+14=23', '23-20=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
58,
91,
7,
4
] | 79 | [
"91-7=84",
"84/4=21",
"58+21=79"
] | Current State: 79:[58, 91, 7, 4], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [58, 4, 84]
Generated Node #2: [58, 4, 84] from Operation: 91-7=84
Current State: 79:[58, 4, 84], Operations: ['91-7=84']
Exploring Operation: 84/4=21, Resulting Numbers: [58, 21]
Generated Node #3: [58, 21] from Operation: 84/4=21
Current State: 79:[58, 21], Operations: ['91-7=84', '84/4=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[58, 91, 7, 4], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [58, 4, 84]
Generated Node #0,0: 79:[58, 4, 84] Operation: 91-7=84
Exploring Operation: 7*4=28, Resulting Numbers: [58, 91, 28]
Generated Node #0,1: 79:[58, 91, 28] Operation: 7*4=28
Exploring Operation: 58+7=65, Resulting Numbers: [91, 4, 65]
Generated Node #0,2: 79:[91, 4, 65] Operation: 58+7=65
Exploring Operation: 91-4=87, Resulting Numbers: [58, 7, 87]
Generated Node #0,3: 79:[58, 7, 87] Operation: 91-4=87
Exploring Operation: 58+4=62, Resulting Numbers: [91, 7, 62]
Generated Node #0,4: 79:[91, 7, 62] Operation: 58+4=62
Moving to Node #0,1
Current State: 79:[58, 91, 28], Operations: ['7*4=28']
Exploring Operation: 58-28=30, Resulting Numbers: [91, 30]
Generated Node #0,1,0: 79:[91, 30] Operation: 58-28=30
Exploring Operation: 91+28=119, Resulting Numbers: [58, 119]
Generated Node #0,1,1: 79:[58, 119] Operation: 91+28=119
Exploring Operation: 91-28=63, Resulting Numbers: [58, 63]
Generated Node #0,1,2: 79:[58, 63] Operation: 91-28=63
Exploring Operation: 91-58=33, Resulting Numbers: [28, 33]
Generated Node #0,1,3: 79:[28, 33] Operation: 91-58=33
Exploring Operation: 58+28=86, Resulting Numbers: [91, 86]
Generated Node #0,1,4: 79:[91, 86] Operation: 58+28=86
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[91, 86], Operations: ['7*4=28', '58+28=86']
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[58, 63], Operations: ['7*4=28', '91-28=63']
Exploring Operation: 58*63=3654, Resulting Numbers: [3654]
3654,79 unequal: No Solution
Exploring Operation: 58+63=121, Resulting Numbers: [121]
121,79 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[91, 30], Operations: ['7*4=28', '58-28=30']
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,79 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[58, 119], Operations: ['7*4=28', '91+28=119']
Exploring Operation: 119-58=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 58+119=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 58*119=6902, Resulting Numbers: [6902]
6902,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[28, 33], Operations: ['7*4=28', '91-58=33']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,79 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: 79:[91, 4, 65], Operations: ['58+7=65']
Exploring Operation: 65-4=61, Resulting Numbers: [91, 61]
Generated Node #0,2,0: 79:[91, 61] Operation: 65-4=61
Exploring Operation: 91+4=95, Resulting Numbers: [65, 95]
Generated Node #0,2,1: 79:[65, 95] Operation: 91+4=95
Exploring Operation: 91-65=26, Resulting Numbers: [4, 26]
Generated Node #0,2,2: 79:[4, 26] Operation: 91-65=26
Exploring Operation: 4+65=69, Resulting Numbers: [91, 69]
Generated Node #0,2,3: 79:[91, 69] Operation: 4+65=69
Exploring Operation: 91-4=87, Resulting Numbers: [65, 87]
Generated Node #0,2,4: 79:[65, 87] Operation: 91-4=87
Moving to Node #0,4
Current State: 79:[91, 7, 62], Operations: ['58+4=62']
Exploring Operation: 7+62=69, Resulting Numbers: [91, 69]
Generated Node #0,4,0: 79:[91, 69] Operation: 7+62=69
Exploring Operation: 91+7=98, Resulting Numbers: [62, 98]
Generated Node #0,4,1: 79:[62, 98] Operation: 91+7=98
Exploring Operation: 62-7=55, Resulting Numbers: [91, 55]
Generated Node #0,4,2: 79:[91, 55] Operation: 62-7=55
Exploring Operation: 91-7=84, Resulting Numbers: [62, 84]
Generated Node #0,4,3: 79:[62, 84] Operation: 91-7=84
Exploring Operation: 91/7=13, Resulting Numbers: [62, 13]
Generated Node #0,4,4: 79:[62, 13] Operation: 91/7=13
Moving to Node #0,0
Current State: 79:[58, 4, 84], Operations: ['91-7=84']
Exploring Operation: 84/4=21, Resulting Numbers: [58, 21]
Generated Node #0,0,0: 79:[58, 21] Operation: 84/4=21
Exploring Operation: 4+84=88, Resulting Numbers: [58, 88]
Generated Node #0,0,1: 79:[58, 88] Operation: 4+84=88
Exploring Operation: 84-4=80, Resulting Numbers: [58, 80]
Generated Node #0,0,2: 79:[58, 80] Operation: 84-4=80
Exploring Operation: 58-4=54, Resulting Numbers: [84, 54]
Generated Node #0,0,3: 79:[84, 54] Operation: 58-4=54
Exploring Operation: 58+4=62, Resulting Numbers: [84, 62]
Generated Node #0,0,4: 79:[84, 62] Operation: 58+4=62
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[58, 80], Operations: ['91-7=84', '84-4=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,79 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,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,4
Current State: 79:[84, 62], Operations: ['91-7=84', '58+4=62']
Exploring Operation: 84+62=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 84*62=5208, Resulting Numbers: [5208]
5208,79 unequal: No Solution
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,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:[58, 88], Operations: ['91-7=84', '4+84=88']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 58*88=5104, Resulting Numbers: [5104]
5104,79 unequal: No Solution
Exploring Operation: 58+88=146, Resulting Numbers: [146]
146,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:[84, 54], Operations: ['91-7=84', '58-4=54']
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,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,0
Current State: 79:[58, 21], Operations: ['91-7=84', '84/4=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[58, 91, 7, 4], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [58, 4, 84]
Generated Node #0,0: 79:[58, 4, 84] Operation: 91-7=84
Moving to Node #0,0
Current State: 79:[58, 4, 84], Operations: ['91-7=84']
Exploring Operation: 84/4=21, Resulting Numbers: [58, 21]
Generated Node #0,0,0: 79:[58, 21] Operation: 84/4=21
Moving to Node #0,0,0
Current State: 79:[58, 21], Operations: ['91-7=84', '84/4=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
32,
67,
6,
22
] | 58 | [
"32+22=54",
"54/6=9",
"67-9=58"
] | Current State: 58:[32, 67, 6, 22], Operations: []
Exploring Operation: 32+22=54, Resulting Numbers: [67, 6, 54]
Generated Node #2: [67, 6, 54] from Operation: 32+22=54
Current State: 58:[67, 6, 54], Operations: ['32+22=54']
Exploring Operation: 54/6=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 54/6=9
Current State: 58:[67, 9], Operations: ['32+22=54', '54/6=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[32, 67, 6, 22], Operations: []
Exploring Operation: 6+22=28, Resulting Numbers: [32, 67, 28]
Generated Node #0,0: 58:[32, 67, 28] Operation: 6+22=28
Exploring Operation: 67-6=61, Resulting Numbers: [32, 22, 61]
Generated Node #0,1: 58:[32, 22, 61] Operation: 67-6=61
Moving to Node #0,0
Current State: 58:[32, 67, 28], Operations: ['6+22=28']
Exploring Operation: 32+28=60, Resulting Numbers: [67, 60]
Generated Node #0,0,0: 58:[67, 60] Operation: 32+28=60
Exploring Operation: 67-32=35, Resulting Numbers: [28, 35]
Generated Node #0,0,1: 58:[28, 35] Operation: 67-32=35
Moving to Node #0,1
Current State: 58:[32, 22, 61], Operations: ['67-6=61']
Exploring Operation: 61-32=29, Resulting Numbers: [22, 29]
Generated Node #0,1,0: 58:[22, 29] Operation: 61-32=29
Exploring Operation: 32+22=54, Resulting Numbers: [61, 54]
Generated Node #0,1,1: 58:[61, 54] Operation: 32+22=54
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[22, 29], Operations: ['67-6=61', '61-32=29']
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[61, 54], Operations: ['67-6=61', '32+22=54']
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,58 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,58 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: 58:[28, 35], Operations: ['6+22=28', '67-32=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[67, 60], Operations: ['6+22=28', '32+28=60']
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
90,
21,
24
] | 40 | [
"50*21=1050",
"1050-90=960",
"960/24=40"
] | Current State: 40:[50, 90, 21, 24], Operations: []
Exploring Operation: 50*21=1050, Resulting Numbers: [90, 24, 1050]
Generated Node #2: [90, 24, 1050] from Operation: 50*21=1050
Current State: 40:[90, 24, 1050], Operations: ['50*21=1050']
Exploring Operation: 1050-90=960, Resulting Numbers: [24, 960]
Generated Node #3: [24, 960] from Operation: 1050-90=960
Current State: 40:[24, 960], Operations: ['50*21=1050', '1050-90=960']
Exploring Operation: 960/24=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[50, 90, 21, 24], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [50, 21, 66]
Generated Node #0,0: 40:[50, 21, 66] Operation: 90-24=66
Exploring Operation: 90-50=40, Resulting Numbers: [21, 24, 40]
Generated Node #0,1: 40:[21, 24, 40] Operation: 90-50=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[21, 24, 40], Operations: ['90-50=40']
Exploring Operation: 21+24=45, Resulting Numbers: [40, 45]
Generated Node #0,1,0: 40:[40, 45] Operation: 21+24=45
Exploring Operation: 24-21=3, Resulting Numbers: [40, 3]
Generated Node #0,1,1: 40:[40, 3] Operation: 24-21=3
Moving to Node #0,1,1
Current State: 40:[40, 3], Operations: ['90-50=40', '24-21=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[40, 45], Operations: ['90-50=40', '21+24=45']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,40 unequal: No Solution
No 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: 40:[50, 21, 66], Operations: ['90-24=66']
Exploring Operation: 66-50=16, Resulting Numbers: [21, 16]
Generated Node #0,0,0: 40:[21, 16] Operation: 66-50=16
Exploring Operation: 66-21=45, Resulting Numbers: [50, 45]
Generated Node #0,0,1: 40:[50, 45] Operation: 66-21=45
Moving to Node #0,0,0
Current State: 40:[21, 16], Operations: ['90-24=66', '66-50=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[50, 45], Operations: ['90-24=66', '66-21=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
64,
4,
81,
3
] | 68 | [
"64/4=16",
"81+3=84",
"84-16=68"
] | Current State: 68:[64, 4, 81, 3], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [81, 3, 16]
Generated Node #2: [81, 3, 16] from Operation: 64/4=16
Current State: 68:[81, 3, 16], Operations: ['64/4=16']
Exploring Operation: 81+3=84, Resulting Numbers: [16, 84]
Generated Node #3: [16, 84] from Operation: 81+3=84
Current State: 68:[16, 84], Operations: ['64/4=16', '81+3=84']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[64, 4, 81, 3], Operations: []
Exploring Operation: 64+4=68, Resulting Numbers: [81, 3, 68]
Generated Node #0,0: 68:[81, 3, 68] Operation: 64+4=68
Exploring Operation: 64+3=67, Resulting Numbers: [4, 81, 67]
Generated Node #0,1: 68:[4, 81, 67] Operation: 64+3=67
Exploring Operation: 81-64=17, Resulting Numbers: [4, 3, 17]
Generated Node #0,2: 68:[4, 3, 17] Operation: 81-64=17
Exploring Operation: 81/3=27, Resulting Numbers: [64, 4, 27]
Generated Node #0,3: 68:[64, 4, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[4, 3, 17], Operations: ['81-64=17']
Exploring Operation: 3+17=20, Resulting Numbers: [4, 20]
Generated Node #0,2,0: 68:[4, 20] Operation: 3+17=20
Exploring Operation: 4+3=7, Resulting Numbers: [17, 7]
Generated Node #0,2,1: 68:[17, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [17, 1]
Generated Node #0,2,2: 68:[17, 1] Operation: 4-3=1
Exploring Operation: 4*17=68, Resulting Numbers: [3, 68]
Generated Node #0,2,3: 68:[3, 68] Operation: 4*17=68
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[17, 1], Operations: ['81-64=17', '4-3=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 68:[3, 68], Operations: ['81-64=17', '4*17=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,68 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,68 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[4, 20], Operations: ['81-64=17', '3+17=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[17, 7], Operations: ['81-64=17', '4+3=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,68 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[64, 4, 27], Operations: ['81/3=27']
Exploring Operation: 64+4=68, Resulting Numbers: [27, 68]
Generated Node #0,3,0: 68:[27, 68] Operation: 64+4=68
Exploring Operation: 4+27=31, Resulting Numbers: [64, 31]
Generated Node #0,3,1: 68:[64, 31] Operation: 4+27=31
Exploring Operation: 64-27=37, Resulting Numbers: [4, 37]
Generated Node #0,3,2: 68:[4, 37] Operation: 64-27=37
Exploring Operation: 64/4=16, Resulting Numbers: [27, 16]
Generated Node #0,3,3: 68:[27, 16] Operation: 64/4=16
Moving to Node #0,3,2
Current State: 68:[4, 37], Operations: ['81/3=27', '64-27=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[64, 31], Operations: ['81/3=27', '4+27=31']
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,68 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[27, 68], Operations: ['81/3=27', '64+4=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[27, 16], Operations: ['81/3=27', '64/4=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,68 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[81, 3, 68], Operations: ['64+4=68']
Exploring Operation: 81-68=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 68:[3, 13] Operation: 81-68=13
Exploring Operation: 81/3=27, Resulting Numbers: [68, 27]
Generated Node #0,0,1: 68:[68, 27] Operation: 81/3=27
Exploring Operation: 81+3=84, Resulting Numbers: [68, 84]
Generated Node #0,0,2: 68:[68, 84] Operation: 81+3=84
Exploring Operation: 81-3=78, Resulting Numbers: [68, 78]
Generated Node #0,0,3: 68:[68, 78] Operation: 81-3=78
Moving to Node #0,0,0
Current State: 68:[3, 13], Operations: ['64+4=68', '81-68=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[68, 27], Operations: ['64+4=68', '81/3=27']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[68, 78], Operations: ['64+4=68', '81-3=78']
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,68 unequal: No Solution
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,68 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[68, 84], Operations: ['64+4=68', '81+3=84']
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 68+84=152, Resulting Numbers: [152]
152,68 unequal: No Solution
Exploring Operation: 68*84=5712, Resulting Numbers: [5712]
5712,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[4, 81, 67], Operations: ['64+3=67']
Exploring Operation: 4+67=71, Resulting Numbers: [81, 71]
Generated Node #0,1,0: 68:[81, 71] Operation: 4+67=71
Exploring Operation: 81-4=77, Resulting Numbers: [67, 77]
Generated Node #0,1,1: 68:[67, 77] Operation: 81-4=77
Exploring Operation: 4+81=85, Resulting Numbers: [67, 85]
Generated Node #0,1,2: 68:[67, 85] Operation: 4+81=85
Exploring Operation: 81-67=14, Resulting Numbers: [4, 14]
Generated Node #0,1,3: 68:[4, 14] Operation: 81-67=14
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 68:[4, 14], Operations: ['64+3=67', '81-67=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[67, 77], Operations: ['64+3=67', '81-4=77']
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,68 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[81, 71], Operations: ['64+3=67', '4+67=71']
Exploring Operation: 81+71=152, Resulting Numbers: [152]
152,68 unequal: No Solution
Exploring Operation: 81*71=5751, Resulting Numbers: [5751]
5751,68 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[67, 85], Operations: ['64+3=67', '4+81=85']
Exploring Operation: 67*85=5695, Resulting Numbers: [5695]
5695,68 unequal: No Solution
Exploring Operation: 67+85=152, Resulting Numbers: [152]
152,68 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
66,
23,
69,
91
] | 67 | [
"66+23=89",
"91-69=22",
"89-22=67"
] | Current State: 67:[66, 23, 69, 91], Operations: []
Exploring Operation: 66+23=89, Resulting Numbers: [69, 91, 89]
Generated Node #2: [69, 91, 89] from Operation: 66+23=89
Current State: 67:[69, 91, 89], Operations: ['66+23=89']
Exploring Operation: 91-69=22, Resulting Numbers: [89, 22]
Generated Node #3: [89, 22] from Operation: 91-69=22
Current State: 67:[89, 22], Operations: ['66+23=89', '91-69=22']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[66, 23, 69, 91], Operations: []
Exploring Operation: 23+69=92, Resulting Numbers: [66, 91, 92]
Generated Node #0,0: 67:[66, 91, 92] Operation: 23+69=92
Exploring Operation: 69-23=46, Resulting Numbers: [66, 91, 46]
Generated Node #0,1: 67:[66, 91, 46] Operation: 69-23=46
Exploring Operation: 66+23=89, Resulting Numbers: [69, 91, 89]
Generated Node #0,2: 67:[69, 91, 89] Operation: 66+23=89
Exploring Operation: 91-23=68, Resulting Numbers: [66, 69, 68]
Generated Node #0,3: 67:[66, 69, 68] Operation: 91-23=68
Exploring Operation: 66-23=43, Resulting Numbers: [69, 91, 43]
Generated Node #0,4: 67:[69, 91, 43] Operation: 66-23=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[66, 69, 68], Operations: ['91-23=68']
Exploring Operation: 66+69=135, Resulting Numbers: [68, 135]
Generated Node #0,3,0: 67:[68, 135] Operation: 66+69=135
Exploring Operation: 69-68=1, Resulting Numbers: [66, 1]
Generated Node #0,3,1: 67:[66, 1] Operation: 69-68=1
Exploring Operation: 69-66=3, Resulting Numbers: [68, 3]
Generated Node #0,3,2: 67:[68, 3] Operation: 69-66=3
Exploring Operation: 66+68=134, Resulting Numbers: [69, 134]
Generated Node #0,3,3: 67:[69, 134] Operation: 66+68=134
Exploring Operation: 68-66=2, Resulting Numbers: [69, 2]
Generated Node #0,3,4: 67:[69, 2] Operation: 68-66=2
Moving to Node #0,3,2
Current State: 67:[68, 3], Operations: ['91-23=68', '69-66=3']
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,67 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[69, 2], Operations: ['91-23=68', '68-66=2']
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[66, 23, 69, 91], Operations: []
Exploring Operation: 91-23=68, Resulting Numbers: [66, 69, 68]
Generated Node #0,3: 67:[66, 69, 68] Operation: 91-23=68
Moving to Node #0,3
Current State: 67:[66, 69, 68], Operations: ['91-23=68']
Exploring Operation: 68-66=2, Resulting Numbers: [69, 2]
Generated Node #0,3,4: 67:[69, 2] Operation: 68-66=2
Moving to Node #0,3,4
Current State: 67:[69, 2], Operations: ['91-23=68', '68-66=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
83,
83,
78,
89
] | 53 | [
"83*83=6889",
"78*89=6942",
"6942-6889=53"
] | Current State: 53:[83, 83, 78, 89], Operations: []
Exploring Operation: 83*83=6889, Resulting Numbers: [78, 89, 6889]
Generated Node #2: [78, 89, 6889] from Operation: 83*83=6889
Current State: 53:[78, 89, 6889], Operations: ['83*83=6889']
Exploring Operation: 78*89=6942, Resulting Numbers: [6889, 6942]
Generated Node #3: [6889, 6942] from Operation: 78*89=6942
Current State: 53:[6889, 6942], Operations: ['83*83=6889', '78*89=6942']
Exploring Operation: 6942-6889=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[83, 83, 78, 89], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [83, 78, 6]
Generated Node #0,0: 53:[83, 78, 6] Operation: 89-83=6
Exploring Operation: 89-78=11, Resulting Numbers: [83, 83, 11]
Generated Node #0,1: 53:[83, 83, 11] Operation: 89-78=11
Exploring Operation: 89-83=6, Resulting Numbers: [83, 78, 6]
Generated Node #0,2: 53:[83, 78, 6] Operation: 89-83=6
Exploring Operation: 83/83=1, Resulting Numbers: [78, 89, 1]
Generated Node #0,3: 53:[78, 89, 1] Operation: 83/83=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[83, 78, 6], Operations: ['89-83=6']
Exploring Operation: 78-6=72, Resulting Numbers: [83, 72]
Generated Node #0,0,0: 53:[83, 72] Operation: 78-6=72
Exploring Operation: 78+6=84, Resulting Numbers: [83, 84]
Generated Node #0,0,1: 53:[83, 84] Operation: 78+6=84
Exploring Operation: 83+6=89, Resulting Numbers: [78, 89]
Generated Node #0,0,2: 53:[78, 89] Operation: 83+6=89
Exploring Operation: 83-6=77, Resulting Numbers: [78, 77]
Generated Node #0,0,3: 53:[78, 77] Operation: 83-6=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[83, 72], Operations: ['89-83=6', '78-6=72']
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
No 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: 53:[78, 77], Operations: ['89-83=6', '83-6=77']
Exploring Operation: 78+77=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 78*77=6006, Resulting Numbers: [6006]
6006,53 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No 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: 53:[83, 84], Operations: ['89-83=6', '78+6=84']
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,53 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,53 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No 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: 53:[78, 89], Operations: ['89-83=6', '83+6=89']
Exploring Operation: 78*89=6942, Resulting Numbers: [6942]
6942,53 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 78+89=167, Resulting Numbers: [167]
167,53 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: 53:[83, 83, 11], Operations: ['89-78=11']
Exploring Operation: 83+11=94, Resulting Numbers: [83, 94]
Generated Node #0,1,0: 53:[83, 94] Operation: 83+11=94
Exploring Operation: 83+11=94, Resulting Numbers: [83, 94]
Generated Node #0,1,1: 53:[83, 94] Operation: 83+11=94
Exploring Operation: 83-11=72, Resulting Numbers: [83, 72]
Generated Node #0,1,2: 53:[83, 72] Operation: 83-11=72
Exploring Operation: 83-11=72, Resulting Numbers: [83, 72]
Generated Node #0,1,3: 53:[83, 72] Operation: 83-11=72
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[83, 72], Operations: ['89-78=11', '83-11=72']
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
No 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: 53:[83, 72], Operations: ['89-78=11', '83-11=72']
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,53 unequal: No Solution
No 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: 53:[83, 94], Operations: ['89-78=11', '83+11=94']
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,53 unequal: No Solution
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,53 unequal: No Solution
No 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: 53:[83, 94], Operations: ['89-78=11', '83+11=94']
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,53 unequal: No Solution
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,53 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,53 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: 53:[83, 78, 6], Operations: ['89-83=6']
Exploring Operation: 78-6=72, Resulting Numbers: [83, 72]
Generated Node #0,2,0: 53:[83, 72] Operation: 78-6=72
Exploring Operation: 83+6=89, Resulting Numbers: [78, 89]
Generated Node #0,2,1: 53:[78, 89] Operation: 83+6=89
Exploring Operation: 78+6=84, Resulting Numbers: [83, 84]
Generated Node #0,2,2: 53:[83, 84] Operation: 78+6=84
Exploring Operation: 83-6=77, Resulting Numbers: [78, 77]
Generated Node #0,2,3: 53:[78, 77] Operation: 83-6=77
Moving to Node #0,2,0
Current State: 53:[83, 72], Operations: ['89-83=6', '78-6=72']
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[78, 77], Operations: ['89-83=6', '83-6=77']
Exploring Operation: 78*77=6006, Resulting Numbers: [6006]
6006,53 unequal: No Solution
Exploring Operation: 78+77=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[83, 84], Operations: ['89-83=6', '78+6=84']
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,53 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[78, 89], Operations: ['89-83=6', '83+6=89']
Exploring Operation: 78*89=6942, Resulting Numbers: [6942]
6942,53 unequal: No Solution
Exploring Operation: 78+89=167, Resulting Numbers: [167]
167,53 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[78, 89, 1], Operations: ['83/83=1']
Exploring Operation: 89-1=88, Resulting Numbers: [78, 88]
Generated Node #0,3,0: 53:[78, 88] Operation: 89-1=88
Exploring Operation: 78/1=78, Resulting Numbers: [89, 78]
Generated Node #0,3,1: 53:[89, 78] Operation: 78/1=78
Exploring Operation: 78-1=77, Resulting Numbers: [89, 77]
Generated Node #0,3,2: 53:[89, 77] Operation: 78-1=77
Exploring Operation: 78*1=78, Resulting Numbers: [89, 78]
Generated Node #0,3,3: 53:[89, 78] Operation: 78*1=78
Moving to Node #0,3,0
Current State: 53:[78, 88], Operations: ['83/83=1', '89-1=88']
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,53 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[89, 77], Operations: ['83/83=1', '78-1=77']
Exploring Operation: 89+77=166, Resulting Numbers: [166]
166,53 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 89*77=6853, Resulting Numbers: [6853]
6853,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[89, 78], Operations: ['83/83=1', '78*1=78']
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 89*78=6942, Resulting Numbers: [6942]
6942,53 unequal: No Solution
Exploring Operation: 89+78=167, Resulting Numbers: [167]
167,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[89, 78], Operations: ['83/83=1', '78/1=78']
Exploring Operation: 89*78=6942, Resulting Numbers: [6942]
6942,53 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 89+78=167, Resulting Numbers: [167]
167,53 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 |
[
4,
57,
3,
46
] | 10 | [
"57-4=53",
"46-3=43",
"53-43=10"
] | Current State: 10:[4, 57, 3, 46], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [3, 46, 53]
Generated Node #2: [3, 46, 53] from Operation: 57-4=53
Current State: 10:[3, 46, 53], Operations: ['57-4=53']
Exploring Operation: 46-3=43, Resulting Numbers: [53, 43]
Generated Node #3: [53, 43] from Operation: 46-3=43
Current State: 10:[53, 43], Operations: ['57-4=53', '46-3=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[4, 57, 3, 46], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [4, 3, 11]
Generated Node #0,0: 10:[4, 3, 11] Operation: 57-46=11
Exploring Operation: 57/3=19, Resulting Numbers: [4, 46, 19]
Generated Node #0,1: 10:[4, 46, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[4, 3, 11], Operations: ['57-46=11']
Exploring Operation: 4-3=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 10:[11, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 10:[11, 7] Operation: 4+3=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[11, 1], Operations: ['57-46=11', '4-3=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[4, 57, 3, 46], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [4, 3, 11]
Generated Node #0,0: 10:[4, 3, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 10:[4, 3, 11], Operations: ['57-46=11']
Exploring Operation: 4-3=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 10:[11, 1] Operation: 4-3=1
Moving to Node #0,0,0
Current State: 10:[11, 1], Operations: ['57-46=11', '4-3=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
26,
84,
19,
92
] | 53 | [
"84-26=58",
"19+92=111",
"111-58=53"
] | Current State: 53:[26, 84, 19, 92], Operations: []
Exploring Operation: 84-26=58, Resulting Numbers: [19, 92, 58]
Generated Node #2: [19, 92, 58] from Operation: 84-26=58
Current State: 53:[19, 92, 58], Operations: ['84-26=58']
Exploring Operation: 19+92=111, Resulting Numbers: [58, 111]
Generated Node #3: [58, 111] from Operation: 19+92=111
Current State: 53:[58, 111], Operations: ['84-26=58', '19+92=111']
Exploring Operation: 111-58=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[26, 84, 19, 92], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [84, 19, 66]
Generated Node #0,0: 53:[84, 19, 66] Operation: 92-26=66
Exploring Operation: 92-19=73, Resulting Numbers: [26, 84, 73]
Generated Node #0,1: 53:[26, 84, 73] Operation: 92-19=73
Exploring Operation: 84-19=65, Resulting Numbers: [26, 92, 65]
Generated Node #0,2: 53:[26, 92, 65] Operation: 84-19=65
Exploring Operation: 84-26=58, Resulting Numbers: [19, 92, 58]
Generated Node #0,3: 53:[19, 92, 58] Operation: 84-26=58
Exploring Operation: 26+19=45, Resulting Numbers: [84, 92, 45]
Generated Node #0,4: 53:[84, 92, 45] Operation: 26+19=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[84, 19, 66], Operations: ['92-26=66']
Exploring Operation: 84-66=18, Resulting Numbers: [19, 18]
Generated Node #0,0,0: 53:[19, 18] Operation: 84-66=18
Exploring Operation: 84-19=65, Resulting Numbers: [66, 65]
Generated Node #0,0,1: 53:[66, 65] Operation: 84-19=65
Exploring Operation: 66-19=47, Resulting Numbers: [84, 47]
Generated Node #0,0,2: 53:[84, 47] Operation: 66-19=47
Exploring Operation: 84+19=103, Resulting Numbers: [66, 103]
Generated Node #0,0,3: 53:[66, 103] Operation: 84+19=103
Exploring Operation: 19+66=85, Resulting Numbers: [84, 85]
Generated Node #0,0,4: 53:[84, 85] Operation: 19+66=85
Moving to Node #0,0,1
Current State: 53:[66, 65], Operations: ['92-26=66', '84-19=65']
Exploring Operation: 66*65=4290, Resulting Numbers: [4290]
4290,53 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 66+65=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[84, 47], Operations: ['92-26=66', '66-19=47']
Exploring Operation: 84*47=3948, Resulting Numbers: [3948]
3948,53 unequal: No Solution
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 84+47=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[66, 103], Operations: ['92-26=66', '84+19=103']
Exploring Operation: 103-66=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 66+103=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 66*103=6798, Resulting Numbers: [6798]
6798,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[84, 85], Operations: ['92-26=66', '19+66=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[19, 18], Operations: ['92-26=66', '84-66=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,53 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[26, 84, 73], Operations: ['92-19=73']
Exploring Operation: 73-26=47, Resulting Numbers: [84, 47]
Generated Node #0,1,0: 53:[84, 47] Operation: 73-26=47
Exploring Operation: 26+84=110, Resulting Numbers: [73, 110]
Generated Node #0,1,1: 53:[73, 110] Operation: 26+84=110
Exploring Operation: 84-26=58, Resulting Numbers: [73, 58]
Generated Node #0,1,2: 53:[73, 58] Operation: 84-26=58
Exploring Operation: 84-73=11, Resulting Numbers: [26, 11]
Generated Node #0,1,3: 53:[26, 11] Operation: 84-73=11
Exploring Operation: 26+73=99, Resulting Numbers: [84, 99]
Generated Node #0,1,4: 53:[84, 99] Operation: 26+73=99
Moving to Node #0,1,2
Current State: 53:[73, 58], Operations: ['92-19=73', '84-26=58']
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,53 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[84, 47], Operations: ['92-19=73', '73-26=47']
Exploring Operation: 84+47=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 84*47=3948, Resulting Numbers: [3948]
3948,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[26, 11], Operations: ['92-19=73', '84-73=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,53 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[73, 110], Operations: ['92-19=73', '26+84=110']
Exploring Operation: 73*110=8030, Resulting Numbers: [8030]
8030,53 unequal: No Solution
Exploring Operation: 73+110=183, Resulting Numbers: [183]
183,53 unequal: No Solution
Exploring Operation: 110-73=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[84, 99], Operations: ['92-19=73', '26+73=99']
Exploring Operation: 84*99=8316, Resulting Numbers: [8316]
8316,53 unequal: No Solution
Exploring Operation: 84+99=183, Resulting Numbers: [183]
183,53 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[26, 92, 65], Operations: ['84-19=65']
Exploring Operation: 65-26=39, Resulting Numbers: [92, 39]
Generated Node #0,2,0: 53:[92, 39] Operation: 65-26=39
Exploring Operation: 92-65=27, Resulting Numbers: [26, 27]
Generated Node #0,2,1: 53:[26, 27] Operation: 92-65=27
Exploring Operation: 92-26=66, Resulting Numbers: [65, 66]
Generated Node #0,2,2: 53:[65, 66] Operation: 92-26=66
Exploring Operation: 26+92=118, Resulting Numbers: [65, 118]
Generated Node #0,2,3: 53:[65, 118] Operation: 26+92=118
Exploring Operation: 26+65=91, Resulting Numbers: [92, 91]
Generated Node #0,2,4: 53:[92, 91] Operation: 26+65=91
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[65, 66], Operations: ['84-19=65', '92-26=66']
Exploring Operation: 65+66=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 65*66=4290, Resulting Numbers: [4290]
4290,53 unequal: No Solution
No 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: 53:[92, 39], Operations: ['84-19=65', '65-26=39']
Exploring Operation: 92*39=3588, Resulting Numbers: [3588]
3588,53 unequal: No Solution
Exploring Operation: 92+39=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[26, 84, 19, 92], Operations: []
Exploring Operation: 84-19=65, Resulting Numbers: [26, 92, 65]
Generated Node #0,2: 53:[26, 92, 65] Operation: 84-19=65
Moving to Node #0,2
Current State: 53:[26, 92, 65], Operations: ['84-19=65']
Exploring Operation: 65-26=39, Resulting Numbers: [92, 39]
Generated Node #0,2,0: 53:[92, 39] Operation: 65-26=39
Moving to Node #0,2,0
Current State: 53:[92, 39], Operations: ['84-19=65', '65-26=39']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
40,
69,
9,
90
] | 65 | [
"40*9=360",
"360/90=4",
"69-4=65"
] | Current State: 65:[40, 69, 9, 90], Operations: []
Exploring Operation: 40*9=360, Resulting Numbers: [69, 90, 360]
Generated Node #2: [69, 90, 360] from Operation: 40*9=360
Current State: 65:[69, 90, 360], Operations: ['40*9=360']
Exploring Operation: 360/90=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 360/90=4
Current State: 65:[69, 4], Operations: ['40*9=360', '360/90=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[40, 69, 9, 90], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [9, 90, 29]
Generated Node #0,0: 65:[9, 90, 29] Operation: 69-40=29
Exploring Operation: 90/9=10, Resulting Numbers: [40, 69, 10]
Generated Node #0,1: 65:[40, 69, 10] Operation: 90/9=10
Exploring Operation: 90-69=21, Resulting Numbers: [40, 9, 21]
Generated Node #0,2: 65:[40, 9, 21] Operation: 90-69=21
Exploring Operation: 90-40=50, Resulting Numbers: [69, 9, 50]
Generated Node #0,3: 65:[69, 9, 50] Operation: 90-40=50
Moving to Node #0,3
Current State: 65:[69, 9, 50], Operations: ['90-40=50']
Exploring Operation: 69+9=78, Resulting Numbers: [50, 78]
Generated Node #0,3,0: 65:[50, 78] Operation: 69+9=78
Exploring Operation: 69-9=60, Resulting Numbers: [50, 60]
Generated Node #0,3,1: 65:[50, 60] Operation: 69-9=60
Exploring Operation: 9+50=59, Resulting Numbers: [69, 59]
Generated Node #0,3,2: 65:[69, 59] Operation: 9+50=59
Exploring Operation: 69-50=19, Resulting Numbers: [9, 19]
Generated Node #0,3,3: 65:[9, 19] Operation: 69-50=19
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[69, 59], Operations: ['90-40=50', '9+50=59']
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 69*59=4071, Resulting Numbers: [4071]
4071,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[9, 19], Operations: ['90-40=50', '69-50=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,65 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[50, 60], Operations: ['90-40=50', '69-9=60']
Exploring Operation: 50+60=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 50*60=3000, Resulting Numbers: [3000]
3000,65 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[50, 78], Operations: ['90-40=50', '69+9=78']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 50*78=3900, Resulting Numbers: [3900]
3900,65 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: 65:[40, 69, 10], Operations: ['90/9=10']
Exploring Operation: 69-40=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 65:[10, 29] Operation: 69-40=29
Exploring Operation: 40-10=30, Resulting Numbers: [69, 30]
Generated Node #0,1,1: 65:[69, 30] Operation: 40-10=30
Exploring Operation: 40+10=50, Resulting Numbers: [69, 50]
Generated Node #0,1,2: 65:[69, 50] Operation: 40+10=50
Exploring Operation: 40/10=4, Resulting Numbers: [69, 4]
Generated Node #0,1,3: 65:[69, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[69, 4], Operations: ['90/9=10', '40/10=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[40, 69, 9, 90], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [40, 69, 10]
Generated Node #0,1: 65:[40, 69, 10] Operation: 90/9=10
Moving to Node #0,1
Current State: 65:[40, 69, 10], Operations: ['90/9=10']
Exploring Operation: 40/10=4, Resulting Numbers: [69, 4]
Generated Node #0,1,3: 65:[69, 4] Operation: 40/10=4
Moving to Node #0,1,3
Current State: 65:[69, 4], Operations: ['90/9=10', '40/10=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
47,
23,
34,
34
] | 71 | [
"47+23=70",
"34/34=1",
"70+1=71"
] | Current State: 71:[47, 23, 34, 34], Operations: []
Exploring Operation: 47+23=70, Resulting Numbers: [34, 34, 70]
Generated Node #2: [34, 34, 70] from Operation: 47+23=70
Current State: 71:[34, 34, 70], Operations: ['47+23=70']
Exploring Operation: 34/34=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 34/34=1
Current State: 71:[70, 1], Operations: ['47+23=70', '34/34=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[47, 23, 34, 34], Operations: []
Exploring Operation: 23+34=57, Resulting Numbers: [47, 34, 57]
Generated Node #0,0: 71:[47, 34, 57] Operation: 23+34=57
Exploring Operation: 47+23=70, Resulting Numbers: [34, 34, 70]
Generated Node #0,1: 71:[34, 34, 70] Operation: 47+23=70
Moving to Node #0,0
Current State: 71:[47, 34, 57], Operations: ['23+34=57']
Exploring Operation: 34+57=91, Resulting Numbers: [47, 91]
Generated Node #0,0,0: 71:[47, 91] Operation: 34+57=91
Exploring Operation: 47+34=81, Resulting Numbers: [57, 81]
Generated Node #0,0,1: 71:[57, 81] Operation: 47+34=81
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[57, 81], Operations: ['23+34=57', '47+34=81']
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[47, 91], Operations: ['23+34=57', '34+57=91']
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 47+91=138, Resulting Numbers: [138]
138,71 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: 71:[34, 34, 70], Operations: ['47+23=70']
Exploring Operation: 34+34=68, Resulting Numbers: [70, 68]
Generated Node #0,1,0: 71:[70, 68] Operation: 34+34=68
Exploring Operation: 34+70=104, Resulting Numbers: [34, 104]
Generated Node #0,1,1: 71:[34, 104] Operation: 34+70=104
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[70, 68], Operations: ['47+23=70', '34+34=68']
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 70+68=138, Resulting Numbers: [138]
138,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[34, 104], Operations: ['47+23=70', '34+70=104']
Exploring Operation: 34+104=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 104-34=70, Resulting Numbers: [70]
70,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
95,
37,
35
] | 94 | [
"37-35=2",
"95*2=190",
"190-96=94"
] | Current State: 94:[96, 95, 37, 35], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [96, 95, 2]
Generated Node #2: [96, 95, 2] from Operation: 37-35=2
Current State: 94:[96, 95, 2], Operations: ['37-35=2']
Exploring Operation: 95*2=190, Resulting Numbers: [96, 190]
Generated Node #3: [96, 190] from Operation: 95*2=190
Current State: 94:[96, 190], Operations: ['37-35=2', '95*2=190']
Exploring Operation: 190-96=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[96, 95, 37, 35], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [96, 95, 2]
Generated Node #0,0: 94:[96, 95, 2] Operation: 37-35=2
Moving to Node #0,0
Current State: 94:[96, 95, 2], Operations: ['37-35=2']
Exploring Operation: 96-95=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 94:[2, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 1], Operations: ['37-35=2', '96-95=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,94 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 |
[
75,
88,
29,
16
] | 58 | [
"88-75=13",
"29+16=45",
"13+45=58"
] | Current State: 58:[75, 88, 29, 16], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [29, 16, 13]
Generated Node #2: [29, 16, 13] from Operation: 88-75=13
Current State: 58:[29, 16, 13], Operations: ['88-75=13']
Exploring Operation: 29+16=45, Resulting Numbers: [13, 45]
Generated Node #3: [13, 45] from Operation: 29+16=45
Current State: 58:[13, 45], Operations: ['88-75=13', '29+16=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[75, 88, 29, 16], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [29, 16, 13]
Generated Node #0,0: 58:[29, 16, 13] Operation: 88-75=13
Moving to Node #0,0
Current State: 58:[29, 16, 13], Operations: ['88-75=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29, 29]
Generated Node #0,0,0: 58:[29, 29] Operation: 16+13=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 29], Operations: ['88-75=13', '16+13=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[75, 88, 29, 16], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [29, 16, 13]
Generated Node #0,0: 58:[29, 16, 13] Operation: 88-75=13
Moving to Node #0,0
Current State: 58:[29, 16, 13], Operations: ['88-75=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29, 29]
Generated Node #0,0,0: 58:[29, 29] Operation: 16+13=29
Moving to Node #0,0,0
Current State: 58:[29, 29], Operations: ['88-75=13', '16+13=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
1,
83,
43,
9
] | 14 | [
"1*83=83",
"43+83=126",
"126/9=14"
] | Current State: 14:[1, 83, 43, 9], Operations: []
Exploring Operation: 1*83=83, Resulting Numbers: [43, 9, 83]
Generated Node #2: [43, 9, 83] from Operation: 1*83=83
Current State: 14:[43, 9, 83], Operations: ['1*83=83']
Exploring Operation: 43+83=126, Resulting Numbers: [9, 126]
Generated Node #3: [9, 126] from Operation: 43+83=126
Current State: 14:[9, 126], Operations: ['1*83=83', '43+83=126']
Exploring Operation: 126/9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[1, 83, 43, 9], Operations: []
Exploring Operation: 83-43=40, Resulting Numbers: [1, 9, 40]
Generated Node #0,0: 14:[1, 9, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[1, 9, 40], Operations: ['83-43=40']
Exploring Operation: 40-9=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 14:[1, 31] Operation: 40-9=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[1, 31], Operations: ['83-43=40', '40-9=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,14 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 |
[
13,
17,
93,
31
] | 92 | [
"13+17=30",
"93-31=62",
"30+62=92"
] | Current State: 92:[13, 17, 93, 31], Operations: []
Exploring Operation: 13+17=30, Resulting Numbers: [93, 31, 30]
Generated Node #2: [93, 31, 30] from Operation: 13+17=30
Current State: 92:[93, 31, 30], Operations: ['13+17=30']
Exploring Operation: 93-31=62, Resulting Numbers: [30, 62]
Generated Node #3: [30, 62] from Operation: 93-31=62
Current State: 92:[30, 62], Operations: ['13+17=30', '93-31=62']
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[13, 17, 93, 31], Operations: []
Exploring Operation: 31-13=18, Resulting Numbers: [17, 93, 18]
Generated Node #0,0: 92:[17, 93, 18] Operation: 31-13=18
Exploring Operation: 17-13=4, Resulting Numbers: [93, 31, 4]
Generated Node #0,1: 92:[93, 31, 4] Operation: 17-13=4
Exploring Operation: 13+31=44, Resulting Numbers: [17, 93, 44]
Generated Node #0,2: 92:[17, 93, 44] Operation: 13+31=44
Exploring Operation: 17+31=48, Resulting Numbers: [13, 93, 48]
Generated Node #0,3: 92:[13, 93, 48] Operation: 17+31=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[93, 31, 4], Operations: ['17-13=4']
Exploring Operation: 31-4=27, Resulting Numbers: [93, 27]
Generated Node #0,1,0: 92:[93, 27] Operation: 31-4=27
Exploring Operation: 93/31=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 92:[4, 3] Operation: 93/31=3
Exploring Operation: 31+4=35, Resulting Numbers: [93, 35]
Generated Node #0,1,2: 92:[93, 35] Operation: 31+4=35
Exploring Operation: 93-4=89, Resulting Numbers: [31, 89]
Generated Node #0,1,3: 92:[31, 89] Operation: 93-4=89
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[4, 3], Operations: ['17-13=4', '93/31=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No 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: 92:[93, 27], Operations: ['17-13=4', '31-4=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,92 unequal: No Solution
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,92 unequal: No Solution
No 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: 92:[31, 89], Operations: ['17-13=4', '93-4=89']
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,92 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,92 unequal: No Solution
No 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: 92:[93, 35], Operations: ['17-13=4', '31+4=35']
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,92 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: 92:[17, 93, 44], Operations: ['13+31=44']
Exploring Operation: 17+44=61, Resulting Numbers: [93, 61]
Generated Node #0,2,0: 92:[93, 61] Operation: 17+44=61
Exploring Operation: 93-17=76, Resulting Numbers: [44, 76]
Generated Node #0,2,1: 92:[44, 76] Operation: 93-17=76
Exploring Operation: 44-17=27, Resulting Numbers: [93, 27]
Generated Node #0,2,2: 92:[93, 27] Operation: 44-17=27
Exploring Operation: 93-44=49, Resulting Numbers: [17, 49]
Generated Node #0,2,3: 92:[17, 49] Operation: 93-44=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[93, 27], Operations: ['13+31=44', '44-17=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,92 unequal: No Solution
No 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: 92:[17, 49], Operations: ['13+31=44', '93-44=49']
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,92 unequal: No Solution
No 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: 92:[93, 61], Operations: ['13+31=44', '17+44=61']
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,92 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,92 unequal: No Solution
No 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: 92:[44, 76], Operations: ['13+31=44', '93-17=76']
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,92 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,92 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: 92:[17, 93, 18], Operations: ['31-13=18']
Exploring Operation: 93-17=76, Resulting Numbers: [18, 76]
Generated Node #0,0,0: 92:[18, 76] Operation: 93-17=76
Exploring Operation: 17+18=35, Resulting Numbers: [93, 35]
Generated Node #0,0,1: 92:[93, 35] Operation: 17+18=35
Exploring Operation: 17+93=110, Resulting Numbers: [18, 110]
Generated Node #0,0,2: 92:[18, 110] Operation: 17+93=110
Exploring Operation: 18-17=1, Resulting Numbers: [93, 1]
Generated Node #0,0,3: 92:[93, 1] Operation: 18-17=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[93, 1], Operations: ['31-13=18', '18-17=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[13, 17, 93, 31], Operations: []
Exploring Operation: 31-13=18, Resulting Numbers: [17, 93, 18]
Generated Node #0,0: 92:[17, 93, 18] Operation: 31-13=18
Moving to Node #0,0
Current State: 92:[17, 93, 18], Operations: ['31-13=18']
Exploring Operation: 18-17=1, Resulting Numbers: [93, 1]
Generated Node #0,0,3: 92:[93, 1] Operation: 18-17=1
Moving to Node #0,0,3
Current State: 92:[93, 1], Operations: ['31-13=18', '18-17=1']
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
10,
6,
2,
33
] | 39 | [
"10-6=4",
"2+33=35",
"4+35=39"
] | Current State: 39:[10, 6, 2, 33], Operations: []
Exploring Operation: 10-6=4, Resulting Numbers: [2, 33, 4]
Generated Node #2: [2, 33, 4] from Operation: 10-6=4
Current State: 39:[2, 33, 4], Operations: ['10-6=4']
Exploring Operation: 2+33=35, Resulting Numbers: [4, 35]
Generated Node #3: [4, 35] from Operation: 2+33=35
Current State: 39:[4, 35], Operations: ['10-6=4', '2+33=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[10, 6, 2, 33], Operations: []
Exploring Operation: 10-6=4, Resulting Numbers: [2, 33, 4]
Generated Node #0,0: 39:[2, 33, 4] Operation: 10-6=4
Exploring Operation: 6+33=39, Resulting Numbers: [10, 2, 39]
Generated Node #0,1: 39:[10, 2, 39] Operation: 6+33=39
Moving to Node #0,1
Current State: 39:[10, 2, 39], Operations: ['6+33=39']
Exploring Operation: 10/2=5, Resulting Numbers: [39, 5]
Generated Node #0,1,0: 39:[39, 5] Operation: 10/2=5
Exploring Operation: 10+2=12, Resulting Numbers: [39, 12]
Generated Node #0,1,1: 39:[39, 12] Operation: 10+2=12
Moving to Node #0,0
Current State: 39:[2, 33, 4], Operations: ['10-6=4']
Exploring Operation: 2+33=35, Resulting Numbers: [4, 35]
Generated Node #0,0,0: 39:[4, 35] Operation: 2+33=35
Exploring Operation: 33+4=37, Resulting Numbers: [2, 37]
Generated Node #0,0,1: 39:[2, 37] Operation: 33+4=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[2, 37], Operations: ['10-6=4', '33+4=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[10, 6, 2, 33], Operations: []
Exploring Operation: 10-6=4, Resulting Numbers: [2, 33, 4]
Generated Node #0,0: 39:[2, 33, 4] Operation: 10-6=4
Moving to Node #0,0
Current State: 39:[2, 33, 4], Operations: ['10-6=4']
Exploring Operation: 33+4=37, Resulting Numbers: [2, 37]
Generated Node #0,0,1: 39:[2, 37] Operation: 33+4=37
Moving to Node #0,0,1
Current State: 39:[2, 37], Operations: ['10-6=4', '33+4=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
80,
53,
57,
93
] | 59 | [
"93-53=40",
"80/40=2",
"57+2=59"
] | Current State: 59:[80, 53, 57, 93], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [80, 57, 40]
Generated Node #2: [80, 57, 40] from Operation: 93-53=40
Current State: 59:[80, 57, 40], Operations: ['93-53=40']
Exploring Operation: 80/40=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 80/40=2
Current State: 59:[57, 2], Operations: ['93-53=40', '80/40=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[80, 53, 57, 93], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [80, 57, 40]
Generated Node #0,0: 59:[80, 57, 40] Operation: 93-53=40
Exploring Operation: 93-57=36, Resulting Numbers: [80, 53, 36]
Generated Node #0,1: 59:[80, 53, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[80, 57, 40], Operations: ['93-53=40']
Exploring Operation: 80-40=40, Resulting Numbers: [57, 40]
Generated Node #0,0,0: 59:[57, 40] Operation: 80-40=40
Exploring Operation: 80-57=23, Resulting Numbers: [40, 23]
Generated Node #0,0,1: 59:[40, 23] Operation: 80-57=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[57, 40], Operations: ['93-53=40', '80-40=40']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,59 unequal: No Solution
No 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: 59:[40, 23], Operations: ['93-53=40', '80-57=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,59 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: 59:[80, 53, 36], Operations: ['93-57=36']
Exploring Operation: 80-36=44, Resulting Numbers: [53, 44]
Generated Node #0,1,0: 59:[53, 44] Operation: 80-36=44
Exploring Operation: 53+36=89, Resulting Numbers: [80, 89]
Generated Node #0,1,1: 59:[80, 89] Operation: 53+36=89
Moving to Node #0,1,0
Current State: 59:[53, 44], Operations: ['93-57=36', '80-36=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[80, 89], Operations: ['93-57=36', '53+36=89']
Exploring Operation: 80+89=169, Resulting Numbers: [169]
169,59 unequal: No Solution
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,59 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 |
[
4,
85,
54,
43
] | 100 | [
"4+85=89",
"54-43=11",
"89+11=100"
] | Current State: 100:[4, 85, 54, 43], Operations: []
Exploring Operation: 4+85=89, Resulting Numbers: [54, 43, 89]
Generated Node #2: [54, 43, 89] from Operation: 4+85=89
Current State: 100:[54, 43, 89], Operations: ['4+85=89']
Exploring Operation: 54-43=11, Resulting Numbers: [89, 11]
Generated Node #3: [89, 11] from Operation: 54-43=11
Current State: 100:[89, 11], Operations: ['4+85=89', '54-43=11']
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[4, 85, 54, 43], Operations: []
Exploring Operation: 4+85=89, Resulting Numbers: [54, 43, 89]
Generated Node #0,0: 100:[54, 43, 89] Operation: 4+85=89
Exploring Operation: 54+43=97, Resulting Numbers: [4, 85, 97]
Generated Node #0,1: 100:[4, 85, 97] Operation: 54+43=97
Exploring Operation: 85-54=31, Resulting Numbers: [4, 43, 31]
Generated Node #0,2: 100:[4, 43, 31] Operation: 85-54=31
Exploring Operation: 54-43=11, Resulting Numbers: [4, 85, 11]
Generated Node #0,3: 100:[4, 85, 11] Operation: 54-43=11
Exploring Operation: 85-43=42, Resulting Numbers: [4, 54, 42]
Generated Node #0,4: 100:[4, 54, 42] Operation: 85-43=42
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[4, 54, 42], Operations: ['85-43=42']
Exploring Operation: 54+42=96, Resulting Numbers: [4, 96]
Generated Node #0,4,0: 100:[4, 96] Operation: 54+42=96
Exploring Operation: 4+42=46, Resulting Numbers: [54, 46]
Generated Node #0,4,1: 100:[54, 46] Operation: 4+42=46
Exploring Operation: 54-42=12, Resulting Numbers: [4, 12]
Generated Node #0,4,2: 100:[4, 12] Operation: 54-42=12
Exploring Operation: 4+54=58, Resulting Numbers: [42, 58]
Generated Node #0,4,3: 100:[42, 58] Operation: 4+54=58
Exploring Operation: 54-4=50, Resulting Numbers: [42, 50]
Generated Node #0,4,4: 100:[42, 50] Operation: 54-4=50
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 100:[4, 12], Operations: ['85-43=42', '54-42=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 100:[4, 96], Operations: ['85-43=42', '54+42=96']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 4*96=384, Resulting Numbers: [384]
384,100 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[4, 85, 54, 43], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [4, 54, 42]
Generated Node #0,4: 100:[4, 54, 42] Operation: 85-43=42
Moving to Node #0,4
Current State: 100:[4, 54, 42], Operations: ['85-43=42']
Exploring Operation: 54+42=96, Resulting Numbers: [4, 96]
Generated Node #0,4,0: 100:[4, 96] Operation: 54+42=96
Moving to Node #0,4,0
Current State: 100:[4, 96], Operations: ['85-43=42', '54+42=96']
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.