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 |
|---|---|---|---|---|---|---|---|---|
[
93,
76,
62,
90
] | 24 | [
"93*76=7068",
"7068/62=114",
"114-90=24"
] | Current State: 24:[93, 76, 62, 90], Operations: []
Exploring Operation: 93*76=7068, Resulting Numbers: [62, 90, 7068]
Generated Node #2: [62, 90, 7068] from Operation: 93*76=7068
Current State: 24:[62, 90, 7068], Operations: ['93*76=7068']
Exploring Operation: 7068/62=114, Resulting Numbers: [90, 114]
Generated Node #3: [90, 114] from Operation: 7068/62=114
Current State: 24:[90, 114], Operations: ['93*76=7068', '7068/62=114']
Exploring Operation: 114-90=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[93, 76, 62, 90], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [76, 62, 3]
Generated Node #0,0: 24:[76, 62, 3] Operation: 93-90=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[76, 62, 3], Operations: ['93-90=3']
Exploring Operation: 76-62=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 24:[3, 14] Operation: 76-62=14
Moving to Node #0,0,0
Current State: 24:[3, 14], Operations: ['93-90=3', '76-62=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
4,
5,
29
] | 50 | [
"35+4=39",
"39-29=10",
"5*10=50"
] | Current State: 50:[35, 4, 5, 29], Operations: []
Exploring Operation: 35+4=39, Resulting Numbers: [5, 29, 39]
Generated Node #2: [5, 29, 39] from Operation: 35+4=39
Current State: 50:[5, 29, 39], Operations: ['35+4=39']
Exploring Operation: 39-29=10, Resulting Numbers: [5, 10]
Generated Node #3: [5, 10] from Operation: 39-29=10
Current State: 50:[5, 10], Operations: ['35+4=39', '39-29=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[35, 4, 5, 29], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [4, 29, 7]
Generated Node #0,0: 50:[4, 29, 7] Operation: 35/5=7
Exploring Operation: 35-29=6, Resulting Numbers: [4, 5, 6]
Generated Node #0,1: 50:[4, 5, 6] Operation: 35-29=6
Moving to Node #0,1
Current State: 50:[4, 5, 6], Operations: ['35-29=6']
Exploring Operation: 6-4=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 50:[5, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 50:[5, 10] Operation: 4+6=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[5, 2], Operations: ['35-29=6', '6-4=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,1,1
Current State: 50:[5, 10], Operations: ['35-29=6', '4+6=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[35, 4, 5, 29], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [4, 5, 6]
Generated Node #0,1: 50:[4, 5, 6] Operation: 35-29=6
Moving to Node #0,1
Current State: 50:[4, 5, 6], Operations: ['35-29=6']
Exploring Operation: 4+6=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 50:[5, 10] Operation: 4+6=10
Moving to Node #0,1,1
Current State: 50:[5, 10], Operations: ['35-29=6', '4+6=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
2,
4,
12,
95
] | 94 | [
"2+95=97",
"12/4=3",
"97-3=94"
] | Current State: 94:[2, 4, 12, 95], Operations: []
Exploring Operation: 2+95=97, Resulting Numbers: [4, 12, 97]
Generated Node #2: [4, 12, 97] from Operation: 2+95=97
Current State: 94:[4, 12, 97], Operations: ['2+95=97']
Exploring Operation: 12/4=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 12/4=3
Current State: 94:[97, 3], Operations: ['2+95=97', '12/4=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[2, 4, 12, 95], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [12, 95, 2]
Generated Node #0,0: 94:[12, 95, 2] Operation: 4-2=2
Exploring Operation: 12/4=3, Resulting Numbers: [2, 95, 3]
Generated Node #0,1: 94:[2, 95, 3] Operation: 12/4=3
Exploring Operation: 12/2=6, Resulting Numbers: [4, 95, 6]
Generated Node #0,2: 94:[4, 95, 6] Operation: 12/2=6
Exploring Operation: 12-4=8, Resulting Numbers: [2, 95, 8]
Generated Node #0,3: 94:[2, 95, 8] Operation: 12-4=8
Exploring Operation: 4*12=48, Resulting Numbers: [2, 95, 48]
Generated Node #0,4: 94:[2, 95, 48] Operation: 4*12=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[2, 95, 3], Operations: ['12/4=3']
Exploring Operation: 2+95=97, Resulting Numbers: [3, 97]
Generated Node #0,1,0: 94:[3, 97] Operation: 2+95=97
Exploring Operation: 2+3=5, Resulting Numbers: [95, 5]
Generated Node #0,1,1: 94:[95, 5] Operation: 2+3=5
Exploring Operation: 95-3=92, Resulting Numbers: [2, 92]
Generated Node #0,1,2: 94:[2, 92] Operation: 95-3=92
Exploring Operation: 95-2=93, Resulting Numbers: [3, 93]
Generated Node #0,1,3: 94:[3, 93] Operation: 95-2=93
Exploring Operation: 3-2=1, Resulting Numbers: [95, 1]
Generated Node #0,1,4: 94:[95, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[2, 92], Operations: ['12/4=3', '95-3=92']
Exploring Operation: 2*92=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[2, 4, 12, 95], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [2, 95, 3]
Generated Node #0,1: 94:[2, 95, 3] Operation: 12/4=3
Moving to Node #0,1
Current State: 94:[2, 95, 3], Operations: ['12/4=3']
Exploring Operation: 95-3=92, Resulting Numbers: [2, 92]
Generated Node #0,1,2: 94:[2, 92] Operation: 95-3=92
Moving to Node #0,1,2
Current State: 94:[2, 92], Operations: ['12/4=3', '95-3=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
81,
30,
31,
25
] | 32 | [
"81-31=50",
"50/25=2",
"30+2=32"
] | Current State: 32:[81, 30, 31, 25], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [30, 25, 50]
Generated Node #2: [30, 25, 50] from Operation: 81-31=50
Current State: 32:[30, 25, 50], Operations: ['81-31=50']
Exploring Operation: 50/25=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 50/25=2
Current State: 32:[30, 2], Operations: ['81-31=50', '50/25=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[81, 30, 31, 25], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [30, 25, 50]
Generated Node #0,0: 32:[30, 25, 50] Operation: 81-31=50
Exploring Operation: 81-30=51, Resulting Numbers: [31, 25, 51]
Generated Node #0,1: 32:[31, 25, 51] Operation: 81-30=51
Moving to Node #0,0
Current State: 32:[30, 25, 50], Operations: ['81-31=50']
Exploring Operation: 50-25=25, Resulting Numbers: [30, 25]
Generated Node #0,0,0: 32:[30, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 32:[30, 2] Operation: 50/25=2
Moving to Node #0,1
Current State: 32:[31, 25, 51], Operations: ['81-30=51']
Exploring Operation: 51-25=26, Resulting Numbers: [31, 26]
Generated Node #0,1,0: 32:[31, 26] Operation: 51-25=26
Exploring Operation: 51-31=20, Resulting Numbers: [25, 20]
Generated Node #0,1,1: 32:[25, 20] Operation: 51-31=20
Moving to Node #0,0,1
Current State: 32:[30, 2], Operations: ['81-31=50', '50/25=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[81, 30, 31, 25], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [30, 25, 50]
Generated Node #0,0: 32:[30, 25, 50] Operation: 81-31=50
Moving to Node #0,0
Current State: 32:[30, 25, 50], Operations: ['81-31=50']
Exploring Operation: 50/25=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 32:[30, 2] Operation: 50/25=2
Moving to Node #0,0,1
Current State: 32:[30, 2], Operations: ['81-31=50', '50/25=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
4,
18,
81,
82
] | 23 | [
"4+18=22",
"82-81=1",
"22+1=23"
] | Current State: 23:[4, 18, 81, 82], Operations: []
Exploring Operation: 4+18=22, Resulting Numbers: [81, 82, 22]
Generated Node #2: [81, 82, 22] from Operation: 4+18=22
Current State: 23:[81, 82, 22], Operations: ['4+18=22']
Exploring Operation: 82-81=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 82-81=1
Current State: 23:[22, 1], Operations: ['4+18=22', '82-81=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[4, 18, 81, 82], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [4, 18, 1]
Generated Node #0,0: 23:[4, 18, 1] Operation: 82-81=1
Exploring Operation: 4+18=22, Resulting Numbers: [81, 82, 22]
Generated Node #0,1: 23:[81, 82, 22] Operation: 4+18=22
Moving to Node #0,0
Current State: 23:[4, 18, 1], Operations: ['82-81=1']
Exploring Operation: 4+1=5, Resulting Numbers: [18, 5]
Generated Node #0,0,0: 23:[18, 5] Operation: 4+1=5
Exploring Operation: 4+18=22, Resulting Numbers: [1, 22]
Generated Node #0,0,1: 23:[1, 22] Operation: 4+18=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[18, 5], Operations: ['82-81=1', '4+1=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[4, 18, 81, 82], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [4, 18, 1]
Generated Node #0,0: 23:[4, 18, 1] Operation: 82-81=1
Moving to Node #0,0
Current State: 23:[4, 18, 1], Operations: ['82-81=1']
Exploring Operation: 4+1=5, Resulting Numbers: [18, 5]
Generated Node #0,0,0: 23:[18, 5] Operation: 4+1=5
Moving to Node #0,0,0
Current State: 23:[18, 5], Operations: ['82-81=1', '4+1=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
52,
83,
77,
77
] | 31 | [
"83-52=31",
"77-77=0",
"31+0=31"
] | Current State: 31:[52, 83, 77, 77], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [77, 77, 31]
Generated Node #2: [77, 77, 31] from Operation: 83-52=31
Current State: 31:[77, 77, 31], Operations: ['83-52=31']
Exploring Operation: 77-77=0, Resulting Numbers: [31, 0]
Generated Node #3: [31, 0] from Operation: 77-77=0
Current State: 31:[31, 0], Operations: ['83-52=31', '77-77=0']
Exploring Operation: 31+0=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[52, 83, 77, 77], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [77, 77, 31]
Generated Node #0,0: 31:[77, 77, 31] Operation: 83-52=31
Exploring Operation: 77-52=25, Resulting Numbers: [83, 77, 25]
Generated Node #0,1: 31:[83, 77, 25] Operation: 77-52=25
Exploring Operation: 83-77=6, Resulting Numbers: [52, 77, 6]
Generated Node #0,2: 31:[52, 77, 6] Operation: 83-77=6
Exploring Operation: 77/77=1, Resulting Numbers: [52, 83, 1]
Generated Node #0,3: 31:[52, 83, 1] Operation: 77/77=1
Exploring Operation: 83-77=6, Resulting Numbers: [52, 77, 6]
Generated Node #0,4: 31:[52, 77, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 31:[77, 77, 31], Operations: ['83-52=31']
Exploring Operation: 77-31=46, Resulting Numbers: [77, 46]
Generated Node #0,0,0: 31:[77, 46] Operation: 77-31=46
Exploring Operation: 77/77=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 31:[31, 1] Operation: 77/77=1
Exploring Operation: 77-31=46, Resulting Numbers: [77, 46]
Generated Node #0,0,2: 31:[77, 46] Operation: 77-31=46
Exploring Operation: 77-77=0, Resulting Numbers: [31, 0]
Generated Node #0,0,3: 31:[31, 0] Operation: 77-77=0
Exploring Operation: 77+77=154, Resulting Numbers: [31, 154]
Generated Node #0,0,4: 31:[31, 154] Operation: 77+77=154
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[31, 1], Operations: ['83-52=31', '77/77=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[52, 83, 77, 77], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [77, 77, 31]
Generated Node #0,0: 31:[77, 77, 31] Operation: 83-52=31
Moving to Node #0,0
Current State: 31:[77, 77, 31], Operations: ['83-52=31']
Exploring Operation: 77/77=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 31:[31, 1] Operation: 77/77=1
Moving to Node #0,0,1
Current State: 31:[31, 1], Operations: ['83-52=31', '77/77=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
43,
7,
46,
92
] | 79 | [
"43*92=3956",
"3956/46=86",
"86-7=79"
] | Current State: 79:[43, 7, 46, 92], Operations: []
Exploring Operation: 43*92=3956, Resulting Numbers: [7, 46, 3956]
Generated Node #2: [7, 46, 3956] from Operation: 43*92=3956
Current State: 79:[7, 46, 3956], Operations: ['43*92=3956']
Exploring Operation: 3956/46=86, Resulting Numbers: [7, 86]
Generated Node #3: [7, 86] from Operation: 3956/46=86
Current State: 79:[7, 86], Operations: ['43*92=3956', '3956/46=86']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[43, 7, 46, 92], Operations: []
Exploring Operation: 43+7=50, Resulting Numbers: [46, 92, 50]
Generated Node #0,0: 79:[46, 92, 50] Operation: 43+7=50
Moving to Node #0,0
Current State: 79:[46, 92, 50], Operations: ['43+7=50']
Exploring Operation: 46+50=96, Resulting Numbers: [92, 96]
Generated Node #0,0,0: 79:[92, 96] Operation: 46+50=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[92, 96], Operations: ['43+7=50', '46+50=96']
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,79 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 |
[
99,
20,
80,
10
] | 93 | [
"99-10=89",
"80/20=4",
"89+4=93"
] | Current State: 93:[99, 20, 80, 10], Operations: []
Exploring Operation: 99-10=89, Resulting Numbers: [20, 80, 89]
Generated Node #2: [20, 80, 89] from Operation: 99-10=89
Current State: 93:[20, 80, 89], Operations: ['99-10=89']
Exploring Operation: 80/20=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 80/20=4
Current State: 93:[89, 4], Operations: ['99-10=89', '80/20=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[99, 20, 80, 10], Operations: []
Exploring Operation: 20+80=100, Resulting Numbers: [99, 10, 100]
Generated Node #0,0: 93:[99, 10, 100] Operation: 20+80=100
Exploring Operation: 80/20=4, Resulting Numbers: [99, 10, 4]
Generated Node #0,1: 93:[99, 10, 4] Operation: 80/20=4
Moving to Node #0,1
Current State: 93:[99, 10, 4], Operations: ['80/20=4']
Exploring Operation: 99-10=89, Resulting Numbers: [4, 89]
Generated Node #0,1,0: 93:[4, 89] Operation: 99-10=89
Exploring Operation: 99-4=95, Resulting Numbers: [10, 95]
Generated Node #0,1,1: 93:[10, 95] Operation: 99-4=95
Moving to Node #0,0
Current State: 93:[99, 10, 100], Operations: ['20+80=100']
Exploring Operation: 100-99=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 93:[10, 1] Operation: 100-99=1
Exploring Operation: 100-10=90, Resulting Numbers: [99, 90]
Generated Node #0,0,1: 93:[99, 90] Operation: 100-10=90
Moving to Node #0,1,0
Current State: 93:[4, 89], Operations: ['80/20=4', '99-10=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[99, 20, 80, 10], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [99, 10, 4]
Generated Node #0,1: 93:[99, 10, 4] Operation: 80/20=4
Moving to Node #0,1
Current State: 93:[99, 10, 4], Operations: ['80/20=4']
Exploring Operation: 99-10=89, Resulting Numbers: [4, 89]
Generated Node #0,1,0: 93:[4, 89] Operation: 99-10=89
Moving to Node #0,1,0
Current State: 93:[4, 89], Operations: ['80/20=4', '99-10=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
39,
26,
13,
67
] | 45 | [
"26*67=1742",
"13+1742=1755",
"1755/39=45"
] | Current State: 45:[39, 26, 13, 67], Operations: []
Exploring Operation: 26*67=1742, Resulting Numbers: [39, 13, 1742]
Generated Node #2: [39, 13, 1742] from Operation: 26*67=1742
Current State: 45:[39, 13, 1742], Operations: ['26*67=1742']
Exploring Operation: 13+1742=1755, Resulting Numbers: [39, 1755]
Generated Node #3: [39, 1755] from Operation: 13+1742=1755
Current State: 45:[39, 1755], Operations: ['26*67=1742', '13+1742=1755']
Exploring Operation: 1755/39=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[39, 26, 13, 67], Operations: []
Exploring Operation: 67-26=41, Resulting Numbers: [39, 13, 41]
Generated Node #0,0: 45:[39, 13, 41] Operation: 67-26=41
Moving to Node #0,0
Current State: 45:[39, 13, 41], Operations: ['67-26=41']
Exploring Operation: 41-39=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 45:[13, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[13, 2], Operations: ['67-26=41', '41-39=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
2,
66,
90
] | 50 | [
"52/2=26",
"90-66=24",
"26+24=50"
] | Current State: 50:[52, 2, 66, 90], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [66, 90, 26]
Generated Node #2: [66, 90, 26] from Operation: 52/2=26
Current State: 50:[66, 90, 26], Operations: ['52/2=26']
Exploring Operation: 90-66=24, Resulting Numbers: [26, 24]
Generated Node #3: [26, 24] from Operation: 90-66=24
Current State: 50:[26, 24], Operations: ['52/2=26', '90-66=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[52, 2, 66, 90], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [52, 66, 45]
Generated Node #0,0: 50:[52, 66, 45] Operation: 90/2=45
Exploring Operation: 90-52=38, Resulting Numbers: [2, 66, 38]
Generated Node #0,1: 50:[2, 66, 38] Operation: 90-52=38
Exploring Operation: 90-66=24, Resulting Numbers: [52, 2, 24]
Generated Node #0,2: 50:[52, 2, 24] Operation: 90-66=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[52, 2, 24], Operations: ['90-66=24']
Exploring Operation: 52/2=26, Resulting Numbers: [24, 26]
Generated Node #0,2,0: 50:[24, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [24, 50]
Generated Node #0,2,1: 50:[24, 50] Operation: 52-2=50
Exploring Operation: 52-24=28, Resulting Numbers: [2, 28]
Generated Node #0,2,2: 50:[2, 28] Operation: 52-24=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[24, 50], Operations: ['90-66=24', '52-2=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,50 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[24, 26], Operations: ['90-66=24', '52/2=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,50 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[52, 2, 66, 90], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [52, 2, 24]
Generated Node #0,2: 50:[52, 2, 24] Operation: 90-66=24
Moving to Node #0,2
Current State: 50:[52, 2, 24], Operations: ['90-66=24']
Exploring Operation: 52/2=26, Resulting Numbers: [24, 26]
Generated Node #0,2,0: 50:[24, 26] Operation: 52/2=26
Moving to Node #0,2,0
Current State: 50:[24, 26], Operations: ['90-66=24', '52/2=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
45,
48,
50,
46
] | 68 | [
"50-48=2",
"46/2=23",
"45+23=68"
] | Current State: 68:[45, 48, 50, 46], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [45, 46, 2]
Generated Node #2: [45, 46, 2] from Operation: 50-48=2
Current State: 68:[45, 46, 2], Operations: ['50-48=2']
Exploring Operation: 46/2=23, Resulting Numbers: [45, 23]
Generated Node #3: [45, 23] from Operation: 46/2=23
Current State: 68:[45, 23], Operations: ['50-48=2', '46/2=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[45, 48, 50, 46], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [45, 46, 2]
Generated Node #0,0: 68:[45, 46, 2] Operation: 50-48=2
Moving to Node #0,0
Current State: 68:[45, 46, 2], Operations: ['50-48=2']
Exploring Operation: 46-45=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 68:[2, 1] Operation: 46-45=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[2, 1], Operations: ['50-48=2', '46-45=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,68 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 |
[
16,
13,
15,
79
] | 67 | [
"16-13=3",
"79-15=64",
"3+64=67"
] | Current State: 67:[16, 13, 15, 79], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [15, 79, 3]
Generated Node #2: [15, 79, 3] from Operation: 16-13=3
Current State: 67:[15, 79, 3], Operations: ['16-13=3']
Exploring Operation: 79-15=64, Resulting Numbers: [3, 64]
Generated Node #3: [3, 64] from Operation: 79-15=64
Current State: 67:[3, 64], Operations: ['16-13=3', '79-15=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[16, 13, 15, 79], Operations: []
Exploring Operation: 16+15=31, Resulting Numbers: [13, 79, 31]
Generated Node #0,0: 67:[13, 79, 31] Operation: 16+15=31
Exploring Operation: 79-13=66, Resulting Numbers: [16, 15, 66]
Generated Node #0,1: 67:[16, 15, 66] Operation: 79-13=66
Exploring Operation: 16+13=29, Resulting Numbers: [15, 79, 29]
Generated Node #0,2: 67:[15, 79, 29] Operation: 16+13=29
Exploring Operation: 13+15=28, Resulting Numbers: [16, 79, 28]
Generated Node #0,3: 67:[16, 79, 28] Operation: 13+15=28
Moving to Node #0,0
Current State: 67:[13, 79, 31], Operations: ['16+15=31']
Exploring Operation: 31-13=18, Resulting Numbers: [79, 18]
Generated Node #0,0,0: 67:[79, 18] Operation: 31-13=18
Exploring Operation: 13+31=44, Resulting Numbers: [79, 44]
Generated Node #0,0,1: 67:[79, 44] Operation: 13+31=44
Exploring Operation: 13+79=92, Resulting Numbers: [31, 92]
Generated Node #0,0,2: 67:[31, 92] Operation: 13+79=92
Exploring Operation: 79-13=66, Resulting Numbers: [31, 66]
Generated Node #0,0,3: 67:[31, 66] Operation: 79-13=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[79, 44], Operations: ['16+15=31', '13+31=44']
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 79*44=3476, Resulting Numbers: [3476]
3476,67 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[31, 66], Operations: ['16+15=31', '79-13=66']
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[79, 18], Operations: ['16+15=31', '31-13=18']
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,67 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[31, 92], Operations: ['16+15=31', '13+79=92']
Exploring Operation: 31*92=2852, Resulting Numbers: [2852]
2852,67 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 31+92=123, Resulting Numbers: [123]
123,67 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: 67:[16, 79, 28], Operations: ['13+15=28']
Exploring Operation: 16+28=44, Resulting Numbers: [79, 44]
Generated Node #0,3,0: 67:[79, 44] Operation: 16+28=44
Exploring Operation: 16+79=95, Resulting Numbers: [28, 95]
Generated Node #0,3,1: 67:[28, 95] Operation: 16+79=95
Exploring Operation: 28-16=12, Resulting Numbers: [79, 12]
Generated Node #0,3,2: 67:[79, 12] Operation: 28-16=12
Exploring Operation: 79-16=63, Resulting Numbers: [28, 63]
Generated Node #0,3,3: 67:[28, 63] Operation: 79-16=63
Moving to Node #0,2
Current State: 67:[15, 79, 29], Operations: ['16+13=29']
Exploring Operation: 79-15=64, Resulting Numbers: [29, 64]
Generated Node #0,2,0: 67:[29, 64] Operation: 79-15=64
Exploring Operation: 15+79=94, Resulting Numbers: [29, 94]
Generated Node #0,2,1: 67:[29, 94] Operation: 15+79=94
Exploring Operation: 15+29=44, Resulting Numbers: [79, 44]
Generated Node #0,2,2: 67:[79, 44] Operation: 15+29=44
Exploring Operation: 29-15=14, Resulting Numbers: [79, 14]
Generated Node #0,2,3: 67:[79, 14] Operation: 29-15=14
Moving to Node #0,1
Current State: 67:[16, 15, 66], Operations: ['79-13=66']
Exploring Operation: 16-15=1, Resulting Numbers: [66, 1]
Generated Node #0,1,0: 67:[66, 1] Operation: 16-15=1
Exploring Operation: 16+66=82, Resulting Numbers: [15, 82]
Generated Node #0,1,1: 67:[15, 82] Operation: 16+66=82
Exploring Operation: 16+15=31, Resulting Numbers: [66, 31]
Generated Node #0,1,2: 67:[66, 31] Operation: 16+15=31
Exploring Operation: 15+66=81, Resulting Numbers: [16, 81]
Generated Node #0,1,3: 67:[16, 81] Operation: 15+66=81
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[66, 31], Operations: ['79-13=66', '16+15=31']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[16, 81], Operations: ['79-13=66', '15+66=81']
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,67 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[66, 1], Operations: ['79-13=66', '16-15=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[16, 13, 15, 79], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [16, 15, 66]
Generated Node #0,1: 67:[16, 15, 66] Operation: 79-13=66
Moving to Node #0,1
Current State: 67:[16, 15, 66], Operations: ['79-13=66']
Exploring Operation: 16-15=1, Resulting Numbers: [66, 1]
Generated Node #0,1,0: 67:[66, 1] Operation: 16-15=1
Moving to Node #0,1,0
Current State: 67:[66, 1], Operations: ['79-13=66', '16-15=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
7,
60,
70,
49
] | 99 | [
"70/7=10",
"60+49=109",
"109-10=99"
] | Current State: 99:[7, 60, 70, 49], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [60, 49, 10]
Generated Node #2: [60, 49, 10] from Operation: 70/7=10
Current State: 99:[60, 49, 10], Operations: ['70/7=10']
Exploring Operation: 60+49=109, Resulting Numbers: [10, 109]
Generated Node #3: [10, 109] from Operation: 60+49=109
Current State: 99:[10, 109], Operations: ['70/7=10', '60+49=109']
Exploring Operation: 109-10=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[7, 60, 70, 49], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [7, 70, 11]
Generated Node #0,0: 99:[7, 70, 11] Operation: 60-49=11
Exploring Operation: 70-60=10, Resulting Numbers: [7, 49, 10]
Generated Node #0,1: 99:[7, 49, 10] Operation: 70-60=10
Moving to Node #0,1
Current State: 99:[7, 49, 10], Operations: ['70-60=10']
Exploring Operation: 49/7=7, Resulting Numbers: [10, 7]
Generated Node #0,1,0: 99:[10, 7] Operation: 49/7=7
Exploring Operation: 49-10=39, Resulting Numbers: [7, 39]
Generated Node #0,1,1: 99:[7, 39] Operation: 49-10=39
Moving to Node #0,0
Current State: 99:[7, 70, 11], Operations: ['60-49=11']
Exploring Operation: 70/7=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 99:[11, 10] Operation: 70/7=10
Exploring Operation: 70+11=81, Resulting Numbers: [7, 81]
Generated Node #0,0,1: 99:[7, 81] Operation: 70+11=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[11, 10], Operations: ['60-49=11', '70/7=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[7, 81], Operations: ['60-49=11', '70+11=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 99:[10, 7], Operations: ['70-60=10', '49/7=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[7, 39], Operations: ['70-60=10', '49-10=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
29,
51,
2,
42
] | 25 | [
"42-29=13",
"2*13=26",
"51-26=25"
] | Current State: 25:[29, 51, 2, 42], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [51, 2, 13]
Generated Node #2: [51, 2, 13] from Operation: 42-29=13
Current State: 25:[51, 2, 13], Operations: ['42-29=13']
Exploring Operation: 2*13=26, Resulting Numbers: [51, 26]
Generated Node #3: [51, 26] from Operation: 2*13=26
Current State: 25:[51, 26], Operations: ['42-29=13', '2*13=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[29, 51, 2, 42], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [29, 2, 9]
Generated Node #0,0: 25:[29, 2, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 25:[29, 2, 9], Operations: ['51-42=9']
Exploring Operation: 29-2=27, Resulting Numbers: [9, 27]
Generated Node #0,0,0: 25:[9, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[9, 27], Operations: ['51-42=9', '29-2=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
88,
40,
88
] | 40 | [
"88-88=0",
"42*0=0",
"40+0=40"
] | Current State: 40:[42, 88, 40, 88], Operations: []
Exploring Operation: 88-88=0, Resulting Numbers: [42, 40, 0]
Generated Node #2: [42, 40, 0] from Operation: 88-88=0
Current State: 40:[42, 40, 0], Operations: ['88-88=0']
Exploring Operation: 42*0=0, Resulting Numbers: [40, 0]
Generated Node #3: [40, 0] from Operation: 42*0=0
Current State: 40:[40, 0], Operations: ['88-88=0', '42*0=0']
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[42, 88, 40, 88], Operations: []
Exploring Operation: 88/88=1, Resulting Numbers: [42, 40, 1]
Generated Node #0,0: 40:[42, 40, 1] Operation: 88/88=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[42, 40, 1], Operations: ['88/88=1']
Exploring Operation: 42-40=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 40:[1, 2] Operation: 42-40=2
Moving to Node #0,0,0
Current State: 40:[1, 2], Operations: ['88/88=1', '42-40=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,40 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 |
[
23,
12,
79,
5
] | 95 | [
"23-12=11",
"79+5=84",
"11+84=95"
] | Current State: 95:[23, 12, 79, 5], Operations: []
Exploring Operation: 23-12=11, Resulting Numbers: [79, 5, 11]
Generated Node #2: [79, 5, 11] from Operation: 23-12=11
Current State: 95:[79, 5, 11], Operations: ['23-12=11']
Exploring Operation: 79+5=84, Resulting Numbers: [11, 84]
Generated Node #3: [11, 84] from Operation: 79+5=84
Current State: 95:[11, 84], Operations: ['23-12=11', '79+5=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[23, 12, 79, 5], Operations: []
Exploring Operation: 23+79=102, Resulting Numbers: [12, 5, 102]
Generated Node #0,0: 95:[12, 5, 102] Operation: 23+79=102
Exploring Operation: 12+79=91, Resulting Numbers: [23, 5, 91]
Generated Node #0,1: 95:[23, 5, 91] Operation: 12+79=91
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[23, 5, 91], Operations: ['12+79=91']
Exploring Operation: 5+91=96, Resulting Numbers: [23, 96]
Generated Node #0,1,0: 95:[23, 96] Operation: 5+91=96
Exploring Operation: 23-5=18, Resulting Numbers: [91, 18]
Generated Node #0,1,1: 95:[91, 18] Operation: 23-5=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[23, 96], Operations: ['12+79=91', '5+91=96']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 23+96=119, Resulting Numbers: [119]
119,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,1,1
Current State: 95:[91, 18], Operations: ['12+79=91', '23-5=18']
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[12, 5, 102], Operations: ['23+79=102']
Exploring Operation: 102-12=90, Resulting Numbers: [5, 90]
Generated Node #0,0,0: 95:[5, 90] Operation: 102-12=90
Exploring Operation: 12+5=17, Resulting Numbers: [102, 17]
Generated Node #0,0,1: 95:[102, 17] Operation: 12+5=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[5, 90], Operations: ['23+79=102', '102-12=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[23, 12, 79, 5], Operations: []
Exploring Operation: 23+79=102, Resulting Numbers: [12, 5, 102]
Generated Node #0,0: 95:[12, 5, 102] Operation: 23+79=102
Moving to Node #0,0
Current State: 95:[12, 5, 102], Operations: ['23+79=102']
Exploring Operation: 102-12=90, Resulting Numbers: [5, 90]
Generated Node #0,0,0: 95:[5, 90] Operation: 102-12=90
Moving to Node #0,0,0
Current State: 95:[5, 90], Operations: ['23+79=102', '102-12=90']
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
80,
19,
43,
74
] | 18 | [
"80+19=99",
"43+74=117",
"117-99=18"
] | Current State: 18:[80, 19, 43, 74], Operations: []
Exploring Operation: 80+19=99, Resulting Numbers: [43, 74, 99]
Generated Node #2: [43, 74, 99] from Operation: 80+19=99
Current State: 18:[43, 74, 99], Operations: ['80+19=99']
Exploring Operation: 43+74=117, Resulting Numbers: [99, 117]
Generated Node #3: [99, 117] from Operation: 43+74=117
Current State: 18:[99, 117], Operations: ['80+19=99', '43+74=117']
Exploring Operation: 117-99=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[80, 19, 43, 74], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [19, 74, 37]
Generated Node #0,0: 18:[19, 74, 37] Operation: 80-43=37
Exploring Operation: 80-74=6, Resulting Numbers: [19, 43, 6]
Generated Node #0,1: 18:[19, 43, 6] Operation: 80-74=6
Exploring Operation: 74-43=31, Resulting Numbers: [80, 19, 31]
Generated Node #0,2: 18:[80, 19, 31] Operation: 74-43=31
Moving to Node #0,1
Current State: 18:[19, 43, 6], Operations: ['80-74=6']
Exploring Operation: 43-19=24, Resulting Numbers: [6, 24]
Generated Node #0,1,0: 18:[6, 24] Operation: 43-19=24
Exploring Operation: 19-6=13, Resulting Numbers: [43, 13]
Generated Node #0,1,1: 18:[43, 13] Operation: 19-6=13
Exploring Operation: 43-6=37, Resulting Numbers: [19, 37]
Generated Node #0,1,2: 18:[19, 37] Operation: 43-6=37
Moving to Node #0,0
Current State: 18:[19, 74, 37], Operations: ['80-43=37']
Exploring Operation: 74-19=55, Resulting Numbers: [37, 55]
Generated Node #0,0,0: 18:[37, 55] Operation: 74-19=55
Exploring Operation: 74/37=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 18:[19, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [19, 37]
Generated Node #0,0,2: 18:[19, 37] Operation: 74-37=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[19, 2], Operations: ['80-43=37', '74/37=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,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,2
Current State: 18:[19, 37], Operations: ['80-43=37', '74-37=37']
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,18 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[80, 19, 43, 74], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [19, 74, 37]
Generated Node #0,0: 18:[19, 74, 37] Operation: 80-43=37
Moving to Node #0,0
Current State: 18:[19, 74, 37], Operations: ['80-43=37']
Exploring Operation: 74-37=37, Resulting Numbers: [19, 37]
Generated Node #0,0,2: 18:[19, 37] Operation: 74-37=37
Moving to Node #0,0,2
Current State: 18:[19, 37], Operations: ['80-43=37', '74-37=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
90,
75,
46,
30
] | 21 | [
"90/30=3",
"75/3=25",
"46-25=21"
] | Current State: 21:[90, 75, 46, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [75, 46, 3]
Generated Node #2: [75, 46, 3] from Operation: 90/30=3
Current State: 21:[75, 46, 3], Operations: ['90/30=3']
Exploring Operation: 75/3=25, Resulting Numbers: [46, 25]
Generated Node #3: [46, 25] from Operation: 75/3=25
Current State: 21:[46, 25], Operations: ['90/30=3', '75/3=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[90, 75, 46, 30], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [46, 30, 15]
Generated Node #0,0: 21:[46, 30, 15] Operation: 90-75=15
Exploring Operation: 90/30=3, Resulting Numbers: [75, 46, 3]
Generated Node #0,1: 21:[75, 46, 3] Operation: 90/30=3
Moving to Node #0,0
Current State: 21:[46, 30, 15], Operations: ['90-75=15']
Exploring Operation: 46-15=31, Resulting Numbers: [30, 31]
Generated Node #0,0,0: 21:[30, 31] Operation: 46-15=31
Exploring Operation: 46-30=16, Resulting Numbers: [15, 16]
Generated Node #0,0,1: 21:[15, 16] Operation: 46-30=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[15, 16], Operations: ['90-75=15', '46-30=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[30, 31], Operations: ['90-75=15', '46-15=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,21 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: 21:[75, 46, 3], Operations: ['90/30=3']
Exploring Operation: 75/3=25, Resulting Numbers: [46, 25]
Generated Node #0,1,0: 21:[46, 25] Operation: 75/3=25
Exploring Operation: 75-46=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 21:[3, 29] Operation: 75-46=29
Moving to Node #0,1,1
Current State: 21:[3, 29], Operations: ['90/30=3', '75-46=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[46, 25], Operations: ['90/30=3', '75/3=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[90, 75, 46, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [75, 46, 3]
Generated Node #0,1: 21:[75, 46, 3] Operation: 90/30=3
Moving to Node #0,1
Current State: 21:[75, 46, 3], Operations: ['90/30=3']
Exploring Operation: 75/3=25, Resulting Numbers: [46, 25]
Generated Node #0,1,0: 21:[46, 25] Operation: 75/3=25
Moving to Node #0,1,0
Current State: 21:[46, 25], Operations: ['90/30=3', '75/3=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
2,
10,
18,
65
] | 49 | [
"18-10=8",
"2*8=16",
"65-16=49"
] | Current State: 49:[2, 10, 18, 65], Operations: []
Exploring Operation: 18-10=8, Resulting Numbers: [2, 65, 8]
Generated Node #2: [2, 65, 8] from Operation: 18-10=8
Current State: 49:[2, 65, 8], Operations: ['18-10=8']
Exploring Operation: 2*8=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 2*8=16
Current State: 49:[65, 16], Operations: ['18-10=8', '2*8=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[2, 10, 18, 65], Operations: []
Exploring Operation: 65-18=47, Resulting Numbers: [2, 10, 47]
Generated Node #0,0: 49:[2, 10, 47] Operation: 65-18=47
Moving to Node #0,0
Current State: 49:[2, 10, 47], Operations: ['65-18=47']
Exploring Operation: 10-2=8, Resulting Numbers: [47, 8]
Generated Node #0,0,0: 49:[47, 8] Operation: 10-2=8
Moving to Node #0,0,0
Current State: 49:[47, 8], Operations: ['65-18=47', '10-2=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
53,
47,
21,
32
] | 66 | [
"53-47=6",
"32-21=11",
"6*11=66"
] | Current State: 66:[53, 47, 21, 32], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [21, 32, 6]
Generated Node #2: [21, 32, 6] from Operation: 53-47=6
Current State: 66:[21, 32, 6], Operations: ['53-47=6']
Exploring Operation: 32-21=11, Resulting Numbers: [6, 11]
Generated Node #3: [6, 11] from Operation: 32-21=11
Current State: 66:[6, 11], Operations: ['53-47=6', '32-21=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[53, 47, 21, 32], Operations: []
Exploring Operation: 47+21=68, Resulting Numbers: [53, 32, 68]
Generated Node #0,0: 66:[53, 32, 68] Operation: 47+21=68
Exploring Operation: 53-21=32, Resulting Numbers: [47, 32, 32]
Generated Node #0,1: 66:[47, 32, 32] Operation: 53-21=32
Exploring Operation: 53-32=21, Resulting Numbers: [47, 21, 21]
Generated Node #0,2: 66:[47, 21, 21] Operation: 53-32=21
Exploring Operation: 53-47=6, Resulting Numbers: [21, 32, 6]
Generated Node #0,3: 66:[21, 32, 6] Operation: 53-47=6
Moving to Node #0,3
Current State: 66:[21, 32, 6], Operations: ['53-47=6']
Exploring Operation: 21+6=27, Resulting Numbers: [32, 27]
Generated Node #0,3,0: 66:[32, 27] Operation: 21+6=27
Exploring Operation: 32-21=11, Resulting Numbers: [6, 11]
Generated Node #0,3,1: 66:[6, 11] Operation: 32-21=11
Exploring Operation: 32-6=26, Resulting Numbers: [21, 26]
Generated Node #0,3,2: 66:[21, 26] Operation: 32-6=26
Exploring Operation: 21-6=15, Resulting Numbers: [32, 15]
Generated Node #0,3,3: 66:[32, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[6, 11], Operations: ['53-47=6', '32-21=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[53, 47, 21, 32], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [21, 32, 6]
Generated Node #0,3: 66:[21, 32, 6] Operation: 53-47=6
Moving to Node #0,3
Current State: 66:[21, 32, 6], Operations: ['53-47=6']
Exploring Operation: 32-21=11, Resulting Numbers: [6, 11]
Generated Node #0,3,1: 66:[6, 11] Operation: 32-21=11
Moving to Node #0,3,1
Current State: 66:[6, 11], Operations: ['53-47=6', '32-21=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
1,
87,
7,
34
] | 92 | [
"1+34=35",
"35/7=5",
"87+5=92"
] | Current State: 92:[1, 87, 7, 34], Operations: []
Exploring Operation: 1+34=35, Resulting Numbers: [87, 7, 35]
Generated Node #2: [87, 7, 35] from Operation: 1+34=35
Current State: 92:[87, 7, 35], Operations: ['1+34=35']
Exploring Operation: 35/7=5, Resulting Numbers: [87, 5]
Generated Node #3: [87, 5] from Operation: 35/7=5
Current State: 92:[87, 5], Operations: ['1+34=35', '35/7=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[1, 87, 7, 34], Operations: []
Exploring Operation: 34-7=27, Resulting Numbers: [1, 87, 27]
Generated Node #0,0: 92:[1, 87, 27] Operation: 34-7=27
Moving to Node #0,0
Current State: 92:[1, 87, 27], Operations: ['34-7=27']
Exploring Operation: 1+87=88, Resulting Numbers: [27, 88]
Generated Node #0,0,0: 92:[27, 88] Operation: 1+87=88
Moving to Node #0,0,0
Current State: 92:[27, 88], Operations: ['34-7=27', '1+87=88']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
4,
78,
57
] | 50 | [
"55+57=112",
"112/4=28",
"78-28=50"
] | Current State: 50:[55, 4, 78, 57], Operations: []
Exploring Operation: 55+57=112, Resulting Numbers: [4, 78, 112]
Generated Node #2: [4, 78, 112] from Operation: 55+57=112
Current State: 50:[4, 78, 112], Operations: ['55+57=112']
Exploring Operation: 112/4=28, Resulting Numbers: [78, 28]
Generated Node #3: [78, 28] from Operation: 112/4=28
Current State: 50:[78, 28], Operations: ['55+57=112', '112/4=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[55, 4, 78, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [4, 78, 2]
Generated Node #0,0: 50:[4, 78, 2] Operation: 57-55=2
Exploring Operation: 78-55=23, Resulting Numbers: [4, 57, 23]
Generated Node #0,1: 50:[4, 57, 23] Operation: 78-55=23
Exploring Operation: 78-57=21, Resulting Numbers: [55, 4, 21]
Generated Node #0,2: 50:[55, 4, 21] Operation: 78-57=21
Moving to Node #0,1
Current State: 50:[4, 57, 23], Operations: ['78-55=23']
Exploring Operation: 57-4=53, Resulting Numbers: [23, 53]
Generated Node #0,1,0: 50:[23, 53] Operation: 57-4=53
Exploring Operation: 4+23=27, Resulting Numbers: [57, 27]
Generated Node #0,1,1: 50:[57, 27] Operation: 4+23=27
Exploring Operation: 57-23=34, Resulting Numbers: [4, 34]
Generated Node #0,1,2: 50:[4, 34] Operation: 57-23=34
Moving to Node #0,2
Current State: 50:[55, 4, 21], Operations: ['78-57=21']
Exploring Operation: 55-21=34, Resulting Numbers: [4, 34]
Generated Node #0,2,0: 50:[4, 34] Operation: 55-21=34
Exploring Operation: 4+21=25, Resulting Numbers: [55, 25]
Generated Node #0,2,1: 50:[55, 25] Operation: 4+21=25
Exploring Operation: 55-4=51, Resulting Numbers: [21, 51]
Generated Node #0,2,2: 50:[21, 51] Operation: 55-4=51
Moving to Node #0,0
Current State: 50:[4, 78, 2], Operations: ['57-55=2']
Exploring Operation: 78-2=76, Resulting Numbers: [4, 76]
Generated Node #0,0,0: 50:[4, 76] Operation: 78-2=76
Exploring Operation: 78-4=74, Resulting Numbers: [2, 74]
Generated Node #0,0,1: 50:[2, 74] Operation: 78-4=74
Exploring Operation: 78/2=39, Resulting Numbers: [4, 39]
Generated Node #0,0,2: 50:[4, 39] Operation: 78/2=39
Moving to Node #0,1,0
Current State: 50:[23, 53], Operations: ['78-55=23', '57-4=53']
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,50 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[55, 25], Operations: ['78-57=21', '4+21=25']
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,50 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[21, 51], Operations: ['78-57=21', '55-4=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,50 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[57, 27], Operations: ['78-55=23', '4+23=27']
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,50 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[4, 34], Operations: ['78-55=23', '57-23=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,50 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[4, 34], Operations: ['78-57=21', '55-21=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,50 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[4, 39], Operations: ['57-55=2', '78/2=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[2, 74], Operations: ['57-55=2', '78-4=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[4, 76], Operations: ['57-55=2', '78-2=76']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,50 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
91,
88,
27,
8
] | 72 | [
"91-88=3",
"27*8=216",
"216/3=72"
] | Current State: 72:[91, 88, 27, 8], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [27, 8, 3]
Generated Node #2: [27, 8, 3] from Operation: 91-88=3
Current State: 72:[27, 8, 3], Operations: ['91-88=3']
Exploring Operation: 27*8=216, Resulting Numbers: [3, 216]
Generated Node #3: [3, 216] from Operation: 27*8=216
Current State: 72:[3, 216], Operations: ['91-88=3', '27*8=216']
Exploring Operation: 216/3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[91, 88, 27, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [91, 27, 11]
Generated Node #0,0: 72:[91, 27, 11] Operation: 88/8=11
Exploring Operation: 91-88=3, Resulting Numbers: [27, 8, 3]
Generated Node #0,1: 72:[27, 8, 3] Operation: 91-88=3
Moving to Node #0,1
Current State: 72:[27, 8, 3], Operations: ['91-88=3']
Exploring Operation: 27-3=24, Resulting Numbers: [8, 24]
Generated Node #0,1,0: 72:[8, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 72:[8, 9] Operation: 27/3=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[8, 24], Operations: ['91-88=3', '27-3=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No 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: 72:[8, 9], Operations: ['91-88=3', '27/3=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[91, 88, 27, 8], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [27, 8, 3]
Generated Node #0,1: 72:[27, 8, 3] Operation: 91-88=3
Moving to Node #0,1
Current State: 72:[27, 8, 3], Operations: ['91-88=3']
Exploring Operation: 27/3=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 72:[8, 9] Operation: 27/3=9
Moving to Node #0,1,1
Current State: 72:[8, 9], Operations: ['91-88=3', '27/3=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
79,
67,
94,
66
] | 14 | [
"79+67=146",
"94+66=160",
"160-146=14"
] | Current State: 14:[79, 67, 94, 66], Operations: []
Exploring Operation: 79+67=146, Resulting Numbers: [94, 66, 146]
Generated Node #2: [94, 66, 146] from Operation: 79+67=146
Current State: 14:[94, 66, 146], Operations: ['79+67=146']
Exploring Operation: 94+66=160, Resulting Numbers: [146, 160]
Generated Node #3: [146, 160] from Operation: 94+66=160
Current State: 14:[146, 160], Operations: ['79+67=146', '94+66=160']
Exploring Operation: 160-146=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[79, 67, 94, 66], Operations: []
Exploring Operation: 94-66=28, Resulting Numbers: [79, 67, 28]
Generated Node #0,0: 14:[79, 67, 28] Operation: 94-66=28
Exploring Operation: 94-79=15, Resulting Numbers: [67, 66, 15]
Generated Node #0,1: 14:[67, 66, 15] Operation: 94-79=15
Exploring Operation: 94-67=27, Resulting Numbers: [79, 66, 27]
Generated Node #0,2: 14:[79, 66, 27] Operation: 94-67=27
Exploring Operation: 79-67=12, Resulting Numbers: [94, 66, 12]
Generated Node #0,3: 14:[94, 66, 12] Operation: 79-67=12
Moving to Node #0,1
Current State: 14:[67, 66, 15], Operations: ['94-79=15']
Exploring Operation: 67-66=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 14:[15, 1] Operation: 67-66=1
Exploring Operation: 67-15=52, Resulting Numbers: [66, 52]
Generated Node #0,1,1: 14:[66, 52] Operation: 67-15=52
Exploring Operation: 67+66=133, Resulting Numbers: [15, 133]
Generated Node #0,1,2: 14:[15, 133] Operation: 67+66=133
Exploring Operation: 66-15=51, Resulting Numbers: [67, 51]
Generated Node #0,1,3: 14:[67, 51] Operation: 66-15=51
Moving to Node #0,2
Current State: 14:[79, 66, 27], Operations: ['94-67=27']
Exploring Operation: 79+66=145, Resulting Numbers: [27, 145]
Generated Node #0,2,0: 14:[27, 145] Operation: 79+66=145
Exploring Operation: 79-66=13, Resulting Numbers: [27, 13]
Generated Node #0,2,1: 14:[27, 13] Operation: 79-66=13
Exploring Operation: 66-27=39, Resulting Numbers: [79, 39]
Generated Node #0,2,2: 14:[79, 39] Operation: 66-27=39
Exploring Operation: 79-27=52, Resulting Numbers: [66, 52]
Generated Node #0,2,3: 14:[66, 52] Operation: 79-27=52
Moving to Node #0,0
Current State: 14:[79, 67, 28], Operations: ['94-66=28']
Exploring Operation: 79+67=146, Resulting Numbers: [28, 146]
Generated Node #0,0,0: 14:[28, 146] Operation: 79+67=146
Exploring Operation: 79-67=12, Resulting Numbers: [28, 12]
Generated Node #0,0,1: 14:[28, 12] Operation: 79-67=12
Exploring Operation: 67-28=39, Resulting Numbers: [79, 39]
Generated Node #0,0,2: 14:[79, 39] Operation: 67-28=39
Exploring Operation: 79-28=51, Resulting Numbers: [67, 51]
Generated Node #0,0,3: 14:[67, 51] Operation: 79-28=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[28, 12], Operations: ['94-66=28', '79-67=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[79, 39], Operations: ['94-66=28', '67-28=39']
Exploring Operation: 79+39=118, Resulting Numbers: [118]
118,14 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 79*39=3081, Resulting Numbers: [3081]
3081,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[67, 51], Operations: ['94-66=28', '79-28=51']
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,14 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[28, 146], Operations: ['94-66=28', '79+67=146']
Exploring Operation: 28+146=174, Resulting Numbers: [174]
174,14 unequal: No Solution
Exploring Operation: 28*146=4088, Resulting Numbers: [4088]
4088,14 unequal: No Solution
Exploring Operation: 146-28=118, Resulting Numbers: [118]
118,14 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: 14:[94, 66, 12], Operations: ['79-67=12']
Exploring Operation: 94-66=28, Resulting Numbers: [12, 28]
Generated Node #0,3,0: 14:[12, 28] Operation: 94-66=28
Exploring Operation: 94+12=106, Resulting Numbers: [66, 106]
Generated Node #0,3,1: 14:[66, 106] Operation: 94+12=106
Exploring Operation: 66-12=54, Resulting Numbers: [94, 54]
Generated Node #0,3,2: 14:[94, 54] Operation: 66-12=54
Exploring Operation: 94-12=82, Resulting Numbers: [66, 82]
Generated Node #0,3,3: 14:[66, 82] Operation: 94-12=82
Moving to Node #0,1,0
Current State: 14:[15, 1], Operations: ['94-79=15', '67-66=1']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[79, 67, 94, 66], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [67, 66, 15]
Generated Node #0,1: 14:[67, 66, 15] Operation: 94-79=15
Moving to Node #0,1
Current State: 14:[67, 66, 15], Operations: ['94-79=15']
Exploring Operation: 67-66=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 14:[15, 1] Operation: 67-66=1
Moving to Node #0,1,0
Current State: 14:[15, 1], Operations: ['94-79=15', '67-66=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
34,
64,
15,
69
] | 95 | [
"34-15=19",
"69-64=5",
"19*5=95"
] | Current State: 95:[34, 64, 15, 69], Operations: []
Exploring Operation: 34-15=19, Resulting Numbers: [64, 69, 19]
Generated Node #2: [64, 69, 19] from Operation: 34-15=19
Current State: 95:[64, 69, 19], Operations: ['34-15=19']
Exploring Operation: 69-64=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 69-64=5
Current State: 95:[19, 5], Operations: ['34-15=19', '69-64=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[34, 64, 15, 69], Operations: []
Exploring Operation: 69-34=35, Resulting Numbers: [64, 15, 35]
Generated Node #0,0: 95:[64, 15, 35] Operation: 69-34=35
Exploring Operation: 34+64=98, Resulting Numbers: [15, 69, 98]
Generated Node #0,1: 95:[15, 69, 98] Operation: 34+64=98
Exploring Operation: 64-34=30, Resulting Numbers: [15, 69, 30]
Generated Node #0,2: 95:[15, 69, 30] Operation: 64-34=30
Exploring Operation: 34+69=103, Resulting Numbers: [64, 15, 103]
Generated Node #0,3: 95:[64, 15, 103] Operation: 34+69=103
Exploring Operation: 69-64=5, Resulting Numbers: [34, 15, 5]
Generated Node #0,4: 95:[34, 15, 5] Operation: 69-64=5
Moving to Node #0,4
Current State: 95:[34, 15, 5], Operations: ['69-64=5']
Exploring Operation: 15/5=3, Resulting Numbers: [34, 3]
Generated Node #0,4,0: 95:[34, 3] Operation: 15/5=3
Exploring Operation: 34-15=19, Resulting Numbers: [5, 19]
Generated Node #0,4,1: 95:[5, 19] Operation: 34-15=19
Exploring Operation: 34-5=29, Resulting Numbers: [15, 29]
Generated Node #0,4,2: 95:[15, 29] Operation: 34-5=29
Exploring Operation: 15-5=10, Resulting Numbers: [34, 10]
Generated Node #0,4,3: 95:[34, 10] Operation: 15-5=10
Exploring Operation: 15+5=20, Resulting Numbers: [34, 20]
Generated Node #0,4,4: 95:[34, 20] Operation: 15+5=20
Moving to Node #0,1
Current State: 95:[15, 69, 98], Operations: ['34+64=98']
Exploring Operation: 15+69=84, Resulting Numbers: [98, 84]
Generated Node #0,1,0: 95:[98, 84] Operation: 15+69=84
Exploring Operation: 15+98=113, Resulting Numbers: [69, 113]
Generated Node #0,1,1: 95:[69, 113] Operation: 15+98=113
Exploring Operation: 98-69=29, Resulting Numbers: [15, 29]
Generated Node #0,1,2: 95:[15, 29] Operation: 98-69=29
Exploring Operation: 69-15=54, Resulting Numbers: [98, 54]
Generated Node #0,1,3: 95:[98, 54] Operation: 69-15=54
Exploring Operation: 98-15=83, Resulting Numbers: [69, 83]
Generated Node #0,1,4: 95:[69, 83] Operation: 98-15=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[98, 84], Operations: ['34+64=98', '15+69=84']
Exploring Operation: 98+84=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 98*84=8232, Resulting Numbers: [8232]
8232,95 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[15, 29], Operations: ['34+64=98', '98-69=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[98, 54], Operations: ['34+64=98', '69-15=54']
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,95 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[69, 83], Operations: ['34+64=98', '98-15=83']
Exploring Operation: 69+83=152, Resulting Numbers: [152]
152,95 unequal: No Solution
Exploring Operation: 69*83=5727, Resulting Numbers: [5727]
5727,95 unequal: No Solution
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[69, 113], Operations: ['34+64=98', '15+98=113']
Exploring Operation: 69*113=7797, Resulting Numbers: [7797]
7797,95 unequal: No Solution
Exploring Operation: 69+113=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 113-69=44, Resulting Numbers: [44]
44,95 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: 95:[15, 69, 30], Operations: ['64-34=30']
Exploring Operation: 15+69=84, Resulting Numbers: [30, 84]
Generated Node #0,2,0: 95:[30, 84] Operation: 15+69=84
Exploring Operation: 30/15=2, Resulting Numbers: [69, 2]
Generated Node #0,2,1: 95:[69, 2] Operation: 30/15=2
Exploring Operation: 30-15=15, Resulting Numbers: [69, 15]
Generated Node #0,2,2: 95:[69, 15] Operation: 30-15=15
Exploring Operation: 69+30=99, Resulting Numbers: [15, 99]
Generated Node #0,2,3: 95:[15, 99] Operation: 69+30=99
Exploring Operation: 69-30=39, Resulting Numbers: [15, 39]
Generated Node #0,2,4: 95:[15, 39] Operation: 69-30=39
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[15, 99], Operations: ['64-34=30', '69+30=99']
Exploring Operation: 15*99=1485, Resulting Numbers: [1485]
1485,95 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 15+99=114, Resulting Numbers: [114]
114,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[30, 84], Operations: ['64-34=30', '15+69=84']
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,95 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 95:[15, 39], Operations: ['64-34=30', '69-30=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,95 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[69, 2], Operations: ['64-34=30', '30/15=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[69, 15], Operations: ['64-34=30', '30-15=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,95 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: 95:[64, 15, 103], Operations: ['34+69=103']
Exploring Operation: 103-64=39, Resulting Numbers: [15, 39]
Generated Node #0,3,0: 95:[15, 39] Operation: 103-64=39
Exploring Operation: 103-15=88, Resulting Numbers: [64, 88]
Generated Node #0,3,1: 95:[64, 88] Operation: 103-15=88
Exploring Operation: 64+15=79, Resulting Numbers: [103, 79]
Generated Node #0,3,2: 95:[103, 79] Operation: 64+15=79
Exploring Operation: 15+103=118, Resulting Numbers: [64, 118]
Generated Node #0,3,3: 95:[64, 118] Operation: 15+103=118
Exploring Operation: 64-15=49, Resulting Numbers: [103, 49]
Generated Node #0,3,4: 95:[103, 49] Operation: 64-15=49
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 95:[15, 39], Operations: ['34+69=103', '103-64=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[103, 79], Operations: ['34+69=103', '64+15=79']
Exploring Operation: 103*79=8137, Resulting Numbers: [8137]
8137,95 unequal: No Solution
Exploring Operation: 103+79=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 103-79=24, Resulting Numbers: [24]
24,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[64, 88], Operations: ['34+69=103', '103-15=88']
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,95 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,95 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 95:[103, 49], Operations: ['34+69=103', '64-15=49']
Exploring Operation: 103-49=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 103*49=5047, Resulting Numbers: [5047]
5047,95 unequal: No Solution
Exploring Operation: 103+49=152, Resulting Numbers: [152]
152,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[64, 118], Operations: ['34+69=103', '15+103=118']
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 64*118=7552, Resulting Numbers: [7552]
7552,95 unequal: No Solution
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,95 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: 95:[64, 15, 35], Operations: ['69-34=35']
Exploring Operation: 64+15=79, Resulting Numbers: [35, 79]
Generated Node #0,0,0: 95:[35, 79] Operation: 64+15=79
Exploring Operation: 35-15=20, Resulting Numbers: [64, 20]
Generated Node #0,0,1: 95:[64, 20] Operation: 35-15=20
Exploring Operation: 64-35=29, Resulting Numbers: [15, 29]
Generated Node #0,0,2: 95:[15, 29] Operation: 64-35=29
Exploring Operation: 64-15=49, Resulting Numbers: [35, 49]
Generated Node #0,0,3: 95:[35, 49] Operation: 64-15=49
Exploring Operation: 64+35=99, Resulting Numbers: [15, 99]
Generated Node #0,0,4: 95:[15, 99] Operation: 64+35=99
Moving to Node #0,4,1
Current State: 95:[5, 19], Operations: ['69-64=5', '34-15=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[34, 64, 15, 69], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [34, 15, 5]
Generated Node #0,4: 95:[34, 15, 5] Operation: 69-64=5
Moving to Node #0,4
Current State: 95:[34, 15, 5], Operations: ['69-64=5']
Exploring Operation: 34-15=19, Resulting Numbers: [5, 19]
Generated Node #0,4,1: 95:[5, 19] Operation: 34-15=19
Moving to Node #0,4,1
Current State: 95:[5, 19], Operations: ['69-64=5', '34-15=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
5,
85,
16,
92
] | 87 | [
"85-5=80",
"80/16=5",
"92-5=87"
] | Current State: 87:[5, 85, 16, 92], Operations: []
Exploring Operation: 85-5=80, Resulting Numbers: [16, 92, 80]
Generated Node #2: [16, 92, 80] from Operation: 85-5=80
Current State: 87:[16, 92, 80], Operations: ['85-5=80']
Exploring Operation: 80/16=5, Resulting Numbers: [92, 5]
Generated Node #3: [92, 5] from Operation: 80/16=5
Current State: 87:[92, 5], Operations: ['85-5=80', '80/16=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[5, 85, 16, 92], Operations: []
Exploring Operation: 5*16=80, Resulting Numbers: [85, 92, 80]
Generated Node #0,0: 87:[85, 92, 80] Operation: 5*16=80
Exploring Operation: 16-5=11, Resulting Numbers: [85, 92, 11]
Generated Node #0,1: 87:[85, 92, 11] Operation: 16-5=11
Exploring Operation: 5+16=21, Resulting Numbers: [85, 92, 21]
Generated Node #0,2: 87:[85, 92, 21] Operation: 5+16=21
Moving to Node #0,0
Current State: 87:[85, 92, 80], Operations: ['5*16=80']
Exploring Operation: 92-80=12, Resulting Numbers: [85, 12]
Generated Node #0,0,0: 87:[85, 12] Operation: 92-80=12
Exploring Operation: 85-80=5, Resulting Numbers: [92, 5]
Generated Node #0,0,1: 87:[92, 5] Operation: 85-80=5
Exploring Operation: 92-85=7, Resulting Numbers: [80, 7]
Generated Node #0,0,2: 87:[80, 7] Operation: 92-85=7
Moving to Node #0,1
Current State: 87:[85, 92, 11], Operations: ['16-5=11']
Exploring Operation: 92-85=7, Resulting Numbers: [11, 7]
Generated Node #0,1,0: 87:[11, 7] Operation: 92-85=7
Exploring Operation: 85+11=96, Resulting Numbers: [92, 96]
Generated Node #0,1,1: 87:[92, 96] Operation: 85+11=96
Exploring Operation: 92-11=81, Resulting Numbers: [85, 81]
Generated Node #0,1,2: 87:[85, 81] Operation: 92-11=81
Moving to Node #0,2
Current State: 87:[85, 92, 21], Operations: ['5+16=21']
Exploring Operation: 85+21=106, Resulting Numbers: [92, 106]
Generated Node #0,2,0: 87:[92, 106] Operation: 85+21=106
Exploring Operation: 92-85=7, Resulting Numbers: [21, 7]
Generated Node #0,2,1: 87:[21, 7] Operation: 92-85=7
Exploring Operation: 92-21=71, Resulting Numbers: [85, 71]
Generated Node #0,2,2: 87:[85, 71] Operation: 92-21=71
Moving to Node #0,0,1
Current State: 87:[92, 5], Operations: ['5*16=80', '85-80=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[5, 85, 16, 92], Operations: []
Exploring Operation: 5*16=80, Resulting Numbers: [85, 92, 80]
Generated Node #0,0: 87:[85, 92, 80] Operation: 5*16=80
Moving to Node #0,0
Current State: 87:[85, 92, 80], Operations: ['5*16=80']
Exploring Operation: 85-80=5, Resulting Numbers: [92, 5]
Generated Node #0,0,1: 87:[92, 5] Operation: 85-80=5
Moving to Node #0,0,1
Current State: 87:[92, 5], Operations: ['5*16=80', '85-80=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
87,
60,
12,
21
] | 69 | [
"87+21=108",
"108/12=9",
"60+9=69"
] | Current State: 69:[87, 60, 12, 21], Operations: []
Exploring Operation: 87+21=108, Resulting Numbers: [60, 12, 108]
Generated Node #2: [60, 12, 108] from Operation: 87+21=108
Current State: 69:[60, 12, 108], Operations: ['87+21=108']
Exploring Operation: 108/12=9, Resulting Numbers: [60, 9]
Generated Node #3: [60, 9] from Operation: 108/12=9
Current State: 69:[60, 9], Operations: ['87+21=108', '108/12=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[87, 60, 12, 21], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [60, 21, 75]
Generated Node #0,0: 69:[60, 21, 75] Operation: 87-12=75
Exploring Operation: 87-60=27, Resulting Numbers: [12, 21, 27]
Generated Node #0,1: 69:[12, 21, 27] Operation: 87-60=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[12, 21, 27], Operations: ['87-60=27']
Exploring Operation: 21-12=9, Resulting Numbers: [27, 9]
Generated Node #0,1,0: 69:[27, 9] Operation: 21-12=9
Exploring Operation: 27-12=15, Resulting Numbers: [21, 15]
Generated Node #0,1,1: 69:[21, 15] Operation: 27-12=15
Moving to Node #0,1,0
Current State: 69:[27, 9], Operations: ['87-60=27', '21-12=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[21, 15], Operations: ['87-60=27', '27-12=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[60, 21, 75], Operations: ['87-12=75']
Exploring Operation: 75-60=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 69:[21, 15] Operation: 75-60=15
Exploring Operation: 60+21=81, Resulting Numbers: [75, 81]
Generated Node #0,0,1: 69:[75, 81] Operation: 60+21=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[21, 15], Operations: ['87-12=75', '75-60=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,69 unequal: No Solution
No 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: 69:[75, 81], Operations: ['87-12=75', '60+21=81']
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
30,
42,
29
] | 22 | [
"42-30=12",
"84/12=7",
"29-7=22"
] | Current State: 22:[84, 30, 42, 29], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [84, 29, 12]
Generated Node #2: [84, 29, 12] from Operation: 42-30=12
Current State: 22:[84, 29, 12], Operations: ['42-30=12']
Exploring Operation: 84/12=7, Resulting Numbers: [29, 7]
Generated Node #3: [29, 7] from Operation: 84/12=7
Current State: 22:[29, 7], Operations: ['42-30=12', '84/12=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[84, 30, 42, 29], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [84, 29, 12]
Generated Node #0,0: 22:[84, 29, 12] Operation: 42-30=12
Exploring Operation: 84/42=2, Resulting Numbers: [30, 29, 2]
Generated Node #0,1: 22:[30, 29, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [30, 29, 42]
Generated Node #0,2: 22:[30, 29, 42] Operation: 84-42=42
Exploring Operation: 84-30=54, Resulting Numbers: [42, 29, 54]
Generated Node #0,3: 22:[42, 29, 54] Operation: 84-30=54
Exploring Operation: 84-29=55, Resulting Numbers: [30, 42, 55]
Generated Node #0,4: 22:[30, 42, 55] Operation: 84-29=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[30, 29, 2], Operations: ['84/42=2']
Exploring Operation: 30-29=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 22:[2, 1] Operation: 30-29=1
Exploring Operation: 30-2=28, Resulting Numbers: [29, 28]
Generated Node #0,1,1: 22:[29, 28] Operation: 30-2=28
Exploring Operation: 29-2=27, Resulting Numbers: [30, 27]
Generated Node #0,1,2: 22:[30, 27] Operation: 29-2=27
Exploring Operation: 30+2=32, Resulting Numbers: [29, 32]
Generated Node #0,1,3: 22:[29, 32] Operation: 30+2=32
Exploring Operation: 30/2=15, Resulting Numbers: [29, 15]
Generated Node #0,1,4: 22:[29, 15] Operation: 30/2=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[2, 1], Operations: ['84/42=2', '30-29=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 22:[29, 15], Operations: ['84/42=2', '30/2=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[29, 28], Operations: ['84/42=2', '30-2=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,22 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[30, 27], Operations: ['84/42=2', '29-2=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,22 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 22:[29, 32], Operations: ['84/42=2', '30+2=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,22 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[30, 29, 42], Operations: ['84-42=42']
Exploring Operation: 42-30=12, Resulting Numbers: [29, 12]
Generated Node #0,2,0: 22:[29, 12] Operation: 42-30=12
Exploring Operation: 30+29=59, Resulting Numbers: [42, 59]
Generated Node #0,2,1: 22:[42, 59] Operation: 30+29=59
Exploring Operation: 30-29=1, Resulting Numbers: [42, 1]
Generated Node #0,2,2: 22:[42, 1] Operation: 30-29=1
Exploring Operation: 42-29=13, Resulting Numbers: [30, 13]
Generated Node #0,2,3: 22:[30, 13] Operation: 42-29=13
Exploring Operation: 30+42=72, Resulting Numbers: [29, 72]
Generated Node #0,2,4: 22:[29, 72] Operation: 30+42=72
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[29, 12], Operations: ['84-42=42', '42-30=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,22 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[30, 13], Operations: ['84-42=42', '42-29=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,22 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[42, 1], Operations: ['84-42=42', '30-29=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[42, 59], Operations: ['84-42=42', '30+29=59']
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,22 unequal: No Solution
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 22:[29, 72], Operations: ['84-42=42', '30+42=72']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,22 unequal: No Solution
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[42, 29, 54], Operations: ['84-30=54']
Exploring Operation: 54-29=25, Resulting Numbers: [42, 25]
Generated Node #0,3,0: 22:[42, 25] Operation: 54-29=25
Exploring Operation: 42-29=13, Resulting Numbers: [54, 13]
Generated Node #0,3,1: 22:[54, 13] Operation: 42-29=13
Exploring Operation: 42+54=96, Resulting Numbers: [29, 96]
Generated Node #0,3,2: 22:[29, 96] Operation: 42+54=96
Exploring Operation: 42+29=71, Resulting Numbers: [54, 71]
Generated Node #0,3,3: 22:[54, 71] Operation: 42+29=71
Exploring Operation: 54-42=12, Resulting Numbers: [29, 12]
Generated Node #0,3,4: 22:[29, 12] Operation: 54-42=12
Moving to Node #0,3,4
Current State: 22:[29, 12], Operations: ['84-30=54', '54-42=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,22 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[42, 25], Operations: ['84-30=54', '54-29=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,22 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[54, 13], Operations: ['84-30=54', '42-29=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,22 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[29, 96], Operations: ['84-30=54', '42+54=96']
Exploring Operation: 29*96=2784, Resulting Numbers: [2784]
2784,22 unequal: No Solution
Exploring Operation: 96-29=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 29+96=125, Resulting Numbers: [125]
125,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[54, 71], Operations: ['84-30=54', '42+29=71']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,22 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 22:[30, 42, 55], Operations: ['84-29=55']
Exploring Operation: 55-30=25, Resulting Numbers: [42, 25]
Generated Node #0,4,0: 22:[42, 25] Operation: 55-30=25
Exploring Operation: 30+55=85, Resulting Numbers: [42, 85]
Generated Node #0,4,1: 22:[42, 85] Operation: 30+55=85
Exploring Operation: 30+42=72, Resulting Numbers: [55, 72]
Generated Node #0,4,2: 22:[55, 72] Operation: 30+42=72
Exploring Operation: 42-30=12, Resulting Numbers: [55, 12]
Generated Node #0,4,3: 22:[55, 12] Operation: 42-30=12
Exploring Operation: 55-42=13, Resulting Numbers: [30, 13]
Generated Node #0,4,4: 22:[30, 13] Operation: 55-42=13
Moving to Node #0,4,4
Current State: 22:[30, 13], Operations: ['84-29=55', '55-42=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,22 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[42, 25], Operations: ['84-29=55', '55-30=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,22 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[55, 12], Operations: ['84-29=55', '42-30=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,22 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[42, 85], Operations: ['84-29=55', '30+55=85']
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,22 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,22 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[55, 72], Operations: ['84-29=55', '30+42=72']
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,22 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 55*72=3960, Resulting Numbers: [3960]
3960,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,0
Current State: 22:[84, 29, 12], Operations: ['42-30=12']
Exploring Operation: 84-29=55, Resulting Numbers: [12, 55]
Generated Node #0,0,0: 22:[12, 55] Operation: 84-29=55
Exploring Operation: 84/12=7, Resulting Numbers: [29, 7]
Generated Node #0,0,1: 22:[29, 7] Operation: 84/12=7
Exploring Operation: 29-12=17, Resulting Numbers: [84, 17]
Generated Node #0,0,2: 22:[84, 17] Operation: 29-12=17
Exploring Operation: 84+12=96, Resulting Numbers: [29, 96]
Generated Node #0,0,3: 22:[29, 96] Operation: 84+12=96
Exploring Operation: 84-12=72, Resulting Numbers: [29, 72]
Generated Node #0,0,4: 22:[29, 72] Operation: 84-12=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[29, 7], Operations: ['42-30=12', '84/12=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[84, 30, 42, 29], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [84, 29, 12]
Generated Node #0,0: 22:[84, 29, 12] Operation: 42-30=12
Moving to Node #0,0
Current State: 22:[84, 29, 12], Operations: ['42-30=12']
Exploring Operation: 84/12=7, Resulting Numbers: [29, 7]
Generated Node #0,0,1: 22:[29, 7] Operation: 84/12=7
Moving to Node #0,0,1
Current State: 22:[29, 7], Operations: ['42-30=12', '84/12=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.915799 | hs_5 | mult_heuristic |
[
16,
64,
60,
56
] | 20 | [
"16+64=80",
"60-56=4",
"80/4=20"
] | Current State: 20:[16, 64, 60, 56], Operations: []
Exploring Operation: 16+64=80, Resulting Numbers: [60, 56, 80]
Generated Node #2: [60, 56, 80] from Operation: 16+64=80
Current State: 20:[60, 56, 80], Operations: ['16+64=80']
Exploring Operation: 60-56=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 60-56=4
Current State: 20:[80, 4], Operations: ['16+64=80', '60-56=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[16, 64, 60, 56], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [16, 56, 4]
Generated Node #0,0: 20:[16, 56, 4] Operation: 64-60=4
Exploring Operation: 60-56=4, Resulting Numbers: [16, 64, 4]
Generated Node #0,1: 20:[16, 64, 4] Operation: 60-56=4
Exploring Operation: 64-56=8, Resulting Numbers: [16, 60, 8]
Generated Node #0,2: 20:[16, 60, 8] Operation: 64-56=8
Moving to Node #0,0
Current State: 20:[16, 56, 4], Operations: ['64-60=4']
Exploring Operation: 56-16=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 20:[4, 40] Operation: 56-16=40
Exploring Operation: 16+4=20, Resulting Numbers: [56, 20]
Generated Node #0,0,1: 20:[56, 20] Operation: 16+4=20
Exploring Operation: 56/4=14, Resulting Numbers: [16, 14]
Generated Node #0,0,2: 20:[16, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[16, 14], Operations: ['64-60=4', '56/4=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,20 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[4, 40], Operations: ['64-60=4', '56-16=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[56, 20], Operations: ['64-60=4', '16+4=20']
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,20 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: 20:[16, 60, 8], Operations: ['64-56=8']
Exploring Operation: 60-16=44, Resulting Numbers: [8, 44]
Generated Node #0,2,0: 20:[8, 44] Operation: 60-16=44
Exploring Operation: 16/8=2, Resulting Numbers: [60, 2]
Generated Node #0,2,1: 20:[60, 2] Operation: 16/8=2
Exploring Operation: 60-8=52, Resulting Numbers: [16, 52]
Generated Node #0,2,2: 20:[16, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[8, 44], Operations: ['64-56=8', '60-16=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,20 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[16, 52], Operations: ['64-56=8', '60-8=52']
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,20 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[60, 2], Operations: ['64-56=8', '16/8=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[16, 64, 4], Operations: ['60-56=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16, 16]
Generated Node #0,1,0: 20:[16, 16] Operation: 64/4=16
Exploring Operation: 64/16=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 20:[4, 4] Operation: 64/16=4
Exploring Operation: 64-16=48, Resulting Numbers: [4, 48]
Generated Node #0,1,2: 20:[4, 48] Operation: 64-16=48
Moving to Node #0,1,1
Current State: 20:[4, 4], Operations: ['60-56=4', '64/16=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[16, 16], Operations: ['60-56=4', '64/4=16']
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[4, 48], Operations: ['60-56=4', '64-16=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,20 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
72,
82,
74,
92
] | 20 | [
"74-72=2",
"92-82=10",
"2*10=20"
] | Current State: 20:[72, 82, 74, 92], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [82, 92, 2]
Generated Node #2: [82, 92, 2] from Operation: 74-72=2
Current State: 20:[82, 92, 2], Operations: ['74-72=2']
Exploring Operation: 92-82=10, Resulting Numbers: [2, 10]
Generated Node #3: [2, 10] from Operation: 92-82=10
Current State: 20:[2, 10], Operations: ['74-72=2', '92-82=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[72, 82, 74, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [72, 74, 10]
Generated Node #0,0: 20:[72, 74, 10] Operation: 92-82=10
Exploring Operation: 92-72=20, Resulting Numbers: [82, 74, 20]
Generated Node #0,1: 20:[82, 74, 20] Operation: 92-72=20
Moving to Node #0,0
Current State: 20:[72, 74, 10], Operations: ['92-82=10']
Exploring Operation: 74-72=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 74-72=2
Exploring Operation: 72-10=62, Resulting Numbers: [74, 62]
Generated Node #0,0,1: 20:[74, 62] Operation: 72-10=62
Moving to Node #0,1
Current State: 20:[82, 74, 20], Operations: ['92-72=20']
Exploring Operation: 82-20=62, Resulting Numbers: [74, 62]
Generated Node #0,1,0: 20:[74, 62] Operation: 82-20=62
Exploring Operation: 82-74=8, Resulting Numbers: [20, 8]
Generated Node #0,1,1: 20:[20, 8] Operation: 82-74=8
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['92-82=10', '74-72=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[72, 82, 74, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [72, 74, 10]
Generated Node #0,0: 20:[72, 74, 10] Operation: 92-82=10
Moving to Node #0,0
Current State: 20:[72, 74, 10], Operations: ['92-82=10']
Exploring Operation: 74-72=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 74-72=2
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['92-82=10', '74-72=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
87,
40,
97,
54
] | 50 | [
"97-87=10",
"40/10=4",
"54-4=50"
] | Current State: 50:[87, 40, 97, 54], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [40, 54, 10]
Generated Node #2: [40, 54, 10] from Operation: 97-87=10
Current State: 50:[40, 54, 10], Operations: ['97-87=10']
Exploring Operation: 40/10=4, Resulting Numbers: [54, 4]
Generated Node #3: [54, 4] from Operation: 40/10=4
Current State: 50:[54, 4], Operations: ['97-87=10', '40/10=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[87, 40, 97, 54], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [40, 54, 10]
Generated Node #0,0: 50:[40, 54, 10] Operation: 97-87=10
Moving to Node #0,0
Current State: 50:[40, 54, 10], Operations: ['97-87=10']
Exploring Operation: 54-40=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 50:[10, 14] Operation: 54-40=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[10, 14], Operations: ['97-87=10', '54-40=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,50 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 |
[
67,
49,
45,
83
] | 12 | [
"67+49=116",
"45+83=128",
"128-116=12"
] | Current State: 12:[67, 49, 45, 83], Operations: []
Exploring Operation: 67+49=116, Resulting Numbers: [45, 83, 116]
Generated Node #2: [45, 83, 116] from Operation: 67+49=116
Current State: 12:[45, 83, 116], Operations: ['67+49=116']
Exploring Operation: 45+83=128, Resulting Numbers: [116, 128]
Generated Node #3: [116, 128] from Operation: 45+83=128
Current State: 12:[116, 128], Operations: ['67+49=116', '45+83=128']
Exploring Operation: 128-116=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[67, 49, 45, 83], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [49, 45, 16]
Generated Node #0,0: 12:[49, 45, 16] Operation: 83-67=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[49, 45, 16], Operations: ['83-67=16']
Exploring Operation: 49-45=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 12:[16, 4] Operation: 49-45=4
Moving to Node #0,0,0
Current State: 12:[16, 4], Operations: ['83-67=16', '49-45=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[67, 49, 45, 83], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [49, 45, 16]
Generated Node #0,0: 12:[49, 45, 16] Operation: 83-67=16
Moving to Node #0,0
Current State: 12:[49, 45, 16], Operations: ['83-67=16']
Exploring Operation: 49-45=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 12:[16, 4] Operation: 49-45=4
Moving to Node #0,0,0
Current State: 12:[16, 4], Operations: ['83-67=16', '49-45=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
45,
19,
88,
69
] | 62 | [
"45+88=133",
"133/19=7",
"69-7=62"
] | Current State: 62:[45, 19, 88, 69], Operations: []
Exploring Operation: 45+88=133, Resulting Numbers: [19, 69, 133]
Generated Node #2: [19, 69, 133] from Operation: 45+88=133
Current State: 62:[19, 69, 133], Operations: ['45+88=133']
Exploring Operation: 133/19=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 133/19=7
Current State: 62:[69, 7], Operations: ['45+88=133', '133/19=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[45, 19, 88, 69], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [19, 69, 43]
Generated Node #0,0: 62:[19, 69, 43] Operation: 88-45=43
Exploring Operation: 45-19=26, Resulting Numbers: [88, 69, 26]
Generated Node #0,1: 62:[88, 69, 26] Operation: 45-19=26
Exploring Operation: 45+19=64, Resulting Numbers: [88, 69, 64]
Generated Node #0,2: 62:[88, 69, 64] Operation: 45+19=64
Exploring Operation: 88-19=69, Resulting Numbers: [45, 69, 69]
Generated Node #0,3: 62:[45, 69, 69] Operation: 88-19=69
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[45, 69, 69], Operations: ['88-19=69']
Exploring Operation: 69-69=0, Resulting Numbers: [45, 0]
Generated Node #0,3,0: 62:[45, 0] Operation: 69-69=0
Exploring Operation: 69-45=24, Resulting Numbers: [69, 24]
Generated Node #0,3,1: 62:[69, 24] Operation: 69-45=24
Exploring Operation: 69-45=24, Resulting Numbers: [69, 24]
Generated Node #0,3,2: 62:[69, 24] Operation: 69-45=24
Exploring Operation: 69/69=1, Resulting Numbers: [45, 1]
Generated Node #0,3,3: 62:[45, 1] Operation: 69/69=1
Moving to Node #0,3,1
Current State: 62:[69, 24], Operations: ['88-19=69', '69-45=24']
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,62 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[69, 24], Operations: ['88-19=69', '69-45=24']
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,62 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[45, 1], Operations: ['88-19=69', '69/69=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[45, 0], Operations: ['88-19=69', '69-69=0']
Exploring Operation: 45+0=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 45*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 45-0=45, Resulting Numbers: [45]
45,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
Current State: 62:[19, 69, 43], Operations: ['88-45=43']
Exploring Operation: 69-43=26, Resulting Numbers: [19, 26]
Generated Node #0,0,0: 62:[19, 26] Operation: 69-43=26
Exploring Operation: 69-19=50, Resulting Numbers: [43, 50]
Generated Node #0,0,1: 62:[43, 50] Operation: 69-19=50
Exploring Operation: 43-19=24, Resulting Numbers: [69, 24]
Generated Node #0,0,2: 62:[69, 24] Operation: 43-19=24
Exploring Operation: 19+43=62, Resulting Numbers: [69, 62]
Generated Node #0,0,3: 62:[69, 62] Operation: 19+43=62
Moving to Node #0,0,3
Current State: 62:[69, 62], Operations: ['88-45=43', '19+43=62']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[69, 24], Operations: ['88-45=43', '43-19=24']
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[19, 26], Operations: ['88-45=43', '69-43=26']
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[43, 50], Operations: ['88-45=43', '69-19=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,62 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,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,2
Current State: 62:[88, 69, 64], Operations: ['45+19=64']
Exploring Operation: 88+69=157, Resulting Numbers: [64, 157]
Generated Node #0,2,0: 62:[64, 157] Operation: 88+69=157
Exploring Operation: 88-64=24, Resulting Numbers: [69, 24]
Generated Node #0,2,1: 62:[69, 24] Operation: 88-64=24
Exploring Operation: 88-69=19, Resulting Numbers: [64, 19]
Generated Node #0,2,2: 62:[64, 19] Operation: 88-69=19
Exploring Operation: 69-64=5, Resulting Numbers: [88, 5]
Generated Node #0,2,3: 62:[88, 5] Operation: 69-64=5
Moving to Node #0,2,1
Current State: 62:[69, 24], Operations: ['45+19=64', '88-64=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[64, 19], Operations: ['45+19=64', '88-69=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,62 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[88, 5], Operations: ['45+19=64', '69-64=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[64, 157], Operations: ['45+19=64', '88+69=157']
Exploring Operation: 64+157=221, Resulting Numbers: [221]
221,62 unequal: No Solution
Exploring Operation: 157-64=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 64*157=10048, Resulting Numbers: [10048]
10048,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
Current State: 62:[88, 69, 26], Operations: ['45-19=26']
Exploring Operation: 88-26=62, Resulting Numbers: [69, 62]
Generated Node #0,1,0: 62:[69, 62] Operation: 88-26=62
Exploring Operation: 88-69=19, Resulting Numbers: [26, 19]
Generated Node #0,1,1: 62:[26, 19] Operation: 88-69=19
Exploring Operation: 69-26=43, Resulting Numbers: [88, 43]
Generated Node #0,1,2: 62:[88, 43] Operation: 69-26=43
Exploring Operation: 88+26=114, Resulting Numbers: [69, 114]
Generated Node #0,1,3: 62:[69, 114] Operation: 88+26=114
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[69, 62], Operations: ['45-19=26', '88-26=62']
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[26, 19], Operations: ['45-19=26', '88-69=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,62 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[88, 43], Operations: ['45-19=26', '69-26=43']
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,62 unequal: No Solution
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 62:[69, 114], Operations: ['45-19=26', '88+26=114']
Exploring Operation: 114-69=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 69*114=7866, Resulting Numbers: [7866]
7866,62 unequal: No Solution
Exploring Operation: 69+114=183, Resulting Numbers: [183]
183,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
15,
7,
93
] | 73 | [
"12+15=27",
"7+93=100",
"100-27=73"
] | Current State: 73:[12, 15, 7, 93], Operations: []
Exploring Operation: 12+15=27, Resulting Numbers: [7, 93, 27]
Generated Node #2: [7, 93, 27] from Operation: 12+15=27
Current State: 73:[7, 93, 27], Operations: ['12+15=27']
Exploring Operation: 7+93=100, Resulting Numbers: [27, 100]
Generated Node #3: [27, 100] from Operation: 7+93=100
Current State: 73:[27, 100], Operations: ['12+15=27', '7+93=100']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[12, 15, 7, 93], Operations: []
Exploring Operation: 12*7=84, Resulting Numbers: [15, 93, 84]
Generated Node #0,0: 73:[15, 93, 84] Operation: 12*7=84
Moving to Node #0,0
Current State: 73:[15, 93, 84], Operations: ['12*7=84']
Exploring Operation: 93-15=78, Resulting Numbers: [84, 78]
Generated Node #0,0,0: 73:[84, 78] Operation: 93-15=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[84, 78], Operations: ['12*7=84', '93-15=78']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,73 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 |
[
84,
99,
86,
85
] | 92 | [
"86-84=2",
"99+85=184",
"184/2=92"
] | Current State: 92:[84, 99, 86, 85], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [99, 85, 2]
Generated Node #2: [99, 85, 2] from Operation: 86-84=2
Current State: 92:[99, 85, 2], Operations: ['86-84=2']
Exploring Operation: 99+85=184, Resulting Numbers: [2, 184]
Generated Node #3: [2, 184] from Operation: 99+85=184
Current State: 92:[2, 184], Operations: ['86-84=2', '99+85=184']
Exploring Operation: 184/2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[84, 99, 86, 85], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [84, 99, 1]
Generated Node #0,0: 92:[84, 99, 1] Operation: 86-85=1
Exploring Operation: 99-84=15, Resulting Numbers: [86, 85, 15]
Generated Node #0,1: 92:[86, 85, 15] Operation: 99-84=15
Exploring Operation: 86-84=2, Resulting Numbers: [99, 85, 2]
Generated Node #0,2: 92:[99, 85, 2] Operation: 86-84=2
Exploring Operation: 85-84=1, Resulting Numbers: [99, 86, 1]
Generated Node #0,3: 92:[99, 86, 1] Operation: 85-84=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[99, 85, 2], Operations: ['86-84=2']
Exploring Operation: 99+2=101, Resulting Numbers: [85, 101]
Generated Node #0,2,0: 92:[85, 101] Operation: 99+2=101
Exploring Operation: 99-85=14, Resulting Numbers: [2, 14]
Generated Node #0,2,1: 92:[2, 14] Operation: 99-85=14
Exploring Operation: 99-2=97, Resulting Numbers: [85, 97]
Generated Node #0,2,2: 92:[85, 97] Operation: 99-2=97
Exploring Operation: 85+2=87, Resulting Numbers: [99, 87]
Generated Node #0,2,3: 92:[99, 87] Operation: 85+2=87
Moving to Node #0,2,1
Current State: 92:[2, 14], Operations: ['86-84=2', '99-85=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[99, 87], Operations: ['86-84=2', '85+2=87']
Exploring Operation: 99*87=8613, Resulting Numbers: [8613]
8613,92 unequal: No Solution
Exploring Operation: 99+87=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[85, 97], Operations: ['86-84=2', '99-2=97']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 85*97=8245, Resulting Numbers: [8245]
8245,92 unequal: No Solution
Exploring Operation: 85+97=182, Resulting Numbers: [182]
182,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[85, 101], Operations: ['86-84=2', '99+2=101']
Exploring Operation: 85*101=8585, Resulting Numbers: [8585]
8585,92 unequal: No Solution
Exploring Operation: 85+101=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Exploring Operation: 101-85=16, Resulting Numbers: [16]
16,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[99, 86, 1], Operations: ['85-84=1']
Exploring Operation: 86+1=87, Resulting Numbers: [99, 87]
Generated Node #0,3,0: 92:[99, 87] Operation: 86+1=87
Exploring Operation: 99*1=99, Resulting Numbers: [86, 99]
Generated Node #0,3,1: 92:[86, 99] Operation: 99*1=99
Exploring Operation: 99-86=13, Resulting Numbers: [1, 13]
Generated Node #0,3,2: 92:[1, 13] Operation: 99-86=13
Exploring Operation: 99-1=98, Resulting Numbers: [86, 98]
Generated Node #0,3,3: 92:[86, 98] Operation: 99-1=98
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[1, 13], Operations: ['85-84=1', '99-86=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,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,3,0
Current State: 92:[99, 87], Operations: ['85-84=1', '86+1=87']
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 99*87=8613, Resulting Numbers: [8613]
8613,92 unequal: No Solution
Exploring Operation: 99+87=186, Resulting Numbers: [186]
186,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,3,3
Current State: 92:[86, 98], Operations: ['85-84=1', '99-1=98']
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 86*98=8428, Resulting Numbers: [8428]
8428,92 unequal: No Solution
Exploring Operation: 86+98=184, Resulting Numbers: [184]
184,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,3,1
Current State: 92:[86, 99], Operations: ['85-84=1', '99*1=99']
Exploring Operation: 86*99=8514, Resulting Numbers: [8514]
8514,92 unequal: No Solution
Exploring Operation: 86+99=185, Resulting Numbers: [185]
185,92 unequal: No Solution
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,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:[84, 99, 1], Operations: ['86-85=1']
Exploring Operation: 84+1=85, Resulting Numbers: [99, 85]
Generated Node #0,0,0: 92:[99, 85] Operation: 84+1=85
Exploring Operation: 99-84=15, Resulting Numbers: [1, 15]
Generated Node #0,0,1: 92:[1, 15] Operation: 99-84=15
Exploring Operation: 99-1=98, Resulting Numbers: [84, 98]
Generated Node #0,0,2: 92:[84, 98] Operation: 99-1=98
Exploring Operation: 84*1=84, Resulting Numbers: [99, 84]
Generated Node #0,0,3: 92:[99, 84] Operation: 84*1=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[1, 15], Operations: ['86-85=1', '99-84=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,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,0,0
Current State: 92:[99, 85], Operations: ['86-85=1', '84+1=85']
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 99+85=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Exploring Operation: 99*85=8415, Resulting Numbers: [8415]
8415,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,0,2
Current State: 92:[84, 98], Operations: ['86-85=1', '99-1=98']
Exploring Operation: 84*98=8232, Resulting Numbers: [8232]
8232,92 unequal: No Solution
Exploring Operation: 84+98=182, Resulting Numbers: [182]
182,92 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,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,0,3
Current State: 92:[99, 84], Operations: ['86-85=1', '84*1=84']
Exploring Operation: 99+84=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Exploring Operation: 99*84=8316, Resulting Numbers: [8316]
8316,92 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,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,1
Current State: 92:[86, 85, 15], Operations: ['99-84=15']
Exploring Operation: 86-15=71, Resulting Numbers: [85, 71]
Generated Node #0,1,0: 92:[85, 71] Operation: 86-15=71
Exploring Operation: 85+15=100, Resulting Numbers: [86, 100]
Generated Node #0,1,1: 92:[86, 100] Operation: 85+15=100
Exploring Operation: 86+15=101, Resulting Numbers: [85, 101]
Generated Node #0,1,2: 92:[85, 101] Operation: 86+15=101
Exploring Operation: 86-85=1, Resulting Numbers: [15, 1]
Generated Node #0,1,3: 92:[15, 1] Operation: 86-85=1
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[15, 1], Operations: ['99-84=15', '86-85=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,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,1
Current State: 92:[86, 100], Operations: ['99-84=15', '85+15=100']
Exploring Operation: 100-86=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 86+100=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Exploring Operation: 86*100=8600, Resulting Numbers: [8600]
8600,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:[85, 101], Operations: ['99-84=15', '86+15=101']
Exploring Operation: 85+101=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Exploring Operation: 85*101=8585, Resulting Numbers: [8585]
8585,92 unequal: No Solution
Exploring Operation: 101-85=16, Resulting Numbers: [16]
16,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:[85, 71], Operations: ['99-84=15', '86-15=71']
Exploring Operation: 85*71=6035, Resulting Numbers: [6035]
6035,92 unequal: No Solution
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
45,
8,
6,
44
] | 87 | [
"45-8=37",
"6+44=50",
"37+50=87"
] | Current State: 87:[45, 8, 6, 44], Operations: []
Exploring Operation: 45-8=37, Resulting Numbers: [6, 44, 37]
Generated Node #2: [6, 44, 37] from Operation: 45-8=37
Current State: 87:[6, 44, 37], Operations: ['45-8=37']
Exploring Operation: 6+44=50, Resulting Numbers: [37, 50]
Generated Node #3: [37, 50] from Operation: 6+44=50
Current State: 87:[37, 50], Operations: ['45-8=37', '6+44=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[45, 8, 6, 44], Operations: []
Exploring Operation: 45+44=89, Resulting Numbers: [8, 6, 89]
Generated Node #0,0: 87:[8, 6, 89] Operation: 45+44=89
Exploring Operation: 44-8=36, Resulting Numbers: [45, 6, 36]
Generated Node #0,1: 87:[45, 6, 36] Operation: 44-8=36
Exploring Operation: 45-44=1, Resulting Numbers: [8, 6, 1]
Generated Node #0,2: 87:[8, 6, 1] Operation: 45-44=1
Exploring Operation: 45-8=37, Resulting Numbers: [6, 44, 37]
Generated Node #0,3: 87:[6, 44, 37] Operation: 45-8=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[8, 6, 89], Operations: ['45+44=89']
Exploring Operation: 8+6=14, Resulting Numbers: [89, 14]
Generated Node #0,0,0: 87:[89, 14] Operation: 8+6=14
Exploring Operation: 89-6=83, Resulting Numbers: [8, 83]
Generated Node #0,0,1: 87:[8, 83] Operation: 89-6=83
Exploring Operation: 89-8=81, Resulting Numbers: [6, 81]
Generated Node #0,0,2: 87:[6, 81] Operation: 89-8=81
Exploring Operation: 8-6=2, Resulting Numbers: [89, 2]
Generated Node #0,0,3: 87:[89, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[89, 2], Operations: ['45+44=89', '8-6=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[45, 8, 6, 44], Operations: []
Exploring Operation: 45+44=89, Resulting Numbers: [8, 6, 89]
Generated Node #0,0: 87:[8, 6, 89] Operation: 45+44=89
Moving to Node #0,0
Current State: 87:[8, 6, 89], Operations: ['45+44=89']
Exploring Operation: 8-6=2, Resulting Numbers: [89, 2]
Generated Node #0,0,3: 87:[89, 2] Operation: 8-6=2
Moving to Node #0,0,3
Current State: 87:[89, 2], Operations: ['45+44=89', '8-6=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
23,
7,
69,
79
] | 100 | [
"69/23=3",
"7*3=21",
"79+21=100"
] | Current State: 100:[23, 7, 69, 79], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [7, 79, 3]
Generated Node #2: [7, 79, 3] from Operation: 69/23=3
Current State: 100:[7, 79, 3], Operations: ['69/23=3']
Exploring Operation: 7*3=21, Resulting Numbers: [79, 21]
Generated Node #3: [79, 21] from Operation: 7*3=21
Current State: 100:[79, 21], Operations: ['69/23=3', '7*3=21']
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[23, 7, 69, 79], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [7, 79, 3]
Generated Node #0,0: 100:[7, 79, 3] Operation: 69/23=3
Exploring Operation: 79-69=10, Resulting Numbers: [23, 7, 10]
Generated Node #0,1: 100:[23, 7, 10] Operation: 79-69=10
Exploring Operation: 23+79=102, Resulting Numbers: [7, 69, 102]
Generated Node #0,2: 100:[7, 69, 102] Operation: 23+79=102
Moving to Node #0,1
Current State: 100:[23, 7, 10], Operations: ['79-69=10']
Exploring Operation: 23+7=30, Resulting Numbers: [10, 30]
Generated Node #0,1,0: 100:[10, 30] Operation: 23+7=30
Exploring Operation: 10-7=3, Resulting Numbers: [23, 3]
Generated Node #0,1,1: 100:[23, 3] Operation: 10-7=3
Exploring Operation: 23-7=16, Resulting Numbers: [10, 16]
Generated Node #0,1,2: 100:[10, 16] Operation: 23-7=16
Moving to Node #0,2
Current State: 100:[7, 69, 102], Operations: ['23+79=102']
Exploring Operation: 102-69=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 100:[7, 33] Operation: 102-69=33
Exploring Operation: 102-7=95, Resulting Numbers: [69, 95]
Generated Node #0,2,1: 100:[69, 95] Operation: 102-7=95
Exploring Operation: 69-7=62, Resulting Numbers: [102, 62]
Generated Node #0,2,2: 100:[102, 62] Operation: 69-7=62
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[7, 33], Operations: ['23+79=102', '102-69=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,100 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[102, 62], Operations: ['23+79=102', '69-7=62']
Exploring Operation: 102-62=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 102+62=164, Resulting Numbers: [164]
164,100 unequal: No Solution
Exploring Operation: 102*62=6324, Resulting Numbers: [6324]
6324,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[69, 95], Operations: ['23+79=102', '102-7=95']
Exploring Operation: 69+95=164, Resulting Numbers: [164]
164,100 unequal: No Solution
Exploring Operation: 69*95=6555, Resulting Numbers: [6555]
6555,100 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 100:[7, 79, 3], Operations: ['69/23=3']
Exploring Operation: 7+79=86, Resulting Numbers: [3, 86]
Generated Node #0,0,0: 100:[3, 86] Operation: 7+79=86
Exploring Operation: 7+3=10, Resulting Numbers: [79, 10]
Generated Node #0,0,1: 100:[79, 10] Operation: 7+3=10
Exploring Operation: 79+3=82, Resulting Numbers: [7, 82]
Generated Node #0,0,2: 100:[7, 82] Operation: 79+3=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[3, 86], Operations: ['69/23=3', '7+79=86']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,100 unequal: No Solution
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,100 unequal: No Solution
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[7, 82], Operations: ['69/23=3', '79+3=82']
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,100 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,100 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[79, 10], Operations: ['69/23=3', '7+3=10']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,100 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,100 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: 100:[23, 3], Operations: ['79-69=10', '10-7=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[10, 16], Operations: ['79-69=10', '23-7=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,100 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[10, 30], Operations: ['79-69=10', '23+7=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,100 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
82,
41,
3,
30
] | 25 | [
"82/41=2",
"30-3=27",
"27-2=25"
] | Current State: 25:[82, 41, 3, 30], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [3, 30, 2]
Generated Node #2: [3, 30, 2] from Operation: 82/41=2
Current State: 25:[3, 30, 2], Operations: ['82/41=2']
Exploring Operation: 30-3=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 30-3=27
Current State: 25:[2, 27], Operations: ['82/41=2', '30-3=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[82, 41, 3, 30], Operations: []
Exploring Operation: 82-30=52, Resulting Numbers: [41, 3, 52]
Generated Node #0,0: 25:[41, 3, 52] Operation: 82-30=52
Exploring Operation: 82-41=41, Resulting Numbers: [3, 30, 41]
Generated Node #0,1: 25:[3, 30, 41] Operation: 82-41=41
Exploring Operation: 41-30=11, Resulting Numbers: [82, 3, 11]
Generated Node #0,2: 25:[82, 3, 11] Operation: 41-30=11
Exploring Operation: 82-3=79, Resulting Numbers: [41, 30, 79]
Generated Node #0,3: 25:[41, 30, 79] Operation: 82-3=79
Exploring Operation: 82/41=2, Resulting Numbers: [3, 30, 2]
Generated Node #0,4: 25:[3, 30, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[3, 30, 2], Operations: ['82/41=2']
Exploring Operation: 3+2=5, Resulting Numbers: [30, 5]
Generated Node #0,4,0: 25:[30, 5] Operation: 3+2=5
Exploring Operation: 3*2=6, Resulting Numbers: [30, 6]
Generated Node #0,4,1: 25:[30, 6] Operation: 3*2=6
Exploring Operation: 30/3=10, Resulting Numbers: [2, 10]
Generated Node #0,4,2: 25:[2, 10] Operation: 30/3=10
Exploring Operation: 30-2=28, Resulting Numbers: [3, 28]
Generated Node #0,4,3: 25:[3, 28] Operation: 30-2=28
Exploring Operation: 30-3=27, Resulting Numbers: [2, 27]
Generated Node #0,4,4: 25:[2, 27] Operation: 30-3=27
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[30, 5], Operations: ['82/41=2', '3+2=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[82, 41, 3, 30], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [3, 30, 2]
Generated Node #0,4: 25:[3, 30, 2] Operation: 82/41=2
Moving to Node #0,4
Current State: 25:[3, 30, 2], Operations: ['82/41=2']
Exploring Operation: 3+2=5, Resulting Numbers: [30, 5]
Generated Node #0,4,0: 25:[30, 5] Operation: 3+2=5
Moving to Node #0,4,0
Current State: 25:[30, 5], Operations: ['82/41=2', '3+2=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
45,
37,
95,
20
] | 88 | [
"45*37=1665",
"95+1665=1760",
"1760/20=88"
] | Current State: 88:[45, 37, 95, 20], Operations: []
Exploring Operation: 45*37=1665, Resulting Numbers: [95, 20, 1665]
Generated Node #2: [95, 20, 1665] from Operation: 45*37=1665
Current State: 88:[95, 20, 1665], Operations: ['45*37=1665']
Exploring Operation: 95+1665=1760, Resulting Numbers: [20, 1760]
Generated Node #3: [20, 1760] from Operation: 95+1665=1760
Current State: 88:[20, 1760], Operations: ['45*37=1665', '95+1665=1760']
Exploring Operation: 1760/20=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[45, 37, 95, 20], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [95, 20, 8]
Generated Node #0,0: 88:[95, 20, 8] Operation: 45-37=8
Exploring Operation: 37-20=17, Resulting Numbers: [45, 95, 17]
Generated Node #0,1: 88:[45, 95, 17] Operation: 37-20=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[95, 20, 8], Operations: ['45-37=8']
Exploring Operation: 95-8=87, Resulting Numbers: [20, 87]
Generated Node #0,0,0: 88:[20, 87] Operation: 95-8=87
Exploring Operation: 20-8=12, Resulting Numbers: [95, 12]
Generated Node #0,0,1: 88:[95, 12] Operation: 20-8=12
Moving to Node #0,0,0
Current State: 88:[20, 87], Operations: ['45-37=8', '95-8=87']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[95, 12], Operations: ['45-37=8', '20-8=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,88 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[45, 95, 17], Operations: ['37-20=17']
Exploring Operation: 95-45=50, Resulting Numbers: [17, 50]
Generated Node #0,1,0: 88:[17, 50] Operation: 95-45=50
Exploring Operation: 95-17=78, Resulting Numbers: [45, 78]
Generated Node #0,1,1: 88:[45, 78] Operation: 95-17=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[17, 50], Operations: ['37-20=17', '95-45=50']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[45, 78], Operations: ['37-20=17', '95-17=78']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 45+78=123, Resulting Numbers: [123]
123,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
67,
77,
76
] | 83 | [
"67-56=11",
"77/11=7",
"76+7=83"
] | Current State: 83:[56, 67, 77, 76], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [77, 76, 11]
Generated Node #2: [77, 76, 11] from Operation: 67-56=11
Current State: 83:[77, 76, 11], Operations: ['67-56=11']
Exploring Operation: 77/11=7, Resulting Numbers: [76, 7]
Generated Node #3: [76, 7] from Operation: 77/11=7
Current State: 83:[76, 7], Operations: ['67-56=11', '77/11=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[56, 67, 77, 76], Operations: []
Exploring Operation: 56+76=132, Resulting Numbers: [67, 77, 132]
Generated Node #0,0: 83:[67, 77, 132] Operation: 56+76=132
Exploring Operation: 56+67=123, Resulting Numbers: [77, 76, 123]
Generated Node #0,1: 83:[77, 76, 123] Operation: 56+67=123
Exploring Operation: 67-56=11, Resulting Numbers: [77, 76, 11]
Generated Node #0,2: 83:[77, 76, 11] Operation: 67-56=11
Exploring Operation: 56+77=133, Resulting Numbers: [67, 76, 133]
Generated Node #0,3: 83:[67, 76, 133] Operation: 56+77=133
Moving to Node #0,1
Current State: 83:[77, 76, 123], Operations: ['56+67=123']
Exploring Operation: 123-76=47, Resulting Numbers: [77, 47]
Generated Node #0,1,0: 83:[77, 47] Operation: 123-76=47
Exploring Operation: 123-77=46, Resulting Numbers: [76, 46]
Generated Node #0,1,1: 83:[76, 46] Operation: 123-77=46
Exploring Operation: 77+76=153, Resulting Numbers: [123, 153]
Generated Node #0,1,2: 83:[123, 153] Operation: 77+76=153
Exploring Operation: 77-76=1, Resulting Numbers: [123, 1]
Generated Node #0,1,3: 83:[123, 1] Operation: 77-76=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[77, 47], Operations: ['56+67=123', '123-76=47']
Exploring Operation: 77+47=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 77*47=3619, Resulting Numbers: [3619]
3619,83 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[76, 46], Operations: ['56+67=123', '123-77=46']
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,83 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,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,2
Current State: 83:[123, 153], Operations: ['56+67=123', '77+76=153']
Exploring Operation: 123+153=276, Resulting Numbers: [276]
276,83 unequal: No Solution
Exploring Operation: 123*153=18819, Resulting Numbers: [18819]
18819,83 unequal: No Solution
Exploring Operation: 153-123=30, Resulting Numbers: [30]
30,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,3
Current State: 83:[123, 1], Operations: ['56+67=123', '77-76=1']
Exploring Operation: 123/1=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 123+1=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 123-1=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 123*1=123, Resulting Numbers: [123]
123,83 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: 83:[67, 77, 132], Operations: ['56+76=132']
Exploring Operation: 132-77=55, Resulting Numbers: [67, 55]
Generated Node #0,0,0: 83:[67, 55] Operation: 132-77=55
Exploring Operation: 132-67=65, Resulting Numbers: [77, 65]
Generated Node #0,0,1: 83:[77, 65] Operation: 132-67=65
Exploring Operation: 67+77=144, Resulting Numbers: [132, 144]
Generated Node #0,0,2: 83:[132, 144] Operation: 67+77=144
Exploring Operation: 77-67=10, Resulting Numbers: [132, 10]
Generated Node #0,0,3: 83:[132, 10] Operation: 77-67=10
Moving to Node #0,3
Current State: 83:[67, 76, 133], Operations: ['56+77=133']
Exploring Operation: 133-67=66, Resulting Numbers: [76, 66]
Generated Node #0,3,0: 83:[76, 66] Operation: 133-67=66
Exploring Operation: 133-76=57, Resulting Numbers: [67, 57]
Generated Node #0,3,1: 83:[67, 57] Operation: 133-76=57
Exploring Operation: 76-67=9, Resulting Numbers: [133, 9]
Generated Node #0,3,2: 83:[133, 9] Operation: 76-67=9
Exploring Operation: 67+76=143, Resulting Numbers: [133, 143]
Generated Node #0,3,3: 83:[133, 143] Operation: 67+76=143
Moving to Node #0,2
Current State: 83:[77, 76, 11], Operations: ['67-56=11']
Exploring Operation: 77+11=88, Resulting Numbers: [76, 88]
Generated Node #0,2,0: 83:[76, 88] Operation: 77+11=88
Exploring Operation: 77-11=66, Resulting Numbers: [76, 66]
Generated Node #0,2,1: 83:[76, 66] Operation: 77-11=66
Exploring Operation: 76+11=87, Resulting Numbers: [77, 87]
Generated Node #0,2,2: 83:[77, 87] Operation: 76+11=87
Exploring Operation: 76-11=65, Resulting Numbers: [77, 65]
Generated Node #0,2,3: 83:[77, 65] Operation: 76-11=65
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[77, 87], Operations: ['67-56=11', '76+11=87']
Exploring Operation: 77*87=6699, Resulting Numbers: [6699]
6699,83 unequal: No Solution
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 77+87=164, Resulting Numbers: [164]
164,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[76, 88], Operations: ['67-56=11', '77+11=88']
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[76, 66], Operations: ['67-56=11', '77-11=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[77, 65], Operations: ['67-56=11', '76-11=65']
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 77*65=5005, Resulting Numbers: [5005]
5005,83 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: 83:[77, 65], Operations: ['56+76=132', '132-67=65']
Exploring Operation: 77*65=5005, Resulting Numbers: [5005]
5005,83 unequal: No Solution
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[76, 66], Operations: ['56+77=133', '133-67=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[67, 57], Operations: ['56+77=133', '133-76=57']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[67, 55], Operations: ['56+76=132', '132-77=55']
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,83 unequal: No Solution
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[132, 144], Operations: ['56+76=132', '67+77=144']
Exploring Operation: 132*144=19008, Resulting Numbers: [19008]
19008,83 unequal: No Solution
Exploring Operation: 132+144=276, Resulting Numbers: [276]
276,83 unequal: No Solution
Exploring Operation: 144-132=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[133, 143], Operations: ['56+77=133', '67+76=143']
Exploring Operation: 133+143=276, Resulting Numbers: [276]
276,83 unequal: No Solution
Exploring Operation: 143-133=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 133*143=19019, Resulting Numbers: [19019]
19019,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[132, 10], Operations: ['56+76=132', '77-67=10']
Exploring Operation: 132+10=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 132-10=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 132*10=1320, Resulting Numbers: [1320]
1320,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[133, 9], Operations: ['56+77=133', '76-67=9']
Exploring Operation: 133-9=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 133*9=1197, Resulting Numbers: [1197]
1197,83 unequal: No Solution
Exploring Operation: 133+9=142, Resulting Numbers: [142]
142,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
66,
77,
30
] | 57 | [
"66-56=10",
"77-30=47",
"10+47=57"
] | Current State: 57:[56, 66, 77, 30], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [77, 30, 10]
Generated Node #2: [77, 30, 10] from Operation: 66-56=10
Current State: 57:[77, 30, 10], Operations: ['66-56=10']
Exploring Operation: 77-30=47, Resulting Numbers: [10, 47]
Generated Node #3: [10, 47] from Operation: 77-30=47
Current State: 57:[10, 47], Operations: ['66-56=10', '77-30=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[56, 66, 77, 30], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [77, 30, 10]
Generated Node #0,0: 57:[77, 30, 10] Operation: 66-56=10
Exploring Operation: 56-30=26, Resulting Numbers: [66, 77, 26]
Generated Node #0,1: 57:[66, 77, 26] Operation: 56-30=26
Exploring Operation: 77-30=47, Resulting Numbers: [56, 66, 47]
Generated Node #0,2: 57:[56, 66, 47] Operation: 77-30=47
Exploring Operation: 77-66=11, Resulting Numbers: [56, 30, 11]
Generated Node #0,3: 57:[56, 30, 11] Operation: 77-66=11
Exploring Operation: 77-56=21, Resulting Numbers: [66, 30, 21]
Generated Node #0,4: 57:[66, 30, 21] Operation: 77-56=21
Moving to Node #0,2
Current State: 57:[56, 66, 47], Operations: ['77-30=47']
Exploring Operation: 66-56=10, Resulting Numbers: [47, 10]
Generated Node #0,2,0: 57:[47, 10] Operation: 66-56=10
Exploring Operation: 66+47=113, Resulting Numbers: [56, 113]
Generated Node #0,2,1: 57:[56, 113] Operation: 66+47=113
Exploring Operation: 56+47=103, Resulting Numbers: [66, 103]
Generated Node #0,2,2: 57:[66, 103] Operation: 56+47=103
Exploring Operation: 66-47=19, Resulting Numbers: [56, 19]
Generated Node #0,2,3: 57:[56, 19] Operation: 66-47=19
Exploring Operation: 56-47=9, Resulting Numbers: [66, 9]
Generated Node #0,2,4: 57:[66, 9] Operation: 56-47=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[56, 19], Operations: ['77-30=47', '66-47=19']
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,57 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[66, 9], Operations: ['77-30=47', '56-47=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[56, 66, 77, 30], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [56, 66, 47]
Generated Node #0,2: 57:[56, 66, 47] Operation: 77-30=47
Moving to Node #0,2
Current State: 57:[56, 66, 47], Operations: ['77-30=47']
Exploring Operation: 56-47=9, Resulting Numbers: [66, 9]
Generated Node #0,2,4: 57:[66, 9] Operation: 56-47=9
Moving to Node #0,2,4
Current State: 57:[66, 9], Operations: ['77-30=47', '56-47=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
1,
78,
88,
16
] | 27 | [
"78-1=77",
"88+16=104",
"104-77=27"
] | Current State: 27:[1, 78, 88, 16], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [88, 16, 77]
Generated Node #2: [88, 16, 77] from Operation: 78-1=77
Current State: 27:[88, 16, 77], Operations: ['78-1=77']
Exploring Operation: 88+16=104, Resulting Numbers: [77, 104]
Generated Node #3: [77, 104] from Operation: 88+16=104
Current State: 27:[77, 104], Operations: ['78-1=77', '88+16=104']
Exploring Operation: 104-77=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[1, 78, 88, 16], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [78, 16, 87]
Generated Node #0,0: 27:[78, 16, 87] Operation: 88-1=87
Exploring Operation: 78-1=77, Resulting Numbers: [88, 16, 77]
Generated Node #0,1: 27:[88, 16, 77] Operation: 78-1=77
Exploring Operation: 88-78=10, Resulting Numbers: [1, 16, 10]
Generated Node #0,2: 27:[1, 16, 10] Operation: 88-78=10
Exploring Operation: 78-16=62, Resulting Numbers: [1, 88, 62]
Generated Node #0,3: 27:[1, 88, 62] Operation: 78-16=62
Exploring Operation: 88-16=72, Resulting Numbers: [1, 78, 72]
Generated Node #0,4: 27:[1, 78, 72] Operation: 88-16=72
Moving to Node #0,2
Current State: 27:[1, 16, 10], Operations: ['88-78=10']
Exploring Operation: 10-1=9, Resulting Numbers: [16, 9]
Generated Node #0,2,0: 27:[16, 9] Operation: 10-1=9
Exploring Operation: 16-10=6, Resulting Numbers: [1, 6]
Generated Node #0,2,1: 27:[1, 6] Operation: 16-10=6
Exploring Operation: 16-1=15, Resulting Numbers: [10, 15]
Generated Node #0,2,2: 27:[10, 15] Operation: 16-1=15
Exploring Operation: 16+10=26, Resulting Numbers: [1, 26]
Generated Node #0,2,3: 27:[1, 26] Operation: 16+10=26
Exploring Operation: 1*16=16, Resulting Numbers: [10, 16]
Generated Node #0,2,4: 27:[10, 16] Operation: 1*16=16
Moving to Node #0,4
Current State: 27:[1, 78, 72], Operations: ['88-16=72']
Exploring Operation: 78-72=6, Resulting Numbers: [1, 6]
Generated Node #0,4,0: 27:[1, 6] Operation: 78-72=6
Exploring Operation: 72-1=71, Resulting Numbers: [78, 71]
Generated Node #0,4,1: 27:[78, 71] Operation: 72-1=71
Exploring Operation: 78/1=78, Resulting Numbers: [72, 78]
Generated Node #0,4,2: 27:[72, 78] Operation: 78/1=78
Exploring Operation: 1*78=78, Resulting Numbers: [72, 78]
Generated Node #0,4,3: 27:[72, 78] Operation: 1*78=78
Exploring Operation: 78-1=77, Resulting Numbers: [72, 77]
Generated Node #0,4,4: 27:[72, 77] Operation: 78-1=77
Moving to Node #0,3
Current State: 27:[1, 88, 62], Operations: ['78-16=62']
Exploring Operation: 62-1=61, Resulting Numbers: [88, 61]
Generated Node #0,3,0: 27:[88, 61] Operation: 62-1=61
Exploring Operation: 88-62=26, Resulting Numbers: [1, 26]
Generated Node #0,3,1: 27:[1, 26] Operation: 88-62=26
Exploring Operation: 1*88=88, Resulting Numbers: [62, 88]
Generated Node #0,3,2: 27:[62, 88] Operation: 1*88=88
Exploring Operation: 88-1=87, Resulting Numbers: [62, 87]
Generated Node #0,3,3: 27:[62, 87] Operation: 88-1=87
Exploring Operation: 88/1=88, Resulting Numbers: [62, 88]
Generated Node #0,3,4: 27:[62, 88] Operation: 88/1=88
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[1, 26], Operations: ['78-16=62', '88-62=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[1, 78, 88, 16], Operations: []
Exploring Operation: 78-16=62, Resulting Numbers: [1, 88, 62]
Generated Node #0,3: 27:[1, 88, 62] Operation: 78-16=62
Moving to Node #0,3
Current State: 27:[1, 88, 62], Operations: ['78-16=62']
Exploring Operation: 88-62=26, Resulting Numbers: [1, 26]
Generated Node #0,3,1: 27:[1, 26] Operation: 88-62=26
Moving to Node #0,3,1
Current State: 27:[1, 26], Operations: ['78-16=62', '88-62=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
25,
40,
81,
28
] | 68 | [
"40-25=15",
"81-28=53",
"15+53=68"
] | Current State: 68:[25, 40, 81, 28], Operations: []
Exploring Operation: 40-25=15, Resulting Numbers: [81, 28, 15]
Generated Node #2: [81, 28, 15] from Operation: 40-25=15
Current State: 68:[81, 28, 15], Operations: ['40-25=15']
Exploring Operation: 81-28=53, Resulting Numbers: [15, 53]
Generated Node #3: [15, 53] from Operation: 81-28=53
Current State: 68:[15, 53], Operations: ['40-25=15', '81-28=53']
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[25, 40, 81, 28], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [40, 81, 3]
Generated Node #0,0: 68:[40, 81, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[40, 81, 3], Operations: ['28-25=3']
Exploring Operation: 81-40=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 68:[3, 41] Operation: 81-40=41
Moving to Node #0,0,0
Current State: 68:[3, 41], Operations: ['28-25=3', '81-40=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,68 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 |
[
35,
3,
46,
22
] | 85 | [
"35-22=13",
"3*13=39",
"46+39=85"
] | Current State: 85:[35, 3, 46, 22], Operations: []
Exploring Operation: 35-22=13, Resulting Numbers: [3, 46, 13]
Generated Node #2: [3, 46, 13] from Operation: 35-22=13
Current State: 85:[3, 46, 13], Operations: ['35-22=13']
Exploring Operation: 3*13=39, Resulting Numbers: [46, 39]
Generated Node #3: [46, 39] from Operation: 3*13=39
Current State: 85:[46, 39], Operations: ['35-22=13', '3*13=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 3, 46, 22], Operations: []
Exploring Operation: 35+46=81, Resulting Numbers: [3, 22, 81]
Generated Node #0,0: 85:[3, 22, 81] Operation: 35+46=81
Exploring Operation: 46-35=11, Resulting Numbers: [3, 22, 11]
Generated Node #0,1: 85:[3, 22, 11] Operation: 46-35=11
Moving to Node #0,0
Current State: 85:[3, 22, 81], Operations: ['35+46=81']
Exploring Operation: 3+81=84, Resulting Numbers: [22, 84]
Generated Node #0,0,0: 85:[22, 84] Operation: 3+81=84
Exploring Operation: 22-3=19, Resulting Numbers: [81, 19]
Generated Node #0,0,1: 85:[81, 19] Operation: 22-3=19
Moving to Node #0,1
Current State: 85:[3, 22, 11], Operations: ['46-35=11']
Exploring Operation: 22/11=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 85:[3, 2] Operation: 22/11=2
Exploring Operation: 22-3=19, Resulting Numbers: [11, 19]
Generated Node #0,1,1: 85:[11, 19] Operation: 22-3=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[3, 2], Operations: ['46-35=11', '22/11=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[11, 19], Operations: ['46-35=11', '22-3=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 85:[22, 84], Operations: ['35+46=81', '3+81=84']
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[81, 19], Operations: ['35+46=81', '22-3=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
53,
10,
25
] | 21 | [
"53*10=530",
"530-5=525",
"525/25=21"
] | Current State: 21:[5, 53, 10, 25], Operations: []
Exploring Operation: 53*10=530, Resulting Numbers: [5, 25, 530]
Generated Node #2: [5, 25, 530] from Operation: 53*10=530
Current State: 21:[5, 25, 530], Operations: ['53*10=530']
Exploring Operation: 530-5=525, Resulting Numbers: [25, 525]
Generated Node #3: [25, 525] from Operation: 530-5=525
Current State: 21:[25, 525], Operations: ['53*10=530', '530-5=525']
Exploring Operation: 525/25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[5, 53, 10, 25], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [5, 25, 43]
Generated Node #0,0: 21:[5, 25, 43] Operation: 53-10=43
Exploring Operation: 10/5=2, Resulting Numbers: [53, 25, 2]
Generated Node #0,1: 21:[53, 25, 2] Operation: 10/5=2
Exploring Operation: 53-5=48, Resulting Numbers: [10, 25, 48]
Generated Node #0,2: 21:[10, 25, 48] Operation: 53-5=48
Exploring Operation: 25-5=20, Resulting Numbers: [53, 10, 20]
Generated Node #0,3: 21:[53, 10, 20] Operation: 25-5=20
Exploring Operation: 53-25=28, Resulting Numbers: [5, 10, 28]
Generated Node #0,4: 21:[5, 10, 28] Operation: 53-25=28
Moving to Node #0,4
Current State: 21:[5, 10, 28], Operations: ['53-25=28']
Exploring Operation: 10/5=2, Resulting Numbers: [28, 2]
Generated Node #0,4,0: 21:[28, 2] Operation: 10/5=2
Exploring Operation: 28-5=23, Resulting Numbers: [10, 23]
Generated Node #0,4,1: 21:[10, 23] Operation: 28-5=23
Exploring Operation: 28-10=18, Resulting Numbers: [5, 18]
Generated Node #0,4,2: 21:[5, 18] Operation: 28-10=18
Exploring Operation: 5+10=15, Resulting Numbers: [28, 15]
Generated Node #0,4,3: 21:[28, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [28, 5]
Generated Node #0,4,4: 21:[28, 5] Operation: 10-5=5
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 21:[10, 23], Operations: ['53-25=28', '28-5=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 21:[5, 18], Operations: ['53-25=28', '28-10=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 21:[28, 2], Operations: ['53-25=28', '10/5=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,21 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 21:[28, 5], Operations: ['53-25=28', '10-5=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,21 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 21:[28, 15], Operations: ['53-25=28', '5+10=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,21 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: 21:[5, 25, 43], Operations: ['53-10=43']
Exploring Operation: 43-25=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 21:[5, 18] Operation: 43-25=18
Exploring Operation: 25-5=20, Resulting Numbers: [43, 20]
Generated Node #0,0,1: 21:[43, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [43, 5]
Generated Node #0,0,2: 21:[43, 5] Operation: 25/5=5
Exploring Operation: 5+25=30, Resulting Numbers: [43, 30]
Generated Node #0,0,3: 21:[43, 30] Operation: 5+25=30
Exploring Operation: 43-5=38, Resulting Numbers: [25, 38]
Generated Node #0,0,4: 21:[25, 38] Operation: 43-5=38
Moving to Node #0,2
Current State: 21:[10, 25, 48], Operations: ['53-5=48']
Exploring Operation: 10+48=58, Resulting Numbers: [25, 58]
Generated Node #0,2,0: 21:[25, 58] Operation: 10+48=58
Exploring Operation: 48-10=38, Resulting Numbers: [25, 38]
Generated Node #0,2,1: 21:[25, 38] Operation: 48-10=38
Exploring Operation: 10+25=35, Resulting Numbers: [48, 35]
Generated Node #0,2,2: 21:[48, 35] Operation: 10+25=35
Exploring Operation: 25-10=15, Resulting Numbers: [48, 15]
Generated Node #0,2,3: 21:[48, 15] Operation: 25-10=15
Exploring Operation: 48-25=23, Resulting Numbers: [10, 23]
Generated Node #0,2,4: 21:[10, 23] Operation: 48-25=23
Moving to Node #0,3
Current State: 21:[53, 10, 20], Operations: ['25-5=20']
Exploring Operation: 20-10=10, Resulting Numbers: [53, 10]
Generated Node #0,3,0: 21:[53, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [53, 2]
Generated Node #0,3,1: 21:[53, 2] Operation: 20/10=2
Exploring Operation: 53-20=33, Resulting Numbers: [10, 33]
Generated Node #0,3,2: 21:[10, 33] Operation: 53-20=33
Exploring Operation: 10+20=30, Resulting Numbers: [53, 30]
Generated Node #0,3,3: 21:[53, 30] Operation: 10+20=30
Exploring Operation: 53-10=43, Resulting Numbers: [20, 43]
Generated Node #0,3,4: 21:[20, 43] Operation: 53-10=43
Moving to Node #0,1
Current State: 21:[53, 25, 2], Operations: ['10/5=2']
Exploring Operation: 25-2=23, Resulting Numbers: [53, 23]
Generated Node #0,1,0: 21:[53, 23] Operation: 25-2=23
Exploring Operation: 25+2=27, Resulting Numbers: [53, 27]
Generated Node #0,1,1: 21:[53, 27] Operation: 25+2=27
Exploring Operation: 53-25=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 21:[2, 28] Operation: 53-25=28
Exploring Operation: 53-2=51, Resulting Numbers: [25, 51]
Generated Node #0,1,3: 21:[25, 51] Operation: 53-2=51
Exploring Operation: 53+2=55, Resulting Numbers: [25, 55]
Generated Node #0,1,4: 21:[25, 55] Operation: 53+2=55
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[2, 28], Operations: ['10/5=2', '53-25=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,21 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[53, 23], Operations: ['10/5=2', '25-2=23']
Exploring Operation: 53+23=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 53*23=1219, Resulting Numbers: [1219]
1219,21 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[25, 51], Operations: ['10/5=2', '53-2=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[53, 27], Operations: ['10/5=2', '25+2=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,21 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 21:[25, 55], Operations: ['10/5=2', '53+2=55']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 21:[5, 18], Operations: ['53-10=43', '43-25=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[10, 23], Operations: ['53-5=48', '48-25=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[10, 33], Operations: ['25-5=20', '53-20=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[25, 38], Operations: ['53-5=48', '48-10=38']
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,21 unequal: No Solution
Moving to Node #0,0,4
Current State: 21:[25, 38], Operations: ['53-10=43', '43-5=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,21 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[43, 20], Operations: ['53-10=43', '25-5=20']
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,21 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Moving to Node #0,3,4
Current State: 21:[20, 43], Operations: ['25-5=20', '53-10=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[43, 5], Operations: ['53-10=43', '25/5=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[43, 30], Operations: ['53-10=43', '5+25=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,21 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[48, 15], Operations: ['53-5=48', '25-10=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[53, 2], Operations: ['25-5=20', '20/10=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[53, 10], Operations: ['25-5=20', '20-10=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[53, 30], Operations: ['25-5=20', '10+20=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[25, 58], Operations: ['53-5=48', '10+48=58']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[48, 35], Operations: ['53-5=48', '10+25=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,21 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
54,
79,
22,
67
] | 44 | [
"54+79=133",
"22+67=89",
"133-89=44"
] | Current State: 44:[54, 79, 22, 67], Operations: []
Exploring Operation: 54+79=133, Resulting Numbers: [22, 67, 133]
Generated Node #2: [22, 67, 133] from Operation: 54+79=133
Current State: 44:[22, 67, 133], Operations: ['54+79=133']
Exploring Operation: 22+67=89, Resulting Numbers: [133, 89]
Generated Node #3: [133, 89] from Operation: 22+67=89
Current State: 44:[133, 89], Operations: ['54+79=133', '22+67=89']
Exploring Operation: 133-89=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[54, 79, 22, 67], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [22, 67, 25]
Generated Node #0,0: 44:[22, 67, 25] Operation: 79-54=25
Exploring Operation: 79-67=12, Resulting Numbers: [54, 22, 12]
Generated Node #0,1: 44:[54, 22, 12] Operation: 79-67=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[54, 22, 12], Operations: ['79-67=12']
Exploring Operation: 54-22=32, Resulting Numbers: [12, 32]
Generated Node #0,1,0: 44:[12, 32] Operation: 54-22=32
Exploring Operation: 54-12=42, Resulting Numbers: [22, 42]
Generated Node #0,1,1: 44:[22, 42] Operation: 54-12=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[22, 42], Operations: ['79-67=12', '54-12=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[12, 32], Operations: ['79-67=12', '54-22=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[54, 79, 22, 67], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [54, 22, 12]
Generated Node #0,1: 44:[54, 22, 12] Operation: 79-67=12
Moving to Node #0,1
Current State: 44:[54, 22, 12], Operations: ['79-67=12']
Exploring Operation: 54-22=32, Resulting Numbers: [12, 32]
Generated Node #0,1,0: 44:[12, 32] Operation: 54-22=32
Moving to Node #0,1,0
Current State: 44:[12, 32], Operations: ['79-67=12', '54-22=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
86,
91,
67,
69
] | 41 | [
"86+91=177",
"67+69=136",
"177-136=41"
] | Current State: 41:[86, 91, 67, 69], Operations: []
Exploring Operation: 86+91=177, Resulting Numbers: [67, 69, 177]
Generated Node #2: [67, 69, 177] from Operation: 86+91=177
Current State: 41:[67, 69, 177], Operations: ['86+91=177']
Exploring Operation: 67+69=136, Resulting Numbers: [177, 136]
Generated Node #3: [177, 136] from Operation: 67+69=136
Current State: 41:[177, 136], Operations: ['86+91=177', '67+69=136']
Exploring Operation: 177-136=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[86, 91, 67, 69], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [86, 67, 22]
Generated Node #0,0: 41:[86, 67, 22] Operation: 91-69=22
Exploring Operation: 91-67=24, Resulting Numbers: [86, 69, 24]
Generated Node #0,1: 41:[86, 69, 24] Operation: 91-67=24
Exploring Operation: 91-86=5, Resulting Numbers: [67, 69, 5]
Generated Node #0,2: 41:[67, 69, 5] Operation: 91-86=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[86, 67, 22], Operations: ['91-69=22']
Exploring Operation: 86-22=64, Resulting Numbers: [67, 64]
Generated Node #0,0,0: 41:[67, 64] Operation: 86-22=64
Exploring Operation: 67-22=45, Resulting Numbers: [86, 45]
Generated Node #0,0,1: 41:[86, 45] Operation: 67-22=45
Exploring Operation: 86-67=19, Resulting Numbers: [22, 19]
Generated Node #0,0,2: 41:[22, 19] Operation: 86-67=19
Moving to Node #0,0,2
Current State: 41:[22, 19], Operations: ['91-69=22', '86-67=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[86, 91, 67, 69], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [86, 67, 22]
Generated Node #0,0: 41:[86, 67, 22] Operation: 91-69=22
Moving to Node #0,0
Current State: 41:[86, 67, 22], Operations: ['91-69=22']
Exploring Operation: 86-67=19, Resulting Numbers: [22, 19]
Generated Node #0,0,2: 41:[22, 19] Operation: 86-67=19
Moving to Node #0,0,2
Current State: 41:[22, 19], Operations: ['91-69=22', '86-67=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
99,
10,
3,
31
] | 40 | [
"99-10=89",
"31+89=120",
"120/3=40"
] | Current State: 40:[99, 10, 3, 31], Operations: []
Exploring Operation: 99-10=89, Resulting Numbers: [3, 31, 89]
Generated Node #2: [3, 31, 89] from Operation: 99-10=89
Current State: 40:[3, 31, 89], Operations: ['99-10=89']
Exploring Operation: 31+89=120, Resulting Numbers: [3, 120]
Generated Node #3: [3, 120] from Operation: 31+89=120
Current State: 40:[3, 120], Operations: ['99-10=89', '31+89=120']
Exploring Operation: 120/3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[99, 10, 3, 31], Operations: []
Exploring Operation: 99-31=68, Resulting Numbers: [10, 3, 68]
Generated Node #0,0: 40:[10, 3, 68] Operation: 99-31=68
Exploring Operation: 99-10=89, Resulting Numbers: [3, 31, 89]
Generated Node #0,1: 40:[3, 31, 89] Operation: 99-10=89
Exploring Operation: 99/3=33, Resulting Numbers: [10, 31, 33]
Generated Node #0,2: 40:[10, 31, 33] Operation: 99/3=33
Moving to Node #0,2
Current State: 40:[10, 31, 33], Operations: ['99/3=33']
Exploring Operation: 10+31=41, Resulting Numbers: [33, 41]
Generated Node #0,2,0: 40:[33, 41] Operation: 10+31=41
Exploring Operation: 33-31=2, Resulting Numbers: [10, 2]
Generated Node #0,2,1: 40:[10, 2] Operation: 33-31=2
Exploring Operation: 31-10=21, Resulting Numbers: [33, 21]
Generated Node #0,2,2: 40:[33, 21] Operation: 31-10=21
Moving to Node #0,0
Current State: 40:[10, 3, 68], Operations: ['99-31=68']
Exploring Operation: 68-10=58, Resulting Numbers: [3, 58]
Generated Node #0,0,0: 40:[3, 58] Operation: 68-10=58
Exploring Operation: 10-3=7, Resulting Numbers: [68, 7]
Generated Node #0,0,1: 40:[68, 7] Operation: 10-3=7
Exploring Operation: 68-3=65, Resulting Numbers: [10, 65]
Generated Node #0,0,2: 40:[10, 65] Operation: 68-3=65
Moving to Node #0,1
Current State: 40:[3, 31, 89], Operations: ['99-10=89']
Exploring Operation: 3+31=34, Resulting Numbers: [89, 34]
Generated Node #0,1,0: 40:[89, 34] Operation: 3+31=34
Exploring Operation: 89-3=86, Resulting Numbers: [31, 86]
Generated Node #0,1,1: 40:[31, 86] Operation: 89-3=86
Exploring Operation: 89-31=58, Resulting Numbers: [3, 58]
Generated Node #0,1,2: 40:[3, 58] Operation: 89-31=58
Moving to Node #0,2,1
Current State: 40:[10, 2], Operations: ['99/3=33', '33-31=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[33, 21], Operations: ['99/3=33', '31-10=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[33, 41], Operations: ['99/3=33', '10+31=41']
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,40 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[3, 58], Operations: ['99-10=89', '89-31=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[3, 58], Operations: ['99-31=68', '68-10=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[10, 65], Operations: ['99-31=68', '68-3=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,40 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[68, 7], Operations: ['99-31=68', '10-3=7']
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,40 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[89, 34], Operations: ['99-10=89', '3+31=34']
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[31, 86], Operations: ['99-10=89', '89-3=86']
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,40 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,40 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
42,
5,
23
] | 43 | [
"40-23=17",
"5*17=85",
"85-42=43"
] | Current State: 43:[40, 42, 5, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [42, 5, 17]
Generated Node #2: [42, 5, 17] from Operation: 40-23=17
Current State: 43:[42, 5, 17], Operations: ['40-23=17']
Exploring Operation: 5*17=85, Resulting Numbers: [42, 85]
Generated Node #3: [42, 85] from Operation: 5*17=85
Current State: 43:[42, 85], Operations: ['40-23=17', '5*17=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[40, 42, 5, 23], Operations: []
Exploring Operation: 42+5=47, Resulting Numbers: [40, 23, 47]
Generated Node #0,0: 43:[40, 23, 47] Operation: 42+5=47
Exploring Operation: 5+23=28, Resulting Numbers: [40, 42, 28]
Generated Node #0,1: 43:[40, 42, 28] Operation: 5+23=28
Exploring Operation: 42-5=37, Resulting Numbers: [40, 23, 37]
Generated Node #0,2: 43:[40, 23, 37] Operation: 42-5=37
Exploring Operation: 40+5=45, Resulting Numbers: [42, 23, 45]
Generated Node #0,3: 43:[42, 23, 45] Operation: 40+5=45
Exploring Operation: 40-5=35, Resulting Numbers: [42, 23, 35]
Generated Node #0,4: 43:[42, 23, 35] Operation: 40-5=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[40, 42, 28], Operations: ['5+23=28']
Exploring Operation: 42+28=70, Resulting Numbers: [40, 70]
Generated Node #0,1,0: 43:[40, 70] Operation: 42+28=70
Exploring Operation: 42-28=14, Resulting Numbers: [40, 14]
Generated Node #0,1,1: 43:[40, 14] Operation: 42-28=14
Exploring Operation: 40-28=12, Resulting Numbers: [42, 12]
Generated Node #0,1,2: 43:[42, 12] Operation: 40-28=12
Exploring Operation: 40+28=68, Resulting Numbers: [42, 68]
Generated Node #0,1,3: 43:[42, 68] Operation: 40+28=68
Exploring Operation: 40+42=82, Resulting Numbers: [28, 82]
Generated Node #0,1,4: 43:[28, 82] Operation: 40+42=82
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[42, 68], Operations: ['5+23=28', '40+28=68']
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[40, 70], Operations: ['5+23=28', '42+28=70']
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,43 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[40, 14], Operations: ['5+23=28', '42-28=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,43 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[42, 12], Operations: ['5+23=28', '40-28=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 43:[28, 82], Operations: ['5+23=28', '40+42=82']
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,43 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[42, 23, 45], Operations: ['40+5=45']
Exploring Operation: 45-23=22, Resulting Numbers: [42, 22]
Generated Node #0,3,0: 43:[42, 22] Operation: 45-23=22
Exploring Operation: 45-42=3, Resulting Numbers: [23, 3]
Generated Node #0,3,1: 43:[23, 3] Operation: 45-42=3
Exploring Operation: 23+45=68, Resulting Numbers: [42, 68]
Generated Node #0,3,2: 43:[42, 68] Operation: 23+45=68
Exploring Operation: 42-23=19, Resulting Numbers: [45, 19]
Generated Node #0,3,3: 43:[45, 19] Operation: 42-23=19
Exploring Operation: 42+23=65, Resulting Numbers: [45, 65]
Generated Node #0,3,4: 43:[45, 65] Operation: 42+23=65
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[42, 22], Operations: ['40+5=45', '45-23=22']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,43 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[45, 65], Operations: ['40+5=45', '42+23=65']
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,43 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[42, 68], Operations: ['40+5=45', '23+45=68']
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,43 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[45, 19], Operations: ['40+5=45', '42-23=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[23, 3], Operations: ['40+5=45', '45-42=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[40, 23, 47], Operations: ['42+5=47']
Exploring Operation: 40-23=17, Resulting Numbers: [47, 17]
Generated Node #0,0,0: 43:[47, 17] Operation: 40-23=17
Exploring Operation: 23+47=70, Resulting Numbers: [40, 70]
Generated Node #0,0,1: 43:[40, 70] Operation: 23+47=70
Exploring Operation: 47-40=7, Resulting Numbers: [23, 7]
Generated Node #0,0,2: 43:[23, 7] Operation: 47-40=7
Exploring Operation: 40+23=63, Resulting Numbers: [47, 63]
Generated Node #0,0,3: 43:[47, 63] Operation: 40+23=63
Exploring Operation: 47-23=24, Resulting Numbers: [40, 24]
Generated Node #0,0,4: 43:[40, 24] Operation: 47-23=24
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 43:[40, 24], Operations: ['42+5=47', '47-23=24']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[47, 63], Operations: ['42+5=47', '40+23=63']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 47*63=2961, Resulting Numbers: [2961]
2961,43 unequal: No Solution
Exploring Operation: 47+63=110, Resulting Numbers: [110]
110,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[47, 17], Operations: ['42+5=47', '40-23=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[40, 70], Operations: ['42+5=47', '23+47=70']
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[23, 7], Operations: ['42+5=47', '47-40=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,43 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[40, 23, 37], Operations: ['42-5=37']
Exploring Operation: 40+23=63, Resulting Numbers: [37, 63]
Generated Node #0,2,0: 43:[37, 63] Operation: 40+23=63
Exploring Operation: 40-23=17, Resulting Numbers: [37, 17]
Generated Node #0,2,1: 43:[37, 17] Operation: 40-23=17
Exploring Operation: 40+37=77, Resulting Numbers: [23, 77]
Generated Node #0,2,2: 43:[23, 77] Operation: 40+37=77
Exploring Operation: 23+37=60, Resulting Numbers: [40, 60]
Generated Node #0,2,3: 43:[40, 60] Operation: 23+37=60
Exploring Operation: 37-23=14, Resulting Numbers: [40, 14]
Generated Node #0,2,4: 43:[40, 14] Operation: 37-23=14
Moving to Node #0,2,3
Current State: 43:[40, 60], Operations: ['42-5=37', '23+37=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,43 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[37, 63], Operations: ['42-5=37', '40+23=63']
Exploring Operation: 37+63=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 37*63=2331, Resulting Numbers: [2331]
2331,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[37, 17], Operations: ['42-5=37', '40-23=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[40, 14], Operations: ['42-5=37', '37-23=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,43 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[23, 77], Operations: ['42-5=37', '40+37=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,43 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[42, 23, 35], Operations: ['40-5=35']
Exploring Operation: 42+35=77, Resulting Numbers: [23, 77]
Generated Node #0,4,0: 43:[23, 77] Operation: 42+35=77
Exploring Operation: 42-23=19, Resulting Numbers: [35, 19]
Generated Node #0,4,1: 43:[35, 19] Operation: 42-23=19
Exploring Operation: 35-23=12, Resulting Numbers: [42, 12]
Generated Node #0,4,2: 43:[42, 12] Operation: 35-23=12
Exploring Operation: 23+35=58, Resulting Numbers: [42, 58]
Generated Node #0,4,3: 43:[42, 58] Operation: 23+35=58
Exploring Operation: 42+23=65, Resulting Numbers: [35, 65]
Generated Node #0,4,4: 43:[35, 65] Operation: 42+23=65
Moving to Node #0,4,3
Current State: 43:[42, 58], Operations: ['40-5=35', '23+35=58']
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,43 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[35, 65], Operations: ['40-5=35', '42+23=65']
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[35, 19], Operations: ['40-5=35', '42-23=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,43 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[42, 12], Operations: ['40-5=35', '35-23=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[23, 77], Operations: ['40-5=35', '42+35=77']
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,43 unequal: No Solution
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
6,
67,
6
] | 59 | [
"15+6=21",
"6*21=126",
"126-67=59"
] | Current State: 59:[15, 6, 67, 6], Operations: []
Exploring Operation: 15+6=21, Resulting Numbers: [67, 21]
Generated Node #2: [67, 21] from Operation: 15+6=21
Current State: 59:[67, 21], Operations: ['15+6=21']
Exploring Operation: 6*21=126, Resulting Numbers: [67, 126]
Generated Node #3: [67, 126] from Operation: 6*21=126
Current State: 59:[67, 126], Operations: ['15+6=21', '6*21=126']
Exploring Operation: 126-67=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[15, 6, 67, 6], Operations: []
Exploring Operation: 6*6=36, Resulting Numbers: [15, 67, 36]
Generated Node #0,0: 59:[15, 67, 36] Operation: 6*6=36
Moving to Node #0,0
Current State: 59:[15, 67, 36], Operations: ['6*6=36']
Exploring Operation: 15+36=51, Resulting Numbers: [67, 51]
Generated Node #0,0,0: 59:[67, 51] Operation: 15+36=51
Moving to Node #0,0,0
Current State: 59:[67, 51], Operations: ['6*6=36', '15+36=51']
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
72,
3,
39
] | 57 | [
"30*3=90",
"72-39=33",
"90-33=57"
] | Current State: 57:[30, 72, 3, 39], Operations: []
Exploring Operation: 30*3=90, Resulting Numbers: [72, 39, 90]
Generated Node #2: [72, 39, 90] from Operation: 30*3=90
Current State: 57:[72, 39, 90], Operations: ['30*3=90']
Exploring Operation: 72-39=33, Resulting Numbers: [90, 33]
Generated Node #3: [90, 33] from Operation: 72-39=33
Current State: 57:[90, 33], Operations: ['30*3=90', '72-39=33']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[30, 72, 3, 39], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [72, 3, 9]
Generated Node #0,0: 57:[72, 3, 9] Operation: 39-30=9
Exploring Operation: 72-39=33, Resulting Numbers: [30, 3, 33]
Generated Node #0,1: 57:[30, 3, 33] Operation: 72-39=33
Exploring Operation: 30+39=69, Resulting Numbers: [72, 3, 69]
Generated Node #0,2: 57:[72, 3, 69] Operation: 30+39=69
Exploring Operation: 39/3=13, Resulting Numbers: [30, 72, 13]
Generated Node #0,3: 57:[30, 72, 13] Operation: 39/3=13
Moving to Node #0,0
Current State: 57:[72, 3, 9], Operations: ['39-30=9']
Exploring Operation: 72-9=63, Resulting Numbers: [3, 63]
Generated Node #0,0,0: 57:[3, 63] Operation: 72-9=63
Exploring Operation: 9/3=3, Resulting Numbers: [72, 3]
Generated Node #0,0,1: 57:[72, 3] Operation: 9/3=3
Exploring Operation: 72/3=24, Resulting Numbers: [9, 24]
Generated Node #0,0,2: 57:[9, 24] Operation: 72/3=24
Exploring Operation: 72/9=8, Resulting Numbers: [3, 8]
Generated Node #0,0,3: 57:[3, 8] Operation: 72/9=8
Moving to Node #0,1
Current State: 57:[30, 3, 33], Operations: ['72-39=33']
Exploring Operation: 33/3=11, Resulting Numbers: [30, 11]
Generated Node #0,1,0: 57:[30, 11] Operation: 33/3=11
Exploring Operation: 30+33=63, Resulting Numbers: [3, 63]
Generated Node #0,1,1: 57:[3, 63] Operation: 30+33=63
Exploring Operation: 30/3=10, Resulting Numbers: [33, 10]
Generated Node #0,1,2: 57:[33, 10] Operation: 30/3=10
Exploring Operation: 33-30=3, Resulting Numbers: [3, 3]
Generated Node #0,1,3: 57:[3, 3] Operation: 33-30=3
Moving to Node #0,2
Current State: 57:[72, 3, 69], Operations: ['30+39=69']
Exploring Operation: 72-3=69, Resulting Numbers: [69, 69]
Generated Node #0,2,0: 57:[69, 69] Operation: 72-3=69
Exploring Operation: 72-69=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 57:[3, 3] Operation: 72-69=3
Exploring Operation: 72/3=24, Resulting Numbers: [69, 24]
Generated Node #0,2,2: 57:[69, 24] Operation: 72/3=24
Exploring Operation: 69/3=23, Resulting Numbers: [72, 23]
Generated Node #0,2,3: 57:[72, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[3, 3], Operations: ['30+39=69', '72-69=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[69, 24], Operations: ['30+39=69', '72/3=24']
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,57 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[72, 23], Operations: ['30+39=69', '69/3=23']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,57 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[69, 69], Operations: ['30+39=69', '72-3=69']
Exploring Operation: 69/69=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 69*69=4761, Resulting Numbers: [4761]
4761,57 unequal: No Solution
Exploring Operation: 69+69=138, Resulting Numbers: [138]
138,57 unequal: No Solution
Exploring Operation: 69-69=0, Resulting Numbers: [0]
0,57 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: 57:[30, 72, 13], Operations: ['39/3=13']
Exploring Operation: 30-13=17, Resulting Numbers: [72, 17]
Generated Node #0,3,0: 57:[72, 17] Operation: 30-13=17
Exploring Operation: 72-13=59, Resulting Numbers: [30, 59]
Generated Node #0,3,1: 57:[30, 59] Operation: 72-13=59
Exploring Operation: 30+13=43, Resulting Numbers: [72, 43]
Generated Node #0,3,2: 57:[72, 43] Operation: 30+13=43
Exploring Operation: 72-30=42, Resulting Numbers: [13, 42]
Generated Node #0,3,3: 57:[13, 42] Operation: 72-30=42
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[30, 59], Operations: ['39/3=13', '72-13=59']
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,57 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[72, 17], Operations: ['39/3=13', '30-13=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,57 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[13, 42], Operations: ['39/3=13', '72-30=42']
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,57 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[72, 43], Operations: ['39/3=13', '30+13=43']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 72+43=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 72*43=3096, Resulting Numbers: [3096]
3096,57 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: 57:[3, 3], Operations: ['72-39=33', '33-30=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[3, 8], Operations: ['39-30=9', '72/9=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[3, 63], Operations: ['72-39=33', '30+33=63']
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,57 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[3, 63], Operations: ['39-30=9', '72-9=63']
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,57 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[9, 24], Operations: ['39-30=9', '72/3=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,57 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[72, 3], Operations: ['39-30=9', '9/3=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[30, 11], Operations: ['72-39=33', '33/3=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[33, 10], Operations: ['72-39=33', '30/3=10']
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,57 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,57 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
54,
63,
84,
11
] | 86 | [
"63-54=9",
"84+11=95",
"95-9=86"
] | Current State: 86:[54, 63, 84, 11], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [84, 11, 9]
Generated Node #2: [84, 11, 9] from Operation: 63-54=9
Current State: 86:[84, 11, 9], Operations: ['63-54=9']
Exploring Operation: 84+11=95, Resulting Numbers: [9, 95]
Generated Node #3: [9, 95] from Operation: 84+11=95
Current State: 86:[9, 95], Operations: ['63-54=9', '84+11=95']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[54, 63, 84, 11], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [84, 11, 9]
Generated Node #0,0: 86:[84, 11, 9] Operation: 63-54=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[84, 11, 9], Operations: ['63-54=9']
Exploring Operation: 11-9=2, Resulting Numbers: [84, 2]
Generated Node #0,0,0: 86:[84, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 86:[84, 2], Operations: ['63-54=9', '11-9=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[54, 63, 84, 11], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [84, 11, 9]
Generated Node #0,0: 86:[84, 11, 9] Operation: 63-54=9
Moving to Node #0,0
Current State: 86:[84, 11, 9], Operations: ['63-54=9']
Exploring Operation: 11-9=2, Resulting Numbers: [84, 2]
Generated Node #0,0,0: 86:[84, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 86:[84, 2], Operations: ['63-54=9', '11-9=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
25,
2,
52,
53
] | 28 | [
"25+2=27",
"53-52=1",
"27+1=28"
] | Current State: 28:[25, 2, 52, 53], Operations: []
Exploring Operation: 25+2=27, Resulting Numbers: [52, 53, 27]
Generated Node #2: [52, 53, 27] from Operation: 25+2=27
Current State: 28:[52, 53, 27], Operations: ['25+2=27']
Exploring Operation: 53-52=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 53-52=1
Current State: 28:[27, 1], Operations: ['25+2=27', '53-52=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[25, 2, 52, 53], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [25, 2, 1]
Generated Node #0,0: 28:[25, 2, 1] Operation: 53-52=1
Moving to Node #0,0
Current State: 28:[25, 2, 1], Operations: ['53-52=1']
Exploring Operation: 25+2=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 28:[1, 27] Operation: 25+2=27
Moving to Node #0,0,0
Current State: 28:[1, 27], Operations: ['53-52=1', '25+2=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[25, 2, 52, 53], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [25, 2, 1]
Generated Node #0,0: 28:[25, 2, 1] Operation: 53-52=1
Moving to Node #0,0
Current State: 28:[25, 2, 1], Operations: ['53-52=1']
Exploring Operation: 25+2=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 28:[1, 27] Operation: 25+2=27
Moving to Node #0,0,0
Current State: 28:[1, 27], Operations: ['53-52=1', '25+2=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
30,
57,
59,
6
] | 90 | [
"30*6=180",
"59-57=2",
"180/2=90"
] | Current State: 90:[30, 57, 59, 6], Operations: []
Exploring Operation: 30*6=180, Resulting Numbers: [57, 59, 180]
Generated Node #2: [57, 59, 180] from Operation: 30*6=180
Current State: 90:[57, 59, 180], Operations: ['30*6=180']
Exploring Operation: 59-57=2, Resulting Numbers: [180, 2]
Generated Node #3: [180, 2] from Operation: 59-57=2
Current State: 90:[180, 2], Operations: ['30*6=180', '59-57=2']
Exploring Operation: 180/2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[30, 57, 59, 6], Operations: []
Exploring Operation: 30+57=87, Resulting Numbers: [59, 6, 87]
Generated Node #0,0: 90:[59, 6, 87] Operation: 30+57=87
Exploring Operation: 59-30=29, Resulting Numbers: [57, 6, 29]
Generated Node #0,1: 90:[57, 6, 29] Operation: 59-30=29
Exploring Operation: 59-57=2, Resulting Numbers: [30, 6, 2]
Generated Node #0,2: 90:[30, 6, 2] Operation: 59-57=2
Exploring Operation: 30+59=89, Resulting Numbers: [57, 6, 89]
Generated Node #0,3: 90:[57, 6, 89] Operation: 30+59=89
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[30, 6, 2], Operations: ['59-57=2']
Exploring Operation: 30/2=15, Resulting Numbers: [6, 15]
Generated Node #0,2,0: 90:[6, 15] Operation: 30/2=15
Exploring Operation: 30/6=5, Resulting Numbers: [2, 5]
Generated Node #0,2,1: 90:[2, 5] Operation: 30/6=5
Exploring Operation: 6/2=3, Resulting Numbers: [30, 3]
Generated Node #0,2,2: 90:[30, 3] Operation: 6/2=3
Exploring Operation: 6+2=8, Resulting Numbers: [30, 8]
Generated Node #0,2,3: 90:[30, 8] Operation: 6+2=8
Moving to Node #0,2,0
Current State: 90:[6, 15], Operations: ['59-57=2', '30/2=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[30, 57, 59, 6], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [30, 6, 2]
Generated Node #0,2: 90:[30, 6, 2] Operation: 59-57=2
Moving to Node #0,2
Current State: 90:[30, 6, 2], Operations: ['59-57=2']
Exploring Operation: 30/2=15, Resulting Numbers: [6, 15]
Generated Node #0,2,0: 90:[6, 15] Operation: 30/2=15
Moving to Node #0,2,0
Current State: 90:[6, 15], Operations: ['59-57=2', '30/2=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
63,
3,
56,
5
] | 80 | [
"56-5=51",
"51/3=17",
"63+17=80"
] | Current State: 80:[63, 3, 56, 5], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [63, 3, 51]
Generated Node #2: [63, 3, 51] from Operation: 56-5=51
Current State: 80:[63, 3, 51], Operations: ['56-5=51']
Exploring Operation: 51/3=17, Resulting Numbers: [63, 17]
Generated Node #3: [63, 17] from Operation: 51/3=17
Current State: 80:[63, 17], Operations: ['56-5=51', '51/3=17']
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[63, 3, 56, 5], Operations: []
Exploring Operation: 63+5=68, Resulting Numbers: [3, 56, 68]
Generated Node #0,0: 80:[3, 56, 68] Operation: 63+5=68
Exploring Operation: 63/3=21, Resulting Numbers: [56, 5, 21]
Generated Node #0,1: 80:[56, 5, 21] Operation: 63/3=21
Exploring Operation: 63-56=7, Resulting Numbers: [3, 5, 7]
Generated Node #0,2: 80:[3, 5, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[3, 5, 7], Operations: ['63-56=7']
Exploring Operation: 3+7=10, Resulting Numbers: [5, 10]
Generated Node #0,2,0: 80:[5, 10] Operation: 3+7=10
Exploring Operation: 7-3=4, Resulting Numbers: [5, 4]
Generated Node #0,2,1: 80:[5, 4] Operation: 7-3=4
Exploring Operation: 3+5=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 80:[7, 8] Operation: 3+5=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[5, 10], Operations: ['63-56=7', '3+7=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[5, 4], Operations: ['63-56=7', '7-3=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[7, 8], Operations: ['63-56=7', '3+5=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[56, 5, 21], Operations: ['63/3=21']
Exploring Operation: 56+21=77, Resulting Numbers: [5, 77]
Generated Node #0,1,0: 80:[5, 77] Operation: 56+21=77
Exploring Operation: 56-5=51, Resulting Numbers: [21, 51]
Generated Node #0,1,1: 80:[21, 51] Operation: 56-5=51
Exploring Operation: 56-21=35, Resulting Numbers: [5, 35]
Generated Node #0,1,2: 80:[5, 35] Operation: 56-21=35
Moving to Node #0,1,0
Current State: 80:[5, 77], Operations: ['63/3=21', '56+21=77']
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 5*77=385, Resulting Numbers: [385]
385,80 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[5, 35], Operations: ['63/3=21', '56-21=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[21, 51], Operations: ['63/3=21', '56-5=51']
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,80 unequal: No Solution
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,80 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[3, 56, 68], Operations: ['63+5=68']
Exploring Operation: 68-56=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 80:[3, 12] Operation: 68-56=12
Exploring Operation: 3+68=71, Resulting Numbers: [56, 71]
Generated Node #0,0,1: 80:[56, 71] Operation: 3+68=71
Exploring Operation: 56-3=53, Resulting Numbers: [68, 53]
Generated Node #0,0,2: 80:[68, 53] Operation: 56-3=53
Moving to Node #0,0,0
Current State: 80:[3, 12], Operations: ['63+5=68', '68-56=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[56, 71], Operations: ['63+5=68', '3+68=71']
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,80 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[68, 53], Operations: ['63+5=68', '56-3=53']
Exploring Operation: 68*53=3604, Resulting Numbers: [3604]
3604,80 unequal: No Solution
Exploring Operation: 68+53=121, Resulting Numbers: [121]
121,80 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,80 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 |
[
32,
12,
50,
10
] | 68 | [
"12-10=2",
"50*2=100",
"100-32=68"
] | Current State: 68:[32, 12, 50, 10], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [32, 50, 2]
Generated Node #2: [32, 50, 2] from Operation: 12-10=2
Current State: 68:[32, 50, 2], Operations: ['12-10=2']
Exploring Operation: 50*2=100, Resulting Numbers: [32, 100]
Generated Node #3: [32, 100] from Operation: 50*2=100
Current State: 68:[32, 100], Operations: ['12-10=2', '50*2=100']
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[32, 12, 50, 10], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [32, 10, 38]
Generated Node #0,0: 68:[32, 10, 38] Operation: 50-12=38
Exploring Operation: 50-32=18, Resulting Numbers: [12, 10, 18]
Generated Node #0,1: 68:[12, 10, 18] Operation: 50-32=18
Exploring Operation: 50-10=40, Resulting Numbers: [32, 12, 40]
Generated Node #0,2: 68:[32, 12, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [32, 12, 5]
Generated Node #0,3: 68:[32, 12, 5] Operation: 50/10=5
Moving to Node #0,3
Current State: 68:[32, 12, 5], Operations: ['50/10=5']
Exploring Operation: 32-12=20, Resulting Numbers: [5, 20]
Generated Node #0,3,0: 68:[5, 20] Operation: 32-12=20
Exploring Operation: 32+5=37, Resulting Numbers: [12, 37]
Generated Node #0,3,1: 68:[12, 37] Operation: 32+5=37
Exploring Operation: 12-5=7, Resulting Numbers: [32, 7]
Generated Node #0,3,2: 68:[32, 7] Operation: 12-5=7
Exploring Operation: 12+5=17, Resulting Numbers: [32, 17]
Generated Node #0,3,3: 68:[32, 17] Operation: 12+5=17
Moving to Node #0,1
Current State: 68:[12, 10, 18], Operations: ['50-32=18']
Exploring Operation: 12-10=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 68:[18, 2] Operation: 12-10=2
Exploring Operation: 12+10=22, Resulting Numbers: [18, 22]
Generated Node #0,1,1: 68:[18, 22] Operation: 12+10=22
Exploring Operation: 18-10=8, Resulting Numbers: [12, 8]
Generated Node #0,1,2: 68:[12, 8] Operation: 18-10=8
Exploring Operation: 18-12=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 68:[10, 6] Operation: 18-12=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[18, 2], Operations: ['50-32=18', '12-10=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,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,1
Current State: 68:[18, 22], Operations: ['50-32=18', '12+10=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,68 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[10, 6], Operations: ['50-32=18', '18-12=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,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,2
Current State: 68:[12, 8], Operations: ['50-32=18', '18-10=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,68 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: 68:[32, 10, 38], Operations: ['50-12=38']
Exploring Operation: 32+38=70, Resulting Numbers: [10, 70]
Generated Node #0,0,0: 68:[10, 70] Operation: 32+38=70
Exploring Operation: 38-32=6, Resulting Numbers: [10, 6]
Generated Node #0,0,1: 68:[10, 6] Operation: 38-32=6
Exploring Operation: 38-10=28, Resulting Numbers: [32, 28]
Generated Node #0,0,2: 68:[32, 28] Operation: 38-10=28
Exploring Operation: 32-10=22, Resulting Numbers: [38, 22]
Generated Node #0,0,3: 68:[38, 22] Operation: 32-10=22
Moving to Node #0,2
Current State: 68:[32, 12, 40], Operations: ['50-10=40']
Exploring Operation: 32-12=20, Resulting Numbers: [40, 20]
Generated Node #0,2,0: 68:[40, 20] Operation: 32-12=20
Exploring Operation: 40-32=8, Resulting Numbers: [12, 8]
Generated Node #0,2,1: 68:[12, 8] Operation: 40-32=8
Exploring Operation: 32+40=72, Resulting Numbers: [12, 72]
Generated Node #0,2,2: 68:[12, 72] Operation: 32+40=72
Exploring Operation: 40-12=28, Resulting Numbers: [32, 28]
Generated Node #0,2,3: 68:[32, 28] Operation: 40-12=28
Moving to Node #0,3,3
Current State: 68:[32, 17], Operations: ['50/10=5', '12+5=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,68 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[5, 20], Operations: ['50/10=5', '32-12=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[32, 7], Operations: ['50/10=5', '12-5=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[32, 28], Operations: ['50-12=38', '38-10=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[10, 6], Operations: ['50-12=38', '38-32=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[32, 28], Operations: ['50-10=40', '40-12=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[10, 70], Operations: ['50-12=38', '32+38=70']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[12, 37], Operations: ['50/10=5', '32+5=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,68 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[12, 72], Operations: ['50-10=40', '32+40=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,68 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[40, 20], Operations: ['50-10=40', '32-12=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[12, 8], Operations: ['50-10=40', '40-32=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[38, 22], Operations: ['50-12=38', '32-10=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,68 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
40,
19,
43,
14
] | 18 | [
"40*19=760",
"14+760=774",
"774/43=18"
] | Current State: 18:[40, 19, 43, 14], Operations: []
Exploring Operation: 40*19=760, Resulting Numbers: [43, 14, 760]
Generated Node #2: [43, 14, 760] from Operation: 40*19=760
Current State: 18:[43, 14, 760], Operations: ['40*19=760']
Exploring Operation: 14+760=774, Resulting Numbers: [43, 774]
Generated Node #3: [43, 774] from Operation: 14+760=774
Current State: 18:[43, 774], Operations: ['40*19=760', '14+760=774']
Exploring Operation: 774/43=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[40, 19, 43, 14], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [19, 14, 3]
Generated Node #0,0: 18:[19, 14, 3] Operation: 43-40=3
Moving to Node #0,0
Current State: 18:[19, 14, 3], Operations: ['43-40=3']
Exploring Operation: 19-14=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 18:[3, 5] Operation: 19-14=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[3, 5], Operations: ['43-40=3', '19-14=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,18 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 |
[
21,
62,
75,
88
] | 28 | [
"62-21=41",
"88-75=13",
"41-13=28"
] | Current State: 28:[21, 62, 75, 88], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [75, 88, 41]
Generated Node #2: [75, 88, 41] from Operation: 62-21=41
Current State: 28:[75, 88, 41], Operations: ['62-21=41']
Exploring Operation: 88-75=13, Resulting Numbers: [41, 13]
Generated Node #3: [41, 13] from Operation: 88-75=13
Current State: 28:[41, 13], Operations: ['62-21=41', '88-75=13']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[21, 62, 75, 88], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [62, 88, 54]
Generated Node #0,0: 28:[62, 88, 54] Operation: 75-21=54
Exploring Operation: 62-21=41, Resulting Numbers: [75, 88, 41]
Generated Node #0,1: 28:[75, 88, 41] Operation: 62-21=41
Exploring Operation: 88-62=26, Resulting Numbers: [21, 75, 26]
Generated Node #0,2: 28:[21, 75, 26] Operation: 88-62=26
Exploring Operation: 75-62=13, Resulting Numbers: [21, 88, 13]
Generated Node #0,3: 28:[21, 88, 13] Operation: 75-62=13
Exploring Operation: 88-75=13, Resulting Numbers: [21, 62, 13]
Generated Node #0,4: 28:[21, 62, 13] Operation: 88-75=13
Moving to Node #0,4
Current State: 28:[21, 62, 13], Operations: ['88-75=13']
Exploring Operation: 62+13=75, Resulting Numbers: [21, 75]
Generated Node #0,4,0: 28:[21, 75] Operation: 62+13=75
Exploring Operation: 21-13=8, Resulting Numbers: [62, 8]
Generated Node #0,4,1: 28:[62, 8] Operation: 21-13=8
Exploring Operation: 62-21=41, Resulting Numbers: [13, 41]
Generated Node #0,4,2: 28:[13, 41] Operation: 62-21=41
Exploring Operation: 62-13=49, Resulting Numbers: [21, 49]
Generated Node #0,4,3: 28:[21, 49] Operation: 62-13=49
Exploring Operation: 21+13=34, Resulting Numbers: [62, 34]
Generated Node #0,4,4: 28:[62, 34] Operation: 21+13=34
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 28:[13, 41], Operations: ['88-75=13', '62-21=41']
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,28 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[21, 62, 75, 88], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [21, 62, 13]
Generated Node #0,4: 28:[21, 62, 13] Operation: 88-75=13
Moving to Node #0,4
Current State: 28:[21, 62, 13], Operations: ['88-75=13']
Exploring Operation: 62-21=41, Resulting Numbers: [13, 41]
Generated Node #0,4,2: 28:[13, 41] Operation: 62-21=41
Moving to Node #0,4,2
Current State: 28:[13, 41], Operations: ['88-75=13', '62-21=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
1,
6,
44,
76
] | 19 | [
"44+76=120",
"120/6=20",
"20-1=19"
] | Current State: 19:[1, 6, 44, 76], Operations: []
Exploring Operation: 44+76=120, Resulting Numbers: [1, 6, 120]
Generated Node #2: [1, 6, 120] from Operation: 44+76=120
Current State: 19:[1, 6, 120], Operations: ['44+76=120']
Exploring Operation: 120/6=20, Resulting Numbers: [1, 20]
Generated Node #3: [1, 20] from Operation: 120/6=20
Current State: 19:[1, 20], Operations: ['44+76=120', '120/6=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 6, 44, 76], Operations: []
Exploring Operation: 1+6=7, Resulting Numbers: [44, 76, 7]
Generated Node #0,0: 19:[44, 76, 7] Operation: 1+6=7
Exploring Operation: 76-44=32, Resulting Numbers: [1, 6, 32]
Generated Node #0,1: 19:[1, 6, 32] Operation: 76-44=32
Moving to Node #0,1
Current State: 19:[1, 6, 32], Operations: ['76-44=32']
Exploring Operation: 32-1=31, Resulting Numbers: [6, 31]
Generated Node #0,1,0: 19:[6, 31] Operation: 32-1=31
Exploring Operation: 1+6=7, Resulting Numbers: [32, 7]
Generated Node #0,1,1: 19:[32, 7] Operation: 1+6=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[6, 31], Operations: ['76-44=32', '32-1=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,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,1,1
Current State: 19:[32, 7], Operations: ['76-44=32', '1+6=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,19 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: 19:[44, 76, 7], Operations: ['1+6=7']
Exploring Operation: 44-7=37, Resulting Numbers: [76, 37]
Generated Node #0,0,0: 19:[76, 37] Operation: 44-7=37
Exploring Operation: 76-44=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 19:[7, 32] Operation: 76-44=32
Moving to Node #0,0,1
Current State: 19:[7, 32], Operations: ['1+6=7', '76-44=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[76, 37], Operations: ['1+6=7', '44-7=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
18,
63,
20,
95
] | 70 | [
"63-18=45",
"20+95=115",
"115-45=70"
] | Current State: 70:[18, 63, 20, 95], Operations: []
Exploring Operation: 63-18=45, Resulting Numbers: [20, 95, 45]
Generated Node #2: [20, 95, 45] from Operation: 63-18=45
Current State: 70:[20, 95, 45], Operations: ['63-18=45']
Exploring Operation: 20+95=115, Resulting Numbers: [45, 115]
Generated Node #3: [45, 115] from Operation: 20+95=115
Current State: 70:[45, 115], Operations: ['63-18=45', '20+95=115']
Exploring Operation: 115-45=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[18, 63, 20, 95], Operations: []
Exploring Operation: 18+20=38, Resulting Numbers: [63, 95, 38]
Generated Node #0,0: 70:[63, 95, 38] Operation: 18+20=38
Exploring Operation: 95-20=75, Resulting Numbers: [18, 63, 75]
Generated Node #0,1: 70:[18, 63, 75] Operation: 95-20=75
Exploring Operation: 95-63=32, Resulting Numbers: [18, 20, 32]
Generated Node #0,2: 70:[18, 20, 32] Operation: 95-63=32
Exploring Operation: 95-18=77, Resulting Numbers: [63, 20, 77]
Generated Node #0,3: 70:[63, 20, 77] Operation: 95-18=77
Exploring Operation: 20-18=2, Resulting Numbers: [63, 95, 2]
Generated Node #0,4: 70:[63, 95, 2] Operation: 20-18=2
Moving to Node #0,2
Current State: 70:[18, 20, 32], Operations: ['95-63=32']
Exploring Operation: 18+32=50, Resulting Numbers: [20, 50]
Generated Node #0,2,0: 70:[20, 50] Operation: 18+32=50
Exploring Operation: 32-20=12, Resulting Numbers: [18, 12]
Generated Node #0,2,1: 70:[18, 12] Operation: 32-20=12
Exploring Operation: 32-18=14, Resulting Numbers: [20, 14]
Generated Node #0,2,2: 70:[20, 14] Operation: 32-18=14
Exploring Operation: 18+20=38, Resulting Numbers: [32, 38]
Generated Node #0,2,3: 70:[32, 38] Operation: 18+20=38
Exploring Operation: 20-18=2, Resulting Numbers: [32, 2]
Generated Node #0,2,4: 70:[32, 2] Operation: 20-18=2
Moving to Node #0,1
Current State: 70:[18, 63, 75], Operations: ['95-20=75']
Exploring Operation: 18+63=81, Resulting Numbers: [75, 81]
Generated Node #0,1,0: 70:[75, 81] Operation: 18+63=81
Exploring Operation: 63-18=45, Resulting Numbers: [75, 45]
Generated Node #0,1,1: 70:[75, 45] Operation: 63-18=45
Exploring Operation: 75-63=12, Resulting Numbers: [18, 12]
Generated Node #0,1,2: 70:[18, 12] Operation: 75-63=12
Exploring Operation: 75-18=57, Resulting Numbers: [63, 57]
Generated Node #0,1,3: 70:[63, 57] Operation: 75-18=57
Exploring Operation: 18+75=93, Resulting Numbers: [63, 93]
Generated Node #0,1,4: 70:[63, 93] Operation: 18+75=93
Moving to Node #0,3
Current State: 70:[63, 20, 77], Operations: ['95-18=77']
Exploring Operation: 77-20=57, Resulting Numbers: [63, 57]
Generated Node #0,3,0: 70:[63, 57] Operation: 77-20=57
Exploring Operation: 20+77=97, Resulting Numbers: [63, 97]
Generated Node #0,3,1: 70:[63, 97] Operation: 20+77=97
Exploring Operation: 77-63=14, Resulting Numbers: [20, 14]
Generated Node #0,3,2: 70:[20, 14] Operation: 77-63=14
Exploring Operation: 63-20=43, Resulting Numbers: [77, 43]
Generated Node #0,3,3: 70:[77, 43] Operation: 63-20=43
Exploring Operation: 63+20=83, Resulting Numbers: [77, 83]
Generated Node #0,3,4: 70:[77, 83] Operation: 63+20=83
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[20, 14], Operations: ['95-18=77', '77-63=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[77, 43], Operations: ['95-18=77', '63-20=43']
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[63, 57], Operations: ['95-18=77', '77-20=57']
Exploring Operation: 63+57=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 63*57=3591, Resulting Numbers: [3591]
3591,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 70:[77, 83], Operations: ['95-18=77', '63+20=83']
Exploring Operation: 77+83=160, Resulting Numbers: [160]
160,70 unequal: No Solution
Exploring Operation: 77*83=6391, Resulting Numbers: [6391]
6391,70 unequal: No Solution
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[63, 97], Operations: ['95-18=77', '20+77=97']
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 63*97=6111, Resulting Numbers: [6111]
6111,70 unequal: No Solution
Exploring Operation: 63+97=160, Resulting Numbers: [160]
160,70 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: 70:[63, 95, 2], Operations: ['20-18=2']
Exploring Operation: 95-2=93, Resulting Numbers: [63, 93]
Generated Node #0,4,0: 70:[63, 93] Operation: 95-2=93
Exploring Operation: 95-63=32, Resulting Numbers: [2, 32]
Generated Node #0,4,1: 70:[2, 32] Operation: 95-63=32
Exploring Operation: 63-2=61, Resulting Numbers: [95, 61]
Generated Node #0,4,2: 70:[95, 61] Operation: 63-2=61
Exploring Operation: 95+2=97, Resulting Numbers: [63, 97]
Generated Node #0,4,3: 70:[63, 97] Operation: 95+2=97
Exploring Operation: 63+2=65, Resulting Numbers: [95, 65]
Generated Node #0,4,4: 70:[95, 65] Operation: 63+2=65
Moving to Node #0,0
Current State: 70:[63, 95, 38], Operations: ['18+20=38']
Exploring Operation: 63+38=101, Resulting Numbers: [95, 101]
Generated Node #0,0,0: 70:[95, 101] Operation: 63+38=101
Exploring Operation: 95-63=32, Resulting Numbers: [38, 32]
Generated Node #0,0,1: 70:[38, 32] Operation: 95-63=32
Exploring Operation: 95-38=57, Resulting Numbers: [63, 57]
Generated Node #0,0,2: 70:[63, 57] Operation: 95-38=57
Exploring Operation: 95+38=133, Resulting Numbers: [63, 133]
Generated Node #0,0,3: 70:[63, 133] Operation: 95+38=133
Exploring Operation: 63-38=25, Resulting Numbers: [95, 25]
Generated Node #0,0,4: 70:[95, 25] Operation: 63-38=25
Moving to Node #0,2,4
Current State: 70:[32, 2], Operations: ['95-63=32', '20-18=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[2, 32], Operations: ['20-18=2', '95-63=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[20, 14], Operations: ['95-63=32', '32-18=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[18, 12], Operations: ['95-20=75', '75-63=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,70 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[18, 12], Operations: ['95-63=32', '32-20=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,70 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[32, 38], Operations: ['95-63=32', '18+20=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,70 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[18, 63, 20, 95], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [18, 20, 32]
Generated Node #0,2: 70:[18, 20, 32] Operation: 95-63=32
Moving to Node #0,2
Current State: 70:[18, 20, 32], Operations: ['95-63=32']
Exploring Operation: 18+20=38, Resulting Numbers: [32, 38]
Generated Node #0,2,3: 70:[32, 38] Operation: 18+20=38
Moving to Node #0,2,3
Current State: 70:[32, 38], Operations: ['95-63=32', '18+20=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
37,
7,
84,
39
] | 15 | [
"37-7=30",
"84-39=45",
"45-30=15"
] | Current State: 15:[37, 7, 84, 39], Operations: []
Exploring Operation: 37-7=30, Resulting Numbers: [84, 39, 30]
Generated Node #2: [84, 39, 30] from Operation: 37-7=30
Current State: 15:[84, 39, 30], Operations: ['37-7=30']
Exploring Operation: 84-39=45, Resulting Numbers: [30, 45]
Generated Node #3: [30, 45] from Operation: 84-39=45
Current State: 15:[30, 45], Operations: ['37-7=30', '84-39=45']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[37, 7, 84, 39], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [37, 39, 12]
Generated Node #0,0: 15:[37, 39, 12] Operation: 84/7=12
Exploring Operation: 84-39=45, Resulting Numbers: [37, 7, 45]
Generated Node #0,1: 15:[37, 7, 45] Operation: 84-39=45
Moving to Node #0,0
Current State: 15:[37, 39, 12], Operations: ['84/7=12']
Exploring Operation: 37-12=25, Resulting Numbers: [39, 25]
Generated Node #0,0,0: 15:[39, 25] Operation: 37-12=25
Exploring Operation: 39-37=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 15:[12, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[12, 2], Operations: ['84/7=12', '39-37=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[39, 25], Operations: ['84/7=12', '37-12=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[37, 7, 45], Operations: ['84-39=45']
Exploring Operation: 37-7=30, Resulting Numbers: [45, 30]
Generated Node #0,1,0: 15:[45, 30] Operation: 37-7=30
Exploring Operation: 45-37=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 15:[7, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[7, 8], Operations: ['84-39=45', '45-37=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[37, 7, 84, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [37, 7, 45]
Generated Node #0,1: 15:[37, 7, 45] Operation: 84-39=45
Moving to Node #0,1
Current State: 15:[37, 7, 45], Operations: ['84-39=45']
Exploring Operation: 45-37=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 15:[7, 8] Operation: 45-37=8
Moving to Node #0,1,1
Current State: 15:[7, 8], Operations: ['84-39=45', '45-37=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
33,
72,
28,
96
] | 16 | [
"33*96=3168",
"3168/72=44",
"44-28=16"
] | Current State: 16:[33, 72, 28, 96], Operations: []
Exploring Operation: 33*96=3168, Resulting Numbers: [72, 28, 3168]
Generated Node #2: [72, 28, 3168] from Operation: 33*96=3168
Current State: 16:[72, 28, 3168], Operations: ['33*96=3168']
Exploring Operation: 3168/72=44, Resulting Numbers: [28, 44]
Generated Node #3: [28, 44] from Operation: 3168/72=44
Current State: 16:[28, 44], Operations: ['33*96=3168', '3168/72=44']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[33, 72, 28, 96], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [33, 28, 24]
Generated Node #0,0: 16:[33, 28, 24] Operation: 96-72=24
Moving to Node #0,0
Current State: 16:[33, 28, 24], Operations: ['96-72=24']
Exploring Operation: 33-28=5, Resulting Numbers: [24, 5]
Generated Node #0,0,0: 16:[24, 5] Operation: 33-28=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[24, 5], Operations: ['96-72=24', '33-28=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,16 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 |
[
2,
97,
44,
5
] | 29 | [
"97-44=53",
"5+53=58",
"58/2=29"
] | Current State: 29:[2, 97, 44, 5], Operations: []
Exploring Operation: 97-44=53, Resulting Numbers: [2, 5, 53]
Generated Node #2: [2, 5, 53] from Operation: 97-44=53
Current State: 29:[2, 5, 53], Operations: ['97-44=53']
Exploring Operation: 5+53=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 5+53=58
Current State: 29:[2, 58], Operations: ['97-44=53', '5+53=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 97, 44, 5], Operations: []
Exploring Operation: 2*5=10, Resulting Numbers: [97, 44, 10]
Generated Node #0,0: 29:[97, 44, 10] Operation: 2*5=10
Exploring Operation: 97-2=95, Resulting Numbers: [44, 5, 95]
Generated Node #0,1: 29:[44, 5, 95] Operation: 97-2=95
Exploring Operation: 44/2=22, Resulting Numbers: [97, 5, 22]
Generated Node #0,2: 29:[97, 5, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [97, 5, 42]
Generated Node #0,3: 29:[97, 5, 42] Operation: 44-2=42
Exploring Operation: 97-44=53, Resulting Numbers: [2, 5, 53]
Generated Node #0,4: 29:[2, 5, 53] Operation: 97-44=53
Moving to Node #0,4
Current State: 29:[2, 5, 53], Operations: ['97-44=53']
Exploring Operation: 2*5=10, Resulting Numbers: [53, 10]
Generated Node #0,4,0: 29:[53, 10] Operation: 2*5=10
Exploring Operation: 5-2=3, Resulting Numbers: [53, 3]
Generated Node #0,4,1: 29:[53, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [53, 7]
Generated Node #0,4,2: 29:[53, 7] Operation: 2+5=7
Exploring Operation: 53-5=48, Resulting Numbers: [2, 48]
Generated Node #0,4,3: 29:[2, 48] Operation: 53-5=48
Exploring Operation: 53-2=51, Resulting Numbers: [5, 51]
Generated Node #0,4,4: 29:[5, 51] Operation: 53-2=51
Moving to Node #0,2
Current State: 29:[97, 5, 22], Operations: ['44/2=22']
Exploring Operation: 97-5=92, Resulting Numbers: [22, 92]
Generated Node #0,2,0: 29:[22, 92] Operation: 97-5=92
Exploring Operation: 97-22=75, Resulting Numbers: [5, 75]
Generated Node #0,2,1: 29:[5, 75] Operation: 97-22=75
Exploring Operation: 22-5=17, Resulting Numbers: [97, 17]
Generated Node #0,2,2: 29:[97, 17] Operation: 22-5=17
Exploring Operation: 5+22=27, Resulting Numbers: [97, 27]
Generated Node #0,2,3: 29:[97, 27] Operation: 5+22=27
Exploring Operation: 97+5=102, Resulting Numbers: [22, 102]
Generated Node #0,2,4: 29:[22, 102] Operation: 97+5=102
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[22, 92], Operations: ['44/2=22', '97-5=92']
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,29 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 22*92=2024, Resulting Numbers: [2024]
2024,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[5, 75], Operations: ['44/2=22', '97-22=75']
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 5*75=375, Resulting Numbers: [375]
375,29 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[97, 27], Operations: ['44/2=22', '5+22=27']
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,29 unequal: No Solution
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[97, 17], Operations: ['44/2=22', '22-5=17']
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,29 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[22, 102], Operations: ['44/2=22', '97+5=102']
Exploring Operation: 22+102=124, Resulting Numbers: [124]
124,29 unequal: No Solution
Exploring Operation: 102-22=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 22*102=2244, Resulting Numbers: [2244]
2244,29 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: 29:[97, 44, 10], Operations: ['2*5=10']
Exploring Operation: 44+10=54, Resulting Numbers: [97, 54]
Generated Node #0,0,0: 29:[97, 54] Operation: 44+10=54
Exploring Operation: 44-10=34, Resulting Numbers: [97, 34]
Generated Node #0,0,1: 29:[97, 34] Operation: 44-10=34
Exploring Operation: 97-44=53, Resulting Numbers: [10, 53]
Generated Node #0,0,2: 29:[10, 53] Operation: 97-44=53
Exploring Operation: 97+10=107, Resulting Numbers: [44, 107]
Generated Node #0,0,3: 29:[44, 107] Operation: 97+10=107
Exploring Operation: 97-10=87, Resulting Numbers: [44, 87]
Generated Node #0,0,4: 29:[44, 87] Operation: 97-10=87
Moving to Node #0,1
Current State: 29:[44, 5, 95], Operations: ['97-2=95']
Exploring Operation: 95-44=51, Resulting Numbers: [5, 51]
Generated Node #0,1,0: 29:[5, 51] Operation: 95-44=51
Exploring Operation: 44-5=39, Resulting Numbers: [95, 39]
Generated Node #0,1,1: 29:[95, 39] Operation: 44-5=39
Exploring Operation: 95-5=90, Resulting Numbers: [44, 90]
Generated Node #0,1,2: 29:[44, 90] Operation: 95-5=90
Exploring Operation: 44+5=49, Resulting Numbers: [95, 49]
Generated Node #0,1,3: 29:[95, 49] Operation: 44+5=49
Exploring Operation: 95/5=19, Resulting Numbers: [44, 19]
Generated Node #0,1,4: 29:[44, 19] Operation: 95/5=19
Moving to Node #0,3
Current State: 29:[97, 5, 42], Operations: ['44-2=42']
Exploring Operation: 97+5=102, Resulting Numbers: [42, 102]
Generated Node #0,3,0: 29:[42, 102] Operation: 97+5=102
Exploring Operation: 42-5=37, Resulting Numbers: [97, 37]
Generated Node #0,3,1: 29:[97, 37] Operation: 42-5=37
Exploring Operation: 97-42=55, Resulting Numbers: [5, 55]
Generated Node #0,3,2: 29:[5, 55] Operation: 97-42=55
Exploring Operation: 5+42=47, Resulting Numbers: [97, 47]
Generated Node #0,3,3: 29:[97, 47] Operation: 5+42=47
Exploring Operation: 97-5=92, Resulting Numbers: [42, 92]
Generated Node #0,3,4: 29:[42, 92] Operation: 97-5=92
Moving to Node #0,1,4
Current State: 29:[44, 19], Operations: ['97-2=95', '95/5=19']
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[10, 53], Operations: ['2*5=10', '97-44=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[53, 10], Operations: ['97-44=53', '2*5=10']
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,29 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[2, 48], Operations: ['97-44=53', '53-5=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,29 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[5, 51], Operations: ['97-2=95', '95-44=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,29 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[53, 7], Operations: ['97-44=53', '2+5=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,29 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[5, 51], Operations: ['97-44=53', '53-2=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,29 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[53, 3], Operations: ['97-44=53', '5-2=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,29 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[5, 55], Operations: ['44-2=42', '97-42=55']
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,29 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[97, 34], Operations: ['2*5=10', '44-10=34']
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,29 unequal: No Solution
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[44, 87], Operations: ['2*5=10', '97-10=87']
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,29 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[44, 90], Operations: ['97-2=95', '95-5=90']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,29 unequal: No Solution
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[95, 39], Operations: ['97-2=95', '44-5=39']
Exploring Operation: 95+39=134, Resulting Numbers: [134]
134,29 unequal: No Solution
Exploring Operation: 95*39=3705, Resulting Numbers: [3705]
3705,29 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[42, 92], Operations: ['44-2=42', '97-5=92']
Exploring Operation: 42+92=134, Resulting Numbers: [134]
134,29 unequal: No Solution
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 42*92=3864, Resulting Numbers: [3864]
3864,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[97, 37], Operations: ['44-2=42', '42-5=37']
Exploring Operation: 97+37=134, Resulting Numbers: [134]
134,29 unequal: No Solution
Exploring Operation: 97*37=3589, Resulting Numbers: [3589]
3589,29 unequal: No Solution
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[97, 47], Operations: ['44-2=42', '5+42=47']
Exploring Operation: 97+47=144, Resulting Numbers: [144]
144,29 unequal: No Solution
Exploring Operation: 97*47=4559, Resulting Numbers: [4559]
4559,29 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[42, 102], Operations: ['44-2=42', '97+5=102']
Exploring Operation: 42*102=4284, Resulting Numbers: [4284]
4284,29 unequal: No Solution
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 42+102=144, Resulting Numbers: [144]
144,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[95, 49], Operations: ['97-2=95', '44+5=49']
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,29 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[44, 107], Operations: ['2*5=10', '97+10=107']
Exploring Operation: 44*107=4708, Resulting Numbers: [4708]
4708,29 unequal: No Solution
Exploring Operation: 107-44=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 44+107=151, Resulting Numbers: [151]
151,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[97, 54], Operations: ['2*5=10', '44+10=54']
Exploring Operation: 97*54=5238, Resulting Numbers: [5238]
5238,29 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 97+54=151, Resulting Numbers: [151]
151,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
17,
52,
33,
5
] | 73 | [
"52-17=35",
"33+5=38",
"35+38=73"
] | Current State: 73:[17, 52, 33, 5], Operations: []
Exploring Operation: 52-17=35, Resulting Numbers: [33, 5, 35]
Generated Node #2: [33, 5, 35] from Operation: 52-17=35
Current State: 73:[33, 5, 35], Operations: ['52-17=35']
Exploring Operation: 33+5=38, Resulting Numbers: [35, 38]
Generated Node #3: [35, 38] from Operation: 33+5=38
Current State: 73:[35, 38], Operations: ['52-17=35', '33+5=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[17, 52, 33, 5], Operations: []
Exploring Operation: 17*5=85, Resulting Numbers: [52, 33, 85]
Generated Node #0,0: 73:[52, 33, 85] Operation: 17*5=85
Moving to Node #0,0
Current State: 73:[52, 33, 85], Operations: ['17*5=85']
Exploring Operation: 52+33=85, Resulting Numbers: [85, 85]
Generated Node #0,0,0: 73:[85, 85] Operation: 52+33=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[85, 85], Operations: ['17*5=85', '52+33=85']
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
17,
96,
29
] | 43 | [
"96/32=3",
"17+29=46",
"46-3=43"
] | Current State: 43:[32, 17, 96, 29], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [17, 29, 3]
Generated Node #2: [17, 29, 3] from Operation: 96/32=3
Current State: 43:[17, 29, 3], Operations: ['96/32=3']
Exploring Operation: 17+29=46, Resulting Numbers: [3, 46]
Generated Node #3: [3, 46] from Operation: 17+29=46
Current State: 43:[3, 46], Operations: ['96/32=3', '17+29=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[32, 17, 96, 29], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [32, 29, 79]
Generated Node #0,0: 43:[32, 29, 79] Operation: 96-17=79
Exploring Operation: 96-29=67, Resulting Numbers: [32, 17, 67]
Generated Node #0,1: 43:[32, 17, 67] Operation: 96-29=67
Exploring Operation: 96-32=64, Resulting Numbers: [17, 29, 64]
Generated Node #0,2: 43:[17, 29, 64] Operation: 96-32=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[32, 29, 79], Operations: ['96-17=79']
Exploring Operation: 32+29=61, Resulting Numbers: [79, 61]
Generated Node #0,0,0: 43:[79, 61] Operation: 32+29=61
Exploring Operation: 79-32=47, Resulting Numbers: [29, 47]
Generated Node #0,0,1: 43:[29, 47] Operation: 79-32=47
Exploring Operation: 79-29=50, Resulting Numbers: [32, 50]
Generated Node #0,0,2: 43:[32, 50] Operation: 79-29=50
Moving to Node #0,0,1
Current State: 43:[29, 47], Operations: ['96-17=79', '79-32=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[32, 50], Operations: ['96-17=79', '79-29=50']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,43 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[79, 61], Operations: ['96-17=79', '32+29=61']
Exploring Operation: 79*61=4819, Resulting Numbers: [4819]
4819,43 unequal: No Solution
Exploring Operation: 79+61=140, Resulting Numbers: [140]
140,43 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[32, 17, 67], Operations: ['96-29=67']
Exploring Operation: 67-32=35, Resulting Numbers: [17, 35]
Generated Node #0,1,0: 43:[17, 35] Operation: 67-32=35
Exploring Operation: 67-17=50, Resulting Numbers: [32, 50]
Generated Node #0,1,1: 43:[32, 50] Operation: 67-17=50
Exploring Operation: 32+17=49, Resulting Numbers: [67, 49]
Generated Node #0,1,2: 43:[67, 49] Operation: 32+17=49
Moving to Node #0,1,1
Current State: 43:[32, 50], Operations: ['96-29=67', '67-17=50']
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,43 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[67, 49], Operations: ['96-29=67', '32+17=49']
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,43 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[17, 35], Operations: ['96-29=67', '67-32=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,43 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[17, 29, 64], Operations: ['96-32=64']
Exploring Operation: 17+29=46, Resulting Numbers: [64, 46]
Generated Node #0,2,0: 43:[64, 46] Operation: 17+29=46
Exploring Operation: 64-29=35, Resulting Numbers: [17, 35]
Generated Node #0,2,1: 43:[17, 35] Operation: 64-29=35
Exploring Operation: 64-17=47, Resulting Numbers: [29, 47]
Generated Node #0,2,2: 43:[29, 47] Operation: 64-17=47
Moving to Node #0,2,2
Current State: 43:[29, 47], Operations: ['96-32=64', '64-17=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,43 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[64, 46], Operations: ['96-32=64', '17+29=46']
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,43 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[17, 35], Operations: ['96-32=64', '64-29=35']
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
95,
5,
42
] | 90 | [
"25+95=120",
"5*42=210",
"210-120=90"
] | Current State: 90:[25, 95, 5, 42], Operations: []
Exploring Operation: 25+95=120, Resulting Numbers: [5, 42, 120]
Generated Node #2: [5, 42, 120] from Operation: 25+95=120
Current State: 90:[5, 42, 120], Operations: ['25+95=120']
Exploring Operation: 5*42=210, Resulting Numbers: [120, 210]
Generated Node #3: [120, 210] from Operation: 5*42=210
Current State: 90:[120, 210], Operations: ['25+95=120', '5*42=210']
Exploring Operation: 210-120=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[25, 95, 5, 42], Operations: []
Exploring Operation: 95-5=90, Resulting Numbers: [25, 42, 90]
Generated Node #0,0: 90:[25, 42, 90] Operation: 95-5=90
Exploring Operation: 25+5=30, Resulting Numbers: [95, 42, 30]
Generated Node #0,1: 90:[95, 42, 30] Operation: 25+5=30
Exploring Operation: 25/5=5, Resulting Numbers: [95, 42, 5]
Generated Node #0,2: 90:[95, 42, 5] Operation: 25/5=5
Exploring Operation: 42-25=17, Resulting Numbers: [95, 5, 17]
Generated Node #0,3: 90:[95, 5, 17] Operation: 42-25=17
Moving to Node #0,3
Current State: 90:[95, 5, 17], Operations: ['42-25=17']
Exploring Operation: 95-5=90, Resulting Numbers: [17, 90]
Generated Node #0,3,0: 90:[17, 90] Operation: 95-5=90
Exploring Operation: 17-5=12, Resulting Numbers: [95, 12]
Generated Node #0,3,1: 90:[95, 12] Operation: 17-5=12
Exploring Operation: 95/5=19, Resulting Numbers: [17, 19]
Generated Node #0,3,2: 90:[17, 19] Operation: 95/5=19
Exploring Operation: 5+17=22, Resulting Numbers: [95, 22]
Generated Node #0,3,3: 90:[95, 22] Operation: 5+17=22
Moving to Node #0,1
Current State: 90:[95, 42, 30], Operations: ['25+5=30']
Exploring Operation: 42+30=72, Resulting Numbers: [95, 72]
Generated Node #0,1,0: 90:[95, 72] Operation: 42+30=72
Exploring Operation: 42-30=12, Resulting Numbers: [95, 12]
Generated Node #0,1,1: 90:[95, 12] Operation: 42-30=12
Exploring Operation: 95-30=65, Resulting Numbers: [42, 65]
Generated Node #0,1,2: 90:[42, 65] Operation: 95-30=65
Exploring Operation: 95-42=53, Resulting Numbers: [30, 53]
Generated Node #0,1,3: 90:[30, 53] Operation: 95-42=53
Moving to Node #0,0
Current State: 90:[25, 42, 90], Operations: ['95-5=90']
Exploring Operation: 90-42=48, Resulting Numbers: [25, 48]
Generated Node #0,0,0: 90:[25, 48] Operation: 90-42=48
Exploring Operation: 25+42=67, Resulting Numbers: [90, 67]
Generated Node #0,0,1: 90:[90, 67] Operation: 25+42=67
Exploring Operation: 90-25=65, Resulting Numbers: [42, 65]
Generated Node #0,0,2: 90:[42, 65] Operation: 90-25=65
Exploring Operation: 42-25=17, Resulting Numbers: [90, 17]
Generated Node #0,0,3: 90:[90, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[90, 17], Operations: ['95-5=90', '42-25=17']
Exploring Operation: 90*17=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 90+17=107, Resulting Numbers: [107]
107,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[25, 48], Operations: ['95-5=90', '90-42=48']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,90 unequal: No Solution
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[90, 67], Operations: ['95-5=90', '25+42=67']
Exploring Operation: 90+67=157, Resulting Numbers: [157]
157,90 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 90*67=6030, Resulting Numbers: [6030]
6030,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[42, 65], Operations: ['95-5=90', '90-25=65']
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,90 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 90:[95, 42, 5], Operations: ['25/5=5']
Exploring Operation: 42+5=47, Resulting Numbers: [95, 47]
Generated Node #0,2,0: 90:[95, 47] Operation: 42+5=47
Exploring Operation: 95/5=19, Resulting Numbers: [42, 19]
Generated Node #0,2,1: 90:[42, 19] Operation: 95/5=19
Exploring Operation: 95-42=53, Resulting Numbers: [5, 53]
Generated Node #0,2,2: 90:[5, 53] Operation: 95-42=53
Exploring Operation: 95-5=90, Resulting Numbers: [42, 90]
Generated Node #0,2,3: 90:[42, 90] Operation: 95-5=90
Moving to Node #0,3,0
Current State: 90:[17, 90], Operations: ['42-25=17', '95-5=90']
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[17, 19], Operations: ['42-25=17', '95/5=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,90 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[42, 90], Operations: ['25/5=5', '95-5=90']
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,90 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[42, 19], Operations: ['25/5=5', '95/5=19']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,90 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[95, 12], Operations: ['42-25=17', '17-5=12']
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,90 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[95, 12], Operations: ['25+5=30', '42-30=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[95, 47], Operations: ['25/5=5', '42+5=47']
Exploring Operation: 95+47=142, Resulting Numbers: [142]
142,90 unequal: No Solution
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 95*47=4465, Resulting Numbers: [4465]
4465,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[30, 53], Operations: ['25+5=30', '95-42=53']
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,90 unequal: No Solution
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[5, 53], Operations: ['25/5=5', '95-42=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,90 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[95, 22], Operations: ['42-25=17', '5+17=22']
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 95+22=117, Resulting Numbers: [117]
117,90 unequal: No Solution
Exploring Operation: 95*22=2090, Resulting Numbers: [2090]
2090,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[95, 72], Operations: ['25+5=30', '42+30=72']
Exploring Operation: 95+72=167, Resulting Numbers: [167]
167,90 unequal: No Solution
Exploring Operation: 95*72=6840, Resulting Numbers: [6840]
6840,90 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[42, 65], Operations: ['25+5=30', '95-30=65']
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,90 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
92,
51,
45,
8
] | 32 | [
"92-51=41",
"45-41=4",
"8*4=32"
] | Current State: 32:[92, 51, 45, 8], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [45, 8, 41]
Generated Node #2: [45, 8, 41] from Operation: 92-51=41
Current State: 32:[45, 8, 41], Operations: ['92-51=41']
Exploring Operation: 45-41=4, Resulting Numbers: [8, 4]
Generated Node #3: [8, 4] from Operation: 45-41=4
Current State: 32:[8, 4], Operations: ['92-51=41', '45-41=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[92, 51, 45, 8], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [45, 8, 41]
Generated Node #0,0: 32:[45, 8, 41] Operation: 92-51=41
Moving to Node #0,0
Current State: 32:[45, 8, 41], Operations: ['92-51=41']
Exploring Operation: 45-41=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 45-41=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[8, 4], Operations: ['92-51=41', '45-41=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[92, 51, 45, 8], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [45, 8, 41]
Generated Node #0,0: 32:[45, 8, 41] Operation: 92-51=41
Moving to Node #0,0
Current State: 32:[45, 8, 41], Operations: ['92-51=41']
Exploring Operation: 45-41=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 45-41=4
Moving to Node #0,0,0
Current State: 32:[8, 4], Operations: ['92-51=41', '45-41=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
13,
30,
11,
13
] | 44 | [
"30-13=17",
"17-13=4",
"11*4=44"
] | Current State: 44:[13, 30, 11, 13], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [11, 17]
Generated Node #2: [11, 17] from Operation: 30-13=17
Current State: 44:[11, 17], Operations: ['30-13=17']
Exploring Operation: 17-13=4, Resulting Numbers: [11, 4]
Generated Node #3: [11, 4] from Operation: 17-13=4
Current State: 44:[11, 4], Operations: ['30-13=17', '17-13=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[13, 30, 11, 13], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [11, 13, 17]
Generated Node #0,0: 44:[11, 13, 17] Operation: 30-13=17
Exploring Operation: 30+13=43, Resulting Numbers: [13, 11, 43]
Generated Node #0,1: 44:[13, 11, 43] Operation: 30+13=43
Exploring Operation: 13+30=43, Resulting Numbers: [11, 13, 43]
Generated Node #0,2: 44:[11, 13, 43] Operation: 13+30=43
Moving to Node #0,1
Current State: 44:[13, 11, 43], Operations: ['30+13=43']
Exploring Operation: 13-11=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 44:[43, 2] Operation: 13-11=2
Exploring Operation: 13+11=24, Resulting Numbers: [43, 24]
Generated Node #0,1,1: 44:[43, 24] Operation: 13+11=24
Exploring Operation: 43-13=30, Resulting Numbers: [11, 30]
Generated Node #0,1,2: 44:[11, 30] Operation: 43-13=30
Moving to Node #0,2
Current State: 44:[11, 13, 43], Operations: ['13+30=43']
Exploring Operation: 43-13=30, Resulting Numbers: [11, 30]
Generated Node #0,2,0: 44:[11, 30] Operation: 43-13=30
Exploring Operation: 11+13=24, Resulting Numbers: [43, 24]
Generated Node #0,2,1: 44:[43, 24] Operation: 11+13=24
Exploring Operation: 13-11=2, Resulting Numbers: [43, 2]
Generated Node #0,2,2: 44:[43, 2] Operation: 13-11=2
Moving to Node #0,0
Current State: 44:[11, 13, 17], Operations: ['30-13=17']
Exploring Operation: 13-11=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 44:[17, 2] Operation: 13-11=2
Exploring Operation: 17-11=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 44:[13, 6] Operation: 17-11=6
Exploring Operation: 17-13=4, Resulting Numbers: [11, 4]
Generated Node #0,0,2: 44:[11, 4] Operation: 17-13=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[11, 4], Operations: ['30-13=17', '17-13=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[13, 30, 11, 13], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [11, 13, 17]
Generated Node #0,0: 44:[11, 13, 17] Operation: 30-13=17
Moving to Node #0,0
Current State: 44:[11, 13, 17], Operations: ['30-13=17']
Exploring Operation: 17-13=4, Resulting Numbers: [11, 4]
Generated Node #0,0,2: 44:[11, 4] Operation: 17-13=4
Moving to Node #0,0,2
Current State: 44:[11, 4], Operations: ['30-13=17', '17-13=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
92,
5,
98,
94
] | 93 | [
"92+5=97",
"98-94=4",
"97-4=93"
] | Current State: 93:[92, 5, 98, 94], Operations: []
Exploring Operation: 92+5=97, Resulting Numbers: [98, 94, 97]
Generated Node #2: [98, 94, 97] from Operation: 92+5=97
Current State: 93:[98, 94, 97], Operations: ['92+5=97']
Exploring Operation: 98-94=4, Resulting Numbers: [97, 4]
Generated Node #3: [97, 4] from Operation: 98-94=4
Current State: 93:[97, 4], Operations: ['92+5=97', '98-94=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[92, 5, 98, 94], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [92, 94, 93]
Generated Node #0,0: 93:[92, 94, 93] Operation: 98-5=93
Moving to Node #0,0
Current State: 93:[92, 94, 93], Operations: ['98-5=93']
Exploring Operation: 94-92=2, Resulting Numbers: [93, 2]
Generated Node #0,0,0: 93:[93, 2] Operation: 94-92=2
Moving to Node #0,0,0
Current State: 93:[93, 2], Operations: ['98-5=93', '94-92=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,93 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
39,
4,
67
] | 11 | [
"68/4=17",
"67-39=28",
"28-17=11"
] | Current State: 11:[68, 39, 4, 67], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [39, 67, 17]
Generated Node #2: [39, 67, 17] from Operation: 68/4=17
Current State: 11:[39, 67, 17], Operations: ['68/4=17']
Exploring Operation: 67-39=28, Resulting Numbers: [17, 28]
Generated Node #3: [17, 28] from Operation: 67-39=28
Current State: 11:[17, 28], Operations: ['68/4=17', '67-39=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[68, 39, 4, 67], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [4, 67, 29]
Generated Node #0,0: 11:[4, 67, 29] Operation: 68-39=29
Exploring Operation: 68-67=1, Resulting Numbers: [39, 4, 1]
Generated Node #0,1: 11:[39, 4, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 11:[39, 4, 1], Operations: ['68-67=1']
Exploring Operation: 39-4=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 11:[1, 35] Operation: 39-4=35
Exploring Operation: 39-1=38, Resulting Numbers: [4, 38]
Generated Node #0,1,1: 11:[4, 38] Operation: 39-1=38
Moving to Node #0,0
Current State: 11:[4, 67, 29], Operations: ['68-39=29']
Exploring Operation: 67-4=63, Resulting Numbers: [29, 63]
Generated Node #0,0,0: 11:[29, 63] Operation: 67-4=63
Exploring Operation: 67-29=38, Resulting Numbers: [4, 38]
Generated Node #0,0,1: 11:[4, 38] Operation: 67-29=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[4, 38], Operations: ['68-39=29', '67-29=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[29, 63], Operations: ['68-39=29', '67-4=63']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 11:[1, 35], Operations: ['68-67=1', '39-4=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[4, 38], Operations: ['68-67=1', '39-1=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,11 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
69,
16,
91
] | 59 | [
"65+69=134",
"91-16=75",
"134-75=59"
] | Current State: 59:[65, 69, 16, 91], Operations: []
Exploring Operation: 65+69=134, Resulting Numbers: [16, 91, 134]
Generated Node #2: [16, 91, 134] from Operation: 65+69=134
Current State: 59:[16, 91, 134], Operations: ['65+69=134']
Exploring Operation: 91-16=75, Resulting Numbers: [134, 75]
Generated Node #3: [134, 75] from Operation: 91-16=75
Current State: 59:[134, 75], Operations: ['65+69=134', '91-16=75']
Exploring Operation: 134-75=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[65, 69, 16, 91], Operations: []
Exploring Operation: 69+16=85, Resulting Numbers: [65, 91, 85]
Generated Node #0,0: 59:[65, 91, 85] Operation: 69+16=85
Exploring Operation: 91-16=75, Resulting Numbers: [65, 69, 75]
Generated Node #0,1: 59:[65, 69, 75] Operation: 91-16=75
Exploring Operation: 65+16=81, Resulting Numbers: [69, 91, 81]
Generated Node #0,2: 59:[69, 91, 81] Operation: 65+16=81
Exploring Operation: 69-16=53, Resulting Numbers: [65, 91, 53]
Generated Node #0,3: 59:[65, 91, 53] Operation: 69-16=53
Exploring Operation: 65-16=49, Resulting Numbers: [69, 91, 49]
Generated Node #0,4: 59:[69, 91, 49] Operation: 65-16=49
Moving to Node #0,1
Current State: 59:[65, 69, 75], Operations: ['91-16=75']
Exploring Operation: 65+75=140, Resulting Numbers: [69, 140]
Generated Node #0,1,0: 59:[69, 140] Operation: 65+75=140
Exploring Operation: 75-65=10, Resulting Numbers: [69, 10]
Generated Node #0,1,1: 59:[69, 10] Operation: 75-65=10
Exploring Operation: 69-65=4, Resulting Numbers: [75, 4]
Generated Node #0,1,2: 59:[75, 4] Operation: 69-65=4
Exploring Operation: 65+69=134, Resulting Numbers: [75, 134]
Generated Node #0,1,3: 59:[75, 134] Operation: 65+69=134
Exploring Operation: 75-69=6, Resulting Numbers: [65, 6]
Generated Node #0,1,4: 59:[65, 6] Operation: 75-69=6
Moving to Node #0,3
Current State: 59:[65, 91, 53], Operations: ['69-16=53']
Exploring Operation: 91+53=144, Resulting Numbers: [65, 144]
Generated Node #0,3,0: 59:[65, 144] Operation: 91+53=144
Exploring Operation: 91-65=26, Resulting Numbers: [53, 26]
Generated Node #0,3,1: 59:[53, 26] Operation: 91-65=26
Exploring Operation: 65+53=118, Resulting Numbers: [91, 118]
Generated Node #0,3,2: 59:[91, 118] Operation: 65+53=118
Exploring Operation: 91-53=38, Resulting Numbers: [65, 38]
Generated Node #0,3,3: 59:[65, 38] Operation: 91-53=38
Exploring Operation: 65-53=12, Resulting Numbers: [91, 12]
Generated Node #0,3,4: 59:[91, 12] Operation: 65-53=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[65, 38], Operations: ['69-16=53', '91-53=38']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,59 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[53, 26], Operations: ['69-16=53', '91-65=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,59 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[91, 12], Operations: ['69-16=53', '65-53=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[65, 144], Operations: ['69-16=53', '91+53=144']
Exploring Operation: 65*144=9360, Resulting Numbers: [9360]
9360,59 unequal: No Solution
Exploring Operation: 65+144=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 144-65=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[91, 118], Operations: ['69-16=53', '65+53=118']
Exploring Operation: 91*118=10738, Resulting Numbers: [10738]
10738,59 unequal: No Solution
Exploring Operation: 118-91=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 91+118=209, Resulting Numbers: [209]
209,59 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: 59:[69, 91, 49], Operations: ['65-16=49']
Exploring Operation: 91+49=140, Resulting Numbers: [69, 140]
Generated Node #0,4,0: 59:[69, 140] Operation: 91+49=140
Exploring Operation: 69-49=20, Resulting Numbers: [91, 20]
Generated Node #0,4,1: 59:[91, 20] Operation: 69-49=20
Exploring Operation: 91-69=22, Resulting Numbers: [49, 22]
Generated Node #0,4,2: 59:[49, 22] Operation: 91-69=22
Exploring Operation: 91-49=42, Resulting Numbers: [69, 42]
Generated Node #0,4,3: 59:[69, 42] Operation: 91-49=42
Exploring Operation: 69+49=118, Resulting Numbers: [91, 118]
Generated Node #0,4,4: 59:[91, 118] Operation: 69+49=118
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 59:[69, 42], Operations: ['65-16=49', '91-49=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,59 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,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,4,2
Current State: 59:[49, 22], Operations: ['65-16=49', '91-69=22']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,59 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,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,4,1
Current State: 59:[91, 20], Operations: ['65-16=49', '69-49=20']
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,59 unequal: No Solution
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,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,4,0
Current State: 59:[69, 140], Operations: ['65-16=49', '91+49=140']
Exploring Operation: 69*140=9660, Resulting Numbers: [9660]
9660,59 unequal: No Solution
Exploring Operation: 140-69=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 69+140=209, Resulting Numbers: [209]
209,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,4,4
Current State: 59:[91, 118], Operations: ['65-16=49', '69+49=118']
Exploring Operation: 91+118=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 118-91=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 91*118=10738, Resulting Numbers: [10738]
10738,59 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: 59:[65, 91, 85], Operations: ['69+16=85']
Exploring Operation: 91-65=26, Resulting Numbers: [85, 26]
Generated Node #0,0,0: 59:[85, 26] Operation: 91-65=26
Exploring Operation: 65+91=156, Resulting Numbers: [85, 156]
Generated Node #0,0,1: 59:[85, 156] Operation: 65+91=156
Exploring Operation: 85-65=20, Resulting Numbers: [91, 20]
Generated Node #0,0,2: 59:[91, 20] Operation: 85-65=20
Exploring Operation: 65+85=150, Resulting Numbers: [91, 150]
Generated Node #0,0,3: 59:[91, 150] Operation: 65+85=150
Exploring Operation: 91-85=6, Resulting Numbers: [65, 6]
Generated Node #0,0,4: 59:[65, 6] Operation: 91-85=6
Moving to Node #0,2
Current State: 59:[69, 91, 81], Operations: ['65+16=81']
Exploring Operation: 91-69=22, Resulting Numbers: [81, 22]
Generated Node #0,2,0: 59:[81, 22] Operation: 91-69=22
Exploring Operation: 81-69=12, Resulting Numbers: [91, 12]
Generated Node #0,2,1: 59:[91, 12] Operation: 81-69=12
Exploring Operation: 91-81=10, Resulting Numbers: [69, 10]
Generated Node #0,2,2: 59:[69, 10] Operation: 91-81=10
Exploring Operation: 69+81=150, Resulting Numbers: [91, 150]
Generated Node #0,2,3: 59:[91, 150] Operation: 69+81=150
Exploring Operation: 69+91=160, Resulting Numbers: [81, 160]
Generated Node #0,2,4: 59:[81, 160] Operation: 69+91=160
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[81, 22], Operations: ['65+16=81', '91-69=22']
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,59 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[65, 69, 16, 91], Operations: []
Exploring Operation: 65+16=81, Resulting Numbers: [69, 91, 81]
Generated Node #0,2: 59:[69, 91, 81] Operation: 65+16=81
Moving to Node #0,2
Current State: 59:[69, 91, 81], Operations: ['65+16=81']
Exploring Operation: 91-69=22, Resulting Numbers: [81, 22]
Generated Node #0,2,0: 59:[81, 22] Operation: 91-69=22
Moving to Node #0,2,0
Current State: 59:[81, 22], Operations: ['65+16=81', '91-69=22']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | sum_heuristic |
[
8,
61,
8,
4
] | 63 | [
"8-4=4",
"8/4=2",
"61+2=63"
] | Current State: 63:[8, 61, 8, 4], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [61, 4]
Generated Node #2: [61, 4] from Operation: 8-4=4
Current State: 63:[61, 4], Operations: ['8-4=4']
Exploring Operation: 8/4=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 8/4=2
Current State: 63:[61, 2], Operations: ['8-4=4', '8/4=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[8, 61, 8, 4], Operations: []
Exploring Operation: 8*8=64, Resulting Numbers: [61, 4, 64]
Generated Node #0,0: 63:[61, 4, 64] Operation: 8*8=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[61, 4, 64], Operations: ['8*8=64']
Exploring Operation: 64-61=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 63:[4, 3] Operation: 64-61=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[4, 3], Operations: ['8*8=64', '64-61=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
62,
58,
38
] | 87 | [
"45+62=107",
"58-38=20",
"107-20=87"
] | Current State: 87:[45, 62, 58, 38], Operations: []
Exploring Operation: 45+62=107, Resulting Numbers: [58, 38, 107]
Generated Node #2: [58, 38, 107] from Operation: 45+62=107
Current State: 87:[58, 38, 107], Operations: ['45+62=107']
Exploring Operation: 58-38=20, Resulting Numbers: [107, 20]
Generated Node #3: [107, 20] from Operation: 58-38=20
Current State: 87:[107, 20], Operations: ['45+62=107', '58-38=20']
Exploring Operation: 107-20=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[45, 62, 58, 38], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [62, 38, 13]
Generated Node #0,0: 87:[62, 38, 13] Operation: 58-45=13
Exploring Operation: 62-58=4, Resulting Numbers: [45, 38, 4]
Generated Node #0,1: 87:[45, 38, 4] Operation: 62-58=4
Moving to Node #0,1
Current State: 87:[45, 38, 4], Operations: ['62-58=4']
Exploring Operation: 45+38=83, Resulting Numbers: [4, 83]
Generated Node #0,1,0: 87:[4, 83] Operation: 45+38=83
Exploring Operation: 45-38=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 87:[4, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[4, 83], Operations: ['62-58=4', '45+38=83']
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[45, 62, 58, 38], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [45, 38, 4]
Generated Node #0,1: 87:[45, 38, 4] Operation: 62-58=4
Moving to Node #0,1
Current State: 87:[45, 38, 4], Operations: ['62-58=4']
Exploring Operation: 45+38=83, Resulting Numbers: [4, 83]
Generated Node #0,1,0: 87:[4, 83] Operation: 45+38=83
Moving to Node #0,1,0
Current State: 87:[4, 83], Operations: ['62-58=4', '45+38=83']
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
10,
47,
37,
2
] | 17 | [
"10+47=57",
"37*2=74",
"74-57=17"
] | Current State: 17:[10, 47, 37, 2], Operations: []
Exploring Operation: 10+47=57, Resulting Numbers: [37, 2, 57]
Generated Node #2: [37, 2, 57] from Operation: 10+47=57
Current State: 17:[37, 2, 57], Operations: ['10+47=57']
Exploring Operation: 37*2=74, Resulting Numbers: [57, 74]
Generated Node #3: [57, 74] from Operation: 37*2=74
Current State: 17:[57, 74], Operations: ['10+47=57', '37*2=74']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[10, 47, 37, 2], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [47, 37, 20]
Generated Node #0,0: 17:[47, 37, 20] Operation: 10*2=20
Exploring Operation: 47-37=10, Resulting Numbers: [10, 2, 10]
Generated Node #0,1: 17:[10, 2, 10] Operation: 47-37=10
Exploring Operation: 47-10=37, Resulting Numbers: [37, 2, 37]
Generated Node #0,2: 17:[37, 2, 37] Operation: 47-10=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[10, 2, 10], Operations: ['47-37=10']
Exploring Operation: 10+2=12, Resulting Numbers: [10, 12]
Generated Node #0,1,0: 17:[10, 12] Operation: 10+2=12
Exploring Operation: 10*2=20, Resulting Numbers: [10, 20]
Generated Node #0,1,1: 17:[10, 20] Operation: 10*2=20
Exploring Operation: 2*10=20, Resulting Numbers: [10, 20]
Generated Node #0,1,2: 17:[10, 20] Operation: 2*10=20
Moving to Node #0,1,1
Current State: 17:[10, 20], Operations: ['47-37=10', '10*2=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[10, 20], Operations: ['47-37=10', '2*10=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[10, 12], Operations: ['47-37=10', '10+2=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,17 unequal: No Solution
No solution 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: 17:[47, 37, 20], Operations: ['10*2=20']
Exploring Operation: 47-20=27, Resulting Numbers: [37, 27]
Generated Node #0,0,0: 17:[37, 27] Operation: 47-20=27
Exploring Operation: 47-37=10, Resulting Numbers: [20, 10]
Generated Node #0,0,1: 17:[20, 10] Operation: 47-37=10
Exploring Operation: 37-20=17, Resulting Numbers: [47, 17]
Generated Node #0,0,2: 17:[47, 17] Operation: 37-20=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[20, 10], Operations: ['10*2=20', '47-37=10']
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,17 unequal: No Solution
No 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: 17:[37, 27], Operations: ['10*2=20', '47-20=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,17 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No 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: 17:[47, 17], Operations: ['10*2=20', '37-20=17']
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,17 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,17 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: 17:[37, 2, 37], Operations: ['47-10=37']
Exploring Operation: 37-37=0, Resulting Numbers: [2, 0]
Generated Node #0,2,0: 17:[2, 0] Operation: 37-37=0
Exploring Operation: 37-2=35, Resulting Numbers: [37, 35]
Generated Node #0,2,1: 17:[37, 35] Operation: 37-2=35
Exploring Operation: 37/37=1, Resulting Numbers: [2, 1]
Generated Node #0,2,2: 17:[2, 1] Operation: 37/37=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[2, 1], Operations: ['47-10=37', '37/37=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,17 unequal: No Solution
No 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: 17:[2, 0], Operations: ['47-10=37', '37-37=0']
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,17 unequal: No Solution
No 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: 17:[37, 35], Operations: ['47-10=37', '37-2=35']
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,17 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,17 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 |
[
53,
36,
91,
97
] | 93 | [
"53+91=144",
"144/36=4",
"97-4=93"
] | Current State: 93:[53, 36, 91, 97], Operations: []
Exploring Operation: 53+91=144, Resulting Numbers: [36, 97, 144]
Generated Node #2: [36, 97, 144] from Operation: 53+91=144
Current State: 93:[36, 97, 144], Operations: ['53+91=144']
Exploring Operation: 144/36=4, Resulting Numbers: [97, 4]
Generated Node #3: [97, 4] from Operation: 144/36=4
Current State: 93:[97, 4], Operations: ['53+91=144', '144/36=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[53, 36, 91, 97], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [91, 97, 17]
Generated Node #0,0: 93:[91, 97, 17] Operation: 53-36=17
Exploring Operation: 53+36=89, Resulting Numbers: [91, 97, 89]
Generated Node #0,1: 93:[91, 97, 89] Operation: 53+36=89
Exploring Operation: 91-53=38, Resulting Numbers: [36, 97, 38]
Generated Node #0,2: 93:[36, 97, 38] Operation: 91-53=38
Exploring Operation: 97-53=44, Resulting Numbers: [36, 91, 44]
Generated Node #0,3: 93:[36, 91, 44] Operation: 97-53=44
Exploring Operation: 97-91=6, Resulting Numbers: [53, 36, 6]
Generated Node #0,4: 93:[53, 36, 6] Operation: 97-91=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[91, 97, 89], Operations: ['53+36=89']
Exploring Operation: 97-89=8, Resulting Numbers: [91, 8]
Generated Node #0,1,0: 93:[91, 8] Operation: 97-89=8
Exploring Operation: 91-89=2, Resulting Numbers: [97, 2]
Generated Node #0,1,1: 93:[97, 2] Operation: 91-89=2
Exploring Operation: 97+89=186, Resulting Numbers: [91, 186]
Generated Node #0,1,2: 93:[91, 186] Operation: 97+89=186
Exploring Operation: 91+89=180, Resulting Numbers: [97, 180]
Generated Node #0,1,3: 93:[97, 180] Operation: 91+89=180
Exploring Operation: 97-91=6, Resulting Numbers: [89, 6]
Generated Node #0,1,4: 93:[89, 6] Operation: 97-91=6
Moving to Node #0,1,1
Current State: 93:[97, 2], Operations: ['53+36=89', '91-89=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,93 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[89, 6], Operations: ['53+36=89', '97-91=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,93 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[91, 8], Operations: ['53+36=89', '97-89=8']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[97, 180], Operations: ['53+36=89', '91+89=180']
Exploring Operation: 180-97=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 97*180=17460, Resulting Numbers: [17460]
17460,93 unequal: No Solution
Exploring Operation: 97+180=277, Resulting Numbers: [277]
277,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[91, 186], Operations: ['53+36=89', '97+89=186']
Exploring Operation: 91*186=16926, Resulting Numbers: [16926]
16926,93 unequal: No Solution
Exploring Operation: 186-91=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 91+186=277, Resulting Numbers: [277]
277,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:[36, 97, 38], Operations: ['91-53=38']
Exploring Operation: 97-36=61, Resulting Numbers: [38, 61]
Generated Node #0,2,0: 93:[38, 61] Operation: 97-36=61
Exploring Operation: 36+38=74, Resulting Numbers: [97, 74]
Generated Node #0,2,1: 93:[97, 74] Operation: 36+38=74
Exploring Operation: 38-36=2, Resulting Numbers: [97, 2]
Generated Node #0,2,2: 93:[97, 2] Operation: 38-36=2
Exploring Operation: 97-38=59, Resulting Numbers: [36, 59]
Generated Node #0,2,3: 93:[36, 59] Operation: 97-38=59
Exploring Operation: 36+97=133, Resulting Numbers: [38, 133]
Generated Node #0,2,4: 93:[38, 133] Operation: 36+97=133
Moving to Node #0,2,2
Current State: 93:[97, 2], Operations: ['91-53=38', '38-36=2']
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,93 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[97, 74], Operations: ['91-53=38', '36+38=74']
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 97+74=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Exploring Operation: 97*74=7178, Resulting Numbers: [7178]
7178,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[36, 59], Operations: ['91-53=38', '97-38=59']
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,93 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[38, 61], Operations: ['91-53=38', '97-36=61']
Exploring Operation: 38*61=2318, Resulting Numbers: [2318]
2318,93 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 38+61=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[38, 133], Operations: ['91-53=38', '36+97=133']
Exploring Operation: 38*133=5054, Resulting Numbers: [5054]
5054,93 unequal: No Solution
Exploring Operation: 38+133=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Exploring Operation: 133-38=95, Resulting Numbers: [95]
95,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[91, 97, 17], Operations: ['53-36=17']
Exploring Operation: 91+17=108, Resulting Numbers: [97, 108]
Generated Node #0,0,0: 93:[97, 108] Operation: 91+17=108
Exploring Operation: 97-91=6, Resulting Numbers: [17, 6]
Generated Node #0,0,1: 93:[17, 6] Operation: 97-91=6
Exploring Operation: 97-17=80, Resulting Numbers: [91, 80]
Generated Node #0,0,2: 93:[91, 80] Operation: 97-17=80
Exploring Operation: 91-17=74, Resulting Numbers: [97, 74]
Generated Node #0,0,3: 93:[97, 74] Operation: 91-17=74
Exploring Operation: 97+17=114, Resulting Numbers: [91, 114]
Generated Node #0,0,4: 93:[91, 114] Operation: 97+17=114
Moving to Node #0,0,2
Current State: 93:[91, 80], Operations: ['53-36=17', '97-17=80']
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,93 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[17, 6], Operations: ['53-36=17', '97-91=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,93 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[97, 108], Operations: ['53-36=17', '91+17=108']
Exploring Operation: 108-97=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 97*108=10476, Resulting Numbers: [10476]
10476,93 unequal: No Solution
Exploring Operation: 97+108=205, Resulting Numbers: [205]
205,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[97, 74], Operations: ['53-36=17', '91-17=74']
Exploring Operation: 97*74=7178, Resulting Numbers: [7178]
7178,93 unequal: No Solution
Exploring Operation: 97+74=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[91, 114], Operations: ['53-36=17', '97+17=114']
Exploring Operation: 114-91=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 91+114=205, Resulting Numbers: [205]
205,93 unequal: No Solution
Exploring Operation: 91*114=10374, Resulting Numbers: [10374]
10374,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:[36, 91, 44], Operations: ['97-53=44']
Exploring Operation: 91-44=47, Resulting Numbers: [36, 47]
Generated Node #0,3,0: 93:[36, 47] Operation: 91-44=47
Exploring Operation: 36+91=127, Resulting Numbers: [44, 127]
Generated Node #0,3,1: 93:[44, 127] Operation: 36+91=127
Exploring Operation: 36+44=80, Resulting Numbers: [91, 80]
Generated Node #0,3,2: 93:[91, 80] Operation: 36+44=80
Exploring Operation: 91-36=55, Resulting Numbers: [44, 55]
Generated Node #0,3,3: 93:[44, 55] Operation: 91-36=55
Exploring Operation: 44-36=8, Resulting Numbers: [91, 8]
Generated Node #0,3,4: 93:[91, 8] Operation: 44-36=8
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 93:[91, 8], Operations: ['97-53=44', '44-36=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,93 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,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,3,2
Current State: 93:[91, 80], Operations: ['97-53=44', '36+44=80']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,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,3,0
Current State: 93:[36, 47], Operations: ['97-53=44', '91-44=47']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,93 unequal: No Solution
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,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,3,3
Current State: 93:[44, 55], Operations: ['97-53=44', '91-36=55']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,93 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,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,3,1
Current State: 93:[44, 127], Operations: ['97-53=44', '36+91=127']
Exploring Operation: 44+127=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Exploring Operation: 127-44=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 44*127=5588, Resulting Numbers: [5588]
5588,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,4
Current State: 93:[53, 36, 6], Operations: ['97-91=6']
Exploring Operation: 36/6=6, Resulting Numbers: [53, 6]
Generated Node #0,4,0: 93:[53, 6] Operation: 36/6=6
Exploring Operation: 53-36=17, Resulting Numbers: [6, 17]
Generated Node #0,4,1: 93:[6, 17] Operation: 53-36=17
Exploring Operation: 53+36=89, Resulting Numbers: [6, 89]
Generated Node #0,4,2: 93:[6, 89] Operation: 53+36=89
Exploring Operation: 36-6=30, Resulting Numbers: [53, 30]
Generated Node #0,4,3: 93:[53, 30] Operation: 36-6=30
Exploring Operation: 53-6=47, Resulting Numbers: [36, 47]
Generated Node #0,4,4: 93:[36, 47] Operation: 53-6=47
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 93:[6, 89], Operations: ['97-91=6', '53+36=89']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,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,4,1
Current State: 93:[6, 17], Operations: ['97-91=6', '53-36=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,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,4,4
Current State: 93:[36, 47], Operations: ['97-91=6', '53-6=47']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,93 unequal: No Solution
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,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,4,3
Current State: 93:[53, 30], Operations: ['97-91=6', '36-6=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,93 unequal: No Solution
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,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,4,0
Current State: 93:[53, 6], Operations: ['97-91=6', '36/6=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,93 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,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_5 | sum_heuristic |
[
3,
77,
33,
27
] | 68 | [
"77-3=74",
"33-27=6",
"74-6=68"
] | Current State: 68:[3, 77, 33, 27], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [33, 27, 74]
Generated Node #2: [33, 27, 74] from Operation: 77-3=74
Current State: 68:[33, 27, 74], Operations: ['77-3=74']
Exploring Operation: 33-27=6, Resulting Numbers: [74, 6]
Generated Node #3: [74, 6] from Operation: 33-27=6
Current State: 68:[74, 6], Operations: ['77-3=74', '33-27=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[3, 77, 33, 27], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [33, 27, 74]
Generated Node #0,0: 68:[33, 27, 74] Operation: 77-3=74
Exploring Operation: 3+27=30, Resulting Numbers: [77, 33, 30]
Generated Node #0,1: 68:[77, 33, 30] Operation: 3+27=30
Exploring Operation: 33-27=6, Resulting Numbers: [3, 77, 6]
Generated Node #0,2: 68:[3, 77, 6] Operation: 33-27=6
Moving to Node #0,2
Current State: 68:[3, 77, 6], Operations: ['33-27=6']
Exploring Operation: 77-6=71, Resulting Numbers: [3, 71]
Generated Node #0,2,0: 68:[3, 71] Operation: 77-6=71
Exploring Operation: 6/3=2, Resulting Numbers: [77, 2]
Generated Node #0,2,1: 68:[77, 2] Operation: 6/3=2
Exploring Operation: 77-3=74, Resulting Numbers: [6, 74]
Generated Node #0,2,2: 68:[6, 74] Operation: 77-3=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[3, 71], Operations: ['33-27=6', '77-6=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,68 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[3, 77, 33, 27], Operations: []
Exploring Operation: 33-27=6, Resulting Numbers: [3, 77, 6]
Generated Node #0,2: 68:[3, 77, 6] Operation: 33-27=6
Moving to Node #0,2
Current State: 68:[3, 77, 6], Operations: ['33-27=6']
Exploring Operation: 77-6=71, Resulting Numbers: [3, 71]
Generated Node #0,2,0: 68:[3, 71] Operation: 77-6=71
Moving to Node #0,2,0
Current State: 68:[3, 71], Operations: ['33-27=6', '77-6=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
29,
61,
14,
25
] | 26 | [
"61+14=75",
"75/25=3",
"29-3=26"
] | Current State: 26:[29, 61, 14, 25], Operations: []
Exploring Operation: 61+14=75, Resulting Numbers: [29, 25, 75]
Generated Node #2: [29, 25, 75] from Operation: 61+14=75
Current State: 26:[29, 25, 75], Operations: ['61+14=75']
Exploring Operation: 75/25=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 75/25=3
Current State: 26:[29, 3], Operations: ['61+14=75', '75/25=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[29, 61, 14, 25], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [29, 14, 36]
Generated Node #0,0: 26:[29, 14, 36] Operation: 61-25=36
Exploring Operation: 61-14=47, Resulting Numbers: [29, 25, 47]
Generated Node #0,1: 26:[29, 25, 47] Operation: 61-14=47
Exploring Operation: 61-29=32, Resulting Numbers: [14, 25, 32]
Generated Node #0,2: 26:[14, 25, 32] Operation: 61-29=32
Moving to Node #0,2
Current State: 26:[14, 25, 32], Operations: ['61-29=32']
Exploring Operation: 25-14=11, Resulting Numbers: [32, 11]
Generated Node #0,2,0: 26:[32, 11] Operation: 25-14=11
Exploring Operation: 32-25=7, Resulting Numbers: [14, 7]
Generated Node #0,2,1: 26:[14, 7] Operation: 32-25=7
Exploring Operation: 32-14=18, Resulting Numbers: [25, 18]
Generated Node #0,2,2: 26:[25, 18] Operation: 32-14=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[14, 7], Operations: ['61-29=32', '32-25=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[25, 18], Operations: ['61-29=32', '32-14=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[32, 11], Operations: ['61-29=32', '25-14=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,26 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: 26:[29, 14, 36], Operations: ['61-25=36']
Exploring Operation: 29-14=15, Resulting Numbers: [36, 15]
Generated Node #0,0,0: 26:[36, 15] Operation: 29-14=15
Exploring Operation: 36-29=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 26:[14, 7] Operation: 36-29=7
Exploring Operation: 36-14=22, Resulting Numbers: [29, 22]
Generated Node #0,0,2: 26:[29, 22] Operation: 36-14=22
Moving to Node #0,1
Current State: 26:[29, 25, 47], Operations: ['61-14=47']
Exploring Operation: 47-25=22, Resulting Numbers: [29, 22]
Generated Node #0,1,0: 26:[29, 22] Operation: 47-25=22
Exploring Operation: 29-25=4, Resulting Numbers: [47, 4]
Generated Node #0,1,1: 26:[47, 4] Operation: 29-25=4
Exploring Operation: 47-29=18, Resulting Numbers: [25, 18]
Generated Node #0,1,2: 26:[25, 18] Operation: 47-29=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[25, 18], Operations: ['61-14=47', '47-29=18']
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,26 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[29, 22], Operations: ['61-14=47', '47-25=22']
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,26 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[47, 4], Operations: ['61-14=47', '29-25=4']
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,26 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,26 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: 26:[14, 7], Operations: ['61-25=36', '36-29=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[29, 22], Operations: ['61-25=36', '36-14=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,26 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[36, 15], Operations: ['61-25=36', '29-14=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,26 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,26 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
61,
46,
10,
52
] | 44 | [
"61-52=9",
"10*9=90",
"90-46=44"
] | Current State: 44:[61, 46, 10, 52], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [46, 10, 9]
Generated Node #2: [46, 10, 9] from Operation: 61-52=9
Current State: 44:[46, 10, 9], Operations: ['61-52=9']
Exploring Operation: 10*9=90, Resulting Numbers: [46, 90]
Generated Node #3: [46, 90] from Operation: 10*9=90
Current State: 44:[46, 90], Operations: ['61-52=9', '10*9=90']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[61, 46, 10, 52], Operations: []
Exploring Operation: 61-10=51, Resulting Numbers: [46, 52, 51]
Generated Node #0,0: 44:[46, 52, 51] Operation: 61-10=51
Exploring Operation: 61-52=9, Resulting Numbers: [46, 10, 9]
Generated Node #0,1: 44:[46, 10, 9] Operation: 61-52=9
Exploring Operation: 52-10=42, Resulting Numbers: [61, 46, 42]
Generated Node #0,2: 44:[61, 46, 42] Operation: 52-10=42
Exploring Operation: 52-46=6, Resulting Numbers: [61, 10, 6]
Generated Node #0,3: 44:[61, 10, 6] Operation: 52-46=6
Exploring Operation: 61-46=15, Resulting Numbers: [10, 52, 15]
Generated Node #0,4: 44:[10, 52, 15] Operation: 61-46=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[46, 10, 9], Operations: ['61-52=9']
Exploring Operation: 46-9=37, Resulting Numbers: [10, 37]
Generated Node #0,1,0: 44:[10, 37] Operation: 46-9=37
Exploring Operation: 46+9=55, Resulting Numbers: [10, 55]
Generated Node #0,1,1: 44:[10, 55] Operation: 46+9=55
Exploring Operation: 10+9=19, Resulting Numbers: [46, 19]
Generated Node #0,1,2: 44:[46, 19] Operation: 10+9=19
Exploring Operation: 10-9=1, Resulting Numbers: [46, 1]
Generated Node #0,1,3: 44:[46, 1] Operation: 10-9=1
Exploring Operation: 46-10=36, Resulting Numbers: [9, 36]
Generated Node #0,1,4: 44:[9, 36] Operation: 46-10=36
Moving to Node #0,1,3
Current State: 44:[46, 1], Operations: ['61-52=9', '10-9=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[46, 19], Operations: ['61-52=9', '10+9=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[10, 37], Operations: ['61-52=9', '46-9=37']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,44 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[9, 36], Operations: ['61-52=9', '46-10=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,44 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[10, 55], Operations: ['61-52=9', '46+9=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,44 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[10, 52, 15], Operations: ['61-46=15']
Exploring Operation: 10+15=25, Resulting Numbers: [52, 25]
Generated Node #0,4,0: 44:[52, 25] Operation: 10+15=25
Exploring Operation: 15-10=5, Resulting Numbers: [52, 5]
Generated Node #0,4,1: 44:[52, 5] Operation: 15-10=5
Exploring Operation: 52-15=37, Resulting Numbers: [10, 37]
Generated Node #0,4,2: 44:[10, 37] Operation: 52-15=37
Exploring Operation: 10+52=62, Resulting Numbers: [15, 62]
Generated Node #0,4,3: 44:[15, 62] Operation: 10+52=62
Exploring Operation: 52-10=42, Resulting Numbers: [15, 42]
Generated Node #0,4,4: 44:[15, 42] Operation: 52-10=42
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 44:[15, 42], Operations: ['61-46=15', '52-10=42']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[10, 37], Operations: ['61-46=15', '52-15=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 44:[52, 5], Operations: ['61-46=15', '15-10=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 44:[52, 25], Operations: ['61-46=15', '10+15=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,44 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 44:[15, 62], Operations: ['61-46=15', '10+52=62']
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,44 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[46, 52, 51], Operations: ['61-10=51']
Exploring Operation: 46+52=98, Resulting Numbers: [51, 98]
Generated Node #0,0,0: 44:[51, 98] Operation: 46+52=98
Exploring Operation: 52-46=6, Resulting Numbers: [51, 6]
Generated Node #0,0,1: 44:[51, 6] Operation: 52-46=6
Exploring Operation: 51-46=5, Resulting Numbers: [52, 5]
Generated Node #0,0,2: 44:[52, 5] Operation: 51-46=5
Exploring Operation: 52-51=1, Resulting Numbers: [46, 1]
Generated Node #0,0,3: 44:[46, 1] Operation: 52-51=1
Exploring Operation: 46+51=97, Resulting Numbers: [52, 97]
Generated Node #0,0,4: 44:[52, 97] Operation: 46+51=97
Moving to Node #0,0,3
Current State: 44:[46, 1], Operations: ['61-10=51', '52-51=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[52, 5], Operations: ['61-10=51', '51-46=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[51, 6], Operations: ['61-10=51', '52-46=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[51, 98], Operations: ['61-10=51', '46+52=98']
Exploring Operation: 51+98=149, Resulting Numbers: [149]
149,44 unequal: No Solution
Exploring Operation: 98-51=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 51*98=4998, Resulting Numbers: [4998]
4998,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[52, 97], Operations: ['61-10=51', '46+51=97']
Exploring Operation: 52+97=149, Resulting Numbers: [149]
149,44 unequal: No Solution
Exploring Operation: 52*97=5044, Resulting Numbers: [5044]
5044,44 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[61, 10, 6], Operations: ['52-46=6']
Exploring Operation: 10-6=4, Resulting Numbers: [61, 4]
Generated Node #0,3,0: 44:[61, 4] Operation: 10-6=4
Exploring Operation: 61-6=55, Resulting Numbers: [10, 55]
Generated Node #0,3,1: 44:[10, 55] Operation: 61-6=55
Exploring Operation: 10+6=16, Resulting Numbers: [61, 16]
Generated Node #0,3,2: 44:[61, 16] Operation: 10+6=16
Exploring Operation: 61-10=51, Resulting Numbers: [6, 51]
Generated Node #0,3,3: 44:[6, 51] Operation: 61-10=51
Exploring Operation: 61+6=67, Resulting Numbers: [10, 67]
Generated Node #0,3,4: 44:[10, 67] Operation: 61+6=67
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[6, 51], Operations: ['52-46=6', '61-10=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[10, 55], Operations: ['52-46=6', '61-6=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[61, 4], Operations: ['52-46=6', '10-6=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[61, 16], Operations: ['52-46=6', '10+6=16']
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,44 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[10, 67], Operations: ['52-46=6', '61+6=67']
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,44 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[61, 46, 42], Operations: ['52-10=42']
Exploring Operation: 46-42=4, Resulting Numbers: [61, 4]
Generated Node #0,2,0: 44:[61, 4] Operation: 46-42=4
Exploring Operation: 46+42=88, Resulting Numbers: [61, 88]
Generated Node #0,2,1: 44:[61, 88] Operation: 46+42=88
Exploring Operation: 61-46=15, Resulting Numbers: [42, 15]
Generated Node #0,2,2: 44:[42, 15] Operation: 61-46=15
Exploring Operation: 61+42=103, Resulting Numbers: [46, 103]
Generated Node #0,2,3: 44:[46, 103] Operation: 61+42=103
Exploring Operation: 61-42=19, Resulting Numbers: [46, 19]
Generated Node #0,2,4: 44:[46, 19] Operation: 61-42=19
Moving to Node #0,2,4
Current State: 44:[46, 19], Operations: ['52-10=42', '61-42=19']
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,44 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[42, 15], Operations: ['52-10=42', '61-46=15']
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,44 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[61, 4], Operations: ['52-10=42', '46-42=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[61, 88], Operations: ['52-10=42', '46+42=88']
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,44 unequal: No Solution
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,44 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[46, 103], Operations: ['52-10=42', '61+42=103']
Exploring Operation: 46*103=4738, Resulting Numbers: [4738]
4738,44 unequal: No Solution
Exploring Operation: 103-46=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 46+103=149, Resulting Numbers: [149]
149,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
16,
29,
61,
85
] | 83 | [
"61-29=32",
"32/16=2",
"85-2=83"
] | Current State: 83:[16, 29, 61, 85], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [16, 85, 32]
Generated Node #2: [16, 85, 32] from Operation: 61-29=32
Current State: 83:[16, 85, 32], Operations: ['61-29=32']
Exploring Operation: 32/16=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 32/16=2
Current State: 83:[85, 2], Operations: ['61-29=32', '32/16=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[16, 29, 61, 85], Operations: []
Exploring Operation: 16+29=45, Resulting Numbers: [61, 85, 45]
Generated Node #0,0: 83:[61, 85, 45] Operation: 16+29=45
Exploring Operation: 16+61=77, Resulting Numbers: [29, 85, 77]
Generated Node #0,1: 83:[29, 85, 77] Operation: 16+61=77
Moving to Node #0,0
Current State: 83:[61, 85, 45], Operations: ['16+29=45']
Exploring Operation: 85-45=40, Resulting Numbers: [61, 40]
Generated Node #0,0,0: 83:[61, 40] Operation: 85-45=40
Exploring Operation: 61+45=106, Resulting Numbers: [85, 106]
Generated Node #0,0,1: 83:[85, 106] Operation: 61+45=106
Moving to Node #0,1
Current State: 83:[29, 85, 77], Operations: ['16+61=77']
Exploring Operation: 29+77=106, Resulting Numbers: [85, 106]
Generated Node #0,1,0: 83:[85, 106] Operation: 29+77=106
Exploring Operation: 85-29=56, Resulting Numbers: [77, 56]
Generated Node #0,1,1: 83:[77, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[85, 106], Operations: ['16+61=77', '29+77=106']
Exploring Operation: 85+106=191, Resulting Numbers: [191]
191,83 unequal: No Solution
Exploring Operation: 106-85=21, Resulting Numbers: [21]
21,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[77, 56], Operations: ['16+61=77', '85-29=56']
Exploring Operation: 77+56=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,83 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: 83:[85, 106], Operations: ['16+29=45', '61+45=106']
Exploring Operation: 106-85=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 85+106=191, Resulting Numbers: [191]
191,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[61, 40], Operations: ['16+29=45', '85-45=40']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
3,
12,
3
] | 87 | [
"36-3=33",
"3*33=99",
"99-12=87"
] | Current State: 87:[36, 3, 12, 3], Operations: []
Exploring Operation: 36-3=33, Resulting Numbers: [12, 33]
Generated Node #2: [12, 33] from Operation: 36-3=33
Current State: 87:[12, 33], Operations: ['36-3=33']
Exploring Operation: 3*33=99, Resulting Numbers: [12, 99]
Generated Node #3: [12, 99] from Operation: 3*33=99
Current State: 87:[12, 99], Operations: ['36-3=33', '3*33=99']
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[36, 3, 12, 3], Operations: []
Exploring Operation: 12/3=4, Resulting Numbers: [36, 3, 4]
Generated Node #0,0: 87:[36, 3, 4] Operation: 12/3=4
Exploring Operation: 36-12=24, Resulting Numbers: [3, 3, 24]
Generated Node #0,1: 87:[3, 3, 24] Operation: 36-12=24
Exploring Operation: 12/3=4, Resulting Numbers: [36, 3, 4]
Generated Node #0,2: 87:[36, 3, 4] Operation: 12/3=4
Exploring Operation: 36/12=3, Resulting Numbers: [3, 3, 3]
Generated Node #0,3: 87:[3, 3, 3] Operation: 36/12=3
Moving to Node #0,3
Current State: 87:[3, 3, 3], Operations: ['36/12=3']
Exploring Operation: 3/3=1, Resulting Numbers: [3, 1]
Generated Node #0,3,0: 87:[3, 1] Operation: 3/3=1
Exploring Operation: 3/3=1, Resulting Numbers: [3, 1]
Generated Node #0,3,1: 87:[3, 1] Operation: 3/3=1
Exploring Operation: 3+3=6, Resulting Numbers: [3, 6]
Generated Node #0,3,2: 87:[3, 6] Operation: 3+3=6
Exploring Operation: 3/3=1, Resulting Numbers: [3, 1]
Generated Node #0,3,3: 87:[3, 1] Operation: 3/3=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[3, 1], Operations: ['36/12=3', '3/3=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[3, 1], Operations: ['36/12=3', '3/3=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[3, 1], Operations: ['36/12=3', '3/3=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[3, 6], Operations: ['36/12=3', '3+3=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,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:[3, 3, 24], Operations: ['36-12=24']
Exploring Operation: 24/3=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 87:[3, 8] Operation: 24/3=8
Exploring Operation: 24/3=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 87:[3, 8] Operation: 24/3=8
Exploring Operation: 3+24=27, Resulting Numbers: [3, 27]
Generated Node #0,1,2: 87:[3, 27] Operation: 3+24=27
Exploring Operation: 3+24=27, Resulting Numbers: [3, 27]
Generated Node #0,1,3: 87:[3, 27] Operation: 3+24=27
Moving to Node #0,2
Current State: 87:[36, 3, 4], Operations: ['12/3=4']
Exploring Operation: 4-3=1, Resulting Numbers: [36, 1]
Generated Node #0,2,0: 87:[36, 1] Operation: 4-3=1
Exploring Operation: 36/4=9, Resulting Numbers: [3, 9]
Generated Node #0,2,1: 87:[3, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [3, 32]
Generated Node #0,2,2: 87:[3, 32] Operation: 36-4=32
Exploring Operation: 36-3=33, Resulting Numbers: [4, 33]
Generated Node #0,2,3: 87:[4, 33] Operation: 36-3=33
Moving to Node #0,0
Current State: 87:[36, 3, 4], Operations: ['12/3=4']
Exploring Operation: 36/4=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 87:[3, 9] Operation: 36/4=9
Exploring Operation: 36-3=33, Resulting Numbers: [4, 33]
Generated Node #0,0,1: 87:[4, 33] Operation: 36-3=33
Exploring Operation: 4-3=1, Resulting Numbers: [36, 1]
Generated Node #0,0,2: 87:[36, 1] Operation: 4-3=1
Exploring Operation: 36-4=32, Resulting Numbers: [3, 32]
Generated Node #0,0,3: 87:[3, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 87:[3, 32], Operations: ['12/3=4', '36-4=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[4, 33], Operations: ['12/3=4', '36-3=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[3, 9], Operations: ['12/3=4', '36/4=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[36, 1], Operations: ['12/3=4', '4-3=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 87:[3, 27], Operations: ['36-12=24', '3+24=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[3, 27], Operations: ['36-12=24', '3+24=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[3, 32], Operations: ['12/3=4', '36-4=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[3, 8], Operations: ['36-12=24', '24/3=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[4, 33], Operations: ['12/3=4', '36-3=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[3, 8], Operations: ['36-12=24', '24/3=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[3, 9], Operations: ['12/3=4', '36/4=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[36, 1], Operations: ['12/3=4', '4-3=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,87 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
48,
4,
74,
14
] | 33 | [
"74-14=60",
"60/4=15",
"48-15=33"
] | Current State: 33:[48, 4, 74, 14], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [48, 4, 60]
Generated Node #2: [48, 4, 60] from Operation: 74-14=60
Current State: 33:[48, 4, 60], Operations: ['74-14=60']
Exploring Operation: 60/4=15, Resulting Numbers: [48, 15]
Generated Node #3: [48, 15] from Operation: 60/4=15
Current State: 33:[48, 15], Operations: ['74-14=60', '60/4=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[48, 4, 74, 14], Operations: []
Exploring Operation: 48-14=34, Resulting Numbers: [4, 74, 34]
Generated Node #0,0: 33:[4, 74, 34] Operation: 48-14=34
Exploring Operation: 48-4=44, Resulting Numbers: [74, 14, 44]
Generated Node #0,1: 33:[74, 14, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [74, 14, 12]
Generated Node #0,2: 33:[74, 14, 12] Operation: 48/4=12
Exploring Operation: 74-14=60, Resulting Numbers: [48, 4, 60]
Generated Node #0,3: 33:[48, 4, 60] Operation: 74-14=60
Exploring Operation: 74-48=26, Resulting Numbers: [4, 14, 26]
Generated Node #0,4: 33:[4, 14, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[4, 14, 26], Operations: ['74-48=26']
Exploring Operation: 26-14=12, Resulting Numbers: [4, 12]
Generated Node #0,4,0: 33:[4, 12] Operation: 26-14=12
Exploring Operation: 14+26=40, Resulting Numbers: [4, 40]
Generated Node #0,4,1: 33:[4, 40] Operation: 14+26=40
Exploring Operation: 4+14=18, Resulting Numbers: [26, 18]
Generated Node #0,4,2: 33:[26, 18] Operation: 4+14=18
Exploring Operation: 14-4=10, Resulting Numbers: [26, 10]
Generated Node #0,4,3: 33:[26, 10] Operation: 14-4=10
Exploring Operation: 4+26=30, Resulting Numbers: [14, 30]
Generated Node #0,4,4: 33:[14, 30] Operation: 4+26=30
Moving to Node #0,4,0
Current State: 33:[4, 12], Operations: ['74-48=26', '26-14=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[14, 30], Operations: ['74-48=26', '4+26=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,33 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[4, 40], Operations: ['74-48=26', '14+26=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[26, 10], Operations: ['74-48=26', '14-4=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,33 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[26, 18], Operations: ['74-48=26', '4+14=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,33 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 74, 34], Operations: ['48-14=34']
Exploring Operation: 74-34=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 33:[4, 40] Operation: 74-34=40
Exploring Operation: 34-4=30, Resulting Numbers: [74, 30]
Generated Node #0,0,1: 33:[74, 30] Operation: 34-4=30
Exploring Operation: 74-4=70, Resulting Numbers: [34, 70]
Generated Node #0,0,2: 33:[34, 70] Operation: 74-4=70
Exploring Operation: 4+74=78, Resulting Numbers: [34, 78]
Generated Node #0,0,3: 33:[34, 78] Operation: 4+74=78
Exploring Operation: 4+34=38, Resulting Numbers: [74, 38]
Generated Node #0,0,4: 33:[74, 38] Operation: 4+34=38
Moving to Node #0,0,0
Current State: 33:[4, 40], Operations: ['48-14=34', '74-34=40']
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,33 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[34, 70], Operations: ['48-14=34', '74-4=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,33 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[74, 30], Operations: ['48-14=34', '34-4=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,33 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[34, 78], Operations: ['48-14=34', '4+74=78']
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,33 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,33 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[74, 38], Operations: ['48-14=34', '4+34=38']
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,33 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,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,3
Current State: 33:[48, 4, 60], Operations: ['74-14=60']
Exploring Operation: 60-4=56, Resulting Numbers: [48, 56]
Generated Node #0,3,0: 33:[48, 56] Operation: 60-4=56
Exploring Operation: 48/4=12, Resulting Numbers: [60, 12]
Generated Node #0,3,1: 33:[60, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [60, 44]
Generated Node #0,3,2: 33:[60, 44] Operation: 48-4=44
Exploring Operation: 60/4=15, Resulting Numbers: [48, 15]
Generated Node #0,3,3: 33:[48, 15] Operation: 60/4=15
Exploring Operation: 60-48=12, Resulting Numbers: [4, 12]
Generated Node #0,3,4: 33:[4, 12] Operation: 60-48=12
Moving to Node #0,3,4
Current State: 33:[4, 12], Operations: ['74-14=60', '60-48=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[48, 15], Operations: ['74-14=60', '60/4=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[48, 4, 74, 14], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [48, 4, 60]
Generated Node #0,3: 33:[48, 4, 60] Operation: 74-14=60
Moving to Node #0,3
Current State: 33:[48, 4, 60], Operations: ['74-14=60']
Exploring Operation: 60/4=15, Resulting Numbers: [48, 15]
Generated Node #0,3,3: 33:[48, 15] Operation: 60/4=15
Moving to Node #0,3,3
Current State: 33:[48, 15], Operations: ['74-14=60', '60/4=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
2,
46,
28,
10
] | 27 | [
"46+28=74",
"74/2=37",
"37-10=27"
] | Current State: 27:[2, 46, 28, 10], Operations: []
Exploring Operation: 46+28=74, Resulting Numbers: [2, 10, 74]
Generated Node #2: [2, 10, 74] from Operation: 46+28=74
Current State: 27:[2, 10, 74], Operations: ['46+28=74']
Exploring Operation: 74/2=37, Resulting Numbers: [10, 37]
Generated Node #3: [10, 37] from Operation: 74/2=37
Current State: 27:[10, 37], Operations: ['46+28=74', '74/2=37']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 46, 28, 10], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [28, 10, 23]
Generated Node #0,0: 27:[28, 10, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [28, 10, 44]
Generated Node #0,1: 27:[28, 10, 44] Operation: 46-2=44
Exploring Operation: 46-28=18, Resulting Numbers: [2, 10, 18]
Generated Node #0,2: 27:[2, 10, 18] Operation: 46-28=18
Exploring Operation: 46-10=36, Resulting Numbers: [2, 28, 36]
Generated Node #0,3: 27:[2, 28, 36] Operation: 46-10=36
Moving to Node #0,0
Current State: 27:[28, 10, 23], Operations: ['46/2=23']
Exploring Operation: 28-10=18, Resulting Numbers: [23, 18]
Generated Node #0,0,0: 27:[23, 18] Operation: 28-10=18
Exploring Operation: 28-23=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 27:[10, 5] Operation: 28-23=5
Exploring Operation: 23-10=13, Resulting Numbers: [28, 13]
Generated Node #0,0,2: 27:[28, 13] Operation: 23-10=13
Exploring Operation: 10+23=33, Resulting Numbers: [28, 33]
Generated Node #0,0,3: 27:[28, 33] Operation: 10+23=33
Moving to Node #0,3
Current State: 27:[2, 28, 36], Operations: ['46-10=36']
Exploring Operation: 36-28=8, Resulting Numbers: [2, 8]
Generated Node #0,3,0: 27:[2, 8] Operation: 36-28=8
Exploring Operation: 36-2=34, Resulting Numbers: [28, 34]
Generated Node #0,3,1: 27:[28, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [28, 18]
Generated Node #0,3,2: 27:[28, 18] Operation: 36/2=18
Exploring Operation: 28-2=26, Resulting Numbers: [36, 26]
Generated Node #0,3,3: 27:[36, 26] Operation: 28-2=26
Moving to Node #0,2
Current State: 27:[2, 10, 18], Operations: ['46-28=18']
Exploring Operation: 18/2=9, Resulting Numbers: [10, 9]
Generated Node #0,2,0: 27:[10, 9] Operation: 18/2=9
Exploring Operation: 18-10=8, Resulting Numbers: [2, 8]
Generated Node #0,2,1: 27:[2, 8] Operation: 18-10=8
Exploring Operation: 2+18=20, Resulting Numbers: [10, 20]
Generated Node #0,2,2: 27:[10, 20] Operation: 2+18=20
Exploring Operation: 10+18=28, Resulting Numbers: [2, 28]
Generated Node #0,2,3: 27:[2, 28] Operation: 10+18=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[10, 9], Operations: ['46-28=18', '18/2=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No 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: 27:[2, 8], Operations: ['46-28=18', '18-10=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,27 unequal: No Solution
No 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: 27:[2, 28], Operations: ['46-28=18', '10+18=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No 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: 27:[10, 20], Operations: ['46-28=18', '2+18=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,27 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,27 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: 27:[28, 10, 44], Operations: ['46-2=44']
Exploring Operation: 28+10=38, Resulting Numbers: [44, 38]
Generated Node #0,1,0: 27:[44, 38] Operation: 28+10=38
Exploring Operation: 44-28=16, Resulting Numbers: [10, 16]
Generated Node #0,1,1: 27:[10, 16] Operation: 44-28=16
Exploring Operation: 28-10=18, Resulting Numbers: [44, 18]
Generated Node #0,1,2: 27:[44, 18] Operation: 28-10=18
Exploring Operation: 44-10=34, Resulting Numbers: [28, 34]
Generated Node #0,1,3: 27:[28, 34] Operation: 44-10=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[10, 16], Operations: ['46-2=44', '44-28=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No 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: 27:[28, 34], Operations: ['46-2=44', '44-10=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,27 unequal: No Solution
No 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: 27:[44, 18], Operations: ['46-2=44', '28-10=18']
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,27 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No 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: 27:[44, 38], Operations: ['46-2=44', '28+10=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,27 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 27:[2, 8], Operations: ['46-10=36', '36-28=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[10, 5], Operations: ['46/2=23', '28-23=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[28, 13], Operations: ['46/2=23', '23-10=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[28, 33], Operations: ['46/2=23', '10+23=33']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,27 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[28, 34], Operations: ['46-10=36', '36-2=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[36, 26], Operations: ['46-10=36', '28-2=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,27 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[28, 18], Operations: ['46-10=36', '36/2=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[23, 18], Operations: ['46/2=23', '28-10=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,27 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,27 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
50,
80,
84
] | 70 | [
"80-50=30",
"84*30=2520",
"2520/36=70"
] | Current State: 70:[36, 50, 80, 84], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [36, 84, 30]
Generated Node #2: [36, 84, 30] from Operation: 80-50=30
Current State: 70:[36, 84, 30], Operations: ['80-50=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [36, 2520]
Generated Node #3: [36, 2520] from Operation: 84*30=2520
Current State: 70:[36, 2520], Operations: ['80-50=30', '84*30=2520']
Exploring Operation: 2520/36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 50, 80, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [36, 50, 4]
Generated Node #0,0: 70:[36, 50, 4] Operation: 84-80=4
Exploring Operation: 80-50=30, Resulting Numbers: [36, 84, 30]
Generated Node #0,1: 70:[36, 84, 30] Operation: 80-50=30
Exploring Operation: 84-50=34, Resulting Numbers: [36, 80, 34]
Generated Node #0,2: 70:[36, 80, 34] Operation: 84-50=34
Moving to Node #0,2
Current State: 70:[36, 80, 34], Operations: ['84-50=34']
Exploring Operation: 36+34=70, Resulting Numbers: [80, 70]
Generated Node #0,2,0: 70:[80, 70] Operation: 36+34=70
Exploring Operation: 36-34=2, Resulting Numbers: [80, 2]
Generated Node #0,2,1: 70:[80, 2] Operation: 36-34=2
Exploring Operation: 80-36=44, Resulting Numbers: [34, 44]
Generated Node #0,2,2: 70:[34, 44] Operation: 80-36=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[80, 70], Operations: ['84-50=34', '36+34=70']
Exploring Operation: 80*70=5600, Resulting Numbers: [5600]
5600,70 unequal: No Solution
Exploring Operation: 80+70=150, Resulting Numbers: [150]
150,70 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[80, 2], Operations: ['84-50=34', '36-34=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[34, 44], Operations: ['84-50=34', '80-36=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,70 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: 70:[36, 50, 4], Operations: ['84-80=4']
Exploring Operation: 50-4=46, Resulting Numbers: [36, 46]
Generated Node #0,0,0: 70:[36, 46] Operation: 50-4=46
Exploring Operation: 36/4=9, Resulting Numbers: [50, 9]
Generated Node #0,0,1: 70:[50, 9] Operation: 36/4=9
Exploring Operation: 50-36=14, Resulting Numbers: [4, 14]
Generated Node #0,0,2: 70:[4, 14] Operation: 50-36=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[4, 14], Operations: ['84-80=4', '50-36=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[36, 46], Operations: ['84-80=4', '50-4=46']
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,70 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[50, 9], Operations: ['84-80=4', '36/4=9']
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,70 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,70 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: 70:[36, 84, 30], Operations: ['80-50=30']
Exploring Operation: 84-36=48, Resulting Numbers: [30, 48]
Generated Node #0,1,0: 70:[30, 48] Operation: 84-36=48
Exploring Operation: 36-30=6, Resulting Numbers: [84, 6]
Generated Node #0,1,1: 70:[84, 6] Operation: 36-30=6
Exploring Operation: 84-30=54, Resulting Numbers: [36, 54]
Generated Node #0,1,2: 70:[36, 54] Operation: 84-30=54
Moving to Node #0,1,1
Current State: 70:[84, 6], Operations: ['80-50=30', '36-30=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[36, 54], Operations: ['80-50=30', '84-30=54']
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,70 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[30, 48], Operations: ['80-50=30', '84-36=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,70 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
70,
60,
10
] | 61 | [
"71*60=4260",
"10+4260=4270",
"4270/70=61"
] | Current State: 61:[71, 70, 60, 10], Operations: []
Exploring Operation: 71*60=4260, Resulting Numbers: [70, 10, 4260]
Generated Node #2: [70, 10, 4260] from Operation: 71*60=4260
Current State: 61:[70, 10, 4260], Operations: ['71*60=4260']
Exploring Operation: 10+4260=4270, Resulting Numbers: [70, 4270]
Generated Node #3: [70, 4270] from Operation: 10+4260=4270
Current State: 61:[70, 4270], Operations: ['71*60=4260', '10+4260=4270']
Exploring Operation: 4270/70=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[71, 70, 60, 10], Operations: []
Exploring Operation: 71-10=61, Resulting Numbers: [70, 60, 61]
Generated Node #0,0: 61:[70, 60, 61] Operation: 71-10=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[70, 60, 61], Operations: ['71-10=61']
Exploring Operation: 70-60=10, Resulting Numbers: [61, 10]
Generated Node #0,0,0: 61:[61, 10] Operation: 70-60=10
Moving to Node #0,0,0
Current State: 61:[61, 10], Operations: ['71-10=61', '70-60=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
51,
78,
48
] | 68 | [
"51-48=3",
"30/3=10",
"78-10=68"
] | Current State: 68:[30, 51, 78, 48], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [30, 78, 3]
Generated Node #2: [30, 78, 3] from Operation: 51-48=3
Current State: 68:[30, 78, 3], Operations: ['51-48=3']
Exploring Operation: 30/3=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 30/3=10
Current State: 68:[78, 10], Operations: ['51-48=3', '30/3=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[30, 51, 78, 48], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [51, 78, 18]
Generated Node #0,0: 68:[51, 78, 18] Operation: 48-30=18
Exploring Operation: 78-51=27, Resulting Numbers: [30, 48, 27]
Generated Node #0,1: 68:[30, 48, 27] Operation: 78-51=27
Exploring Operation: 51-30=21, Resulting Numbers: [78, 48, 21]
Generated Node #0,2: 68:[78, 48, 21] Operation: 51-30=21
Exploring Operation: 78-48=30, Resulting Numbers: [30, 51, 30]
Generated Node #0,3: 68:[30, 51, 30] Operation: 78-48=30
Exploring Operation: 51-48=3, Resulting Numbers: [30, 78, 3]
Generated Node #0,4: 68:[30, 78, 3] Operation: 51-48=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 68:[30, 78, 3], Operations: ['51-48=3']
Exploring Operation: 78-3=75, Resulting Numbers: [30, 75]
Generated Node #0,4,0: 68:[30, 75] Operation: 78-3=75
Exploring Operation: 78-30=48, Resulting Numbers: [3, 48]
Generated Node #0,4,1: 68:[3, 48] Operation: 78-30=48
Exploring Operation: 30/3=10, Resulting Numbers: [78, 10]
Generated Node #0,4,2: 68:[78, 10] Operation: 30/3=10
Exploring Operation: 30+3=33, Resulting Numbers: [78, 33]
Generated Node #0,4,3: 68:[78, 33] Operation: 30+3=33
Exploring Operation: 78/3=26, Resulting Numbers: [30, 26]
Generated Node #0,4,4: 68:[30, 26] Operation: 78/3=26
Moving to Node #0,4,0
Current State: 68:[30, 75], Operations: ['51-48=3', '78-3=75']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[78, 33], Operations: ['51-48=3', '30+3=33']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,68 unequal: No Solution
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[30, 26], Operations: ['51-48=3', '78/3=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,68 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Moving to Node #0,4,1
Current State: 68:[3, 48], Operations: ['51-48=3', '78-30=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,68 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[78, 10], Operations: ['51-48=3', '30/3=10']
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,68 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,68 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[30, 51, 78, 48], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [30, 78, 3]
Generated Node #0,4: 68:[30, 78, 3] Operation: 51-48=3
Moving to Node #0,4
Current State: 68:[30, 78, 3], Operations: ['51-48=3']
Exploring Operation: 30/3=10, Resulting Numbers: [78, 10]
Generated Node #0,4,2: 68:[78, 10] Operation: 30/3=10
Moving to Node #0,4,2
Current State: 68:[78, 10], Operations: ['51-48=3', '30/3=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | sum_heuristic |
[
69,
7,
11,
43
] | 27 | [
"69+43=112",
"112/7=16",
"11+16=27"
] | Current State: 27:[69, 7, 11, 43], Operations: []
Exploring Operation: 69+43=112, Resulting Numbers: [7, 11, 112]
Generated Node #2: [7, 11, 112] from Operation: 69+43=112
Current State: 27:[7, 11, 112], Operations: ['69+43=112']
Exploring Operation: 112/7=16, Resulting Numbers: [11, 16]
Generated Node #3: [11, 16] from Operation: 112/7=16
Current State: 27:[11, 16], Operations: ['69+43=112', '112/7=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[69, 7, 11, 43], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [7, 11, 26]
Generated Node #0,0: 27:[7, 11, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[7, 11, 26], Operations: ['69-43=26']
Exploring Operation: 11-7=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 27:[26, 4] Operation: 11-7=4
Moving to Node #0,0,0
Current State: 27:[26, 4], Operations: ['69-43=26', '11-7=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,27 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 |
[
24,
45,
90,
74
] | 52 | [
"74-24=50",
"90/45=2",
"50+2=52"
] | Current State: 52:[24, 45, 90, 74], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [45, 90, 50]
Generated Node #2: [45, 90, 50] from Operation: 74-24=50
Current State: 52:[45, 90, 50], Operations: ['74-24=50']
Exploring Operation: 90/45=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 90/45=2
Current State: 52:[50, 2], Operations: ['74-24=50', '90/45=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[24, 45, 90, 74], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [24, 74, 2]
Generated Node #0,0: 52:[24, 74, 2] Operation: 90/45=2
Exploring Operation: 90-74=16, Resulting Numbers: [24, 45, 16]
Generated Node #0,1: 52:[24, 45, 16] Operation: 90-74=16
Exploring Operation: 90-45=45, Resulting Numbers: [24, 74, 45]
Generated Node #0,2: 52:[24, 74, 45] Operation: 90-45=45
Moving to Node #0,1
Current State: 52:[24, 45, 16], Operations: ['90-74=16']
Exploring Operation: 45-24=21, Resulting Numbers: [16, 21]
Generated Node #0,1,0: 52:[16, 21] Operation: 45-24=21
Exploring Operation: 45-16=29, Resulting Numbers: [24, 29]
Generated Node #0,1,1: 52:[24, 29] Operation: 45-16=29
Exploring Operation: 24-16=8, Resulting Numbers: [45, 8]
Generated Node #0,1,2: 52:[45, 8] Operation: 24-16=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[24, 29], Operations: ['90-74=16', '45-16=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,52 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[16, 21], Operations: ['90-74=16', '45-24=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[45, 8], Operations: ['90-74=16', '24-16=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[24, 74, 2], Operations: ['90/45=2']
Exploring Operation: 24+2=26, Resulting Numbers: [74, 26]
Generated Node #0,0,0: 52:[74, 26] Operation: 24+2=26
Exploring Operation: 74/2=37, Resulting Numbers: [24, 37]
Generated Node #0,0,1: 52:[24, 37] Operation: 74/2=37
Exploring Operation: 74-24=50, Resulting Numbers: [2, 50]
Generated Node #0,0,2: 52:[2, 50] Operation: 74-24=50
Moving to Node #0,2
Current State: 52:[24, 74, 45], Operations: ['90-45=45']
Exploring Operation: 74-24=50, Resulting Numbers: [45, 50]
Generated Node #0,2,0: 52:[45, 50] Operation: 74-24=50
Exploring Operation: 45-24=21, Resulting Numbers: [74, 21]
Generated Node #0,2,1: 52:[74, 21] Operation: 45-24=21
Exploring Operation: 74-45=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 52:[24, 29] Operation: 74-45=29
Moving to Node #0,0,2
Current State: 52:[2, 50], Operations: ['90/45=2', '74-24=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[24, 45, 90, 74], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [24, 74, 2]
Generated Node #0,0: 52:[24, 74, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 52:[24, 74, 2], Operations: ['90/45=2']
Exploring Operation: 74-24=50, Resulting Numbers: [2, 50]
Generated Node #0,0,2: 52:[2, 50] Operation: 74-24=50
Moving to Node #0,0,2
Current State: 52:[2, 50], Operations: ['90/45=2', '74-24=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
2,
84,
5,
29
] | 16 | [
"5+29=34",
"2*34=68",
"84-68=16"
] | Current State: 16:[2, 84, 5, 29], Operations: []
Exploring Operation: 5+29=34, Resulting Numbers: [2, 84, 34]
Generated Node #2: [2, 84, 34] from Operation: 5+29=34
Current State: 16:[2, 84, 34], Operations: ['5+29=34']
Exploring Operation: 2*34=68, Resulting Numbers: [84, 68]
Generated Node #3: [84, 68] from Operation: 2*34=68
Current State: 16:[84, 68], Operations: ['5+29=34', '2*34=68']
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[2, 84, 5, 29], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [2, 5, 55]
Generated Node #0,0: 16:[2, 5, 55] Operation: 84-29=55
Exploring Operation: 84/2=42, Resulting Numbers: [5, 29, 42]
Generated Node #0,1: 16:[5, 29, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[2, 5, 55], Operations: ['84-29=55']
Exploring Operation: 55-5=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 16:[2, 50] Operation: 55-5=50
Exploring Operation: 55/5=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 16:[2, 11] Operation: 55/5=11
Moving to Node #0,0,1
Current State: 16:[2, 11], Operations: ['84-29=55', '55/5=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[2, 50], Operations: ['84-29=55', '55-5=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[5, 29, 42], Operations: ['84/2=42']
Exploring Operation: 42-29=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 16:[5, 13] Operation: 42-29=13
Exploring Operation: 29-5=24, Resulting Numbers: [42, 24]
Generated Node #0,1,1: 16:[42, 24] Operation: 29-5=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[5, 13], Operations: ['84/2=42', '42-29=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,16 unequal: No Solution
No 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: 16:[42, 24], Operations: ['84/2=42', '29-5=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
87,
8,
6
] | 52 | [
"8-6=2",
"70/2=35",
"87-35=52"
] | Current State: 52:[70, 87, 8, 6], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [70, 87, 2]
Generated Node #2: [70, 87, 2] from Operation: 8-6=2
Current State: 52:[70, 87, 2], Operations: ['8-6=2']
Exploring Operation: 70/2=35, Resulting Numbers: [87, 35]
Generated Node #3: [87, 35] from Operation: 70/2=35
Current State: 52:[87, 35], Operations: ['8-6=2', '70/2=35']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[70, 87, 8, 6], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [8, 6, 17]
Generated Node #0,0: 52:[8, 6, 17] Operation: 87-70=17
Exploring Operation: 70-8=62, Resulting Numbers: [87, 6, 62]
Generated Node #0,1: 52:[87, 6, 62] Operation: 70-8=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[8, 6, 17], Operations: ['87-70=17']
Exploring Operation: 8-6=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 52:[17, 2] Operation: 8-6=2
Exploring Operation: 8+17=25, Resulting Numbers: [6, 25]
Generated Node #0,0,1: 52:[6, 25] Operation: 8+17=25
Moving to Node #0,0,1
Current State: 52:[6, 25], Operations: ['87-70=17', '8+17=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[17, 2], Operations: ['87-70=17', '8-6=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[87, 6, 62], Operations: ['70-8=62']
Exploring Operation: 87-62=25, Resulting Numbers: [6, 25]
Generated Node #0,1,0: 52:[6, 25] Operation: 87-62=25
Exploring Operation: 87-6=81, Resulting Numbers: [62, 81]
Generated Node #0,1,1: 52:[62, 81] Operation: 87-6=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[6, 25], Operations: ['70-8=62', '87-62=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[62, 81], Operations: ['70-8=62', '87-6=81']
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,52 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
12,
63,
19
] | 40 | [
"96-12=84",
"63-19=44",
"84-44=40"
] | Current State: 40:[96, 12, 63, 19], Operations: []
Exploring Operation: 96-12=84, Resulting Numbers: [63, 19, 84]
Generated Node #2: [63, 19, 84] from Operation: 96-12=84
Current State: 40:[63, 19, 84], Operations: ['96-12=84']
Exploring Operation: 63-19=44, Resulting Numbers: [84, 44]
Generated Node #3: [84, 44] from Operation: 63-19=44
Current State: 40:[84, 44], Operations: ['96-12=84', '63-19=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[96, 12, 63, 19], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [12, 19, 33]
Generated Node #0,0: 40:[12, 19, 33] Operation: 96-63=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[12, 19, 33], Operations: ['96-63=33']
Exploring Operation: 33-12=21, Resulting Numbers: [19, 21]
Generated Node #0,0,0: 40:[19, 21] Operation: 33-12=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[19, 21], Operations: ['96-63=33', '33-12=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[96, 12, 63, 19], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [12, 19, 33]
Generated Node #0,0: 40:[12, 19, 33] Operation: 96-63=33
Moving to Node #0,0
Current State: 40:[12, 19, 33], Operations: ['96-63=33']
Exploring Operation: 33-12=21, Resulting Numbers: [19, 21]
Generated Node #0,0,0: 40:[19, 21] Operation: 33-12=21
Moving to Node #0,0,0
Current State: 40:[19, 21], Operations: ['96-63=33', '33-12=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
44,
62,
40,
56
] | 10 | [
"44+62=106",
"40+56=96",
"106-96=10"
] | Current State: 10:[44, 62, 40, 56], Operations: []
Exploring Operation: 44+62=106, Resulting Numbers: [40, 56, 106]
Generated Node #2: [40, 56, 106] from Operation: 44+62=106
Current State: 10:[40, 56, 106], Operations: ['44+62=106']
Exploring Operation: 40+56=96, Resulting Numbers: [106, 96]
Generated Node #3: [106, 96] from Operation: 40+56=96
Current State: 10:[106, 96], Operations: ['44+62=106', '40+56=96']
Exploring Operation: 106-96=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[44, 62, 40, 56], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [40, 56, 18]
Generated Node #0,0: 10:[40, 56, 18] Operation: 62-44=18
Exploring Operation: 62-56=6, Resulting Numbers: [44, 40, 6]
Generated Node #0,1: 10:[44, 40, 6] Operation: 62-56=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[44, 40, 6], Operations: ['62-56=6']
Exploring Operation: 44-6=38, Resulting Numbers: [40, 38]
Generated Node #0,1,0: 10:[40, 38] Operation: 44-6=38
Exploring Operation: 44-40=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 10:[6, 4] Operation: 44-40=4
Moving to Node #0,1,1
Current State: 10:[6, 4], Operations: ['62-56=6', '44-40=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[44, 62, 40, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [44, 40, 6]
Generated Node #0,1: 10:[44, 40, 6] Operation: 62-56=6
Moving to Node #0,1
Current State: 10:[44, 40, 6], Operations: ['62-56=6']
Exploring Operation: 44-40=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 10:[6, 4] Operation: 44-40=4
Moving to Node #0,1,1
Current State: 10:[6, 4], Operations: ['62-56=6', '44-40=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
48,
31,
18,
71
] | 71 | [
"48-31=17",
"18-17=1",
"71*1=71"
] | Current State: 71:[48, 31, 18, 71], Operations: []
Exploring Operation: 48-31=17, Resulting Numbers: [18, 71, 17]
Generated Node #2: [18, 71, 17] from Operation: 48-31=17
Current State: 71:[18, 71, 17], Operations: ['48-31=17']
Exploring Operation: 18-17=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 18-17=1
Current State: 71:[71, 1], Operations: ['48-31=17', '18-17=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[48, 31, 18, 71], Operations: []
Exploring Operation: 48+18=66, Resulting Numbers: [31, 71, 66]
Generated Node #0,0: 71:[31, 71, 66] Operation: 48+18=66
Moving to Node #0,0
Current State: 71:[31, 71, 66], Operations: ['48+18=66']
Exploring Operation: 31+66=97, Resulting Numbers: [71, 97]
Generated Node #0,0,0: 71:[71, 97] Operation: 31+66=97
Moving to Node #0,0,0
Current State: 71:[71, 97], Operations: ['48+18=66', '31+66=97']
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
2,
69,
27
] | 99 | [
"69-24=45",
"2*27=54",
"45+54=99"
] | Current State: 99:[24, 2, 69, 27], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [2, 27, 45]
Generated Node #2: [2, 27, 45] from Operation: 69-24=45
Current State: 99:[2, 27, 45], Operations: ['69-24=45']
Exploring Operation: 2*27=54, Resulting Numbers: [45, 54]
Generated Node #3: [45, 54] from Operation: 2*27=54
Current State: 99:[45, 54], Operations: ['69-24=45', '2*27=54']
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[24, 2, 69, 27], Operations: []
Exploring Operation: 69+27=96, Resulting Numbers: [24, 2, 96]
Generated Node #0,0: 99:[24, 2, 96] Operation: 69+27=96
Exploring Operation: 24+69=93, Resulting Numbers: [2, 27, 93]
Generated Node #0,1: 99:[2, 27, 93] Operation: 24+69=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[24, 2, 96], Operations: ['69+27=96']
Exploring Operation: 24/2=12, Resulting Numbers: [96, 12]
Generated Node #0,0,0: 99:[96, 12] Operation: 24/2=12
Exploring Operation: 96/24=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 99:[2, 4] Operation: 96/24=4
Moving to Node #0,0,1
Current State: 99:[2, 4], Operations: ['69+27=96', '96/24=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[96, 12], Operations: ['69+27=96', '24/2=12']
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[2, 27, 93], Operations: ['24+69=93']
Exploring Operation: 2+93=95, Resulting Numbers: [27, 95]
Generated Node #0,1,0: 99:[27, 95] Operation: 2+93=95
Exploring Operation: 2+27=29, Resulting Numbers: [93, 29]
Generated Node #0,1,1: 99:[93, 29] Operation: 2+27=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[27, 95], Operations: ['24+69=93', '2+93=95']
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 27+95=122, Resulting Numbers: [122]
122,99 unequal: No Solution
No 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: 99:[93, 29], Operations: ['24+69=93', '2+27=29']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,99 unequal: No Solution
Exploring Operation: 93+29=122, Resulting Numbers: [122]
122,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
17,
38,
97
] | 76 | [
"82+17=99",
"99-97=2",
"38*2=76"
] | Current State: 76:[82, 17, 38, 97], Operations: []
Exploring Operation: 82+17=99, Resulting Numbers: [38, 97, 99]
Generated Node #2: [38, 97, 99] from Operation: 82+17=99
Current State: 76:[38, 97, 99], Operations: ['82+17=99']
Exploring Operation: 99-97=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 99-97=2
Current State: 76:[38, 2], Operations: ['82+17=99', '99-97=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[82, 17, 38, 97], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [82, 38, 80]
Generated Node #0,0: 76:[82, 38, 80] Operation: 97-17=80
Exploring Operation: 97-38=59, Resulting Numbers: [82, 17, 59]
Generated Node #0,1: 76:[82, 17, 59] Operation: 97-38=59
Exploring Operation: 97-82=15, Resulting Numbers: [17, 38, 15]
Generated Node #0,2: 76:[17, 38, 15] Operation: 97-82=15
Moving to Node #0,2
Current State: 76:[17, 38, 15], Operations: ['97-82=15']
Exploring Operation: 17-15=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 76:[38, 2] Operation: 17-15=2
Exploring Operation: 17+15=32, Resulting Numbers: [38, 32]
Generated Node #0,2,1: 76:[38, 32] Operation: 17+15=32
Exploring Operation: 38-17=21, Resulting Numbers: [15, 21]
Generated Node #0,2,2: 76:[15, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[38, 2], Operations: ['97-82=15', '17-15=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[82, 17, 38, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [17, 38, 15]
Generated Node #0,2: 76:[17, 38, 15] Operation: 97-82=15
Moving to Node #0,2
Current State: 76:[17, 38, 15], Operations: ['97-82=15']
Exploring Operation: 17-15=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 76:[38, 2] Operation: 17-15=2
Moving to Node #0,2,0
Current State: 76:[38, 2], Operations: ['97-82=15', '17-15=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
90,
11,
5,
39
] | 35 | [
"90-11=79",
"5+39=44",
"79-44=35"
] | Current State: 35:[90, 11, 5, 39], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [5, 39, 79]
Generated Node #2: [5, 39, 79] from Operation: 90-11=79
Current State: 35:[5, 39, 79], Operations: ['90-11=79']
Exploring Operation: 5+39=44, Resulting Numbers: [79, 44]
Generated Node #3: [79, 44] from Operation: 5+39=44
Current State: 35:[79, 44], Operations: ['90-11=79', '5+39=44']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[90, 11, 5, 39], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [11, 39, 18]
Generated Node #0,0: 35:[11, 39, 18] Operation: 90/5=18
Exploring Operation: 90-11=79, Resulting Numbers: [5, 39, 79]
Generated Node #0,1: 35:[5, 39, 79] Operation: 90-11=79
Exploring Operation: 11-5=6, Resulting Numbers: [90, 39, 6]
Generated Node #0,2: 35:[90, 39, 6] Operation: 11-5=6
Exploring Operation: 90-5=85, Resulting Numbers: [11, 39, 85]
Generated Node #0,3: 35:[11, 39, 85] Operation: 90-5=85
Exploring Operation: 90-39=51, Resulting Numbers: [11, 5, 51]
Generated Node #0,4: 35:[11, 5, 51] Operation: 90-39=51
Moving to Node #0,0
Current State: 35:[11, 39, 18], Operations: ['90/5=18']
Exploring Operation: 11+39=50, Resulting Numbers: [18, 50]
Generated Node #0,0,0: 35:[18, 50] Operation: 11+39=50
Exploring Operation: 39-11=28, Resulting Numbers: [18, 28]
Generated Node #0,0,1: 35:[18, 28] Operation: 39-11=28
Exploring Operation: 11+18=29, Resulting Numbers: [39, 29]
Generated Node #0,0,2: 35:[39, 29] Operation: 11+18=29
Exploring Operation: 18-11=7, Resulting Numbers: [39, 7]
Generated Node #0,0,3: 35:[39, 7] Operation: 18-11=7
Exploring Operation: 39-18=21, Resulting Numbers: [11, 21]
Generated Node #0,0,4: 35:[11, 21] Operation: 39-18=21
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[39, 7], Operations: ['90/5=18', '18-11=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,35 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[39, 29], Operations: ['90/5=18', '11+18=29']
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,35 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[18, 28], Operations: ['90/5=18', '39-11=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[11, 21], Operations: ['90/5=18', '39-18=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[18, 50], Operations: ['90/5=18', '11+39=50']
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,35 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,35 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: 35:[11, 5, 51], Operations: ['90-39=51']
Exploring Operation: 51-11=40, Resulting Numbers: [5, 40]
Generated Node #0,4,0: 35:[5, 40] Operation: 51-11=40
Exploring Operation: 5+51=56, Resulting Numbers: [11, 56]
Generated Node #0,4,1: 35:[11, 56] Operation: 5+51=56
Exploring Operation: 11-5=6, Resulting Numbers: [51, 6]
Generated Node #0,4,2: 35:[51, 6] Operation: 11-5=6
Exploring Operation: 51-5=46, Resulting Numbers: [11, 46]
Generated Node #0,4,3: 35:[11, 46] Operation: 51-5=46
Exploring Operation: 11+5=16, Resulting Numbers: [51, 16]
Generated Node #0,4,4: 35:[51, 16] Operation: 11+5=16
Moving to Node #0,1
Current State: 35:[5, 39, 79], Operations: ['90-11=79']
Exploring Operation: 79-39=40, Resulting Numbers: [5, 40]
Generated Node #0,1,0: 35:[5, 40] Operation: 79-39=40
Exploring Operation: 79-5=74, Resulting Numbers: [39, 74]
Generated Node #0,1,1: 35:[39, 74] Operation: 79-5=74
Exploring Operation: 5+39=44, Resulting Numbers: [79, 44]
Generated Node #0,1,2: 35:[79, 44] Operation: 5+39=44
Exploring Operation: 5+79=84, Resulting Numbers: [39, 84]
Generated Node #0,1,3: 35:[39, 84] Operation: 5+79=84
Exploring Operation: 39-5=34, Resulting Numbers: [79, 34]
Generated Node #0,1,4: 35:[79, 34] Operation: 39-5=34
Moving to Node #0,3
Current State: 35:[11, 39, 85], Operations: ['90-5=85']
Exploring Operation: 85-39=46, Resulting Numbers: [11, 46]
Generated Node #0,3,0: 35:[11, 46] Operation: 85-39=46
Exploring Operation: 11+39=50, Resulting Numbers: [85, 50]
Generated Node #0,3,1: 35:[85, 50] Operation: 11+39=50
Exploring Operation: 11+85=96, Resulting Numbers: [39, 96]
Generated Node #0,3,2: 35:[39, 96] Operation: 11+85=96
Exploring Operation: 39-11=28, Resulting Numbers: [85, 28]
Generated Node #0,3,3: 35:[85, 28] Operation: 39-11=28
Exploring Operation: 85-11=74, Resulting Numbers: [39, 74]
Generated Node #0,3,4: 35:[39, 74] Operation: 85-11=74
Moving to Node #0,2
Current State: 35:[90, 39, 6], Operations: ['11-5=6']
Exploring Operation: 90-39=51, Resulting Numbers: [6, 51]
Generated Node #0,2,0: 35:[6, 51] Operation: 90-39=51
Exploring Operation: 90/6=15, Resulting Numbers: [39, 15]
Generated Node #0,2,1: 35:[39, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [39, 84]
Generated Node #0,2,2: 35:[39, 84] Operation: 90-6=84
Exploring Operation: 39-6=33, Resulting Numbers: [90, 33]
Generated Node #0,2,3: 35:[90, 33] Operation: 39-6=33
Exploring Operation: 90+6=96, Resulting Numbers: [39, 96]
Generated Node #0,2,4: 35:[39, 96] Operation: 90+6=96
Moving to Node #0,4,0
Current State: 35:[5, 40], Operations: ['90-39=51', '51-11=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[90, 11, 5, 39], Operations: []
Exploring Operation: 90-39=51, Resulting Numbers: [11, 5, 51]
Generated Node #0,4: 35:[11, 5, 51] Operation: 90-39=51
Moving to Node #0,4
Current State: 35:[11, 5, 51], Operations: ['90-39=51']
Exploring Operation: 51-11=40, Resulting Numbers: [5, 40]
Generated Node #0,4,0: 35:[5, 40] Operation: 51-11=40
Moving to Node #0,4,0
Current State: 35:[5, 40], Operations: ['90-39=51', '51-11=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
90,
73,
74,
64
] | 64 | [
"73-64=9",
"90/9=10",
"74-10=64"
] | Current State: 64:[90, 73, 74, 64], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [90, 74, 9]
Generated Node #2: [90, 74, 9] from Operation: 73-64=9
Current State: 64:[90, 74, 9], Operations: ['73-64=9']
Exploring Operation: 90/9=10, Resulting Numbers: [74, 10]
Generated Node #3: [74, 10] from Operation: 90/9=10
Current State: 64:[74, 10], Operations: ['73-64=9', '90/9=10']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[90, 73, 74, 64], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [73, 64, 16]
Generated Node #0,0: 64:[73, 64, 16] Operation: 90-74=16
Exploring Operation: 90-64=26, Resulting Numbers: [73, 74, 26]
Generated Node #0,1: 64:[73, 74, 26] Operation: 90-64=26
Exploring Operation: 90-73=17, Resulting Numbers: [74, 64, 17]
Generated Node #0,2: 64:[74, 64, 17] Operation: 90-73=17
Exploring Operation: 73-64=9, Resulting Numbers: [90, 74, 9]
Generated Node #0,3: 64:[90, 74, 9] Operation: 73-64=9
Exploring Operation: 74-73=1, Resulting Numbers: [90, 64, 1]
Generated Node #0,4: 64:[90, 64, 1] Operation: 74-73=1
Moving to Node #0,0
Current State: 64:[73, 64, 16], Operations: ['90-74=16']
Exploring Operation: 64+16=80, Resulting Numbers: [73, 80]
Generated Node #0,0,0: 64:[73, 80] Operation: 64+16=80
Exploring Operation: 73-64=9, Resulting Numbers: [16, 9]
Generated Node #0,0,1: 64:[16, 9] Operation: 73-64=9
Exploring Operation: 73-16=57, Resulting Numbers: [64, 57]
Generated Node #0,0,2: 64:[64, 57] Operation: 73-16=57
Exploring Operation: 73+16=89, Resulting Numbers: [64, 89]
Generated Node #0,0,3: 64:[64, 89] Operation: 73+16=89
Exploring Operation: 64/16=4, Resulting Numbers: [73, 4]
Generated Node #0,0,4: 64:[73, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[16, 9], Operations: ['90-74=16', '73-64=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[64, 57], Operations: ['90-74=16', '73-16=57']
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,64 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 64:[73, 4], Operations: ['90-74=16', '64/16=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,64 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[73, 80], Operations: ['90-74=16', '64+16=80']
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 73*80=5840, Resulting Numbers: [5840]
5840,64 unequal: No Solution
Exploring Operation: 73+80=153, Resulting Numbers: [153]
153,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[64, 89], Operations: ['90-74=16', '73+16=89']
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,64 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,64 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: 64:[74, 64, 17], Operations: ['90-73=17']
Exploring Operation: 74-17=57, Resulting Numbers: [64, 57]
Generated Node #0,2,0: 64:[64, 57] Operation: 74-17=57
Exploring Operation: 74-64=10, Resulting Numbers: [17, 10]
Generated Node #0,2,1: 64:[17, 10] Operation: 74-64=10
Exploring Operation: 74+17=91, Resulting Numbers: [64, 91]
Generated Node #0,2,2: 64:[64, 91] Operation: 74+17=91
Exploring Operation: 64+17=81, Resulting Numbers: [74, 81]
Generated Node #0,2,3: 64:[74, 81] Operation: 64+17=81
Exploring Operation: 64-17=47, Resulting Numbers: [74, 47]
Generated Node #0,2,4: 64:[74, 47] Operation: 64-17=47
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[17, 10], Operations: ['90-73=17', '74-64=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,64 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[64, 57], Operations: ['90-73=17', '74-17=57']
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,64 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[74, 47], Operations: ['90-73=17', '64-17=47']
Exploring Operation: 74+47=121, Resulting Numbers: [121]
121,64 unequal: No Solution
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 74*47=3478, Resulting Numbers: [3478]
3478,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[64, 91], Operations: ['90-73=17', '74+17=91']
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 64+91=155, Resulting Numbers: [155]
155,64 unequal: No Solution
Exploring Operation: 64*91=5824, Resulting Numbers: [5824]
5824,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[74, 81], Operations: ['90-73=17', '64+17=81']
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,64 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[73, 74, 26], Operations: ['90-64=26']
Exploring Operation: 74-26=48, Resulting Numbers: [73, 48]
Generated Node #0,1,0: 64:[73, 48] Operation: 74-26=48
Exploring Operation: 74-73=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 64:[26, 1] Operation: 74-73=1
Exploring Operation: 74+26=100, Resulting Numbers: [73, 100]
Generated Node #0,1,2: 64:[73, 100] Operation: 74+26=100
Exploring Operation: 73+26=99, Resulting Numbers: [74, 99]
Generated Node #0,1,3: 64:[74, 99] Operation: 73+26=99
Exploring Operation: 73-26=47, Resulting Numbers: [74, 47]
Generated Node #0,1,4: 64:[74, 47] Operation: 73-26=47
Moving to Node #0,4
Current State: 64:[90, 64, 1], Operations: ['74-73=1']
Exploring Operation: 90/1=90, Resulting Numbers: [64, 90]
Generated Node #0,4,0: 64:[64, 90] Operation: 90/1=90
Exploring Operation: 90-64=26, Resulting Numbers: [1, 26]
Generated Node #0,4,1: 64:[1, 26] Operation: 90-64=26
Exploring Operation: 90-1=89, Resulting Numbers: [64, 89]
Generated Node #0,4,2: 64:[64, 89] Operation: 90-1=89
Exploring Operation: 64*1=64, Resulting Numbers: [90, 64]
Generated Node #0,4,3: 64:[90, 64] Operation: 64*1=64
Exploring Operation: 90*1=90, Resulting Numbers: [64, 90]
Generated Node #0,4,4: 64:[64, 90] Operation: 90*1=90
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[1, 26], Operations: ['74-73=1', '90-64=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[64, 89], Operations: ['74-73=1', '90-1=89']
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,64 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[64, 90], Operations: ['74-73=1', '90/1=90']
Exploring Operation: 64*90=5760, Resulting Numbers: [5760]
5760,64 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 64+90=154, Resulting Numbers: [154]
154,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[90, 64], Operations: ['74-73=1', '64*1=64']
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,64 unequal: No Solution
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[64, 90], Operations: ['74-73=1', '90*1=90']
Exploring Operation: 64*90=5760, Resulting Numbers: [5760]
5760,64 unequal: No Solution
Exploring Operation: 64+90=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,64 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: 64:[90, 74, 9], Operations: ['73-64=9']
Exploring Operation: 90/9=10, Resulting Numbers: [74, 10]
Generated Node #0,3,0: 64:[74, 10] Operation: 90/9=10
Exploring Operation: 90-9=81, Resulting Numbers: [74, 81]
Generated Node #0,3,1: 64:[74, 81] Operation: 90-9=81
Exploring Operation: 90+9=99, Resulting Numbers: [74, 99]
Generated Node #0,3,2: 64:[74, 99] Operation: 90+9=99
Exploring Operation: 90-74=16, Resulting Numbers: [9, 16]
Generated Node #0,3,3: 64:[9, 16] Operation: 90-74=16
Exploring Operation: 74-9=65, Resulting Numbers: [90, 65]
Generated Node #0,3,4: 64:[90, 65] Operation: 74-9=65
Moving to Node #0,3,3
Current State: 64:[9, 16], Operations: ['73-64=9', '90-74=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[26, 1], Operations: ['90-64=26', '74-73=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[74, 10], Operations: ['73-64=9', '90/9=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,64 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[90, 73, 74, 64], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [90, 74, 9]
Generated Node #0,3: 64:[90, 74, 9] Operation: 73-64=9
Moving to Node #0,3
Current State: 64:[90, 74, 9], Operations: ['73-64=9']
Exploring Operation: 90/9=10, Resulting Numbers: [74, 10]
Generated Node #0,3,0: 64:[74, 10] Operation: 90/9=10
Moving to Node #0,3,0
Current State: 64:[74, 10], Operations: ['73-64=9', '90/9=10']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.921875 | hs_5 | sum_heuristic |
[
92,
42,
7,
86
] | 55 | [
"92+42=134",
"86-7=79",
"134-79=55"
] | Current State: 55:[92, 42, 7, 86], Operations: []
Exploring Operation: 92+42=134, Resulting Numbers: [7, 86, 134]
Generated Node #2: [7, 86, 134] from Operation: 92+42=134
Current State: 55:[7, 86, 134], Operations: ['92+42=134']
Exploring Operation: 86-7=79, Resulting Numbers: [134, 79]
Generated Node #3: [134, 79] from Operation: 86-7=79
Current State: 55:[134, 79], Operations: ['92+42=134', '86-7=79']
Exploring Operation: 134-79=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[92, 42, 7, 86], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [92, 86, 6]
Generated Node #0,0: 55:[92, 86, 6] Operation: 42/7=6
Exploring Operation: 86-42=44, Resulting Numbers: [92, 7, 44]
Generated Node #0,1: 55:[92, 7, 44] Operation: 86-42=44
Exploring Operation: 92-86=6, Resulting Numbers: [42, 7, 6]
Generated Node #0,2: 55:[42, 7, 6] Operation: 92-86=6
Exploring Operation: 92-7=85, Resulting Numbers: [42, 86, 85]
Generated Node #0,3: 55:[42, 86, 85] Operation: 92-7=85
Exploring Operation: 92-42=50, Resulting Numbers: [7, 86, 50]
Generated Node #0,4: 55:[7, 86, 50] Operation: 92-42=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[42, 7, 6], Operations: ['92-86=6']
Exploring Operation: 42+7=49, Resulting Numbers: [6, 49]
Generated Node #0,2,0: 55:[6, 49] Operation: 42+7=49
Exploring Operation: 7+6=13, Resulting Numbers: [42, 13]
Generated Node #0,2,1: 55:[42, 13] Operation: 7+6=13
Exploring Operation: 42+6=48, Resulting Numbers: [7, 48]
Generated Node #0,2,2: 55:[7, 48] Operation: 42+6=48
Exploring Operation: 42/6=7, Resulting Numbers: [7, 7]
Generated Node #0,2,3: 55:[7, 7] Operation: 42/6=7
Exploring Operation: 42/7=6, Resulting Numbers: [6, 6]
Generated Node #0,2,4: 55:[6, 6] Operation: 42/7=6
Moving to Node #0,2,4
Current State: 55:[6, 6], Operations: ['92-86=6', '42/7=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[7, 7], Operations: ['92-86=6', '42/6=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[6, 49], Operations: ['92-86=6', '42+7=49']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[92, 42, 7, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [42, 7, 6]
Generated Node #0,2: 55:[42, 7, 6] Operation: 92-86=6
Moving to Node #0,2
Current State: 55:[42, 7, 6], Operations: ['92-86=6']
Exploring Operation: 42+7=49, Resulting Numbers: [6, 49]
Generated Node #0,2,0: 55:[6, 49] Operation: 42+7=49
Moving to Node #0,2,0
Current State: 55:[6, 49], Operations: ['92-86=6', '42+7=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
72,
13,
84,
4
] | 38 | [
"72-13=59",
"84/4=21",
"59-21=38"
] | Current State: 38:[72, 13, 84, 4], Operations: []
Exploring Operation: 72-13=59, Resulting Numbers: [84, 4, 59]
Generated Node #2: [84, 4, 59] from Operation: 72-13=59
Current State: 38:[84, 4, 59], Operations: ['72-13=59']
Exploring Operation: 84/4=21, Resulting Numbers: [59, 21]
Generated Node #3: [59, 21] from Operation: 84/4=21
Current State: 38:[59, 21], Operations: ['72-13=59', '84/4=21']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[72, 13, 84, 4], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [13, 4, 12]
Generated Node #0,0: 38:[13, 4, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 38:[13, 4, 12], Operations: ['84-72=12']
Exploring Operation: 13-12=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 38:[4, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 38:[4, 1], Operations: ['84-72=12', '13-12=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
93,
3,
42
] | 83 | [
"96/3=32",
"93-42=51",
"32+51=83"
] | Current State: 83:[96, 93, 3, 42], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [93, 42, 32]
Generated Node #2: [93, 42, 32] from Operation: 96/3=32
Current State: 83:[93, 42, 32], Operations: ['96/3=32']
Exploring Operation: 93-42=51, Resulting Numbers: [32, 51]
Generated Node #3: [32, 51] from Operation: 93-42=51
Current State: 83:[32, 51], Operations: ['96/3=32', '93-42=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 93, 3, 42], Operations: []
Exploring Operation: 96-3=93, Resulting Numbers: [93, 42, 93]
Generated Node #0,0: 83:[93, 42, 93] Operation: 96-3=93
Exploring Operation: 3+42=45, Resulting Numbers: [96, 93, 45]
Generated Node #0,1: 83:[96, 93, 45] Operation: 3+42=45
Exploring Operation: 93-3=90, Resulting Numbers: [96, 42, 90]
Generated Node #0,2: 83:[96, 42, 90] Operation: 93-3=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[93, 42, 93], Operations: ['96-3=93']
Exploring Operation: 93-42=51, Resulting Numbers: [93, 51]
Generated Node #0,0,0: 83:[93, 51] Operation: 93-42=51
Exploring Operation: 93+42=135, Resulting Numbers: [93, 135]
Generated Node #0,0,1: 83:[93, 135] Operation: 93+42=135
Exploring Operation: 93-42=51, Resulting Numbers: [93, 51]
Generated Node #0,0,2: 83:[93, 51] Operation: 93-42=51
Moving to Node #0,0,0
Current State: 83:[93, 51], Operations: ['96-3=93', '93-42=51']
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,83 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[93, 51], Operations: ['96-3=93', '93-42=51']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[93, 135], Operations: ['96-3=93', '93+42=135']
Exploring Operation: 93*135=12555, Resulting Numbers: [12555]
12555,83 unequal: No Solution
Exploring Operation: 93+135=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 135-93=42, Resulting Numbers: [42]
42,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:[96, 93, 45], Operations: ['3+42=45']
Exploring Operation: 93-45=48, Resulting Numbers: [96, 48]
Generated Node #0,1,0: 83:[96, 48] Operation: 93-45=48
Exploring Operation: 96-45=51, Resulting Numbers: [93, 51]
Generated Node #0,1,1: 83:[93, 51] Operation: 96-45=51
Exploring Operation: 96+45=141, Resulting Numbers: [93, 141]
Generated Node #0,1,2: 83:[93, 141] Operation: 96+45=141
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[93, 51], Operations: ['3+42=45', '96-45=51']
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,83 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,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:[96, 48], Operations: ['3+42=45', '93-45=48']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,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,2
Current State: 83:[93, 141], Operations: ['3+42=45', '96+45=141']
Exploring Operation: 93+141=234, Resulting Numbers: [234]
234,83 unequal: No Solution
Exploring Operation: 141-93=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 93*141=13113, Resulting Numbers: [13113]
13113,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[96, 42, 90], Operations: ['93-3=90']
Exploring Operation: 96-42=54, Resulting Numbers: [90, 54]
Generated Node #0,2,0: 83:[90, 54] Operation: 96-42=54
Exploring Operation: 90-42=48, Resulting Numbers: [96, 48]
Generated Node #0,2,1: 83:[96, 48] Operation: 90-42=48
Exploring Operation: 96+42=138, Resulting Numbers: [90, 138]
Generated Node #0,2,2: 83:[90, 138] Operation: 96+42=138
Moving to Node #0,2,0
Current State: 83:[90, 54], Operations: ['93-3=90', '96-42=54']
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,83 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[96, 48], Operations: ['93-3=90', '90-42=48']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[90, 138], Operations: ['93-3=90', '96+42=138']
Exploring Operation: 138-90=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 90+138=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 90*138=12420, Resulting Numbers: [12420]
12420,83 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,
1,
21,
2
] | 25 | [
"46-21=25",
"2-1=1",
"25*1=25"
] | Current State: 25:[46, 1, 21, 2], Operations: []
Exploring Operation: 46-21=25, Resulting Numbers: [1, 2, 25]
Generated Node #2: [1, 2, 25] from Operation: 46-21=25
Current State: 25:[1, 2, 25], Operations: ['46-21=25']
Exploring Operation: 2-1=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 2-1=1
Current State: 25:[25, 1], Operations: ['46-21=25', '2-1=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[46, 1, 21, 2], Operations: []
Exploring Operation: 46-21=25, Resulting Numbers: [1, 2, 25]
Generated Node #0,0: 25:[1, 2, 25] Operation: 46-21=25
Exploring Operation: 1+21=22, Resulting Numbers: [46, 2, 22]
Generated Node #0,1: 25:[46, 2, 22] Operation: 1+21=22
Exploring Operation: 46/2=23, Resulting Numbers: [1, 21, 23]
Generated Node #0,2: 25:[1, 21, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [1, 21, 44]
Generated Node #0,3: 25:[1, 21, 44] Operation: 46-2=44
Exploring Operation: 46-1=45, Resulting Numbers: [21, 2, 45]
Generated Node #0,4: 25:[21, 2, 45] Operation: 46-1=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[1, 2, 25], Operations: ['46-21=25']
Exploring Operation: 1+2=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 25:[25, 3] Operation: 1+2=3
Exploring Operation: 1*2=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 25:[25, 2] Operation: 1*2=2
Exploring Operation: 25/1=25, Resulting Numbers: [2, 25]
Generated Node #0,0,2: 25:[2, 25] Operation: 25/1=25
Exploring Operation: 1*25=25, Resulting Numbers: [2, 25]
Generated Node #0,0,3: 25:[2, 25] Operation: 1*25=25
Exploring Operation: 2/1=2, Resulting Numbers: [25, 2]
Generated Node #0,0,4: 25:[25, 2] Operation: 2/1=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[25, 3], Operations: ['46-21=25', '1+2=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,25 unequal: No Solution
No 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: 25:[25, 2], Operations: ['46-21=25', '1*2=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
No 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: 25:[2, 25], Operations: ['46-21=25', '25/1=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,25 unequal: No Solution
No 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: 25:[2, 25], Operations: ['46-21=25', '1*25=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 25:[25, 2], Operations: ['46-21=25', '2/1=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 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: 25:[1, 21, 23], Operations: ['46/2=23']
Exploring Operation: 1+21=22, Resulting Numbers: [23, 22]
Generated Node #0,2,0: 25:[23, 22] Operation: 1+21=22
Exploring Operation: 1+23=24, Resulting Numbers: [21, 24]
Generated Node #0,2,1: 25:[21, 24] Operation: 1+23=24
Exploring Operation: 1*23=23, Resulting Numbers: [21, 23]
Generated Node #0,2,2: 25:[21, 23] Operation: 1*23=23
Exploring Operation: 1*21=21, Resulting Numbers: [23, 21]
Generated Node #0,2,3: 25:[23, 21] Operation: 1*21=21
Exploring Operation: 21/1=21, Resulting Numbers: [23, 21]
Generated Node #0,2,4: 25:[23, 21] Operation: 21/1=21
Moving to Node #0,2,0
Current State: 25:[23, 22], Operations: ['46/2=23', '1+21=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[21, 24], Operations: ['46/2=23', '1+23=24']
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,25 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[21, 23], Operations: ['46/2=23', '1*23=23']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,25 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[23, 21], Operations: ['46/2=23', '1*21=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,25 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[23, 21], Operations: ['46/2=23', '21/1=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,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
Current State: 25:[46, 2, 22], Operations: ['1+21=22']
Exploring Operation: 2+22=24, Resulting Numbers: [46, 24]
Generated Node #0,1,0: 25:[46, 24] Operation: 2+22=24
Exploring Operation: 46+2=48, Resulting Numbers: [22, 48]
Generated Node #0,1,1: 25:[22, 48] Operation: 46+2=48
Exploring Operation: 46-2=44, Resulting Numbers: [22, 44]
Generated Node #0,1,2: 25:[22, 44] Operation: 46-2=44
Exploring Operation: 46-22=24, Resulting Numbers: [2, 24]
Generated Node #0,1,3: 25:[2, 24] Operation: 46-22=24
Exploring Operation: 46/2=23, Resulting Numbers: [22, 23]
Generated Node #0,1,4: 25:[22, 23] Operation: 46/2=23
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[2, 24], Operations: ['1+21=22', '46-22=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No 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: 25:[22, 23], Operations: ['1+21=22', '46/2=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,25 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No 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: 25:[46, 24], Operations: ['1+21=22', '2+22=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,25 unequal: No Solution
No 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: 25:[22, 44], Operations: ['1+21=22', '46-2=44']
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,25 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,25 unequal: No Solution
No 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: 25:[22, 48], Operations: ['1+21=22', '46+2=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,25 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: 25:[1, 21, 44], Operations: ['46-2=44']
Exploring Operation: 44-1=43, Resulting Numbers: [21, 43]
Generated Node #0,3,0: 25:[21, 43] Operation: 44-1=43
Exploring Operation: 1+21=22, Resulting Numbers: [44, 22]
Generated Node #0,3,1: 25:[44, 22] Operation: 1+21=22
Exploring Operation: 44-21=23, Resulting Numbers: [1, 23]
Generated Node #0,3,2: 25:[1, 23] Operation: 44-21=23
Exploring Operation: 1*21=21, Resulting Numbers: [44, 21]
Generated Node #0,3,3: 25:[44, 21] Operation: 1*21=21
Exploring Operation: 21/1=21, Resulting Numbers: [44, 21]
Generated Node #0,3,4: 25:[44, 21] Operation: 21/1=21
Moving to Node #0,3,2
Current State: 25:[1, 23], Operations: ['46-2=44', '44-21=23']
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[44, 22], Operations: ['46-2=44', '1+21=22']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,25 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[21, 43], Operations: ['46-2=44', '44-1=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,25 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[44, 21], Operations: ['46-2=44', '1*21=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[44, 21], Operations: ['46-2=44', '21/1=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,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
Current State: 25:[21, 2, 45], Operations: ['46-1=45']
Exploring Operation: 45-2=43, Resulting Numbers: [21, 43]
Generated Node #0,4,0: 25:[21, 43] Operation: 45-2=43
Exploring Operation: 21-2=19, Resulting Numbers: [45, 19]
Generated Node #0,4,1: 25:[45, 19] Operation: 21-2=19
Exploring Operation: 45-21=24, Resulting Numbers: [2, 24]
Generated Node #0,4,2: 25:[2, 24] Operation: 45-21=24
Exploring Operation: 2+45=47, Resulting Numbers: [21, 47]
Generated Node #0,4,3: 25:[21, 47] Operation: 2+45=47
Exploring Operation: 21+2=23, Resulting Numbers: [45, 23]
Generated Node #0,4,4: 25:[45, 23] Operation: 21+2=23
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 25:[2, 24], Operations: ['46-1=45', '45-21=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No 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: 25:[21, 43], Operations: ['46-1=45', '45-2=43']
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,25 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[45, 23], Operations: ['46-1=45', '21+2=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,25 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 25:[45, 19], Operations: ['46-1=45', '21-2=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,25 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 25:[21, 47], Operations: ['46-1=45', '2+45=47']
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,25 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.